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

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


/** permissions for therapist to access recipient from Adopus databases */
export interface adopus_AdgangLinjer {
    Adgangkode: Scalars['smallint']
    BrukerNavn: Scalars['String']
    Fradato?: Scalars['timestamptz']
    SoknadId: Scalars['String']
    Tildato?: Scalars['timestamptz']
    customer_id: Scalars['uuid']
    /** An object relationship */
    directory_customersByCustomerID?: directory_customers
    __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 "base_table" */
export interface base_table {
    data: Scalars['jsonb']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    updated_at: Scalars['timestamp']
    __typename: 'base_table'
}


/** aggregated selection of "base_table" */
export interface base_table_aggregate {
    aggregate?: base_table_aggregate_fields
    nodes: base_table[]
    __typename: 'base_table_aggregate'
}


/** aggregate fields of "base_table" */
export interface base_table_aggregate_fields {
    count: Scalars['Int']
    max?: base_table_max_fields
    min?: base_table_min_fields
    __typename: 'base_table_aggregate_fields'
}


/** unique or primary key constraints on table "base_table" */
export type base_table_constraint = 'base_table_pkey'


/** aggregate max on columns */
export interface base_table_max_fields {
    id?: Scalars['uuid']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'base_table_max_fields'
}


/** aggregate min on columns */
export interface base_table_min_fields {
    id?: Scalars['uuid']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'base_table_min_fields'
}


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


/** select columns of table "base_table" */
export type base_table_select_column = 'data' | 'id' | 'jwt_claims' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at'


/** select "base_table_aggregate_bool_exp_bool_and_arguments_columns" columns of table "base_table" */
export type base_table_select_column_base_table_aggregate_bool_exp_bool_and_arguments_columns = 'seen'


/** select "base_table_aggregate_bool_exp_bool_or_arguments_columns" columns of table "base_table" */
export type base_table_select_column_base_table_aggregate_bool_exp_bool_or_arguments_columns = 'seen'


/** update columns of table "base_table" */
export type base_table_update_column = 'data' | 'id' | 'jwt_claims' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at'


/** columns and relationships of "basic_table_seen" */
export interface basic_table_seen {
    id: Scalars['uuid']
    user_id: Scalars['uuid']
    __typename: 'basic_table_seen'
}


/** aggregated selection of "basic_table_seen" */
export interface basic_table_seen_aggregate {
    aggregate?: basic_table_seen_aggregate_fields
    nodes: basic_table_seen[]
    __typename: 'basic_table_seen_aggregate'
}


/** aggregate fields of "basic_table_seen" */
export interface basic_table_seen_aggregate_fields {
    count: Scalars['Int']
    max?: basic_table_seen_max_fields
    min?: basic_table_seen_min_fields
    __typename: 'basic_table_seen_aggregate_fields'
}


/** unique or primary key constraints on table "basic_table_seen" */
export type basic_table_seen_constraint = 'basic_table_seen_pkey'


/** aggregate max on columns */
export interface basic_table_seen_max_fields {
    id?: Scalars['uuid']
    user_id?: Scalars['uuid']
    __typename: 'basic_table_seen_max_fields'
}


/** aggregate min on columns */
export interface basic_table_seen_min_fields {
    id?: Scalars['uuid']
    user_id?: Scalars['uuid']
    __typename: 'basic_table_seen_min_fields'
}


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


/** select columns of table "basic_table_seen" */
export type basic_table_seen_select_column = 'id' | 'user_id'


/** update columns of table "basic_table_seen" */
export type basic_table_seen_update_column = 'id' | 'user_id'


/** columns and relationships of "calendar_events" */
export interface calendar_events {
    activity_id?: Scalars['String']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    /** An array relationship */
    calendar_events_attendees: calendar_events_attendees[]
    /** An aggregate relationship */
    calendar_events_attendees_aggregate: calendar_events_attendees_aggregate
    /** An array relationship */
    calendar_events_organizers: calendar_events_organizers[]
    /** An aggregate relationship */
    calendar_events_organizers_aggregate: calendar_events_organizers_aggregate
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    description?: Scalars['String']
    event_id?: Scalars['uuid']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    title?: Scalars['String']
    updated_at: Scalars['timestamp']
    __typename: 'calendar_events'
}


/** aggregated selection of "calendar_events" */
export interface calendar_events_aggregate {
    aggregate?: calendar_events_aggregate_fields
    nodes: calendar_events[]
    __typename: 'calendar_events_aggregate'
}


/** aggregate fields of "calendar_events" */
export interface calendar_events_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_events_max_fields
    min?: calendar_events_min_fields
    __typename: 'calendar_events_aggregate_fields'
}


/** columns and relationships of "calendar_events_attendees" */
export interface calendar_events_attendees {
    activity_id?: Scalars['String']
    /** An array relationship */
    calendar_events: calendar_events[]
    /** An aggregate relationship */
    calendar_events_aggregate: calendar_events_aggregate
    data: Scalars['jsonb']
    event_id?: Scalars['uuid']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum?: table_metadata
    updated_at: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_attendees'
}


/** aggregated selection of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate {
    aggregate?: calendar_events_attendees_aggregate_fields
    nodes: calendar_events_attendees[]
    __typename: 'calendar_events_attendees_aggregate'
}


/** aggregate fields of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_events_attendees_max_fields
    min?: calendar_events_attendees_min_fields
    __typename: 'calendar_events_attendees_aggregate_fields'
}


/** unique or primary key constraints on table "calendar_events_attendees" */
export type calendar_events_attendees_constraint = 'calendar_events_attendees_id'


/** aggregate max on columns */
export interface calendar_events_attendees_max_fields {
    activity_id?: Scalars['String']
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_attendees_max_fields'
}


/** aggregate min on columns */
export interface calendar_events_attendees_min_fields {
    activity_id?: Scalars['String']
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_attendees_min_fields'
}


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


/** select columns of table "calendar_events_attendees" */
export type calendar_events_attendees_select_column = 'activity_id' | 'data' | 'event_id' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at' | 'user_id' | 'user_name'


/** select "calendar_events_attendees_aggregate_bool_exp_bool_and_arguments_columns" columns of table "calendar_events_attendees" */
export type calendar_events_attendees_select_column_calendar_events_attendees_aggregate_bool_exp_bool_and_arguments_columns = 'seen'


/** select "calendar_events_attendees_aggregate_bool_exp_bool_or_arguments_columns" columns of table "calendar_events_attendees" */
export type calendar_events_attendees_select_column_calendar_events_attendees_aggregate_bool_exp_bool_or_arguments_columns = 'seen'


/** update columns of table "calendar_events_attendees" */
export type calendar_events_attendees_update_column = 'activity_id' | 'data' | 'event_id' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at' | 'user_id' | 'user_name'


/** aggregate max on columns */
export interface calendar_events_max_fields {
    activity_id?: Scalars['String']
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'calendar_events_max_fields'
}


/** aggregate min on columns */
export interface calendar_events_min_fields {
    activity_id?: Scalars['String']
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'calendar_events_min_fields'
}


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


/** columns and relationships of "calendar_events_organizers" */
export interface calendar_events_organizers {
    /** An object relationship */
    calendar_events?: calendar_events
    data: Scalars['jsonb']
    event_id?: Scalars['uuid']
    id: Scalars['uuid']
    journal_user_id?: Scalars['String']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum?: table_metadata
    updated_at: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_organizers'
}


/** aggregated selection of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate {
    aggregate?: calendar_events_organizers_aggregate_fields
    nodes: calendar_events_organizers[]
    __typename: 'calendar_events_organizers_aggregate'
}


/** aggregate fields of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_events_organizers_max_fields
    min?: calendar_events_organizers_min_fields
    __typename: 'calendar_events_organizers_aggregate_fields'
}


/** unique or primary key constraints on table "calendar_events_organizers" */
export type calendar_events_organizers_constraint = 'calendar_events_organizers_id'


/** aggregate max on columns */
export interface calendar_events_organizers_max_fields {
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    journal_user_id?: Scalars['String']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_organizers_max_fields'
}


/** aggregate min on columns */
export interface calendar_events_organizers_min_fields {
    event_id?: Scalars['uuid']
    id?: Scalars['uuid']
    journal_user_id?: Scalars['String']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    user_name?: Scalars['String']
    __typename: 'calendar_events_organizers_min_fields'
}


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


/** select columns of table "calendar_events_organizers" */
export type calendar_events_organizers_select_column = 'data' | 'event_id' | 'id' | 'journal_user_id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at' | 'user_id' | 'user_name'


/** select "calendar_events_organizers_aggregate_bool_exp_bool_and_arguments_columns" columns of table "calendar_events_organizers" */
export type calendar_events_organizers_select_column_calendar_events_organizers_aggregate_bool_exp_bool_and_arguments_columns = 'seen'


/** select "calendar_events_organizers_aggregate_bool_exp_bool_or_arguments_columns" columns of table "calendar_events_organizers" */
export type calendar_events_organizers_select_column_calendar_events_organizers_aggregate_bool_exp_bool_or_arguments_columns = 'seen'


/** update columns of table "calendar_events_organizers" */
export type calendar_events_organizers_update_column = 'data' | 'event_id' | 'id' | 'journal_user_id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'table_metadata_id' | 'updated_at' | 'user_id' | 'user_name'


/** select columns of table "calendar_events" */
export type calendar_events_select_column = 'activity_id' | 'created_by_id' | 'customer_id' | 'data' | 'description' | 'event_id' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'title' | 'updated_at'


/** select "calendar_events_aggregate_bool_exp_bool_and_arguments_columns" columns of table "calendar_events" */
export type calendar_events_select_column_calendar_events_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "calendar_events_aggregate_bool_exp_bool_or_arguments_columns" columns of table "calendar_events" */
export type calendar_events_select_column_calendar_events_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


/** columns and relationships of "calendar_events_view" */
export interface calendar_events_view {
    activity_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    seen?: Scalars['Boolean']
    title?: Scalars['String']
    __typename: 'calendar_events_view'
}


/** aggregated selection of "calendar_events_view" */
export interface calendar_events_view_aggregate {
    aggregate?: calendar_events_view_aggregate_fields
    nodes: calendar_events_view[]
    __typename: 'calendar_events_view_aggregate'
}


/** aggregate fields of "calendar_events_view" */
export interface calendar_events_view_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_events_view_max_fields
    min?: calendar_events_view_min_fields
    __typename: 'calendar_events_view_aggregate_fields'
}


/** aggregate max on columns */
export interface calendar_events_view_max_fields {
    activity_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    title?: Scalars['String']
    __typename: 'calendar_events_view_max_fields'
}


/** aggregate min on columns */
export interface calendar_events_view_min_fields {
    activity_id?: Scalars['String']
    created_at?: Scalars['timestamptz']
    created_by_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    title?: Scalars['String']
    __typename: 'calendar_events_view_min_fields'
}


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


/** select columns of table "calendar_events_view" */
export type calendar_events_view_select_column = 'activity_id' | 'created_at' | 'created_by_id' | 'customer_id' | 'description' | 'id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'seen' | 'title'


/** columns and relationships of "calendar_tasks" */
export interface calendar_tasks {
    activity_id?: Scalars['String']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    description?: Scalars['String']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    task_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks'
}


/** aggregated selection of "calendar_tasks" */
export interface calendar_tasks_aggregate {
    aggregate?: calendar_tasks_aggregate_fields
    nodes: calendar_tasks[]
    __typename: 'calendar_tasks_aggregate'
}


/** aggregate fields of "calendar_tasks" */
export interface calendar_tasks_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_tasks_max_fields
    min?: calendar_tasks_min_fields
    __typename: 'calendar_tasks_aggregate_fields'
}


/** aggregate max on columns */
export interface calendar_tasks_max_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    task_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks_max_fields'
}


/** aggregate min on columns */
export interface calendar_tasks_min_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    task_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks_min_fields'
}


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


/** select columns of table "calendar_tasks" */
export type calendar_tasks_select_column = 'activity_id' | 'customer_id' | 'data' | 'description' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'task_id' | 'title' | 'updated_at' | 'user_id'


/** select "calendar_tasks_aggregate_bool_exp_bool_and_arguments_columns" columns of table "calendar_tasks" */
export type calendar_tasks_select_column_calendar_tasks_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "calendar_tasks_aggregate_bool_exp_bool_or_arguments_columns" columns of table "calendar_tasks" */
export type calendar_tasks_select_column_calendar_tasks_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


/** columns and relationships of "calendar_tasks_view" */
export interface calendar_tasks_view {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    seen?: Scalars['Boolean']
    status?: Scalars['String']
    title?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks_view'
}


/** aggregated selection of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregate {
    aggregate?: calendar_tasks_view_aggregate_fields
    nodes: calendar_tasks_view[]
    __typename: 'calendar_tasks_view_aggregate'
}


/** aggregate fields of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregate_fields {
    count: Scalars['Int']
    max?: calendar_tasks_view_max_fields
    min?: calendar_tasks_view_min_fields
    __typename: 'calendar_tasks_view_aggregate_fields'
}


/** aggregate max on columns */
export interface calendar_tasks_view_max_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    status?: Scalars['String']
    title?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks_view_max_fields'
}


/** aggregate min on columns */
export interface calendar_tasks_view_min_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    description?: Scalars['String']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    status?: Scalars['String']
    title?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'calendar_tasks_view_min_fields'
}


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


/** select columns of table "calendar_tasks_view" */
export type calendar_tasks_view_select_column = 'activity_id' | 'customer_id' | 'description' | 'id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'seen' | 'status' | 'title' | 'user_id'


/** columns and relationships of "chat_attachments" */
export interface chat_attachments {
    created_at: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    extension: Scalars['String']
    id: Scalars['uuid']
    message_id?: Scalars['uuid']
    path: Scalars['String']
    ticket_id: Scalars['uuid']
    title: Scalars['String']
    updated_at: Scalars['timestamptz']
    __typename: 'chat_attachments'
}


/** aggregated selection of "chat_attachments" */
export interface chat_attachments_aggregate {
    aggregate?: chat_attachments_aggregate_fields
    nodes: chat_attachments[]
    __typename: 'chat_attachments_aggregate'
}


/** aggregate fields of "chat_attachments" */
export interface chat_attachments_aggregate_fields {
    count: Scalars['Int']
    max?: chat_attachments_max_fields
    min?: chat_attachments_min_fields
    __typename: 'chat_attachments_aggregate_fields'
}


/** unique or primary key constraints on table "chat_attachments" */
export type chat_attachments_constraint = 'chat_attachments_pkey'


/** aggregate max on columns */
export interface chat_attachments_max_fields {
    created_at?: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    extension?: Scalars['String']
    id?: Scalars['uuid']
    message_id?: Scalars['uuid']
    path?: Scalars['String']
    ticket_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'chat_attachments_max_fields'
}


/** aggregate min on columns */
export interface chat_attachments_min_fields {
    created_at?: Scalars['timestamptz']
    deleted_at?: Scalars['timestamptz']
    extension?: Scalars['String']
    id?: Scalars['uuid']
    message_id?: Scalars['uuid']
    path?: Scalars['String']
    ticket_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamptz']
    __typename: 'chat_attachments_min_fields'
}


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


/** select columns of table "chat_attachments" */
export type chat_attachments_select_column = 'created_at' | 'deleted_at' | 'extension' | 'id' | 'message_id' | 'path' | 'ticket_id' | 'title' | 'updated_at'


/** update columns of table "chat_attachments" */
export type chat_attachments_update_column = 'created_at' | 'deleted_at' | 'extension' | 'id' | 'message_id' | 'path' | 'ticket_id' | 'title' | 'updated_at'


/** columns and relationships of "chat_ticket_messages" */
export interface chat_ticket_messages {
    author_id?: Scalars['uuid']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    /** An array relationship */
    chatTicketUserViewByTicketId: chat_ticket_user[]
    /** An aggregate relationship */
    chatTicketUserViewByTicketId_aggregate: chat_ticket_user_aggregate
    /** An object relationship */
    chatTicketViewByTicketId?: chat_tickets
    content?: Scalars['String']
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    ticket_id?: Scalars['uuid']
    ticket_message_id?: Scalars['uuid']
    updated_at: Scalars['timestamp']
    __typename: 'chat_ticket_messages'
}


/** aggregated selection of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate {
    aggregate?: chat_ticket_messages_aggregate_fields
    nodes: chat_ticket_messages[]
    __typename: 'chat_ticket_messages_aggregate'
}


/** aggregate fields of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate_fields {
    count: Scalars['Int']
    max?: chat_ticket_messages_max_fields
    min?: chat_ticket_messages_min_fields
    __typename: 'chat_ticket_messages_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_ticket_messages_max_fields {
    author_id?: Scalars['uuid']
    content?: Scalars['String']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    ticket_message_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'chat_ticket_messages_max_fields'
}


/** aggregate min on columns */
export interface chat_ticket_messages_min_fields {
    author_id?: Scalars['uuid']
    content?: Scalars['String']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    ticket_message_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'chat_ticket_messages_min_fields'
}


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


/** select columns of table "chat_ticket_messages" */
export type chat_ticket_messages_select_column = 'author_id' | 'content' | 'customer_id' | 'data' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'ticket_id' | 'ticket_message_id' | 'updated_at'


/** select "chat_ticket_messages_aggregate_bool_exp_bool_and_arguments_columns" columns of table "chat_ticket_messages" */
export type chat_ticket_messages_select_column_chat_ticket_messages_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "chat_ticket_messages_aggregate_bool_exp_bool_or_arguments_columns" columns of table "chat_ticket_messages" */
export type chat_ticket_messages_select_column_chat_ticket_messages_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


/** columns and relationships of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view {
    author_id?: Scalars['uuid']
    /** An array relationship */
    chatTicketUserViewByTicketId: chat_ticket_user_view[]
    /** An aggregate relationship */
    chatTicketUserViewByTicketId_aggregate: chat_ticket_user_view_aggregate
    /** An object relationship */
    chatTicketViewByTicketId?: chat_tickets_view
    content?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    seen?: Scalars['Boolean']
    ticket_id?: Scalars['uuid']
    __typename: 'chat_ticket_messages_view'
}


/** aggregated selection of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregate {
    aggregate?: chat_ticket_messages_view_aggregate_fields
    nodes: chat_ticket_messages_view[]
    __typename: 'chat_ticket_messages_view_aggregate'
}


/** aggregate fields of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregate_fields {
    count: Scalars['Int']
    max?: chat_ticket_messages_view_max_fields
    min?: chat_ticket_messages_view_min_fields
    __typename: 'chat_ticket_messages_view_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_ticket_messages_view_max_fields {
    author_id?: Scalars['uuid']
    content?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    ticket_id?: Scalars['uuid']
    __typename: 'chat_ticket_messages_view_max_fields'
}


/** aggregate min on columns */
export interface chat_ticket_messages_view_min_fields {
    author_id?: Scalars['uuid']
    content?: Scalars['String']
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    ticket_id?: Scalars['uuid']
    __typename: 'chat_ticket_messages_view_min_fields'
}


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


/** select columns of table "chat_ticket_messages_view" */
export type chat_ticket_messages_view_select_column = 'author_id' | 'content' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'seen' | 'ticket_id'


/** columns and relationships of "chat_ticket_user" */
export interface chat_ticket_user {
    activity_id?: Scalars['String']
    /** An array relationship */
    adopus_AdgangLinjerByActivityId: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjerByActivityId_aggregate: adopus_AdgangLinjer_aggregate
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    /** An object relationship */
    chatTicketByTicketId?: chat_tickets
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customers
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    owner: Scalars['Boolean']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum?: table_metadata
    ticket_id?: Scalars['uuid']
    updated_at: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user'
}


/** aggregated selection of "chat_ticket_user" */
export interface chat_ticket_user_aggregate {
    aggregate?: chat_ticket_user_aggregate_fields
    nodes: chat_ticket_user[]
    __typename: 'chat_ticket_user_aggregate'
}


/** aggregate fields of "chat_ticket_user" */
export interface chat_ticket_user_aggregate_fields {
    count: Scalars['Int']
    max?: chat_ticket_user_max_fields
    min?: chat_ticket_user_min_fields
    __typename: 'chat_ticket_user_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_ticket_user_max_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user_max_fields'
}


/** aggregate min on columns */
export interface chat_ticket_user_min_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user_min_fields'
}


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


/** select columns of table "chat_ticket_user" */
export type chat_ticket_user_select_column = 'activity_id' | 'customer_id' | 'data' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'owner' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'ticket_id' | 'updated_at' | 'user_id'


/** select "chat_ticket_user_aggregate_bool_exp_bool_and_arguments_columns" columns of table "chat_ticket_user" */
export type chat_ticket_user_select_column_chat_ticket_user_aggregate_bool_exp_bool_and_arguments_columns = 'owner' | 'seen' | 'show'


/** select "chat_ticket_user_aggregate_bool_exp_bool_or_arguments_columns" columns of table "chat_ticket_user" */
export type chat_ticket_user_select_column_chat_ticket_user_aggregate_bool_exp_bool_or_arguments_columns = 'owner' | 'seen' | 'show'


/** columns and relationships of "chat_ticket_user_view" */
export interface chat_ticket_user_view {
    activity_id?: Scalars['String']
    /** An array relationship */
    adopus_AdgangLinjerByActivityId: adopus_AdgangLinjer[]
    /** An aggregate relationship */
    adopus_AdgangLinjerByActivityId_aggregate: adopus_AdgangLinjer_aggregate
    /** An object relationship */
    chatTicketByTicketId?: chat_tickets_view
    customer_id?: Scalars['uuid']
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customers
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    owner?: Scalars['Boolean']
    seen?: Scalars['Boolean']
    ticket_id?: Scalars['uuid']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user_view'
}


/** aggregated selection of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate {
    aggregate?: chat_ticket_user_view_aggregate_fields
    nodes: chat_ticket_user_view[]
    __typename: 'chat_ticket_user_view_aggregate'
}


/** aggregate fields of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate_fields {
    count: Scalars['Int']
    max?: chat_ticket_user_view_max_fields
    min?: chat_ticket_user_view_min_fields
    __typename: 'chat_ticket_user_view_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_ticket_user_view_max_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    ticket_id?: Scalars['uuid']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user_view_max_fields'
}


/** aggregate min on columns */
export interface chat_ticket_user_view_min_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    ticket_id?: Scalars['uuid']
    user_id?: Scalars['uuid']
    __typename: 'chat_ticket_user_view_min_fields'
}


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


/** select columns of table "chat_ticket_user_view" */
export type chat_ticket_user_view_select_column = 'activity_id' | 'customer_id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'owner' | 'seen' | 'ticket_id' | 'user_id'


/** select "chat_ticket_user_view_aggregate_bool_exp_bool_and_arguments_columns" columns of table "chat_ticket_user_view" */
export type chat_ticket_user_view_select_column_chat_ticket_user_view_aggregate_bool_exp_bool_and_arguments_columns = 'owner' | 'seen'


/** select "chat_ticket_user_view_aggregate_bool_exp_bool_or_arguments_columns" columns of table "chat_ticket_user_view" */
export type chat_ticket_user_view_select_column_chat_ticket_user_view_aggregate_bool_exp_bool_or_arguments_columns = 'owner' | 'seen'


/** columns and relationships of "chat_tickets" */
export interface chat_tickets {
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    ticket_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at: Scalars['timestamp']
    __typename: 'chat_tickets'
}


/** aggregated selection of "chat_tickets" */
export interface chat_tickets_aggregate {
    aggregate?: chat_tickets_aggregate_fields
    nodes: chat_tickets[]
    __typename: 'chat_tickets_aggregate'
}


/** aggregate fields of "chat_tickets" */
export interface chat_tickets_aggregate_fields {
    count: Scalars['Int']
    max?: chat_tickets_max_fields
    min?: chat_tickets_min_fields
    __typename: 'chat_tickets_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_tickets_max_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'chat_tickets_max_fields'
}


/** aggregate min on columns */
export interface chat_tickets_min_fields {
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    ticket_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'chat_tickets_min_fields'
}


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


/** select columns of table "chat_tickets" */
export type chat_tickets_select_column = 'customer_id' | 'data' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'ticket_id' | 'title' | 'updated_at'


/** select "chat_tickets_aggregate_bool_exp_bool_and_arguments_columns" columns of table "chat_tickets" */
export type chat_tickets_select_column_chat_tickets_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "chat_tickets_aggregate_bool_exp_bool_or_arguments_columns" columns of table "chat_tickets" */
export type chat_tickets_select_column_chat_tickets_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


/** columns and relationships of "chat_tickets_view" */
export interface chat_tickets_view {
    archived?: Scalars['Boolean']
    /** An array relationship */
    chatTicketUsersByTicketId: chat_ticket_user_view[]
    /** An aggregate relationship */
    chatTicketUsersByTicketId_aggregate: chat_ticket_user_view_aggregate
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customers
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    seen?: Scalars['Boolean']
    state?: Scalars['String']
    title?: Scalars['String']
    __typename: 'chat_tickets_view'
}


/** aggregated selection of "chat_tickets_view" */
export interface chat_tickets_view_aggregate {
    aggregate?: chat_tickets_view_aggregate_fields
    nodes: chat_tickets_view[]
    __typename: 'chat_tickets_view_aggregate'
}


/** aggregate fields of "chat_tickets_view" */
export interface chat_tickets_view_aggregate_fields {
    count: Scalars['Int']
    max?: chat_tickets_view_max_fields
    min?: chat_tickets_view_min_fields
    __typename: 'chat_tickets_view_aggregate_fields'
}


/** aggregate max on columns */
export interface chat_tickets_view_max_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    state?: Scalars['String']
    title?: Scalars['String']
    __typename: 'chat_tickets_view_max_fields'
}


/** aggregate min on columns */
export interface chat_tickets_view_min_fields {
    created_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    state?: Scalars['String']
    title?: Scalars['String']
    __typename: 'chat_tickets_view_min_fields'
}


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


/** select columns of table "chat_tickets_view" */
export type chat_tickets_view_select_column = 'archived' | 'created_at' | 'customer_id' | 'deleted_at' | 'id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'seen' | 'state' | 'title'


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


/** columns and relationships of "directory_customers" */
export interface directory_customers {
    connector: Scalars['String']
    id: Scalars['uuid']
    __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_pkey'


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


/** aggregate min on columns */
export interface directory_customers_min_fields {
    connector?: Scalars['String']
    id?: Scalars['uuid']
    __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'


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


/** columns and relationships of "directory_user_basic_data" */
export interface directory_user_basic_data {
    /** An object relationship */
    directoryUsersByUserId?: directory_users
    email: Scalars['String']
    name: Scalars['String']
    password: Scalars['String']
    status: Scalars['String']
    user_id: Scalars['uuid']
    __typename: 'directory_user_basic_data'
}


/** aggregated selection of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregate {
    aggregate?: directory_user_basic_data_aggregate_fields
    nodes: directory_user_basic_data[]
    __typename: 'directory_user_basic_data_aggregate'
}


/** aggregate fields of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregate_fields {
    count: Scalars['Int']
    max?: directory_user_basic_data_max_fields
    min?: directory_user_basic_data_min_fields
    __typename: 'directory_user_basic_data_aggregate_fields'
}


/** unique or primary key constraints on table "directory_user_basic_data" */
export type directory_user_basic_data_constraint = 'directory_user_basic_data_pkey'


/** aggregate max on columns */
export interface directory_user_basic_data_max_fields {
    email?: Scalars['String']
    name?: Scalars['String']
    password?: Scalars['String']
    status?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_user_basic_data_max_fields'
}


/** aggregate min on columns */
export interface directory_user_basic_data_min_fields {
    email?: Scalars['String']
    name?: Scalars['String']
    password?: Scalars['String']
    status?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_user_basic_data_min_fields'
}


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


/** select columns of table "directory_user_basic_data" */
export type directory_user_basic_data_select_column = 'email' | 'name' | 'password' | 'status' | 'user_id'


/** update columns of table "directory_user_basic_data" */
export type directory_user_basic_data_update_column = 'email' | 'name' | 'password' | 'status' | 'user_id'


/** columns and relationships of "directory_user_name" */
export interface directory_user_name {
    /** An object relationship */
    directoryUsersByUserId?: directory_users
    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 "directory_users" */
export interface directory_users {
    /** An object relationship */
    directoryUserBasicDataById?: directory_user_basic_data
    /** An object relationship */
    directoryUserNamesById?: directory_user_name
    id: Scalars['uuid']
    __typename: 'directory_users'
}


/** aggregated selection of "directory_users" */
export interface directory_users_aggregate {
    aggregate?: directory_users_aggregate_fields
    nodes: directory_users[]
    __typename: 'directory_users_aggregate'
}


/** aggregate fields of "directory_users" */
export interface directory_users_aggregate_fields {
    count: Scalars['Int']
    max?: directory_users_max_fields
    min?: directory_users_min_fields
    __typename: 'directory_users_aggregate_fields'
}


/** columns and relationships of "directory_users_auth_logs" */
export interface directory_users_auth_logs {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    updated_at: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs'
}


/** aggregated selection of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate {
    aggregate?: directory_users_auth_logs_aggregate_fields
    nodes: directory_users_auth_logs[]
    __typename: 'directory_users_auth_logs_aggregate'
}


/** aggregate fields of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate_fields {
    count: Scalars['Int']
    max?: directory_users_auth_logs_max_fields
    min?: directory_users_auth_logs_min_fields
    __typename: 'directory_users_auth_logs_aggregate_fields'
}


/** aggregate max on columns */
export interface directory_users_auth_logs_max_fields {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs_max_fields'
}


/** aggregate min on columns */
export interface directory_users_auth_logs_min_fields {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs_min_fields'
}


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


/** select columns of table "directory_users_auth_logs" */
export type directory_users_auth_logs_select_column = 'auth_method' | 'authenticated_at' | 'customer_id' | 'data' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'updated_at' | 'user_id'


/** select "directory_users_auth_logs_aggregate_bool_exp_bool_and_arguments_columns" columns of table "directory_users_auth_logs" */
export type directory_users_auth_logs_select_column_directory_users_auth_logs_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "directory_users_auth_logs_aggregate_bool_exp_bool_or_arguments_columns" columns of table "directory_users_auth_logs" */
export type directory_users_auth_logs_select_column_directory_users_auth_logs_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


/** columns and relationships of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    seen?: Scalars['Boolean']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs_view'
}


/** aggregated selection of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregate {
    aggregate?: directory_users_auth_logs_view_aggregate_fields
    nodes: directory_users_auth_logs_view[]
    __typename: 'directory_users_auth_logs_view_aggregate'
}


/** aggregate fields of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregate_fields {
    count: Scalars['Int']
    max?: directory_users_auth_logs_view_max_fields
    min?: directory_users_auth_logs_view_min_fields
    __typename: 'directory_users_auth_logs_view_aggregate_fields'
}


/** aggregate max on columns */
export interface directory_users_auth_logs_view_max_fields {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs_view_max_fields'
}


/** aggregate min on columns */
export interface directory_users_auth_logs_view_min_fields {
    auth_method?: Scalars['String']
    authenticated_at?: Scalars['timestamptz']
    customer_id?: Scalars['uuid']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    user_id?: Scalars['uuid']
    __typename: 'directory_users_auth_logs_view_min_fields'
}


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


/** select columns of table "directory_users_auth_logs_view" */
export type directory_users_auth_logs_view_select_column = 'auth_method' | 'authenticated_at' | 'customer_id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'seen' | 'user_id'


/** unique or primary key constraints on table "directory_users" */
export type directory_users_constraint = 'directory_users_pkey'


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


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


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


/** select columns of table "directory_users" */
export type directory_users_select_column = 'id'


/** update columns of table "directory_users" */
export type directory_users_update_column = 'id'


/** mutation root */
export interface mutation_root {
    /** 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: "base_table" */
    delete_base_table?: base_table_mutation_response
    /** delete single row from the table: "base_table" */
    delete_base_table_by_pk?: base_table
    /** delete data from the table: "basic_table_seen" */
    delete_basic_table_seen?: basic_table_seen_mutation_response
    /** delete single row from the table: "basic_table_seen" */
    delete_basic_table_seen_by_pk?: basic_table_seen
    /** delete data from the table: "calendar_events" */
    delete_calendar_events?: calendar_events_mutation_response
    /** delete data from the table: "calendar_events_attendees" */
    delete_calendar_events_attendees?: calendar_events_attendees_mutation_response
    /** delete data from the table: "calendar_events_organizers" */
    delete_calendar_events_organizers?: calendar_events_organizers_mutation_response
    /** delete data from the table: "calendar_events_view" */
    delete_calendar_events_view?: calendar_events_view_mutation_response
    /** delete data from the table: "calendar_tasks" */
    delete_calendar_tasks?: calendar_tasks_mutation_response
    /** delete data from the table: "calendar_tasks_view" */
    delete_calendar_tasks_view?: calendar_tasks_view_mutation_response
    /** delete data from the table: "chat_attachments" */
    delete_chat_attachments?: chat_attachments_mutation_response
    /** delete single row from the table: "chat_attachments" */
    delete_chat_attachments_by_pk?: chat_attachments
    /** delete data from the table: "chat_ticket_messages" */
    delete_chat_ticket_messages?: chat_ticket_messages_mutation_response
    /** delete data from the table: "chat_ticket_messages_view" */
    delete_chat_ticket_messages_view?: chat_ticket_messages_view_mutation_response
    /** delete data from the table: "chat_ticket_user" */
    delete_chat_ticket_user?: chat_ticket_user_mutation_response
    /** delete data from the table: "chat_ticket_user_view" */
    delete_chat_ticket_user_view?: chat_ticket_user_view_mutation_response
    /** delete data from the table: "chat_tickets" */
    delete_chat_tickets?: chat_tickets_mutation_response
    /** delete data from the table: "chat_tickets_view" */
    delete_chat_tickets_view?: chat_tickets_view_mutation_response
    /** 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_basic_data" */
    delete_directory_user_basic_data?: directory_user_basic_data_mutation_response
    /** delete single row from the table: "directory_user_basic_data" */
    delete_directory_user_basic_data_by_pk?: directory_user_basic_data
    /** 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: "directory_users" */
    delete_directory_users?: directory_users_mutation_response
    /** delete data from the table: "directory_users_auth_logs" */
    delete_directory_users_auth_logs?: directory_users_auth_logs_mutation_response
    /** delete data from the table: "directory_users_auth_logs_view" */
    delete_directory_users_auth_logs_view?: directory_users_auth_logs_view_mutation_response
    /** delete single row from the table: "directory_users" */
    delete_directory_users_by_pk?: directory_users
    /** delete data from the table: "proxy_document_patient" */
    delete_proxy_document_patient?: proxy_document_patient_mutation_response
    /** delete data from the table: "proxy_document_patient_view" */
    delete_proxy_document_patient_view?: proxy_document_patient_view_mutation_response
    /** delete data from the table: "proxy_documents" */
    delete_proxy_documents?: proxy_documents_mutation_response
    /** delete data from the table: "proxy_documents_view" */
    delete_proxy_documents_view?: proxy_documents_view_mutation_response
    /** delete data from the table: "proxy_queries" */
    delete_proxy_queries?: proxy_queries_mutation_response
    /** delete data from the table: "proxy_queries_view" */
    delete_proxy_queries_view?: proxy_queries_view_mutation_response
    /** delete data from the table: "services" */
    delete_services?: services_mutation_response
    /** delete single row from the table: "services" */
    delete_services_by_pk?: services
    /** delete data from the table: "table_metadata" */
    delete_table_metadata?: table_metadata_mutation_response
    /** delete single row from the table: "table_metadata" */
    delete_table_metadata_by_pk?: table_metadata
    /** delete data from the table: "tables" */
    delete_tables?: tables_mutation_response
    /** delete single row from the table: "tables" */
    delete_tables_by_pk?: tables
    /** 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: "base_table" */
    insert_base_table?: base_table_mutation_response
    /** insert a single row into the table: "base_table" */
    insert_base_table_one?: base_table
    /** insert data into the table: "basic_table_seen" */
    insert_basic_table_seen?: basic_table_seen_mutation_response
    /** insert a single row into the table: "basic_table_seen" */
    insert_basic_table_seen_one?: basic_table_seen
    /** insert data into the table: "calendar_events" */
    insert_calendar_events?: calendar_events_mutation_response
    /** insert data into the table: "calendar_events_attendees" */
    insert_calendar_events_attendees?: calendar_events_attendees_mutation_response
    /** insert a single row into the table: "calendar_events_attendees" */
    insert_calendar_events_attendees_one?: calendar_events_attendees
    /** insert a single row into the table: "calendar_events" */
    insert_calendar_events_one?: calendar_events
    /** insert data into the table: "calendar_events_organizers" */
    insert_calendar_events_organizers?: calendar_events_organizers_mutation_response
    /** insert a single row into the table: "calendar_events_organizers" */
    insert_calendar_events_organizers_one?: calendar_events_organizers
    /** insert data into the table: "calendar_events_view" */
    insert_calendar_events_view?: calendar_events_view_mutation_response
    /** insert a single row into the table: "calendar_events_view" */
    insert_calendar_events_view_one?: calendar_events_view
    /** insert data into the table: "calendar_tasks" */
    insert_calendar_tasks?: calendar_tasks_mutation_response
    /** insert a single row into the table: "calendar_tasks" */
    insert_calendar_tasks_one?: calendar_tasks
    /** insert data into the table: "calendar_tasks_view" */
    insert_calendar_tasks_view?: calendar_tasks_view_mutation_response
    /** insert a single row into the table: "calendar_tasks_view" */
    insert_calendar_tasks_view_one?: calendar_tasks_view
    /** insert data into the table: "chat_attachments" */
    insert_chat_attachments?: chat_attachments_mutation_response
    /** insert a single row into the table: "chat_attachments" */
    insert_chat_attachments_one?: chat_attachments
    /** insert data into the table: "chat_ticket_messages" */
    insert_chat_ticket_messages?: chat_ticket_messages_mutation_response
    /** insert a single row into the table: "chat_ticket_messages" */
    insert_chat_ticket_messages_one?: chat_ticket_messages
    /** insert data into the table: "chat_ticket_messages_view" */
    insert_chat_ticket_messages_view?: chat_ticket_messages_view_mutation_response
    /** insert a single row into the table: "chat_ticket_messages_view" */
    insert_chat_ticket_messages_view_one?: chat_ticket_messages_view
    /** insert data into the table: "chat_ticket_user" */
    insert_chat_ticket_user?: chat_ticket_user_mutation_response
    /** insert a single row into the table: "chat_ticket_user" */
    insert_chat_ticket_user_one?: chat_ticket_user
    /** insert data into the table: "chat_ticket_user_view" */
    insert_chat_ticket_user_view?: chat_ticket_user_view_mutation_response
    /** insert a single row into the table: "chat_ticket_user_view" */
    insert_chat_ticket_user_view_one?: chat_ticket_user_view
    /** insert data into the table: "chat_tickets" */
    insert_chat_tickets?: chat_tickets_mutation_response
    /** insert a single row into the table: "chat_tickets" */
    insert_chat_tickets_one?: chat_tickets
    /** insert data into the table: "chat_tickets_view" */
    insert_chat_tickets_view?: chat_tickets_view_mutation_response
    /** insert a single row into the table: "chat_tickets_view" */
    insert_chat_tickets_view_one?: chat_tickets_view
    /** 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_basic_data" */
    insert_directory_user_basic_data?: directory_user_basic_data_mutation_response
    /** insert a single row into the table: "directory_user_basic_data" */
    insert_directory_user_basic_data_one?: directory_user_basic_data
    /** 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: "directory_users" */
    insert_directory_users?: directory_users_mutation_response
    /** insert data into the table: "directory_users_auth_logs" */
    insert_directory_users_auth_logs?: directory_users_auth_logs_mutation_response
    /** insert a single row into the table: "directory_users_auth_logs" */
    insert_directory_users_auth_logs_one?: directory_users_auth_logs
    /** insert data into the table: "directory_users_auth_logs_view" */
    insert_directory_users_auth_logs_view?: directory_users_auth_logs_view_mutation_response
    /** insert a single row into the table: "directory_users_auth_logs_view" */
    insert_directory_users_auth_logs_view_one?: directory_users_auth_logs_view
    /** insert a single row into the table: "directory_users" */
    insert_directory_users_one?: directory_users
    /** insert data into the table: "proxy_document_patient" */
    insert_proxy_document_patient?: proxy_document_patient_mutation_response
    /** insert a single row into the table: "proxy_document_patient" */
    insert_proxy_document_patient_one?: proxy_document_patient
    /** insert data into the table: "proxy_document_patient_view" */
    insert_proxy_document_patient_view?: proxy_document_patient_view_mutation_response
    /** insert a single row into the table: "proxy_document_patient_view" */
    insert_proxy_document_patient_view_one?: proxy_document_patient_view
    /** insert data into the table: "proxy_documents" */
    insert_proxy_documents?: proxy_documents_mutation_response
    /** insert a single row into the table: "proxy_documents" */
    insert_proxy_documents_one?: proxy_documents
    /** insert data into the table: "proxy_documents_view" */
    insert_proxy_documents_view?: proxy_documents_view_mutation_response
    /** insert a single row into the table: "proxy_documents_view" */
    insert_proxy_documents_view_one?: proxy_documents_view
    /** insert data into the table: "proxy_queries" */
    insert_proxy_queries?: proxy_queries_mutation_response
    /** insert a single row into the table: "proxy_queries" */
    insert_proxy_queries_one?: proxy_queries
    /** insert data into the table: "proxy_queries_view" */
    insert_proxy_queries_view?: proxy_queries_view_mutation_response
    /** insert a single row into the table: "proxy_queries_view" */
    insert_proxy_queries_view_one?: proxy_queries_view
    /** insert data into the table: "services" */
    insert_services?: services_mutation_response
    /** insert a single row into the table: "services" */
    insert_services_one?: services
    /** insert data into the table: "table_metadata" */
    insert_table_metadata?: table_metadata_mutation_response
    /** insert a single row into the table: "table_metadata" */
    insert_table_metadata_one?: table_metadata
    /** insert data into the table: "tables" */
    insert_tables?: tables_mutation_response
    /** insert a single row into the table: "tables" */
    insert_tables_one?: tables
    /** 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: "base_table" */
    update_base_table?: base_table_mutation_response
    /** update single row of the table: "base_table" */
    update_base_table_by_pk?: base_table
    /** update multiples rows of table: "base_table" */
    update_base_table_many?: (base_table_mutation_response | undefined)[]
    /** update data of the table: "basic_table_seen" */
    update_basic_table_seen?: basic_table_seen_mutation_response
    /** update single row of the table: "basic_table_seen" */
    update_basic_table_seen_by_pk?: basic_table_seen
    /** update multiples rows of table: "basic_table_seen" */
    update_basic_table_seen_many?: (basic_table_seen_mutation_response | undefined)[]
    /** update data of the table: "calendar_events" */
    update_calendar_events?: calendar_events_mutation_response
    /** update data of the table: "calendar_events_attendees" */
    update_calendar_events_attendees?: calendar_events_attendees_mutation_response
    /** update multiples rows of table: "calendar_events_attendees" */
    update_calendar_events_attendees_many?: (calendar_events_attendees_mutation_response | undefined)[]
    /** update multiples rows of table: "calendar_events" */
    update_calendar_events_many?: (calendar_events_mutation_response | undefined)[]
    /** update data of the table: "calendar_events_organizers" */
    update_calendar_events_organizers?: calendar_events_organizers_mutation_response
    /** update multiples rows of table: "calendar_events_organizers" */
    update_calendar_events_organizers_many?: (calendar_events_organizers_mutation_response | undefined)[]
    /** update data of the table: "calendar_events_view" */
    update_calendar_events_view?: calendar_events_view_mutation_response
    /** update multiples rows of table: "calendar_events_view" */
    update_calendar_events_view_many?: (calendar_events_view_mutation_response | undefined)[]
    /** update data of the table: "calendar_tasks" */
    update_calendar_tasks?: calendar_tasks_mutation_response
    /** update multiples rows of table: "calendar_tasks" */
    update_calendar_tasks_many?: (calendar_tasks_mutation_response | undefined)[]
    /** update data of the table: "calendar_tasks_view" */
    update_calendar_tasks_view?: calendar_tasks_view_mutation_response
    /** update multiples rows of table: "calendar_tasks_view" */
    update_calendar_tasks_view_many?: (calendar_tasks_view_mutation_response | undefined)[]
    /** update data of the table: "chat_attachments" */
    update_chat_attachments?: chat_attachments_mutation_response
    /** update single row of the table: "chat_attachments" */
    update_chat_attachments_by_pk?: chat_attachments
    /** update multiples rows of table: "chat_attachments" */
    update_chat_attachments_many?: (chat_attachments_mutation_response | undefined)[]
    /** update data of the table: "chat_ticket_messages" */
    update_chat_ticket_messages?: chat_ticket_messages_mutation_response
    /** update multiples rows of table: "chat_ticket_messages" */
    update_chat_ticket_messages_many?: (chat_ticket_messages_mutation_response | undefined)[]
    /** update data of the table: "chat_ticket_messages_view" */
    update_chat_ticket_messages_view?: chat_ticket_messages_view_mutation_response
    /** update multiples rows of table: "chat_ticket_messages_view" */
    update_chat_ticket_messages_view_many?: (chat_ticket_messages_view_mutation_response | undefined)[]
    /** update data of the table: "chat_ticket_user" */
    update_chat_ticket_user?: chat_ticket_user_mutation_response
    /** update multiples rows of table: "chat_ticket_user" */
    update_chat_ticket_user_many?: (chat_ticket_user_mutation_response | undefined)[]
    /** update data of the table: "chat_ticket_user_view" */
    update_chat_ticket_user_view?: chat_ticket_user_view_mutation_response
    /** update multiples rows of table: "chat_ticket_user_view" */
    update_chat_ticket_user_view_many?: (chat_ticket_user_view_mutation_response | undefined)[]
    /** update data of the table: "chat_tickets" */
    update_chat_tickets?: chat_tickets_mutation_response
    /** update multiples rows of table: "chat_tickets" */
    update_chat_tickets_many?: (chat_tickets_mutation_response | undefined)[]
    /** update data of the table: "chat_tickets_view" */
    update_chat_tickets_view?: chat_tickets_view_mutation_response
    /** update multiples rows of table: "chat_tickets_view" */
    update_chat_tickets_view_many?: (chat_tickets_view_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_basic_data" */
    update_directory_user_basic_data?: directory_user_basic_data_mutation_response
    /** update single row of the table: "directory_user_basic_data" */
    update_directory_user_basic_data_by_pk?: directory_user_basic_data
    /** update multiples rows of table: "directory_user_basic_data" */
    update_directory_user_basic_data_many?: (directory_user_basic_data_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: "directory_users" */
    update_directory_users?: directory_users_mutation_response
    /** update data of the table: "directory_users_auth_logs" */
    update_directory_users_auth_logs?: directory_users_auth_logs_mutation_response
    /** update multiples rows of table: "directory_users_auth_logs" */
    update_directory_users_auth_logs_many?: (directory_users_auth_logs_mutation_response | undefined)[]
    /** update data of the table: "directory_users_auth_logs_view" */
    update_directory_users_auth_logs_view?: directory_users_auth_logs_view_mutation_response
    /** update multiples rows of table: "directory_users_auth_logs_view" */
    update_directory_users_auth_logs_view_many?: (directory_users_auth_logs_view_mutation_response | undefined)[]
    /** update single row of the table: "directory_users" */
    update_directory_users_by_pk?: directory_users
    /** update multiples rows of table: "directory_users" */
    update_directory_users_many?: (directory_users_mutation_response | undefined)[]
    /** update data of the table: "proxy_document_patient" */
    update_proxy_document_patient?: proxy_document_patient_mutation_response
    /** update multiples rows of table: "proxy_document_patient" */
    update_proxy_document_patient_many?: (proxy_document_patient_mutation_response | undefined)[]
    /** update data of the table: "proxy_document_patient_view" */
    update_proxy_document_patient_view?: proxy_document_patient_view_mutation_response
    /** update multiples rows of table: "proxy_document_patient_view" */
    update_proxy_document_patient_view_many?: (proxy_document_patient_view_mutation_response | undefined)[]
    /** update data of the table: "proxy_documents" */
    update_proxy_documents?: proxy_documents_mutation_response
    /** update multiples rows of table: "proxy_documents" */
    update_proxy_documents_many?: (proxy_documents_mutation_response | undefined)[]
    /** update data of the table: "proxy_documents_view" */
    update_proxy_documents_view?: proxy_documents_view_mutation_response
    /** update multiples rows of table: "proxy_documents_view" */
    update_proxy_documents_view_many?: (proxy_documents_view_mutation_response | undefined)[]
    /** update data of the table: "proxy_queries" */
    update_proxy_queries?: proxy_queries_mutation_response
    /** update multiples rows of table: "proxy_queries" */
    update_proxy_queries_many?: (proxy_queries_mutation_response | undefined)[]
    /** update data of the table: "proxy_queries_view" */
    update_proxy_queries_view?: proxy_queries_view_mutation_response
    /** update multiples rows of table: "proxy_queries_view" */
    update_proxy_queries_view_many?: (proxy_queries_view_mutation_response | undefined)[]
    /** update data of the table: "services" */
    update_services?: services_mutation_response
    /** update single row of the table: "services" */
    update_services_by_pk?: services
    /** update multiples rows of table: "services" */
    update_services_many?: (services_mutation_response | undefined)[]
    /** update data of the table: "table_metadata" */
    update_table_metadata?: table_metadata_mutation_response
    /** update single row of the table: "table_metadata" */
    update_table_metadata_by_pk?: table_metadata
    /** update multiples rows of table: "table_metadata" */
    update_table_metadata_many?: (table_metadata_mutation_response | undefined)[]
    /** update data of the table: "tables" */
    update_tables?: tables_mutation_response
    /** update single row of the table: "tables" */
    update_tables_by_pk?: tables
    /** update multiples rows of table: "tables" */
    update_tables_many?: (tables_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 "proxy_document_patient" */
export interface proxy_document_patient {
    activity_id?: Scalars['String']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    document_id?: Scalars['bigint']
    for_signing: Scalars['Boolean']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    /** An array relationship */
    proxy_documents: proxy_documents[]
    /** An aggregate relationship */
    proxy_documents_aggregate: proxy_documents_aggregate
    /** An array relationship */
    proxy_queries: proxy_queries[]
    /** An aggregate relationship */
    proxy_queries_aggregate: proxy_queries_aggregate
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    updated_at: Scalars['timestamp']
    __typename: 'proxy_document_patient'
}


/** aggregated selection of "proxy_document_patient" */
export interface proxy_document_patient_aggregate {
    aggregate?: proxy_document_patient_aggregate_fields
    nodes: proxy_document_patient[]
    __typename: 'proxy_document_patient_aggregate'
}


/** aggregate fields of "proxy_document_patient" */
export interface proxy_document_patient_aggregate_fields {
    avg?: proxy_document_patient_avg_fields
    count: Scalars['Int']
    max?: proxy_document_patient_max_fields
    min?: proxy_document_patient_min_fields
    stddev?: proxy_document_patient_stddev_fields
    stddev_pop?: proxy_document_patient_stddev_pop_fields
    stddev_samp?: proxy_document_patient_stddev_samp_fields
    sum?: proxy_document_patient_sum_fields
    var_pop?: proxy_document_patient_var_pop_fields
    var_samp?: proxy_document_patient_var_samp_fields
    variance?: proxy_document_patient_variance_fields
    __typename: 'proxy_document_patient_aggregate_fields'
}


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


/** aggregate max on columns */
export interface proxy_document_patient_max_fields {
    activity_id?: Scalars['String']
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'proxy_document_patient_max_fields'
}


/** aggregate min on columns */
export interface proxy_document_patient_min_fields {
    activity_id?: Scalars['String']
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    updated_at?: Scalars['timestamp']
    __typename: 'proxy_document_patient_min_fields'
}


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


/** select columns of table "proxy_document_patient" */
export type proxy_document_patient_select_column = 'activity_id' | 'create_user_id' | 'customer_id' | 'data' | 'document_id' | 'for_signing' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'patient_id' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'updated_at'


/** select "proxy_document_patient_aggregate_bool_exp_bool_and_arguments_columns" columns of table "proxy_document_patient" */
export type proxy_document_patient_select_column_proxy_document_patient_aggregate_bool_exp_bool_and_arguments_columns = 'for_signing' | 'seen' | 'show'


/** select "proxy_document_patient_aggregate_bool_exp_bool_or_arguments_columns" columns of table "proxy_document_patient" */
export type proxy_document_patient_select_column_proxy_document_patient_aggregate_bool_exp_bool_or_arguments_columns = 'for_signing' | 'seen' | 'show'


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


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


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


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


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


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


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


/** columns and relationships of "proxy_document_patient_view" */
export interface proxy_document_patient_view {
    archived?: Scalars['Boolean']
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['Int']
    for_signing?: Scalars['Boolean']
    hide_for_patient?: Scalars['Boolean']
    imported_to_epr?: Scalars['Boolean']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    /** An array relationship */
    proxyDocuments: proxy_documents_view[]
    /** An aggregate relationship */
    proxyDocuments_aggregate: proxy_documents_view_aggregate
    seen?: Scalars['Boolean']
    seen_by_patient?: Scalars['Boolean']
    seen_by_therapist?: Scalars['Boolean']
    share_with_recipient?: Scalars['Boolean']
    soknad_id?: Scalars['String']
    __typename: 'proxy_document_patient_view'
}


/** aggregated selection of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregate {
    aggregate?: proxy_document_patient_view_aggregate_fields
    nodes: proxy_document_patient_view[]
    __typename: 'proxy_document_patient_view_aggregate'
}


/** aggregate fields of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregate_fields {
    avg?: proxy_document_patient_view_avg_fields
    count: Scalars['Int']
    max?: proxy_document_patient_view_max_fields
    min?: proxy_document_patient_view_min_fields
    stddev?: proxy_document_patient_view_stddev_fields
    stddev_pop?: proxy_document_patient_view_stddev_pop_fields
    stddev_samp?: proxy_document_patient_view_stddev_samp_fields
    sum?: proxy_document_patient_view_sum_fields
    var_pop?: proxy_document_patient_view_var_pop_fields
    var_samp?: proxy_document_patient_view_var_samp_fields
    variance?: proxy_document_patient_view_variance_fields
    __typename: 'proxy_document_patient_view_aggregate_fields'
}


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


/** aggregate max on columns */
export interface proxy_document_patient_view_max_fields {
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['Int']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    __typename: 'proxy_document_patient_view_max_fields'
}


/** aggregate min on columns */
export interface proxy_document_patient_view_min_fields {
    create_user_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    document_id?: Scalars['Int']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    soknad_id?: Scalars['String']
    __typename: 'proxy_document_patient_view_min_fields'
}


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


/** select columns of table "proxy_document_patient_view" */
export type proxy_document_patient_view_select_column = 'archived' | 'create_user_id' | 'customer_id' | 'deleted_at' | 'document_id' | 'for_signing' | 'hide_for_patient' | 'imported_to_epr' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'patient_id' | 'seen' | 'seen_by_patient' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id'


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


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


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


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


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


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


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


/** columns and relationships of "proxy_documents" */
export interface proxy_documents {
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    document_id?: Scalars['bigint']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    primary_key_id?: Scalars['uuid']
    /** An array relationship */
    proxy_queries: proxy_queries[]
    /** An aggregate relationship */
    proxy_queries_aggregate: proxy_queries_aggregate
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum?: table_metadata
    title?: Scalars['String']
    updated_at: Scalars['timestamp']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents'
}


/** aggregated selection of "proxy_documents" */
export interface proxy_documents_aggregate {
    aggregate?: proxy_documents_aggregate_fields
    nodes: proxy_documents[]
    __typename: 'proxy_documents_aggregate'
}


/** aggregate fields of "proxy_documents" */
export interface proxy_documents_aggregate_fields {
    avg?: proxy_documents_avg_fields
    count: Scalars['Int']
    max?: proxy_documents_max_fields
    min?: proxy_documents_min_fields
    stddev?: proxy_documents_stddev_fields
    stddev_pop?: proxy_documents_stddev_pop_fields
    stddev_samp?: proxy_documents_stddev_samp_fields
    sum?: proxy_documents_sum_fields
    var_pop?: proxy_documents_var_pop_fields
    var_samp?: proxy_documents_var_samp_fields
    variance?: proxy_documents_variance_fields
    __typename: 'proxy_documents_aggregate_fields'
}


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


/** aggregate max on columns */
export interface proxy_documents_max_fields {
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents_max_fields'
}


/** aggregate min on columns */
export interface proxy_documents_min_fields {
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    primary_key_id?: Scalars['uuid']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents_min_fields'
}


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


/** select columns of table "proxy_documents" */
export type proxy_documents_select_column = 'customer_id' | 'data' | 'document_id' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'primary_key_id' | 'seen' | 'show' | 'table_metadata_id' | 'title' | 'updated_at' | 'upload_patient_id'


/** select "proxy_documents_aggregate_bool_exp_bool_and_arguments_columns" columns of table "proxy_documents" */
export type proxy_documents_select_column_proxy_documents_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "proxy_documents_aggregate_bool_exp_bool_or_arguments_columns" columns of table "proxy_documents" */
export type proxy_documents_select_column_proxy_documents_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


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


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


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


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


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


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


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


/** columns and relationships of "proxy_documents_view" */
export interface proxy_documents_view {
    artifact_parcel_id?: Scalars['uuid']
    auto_import?: Scalars['Boolean']
    combine_signatures?: Scalars['Boolean']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['Int']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    name?: Scalars['String']
    op?: Scalars['String']
    path?: Scalars['String']
    sds_id?: Scalars['String']
    seen?: Scalars['Boolean']
    signed_by_therapist?: Scalars['Boolean']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents_view'
}


/** aggregated selection of "proxy_documents_view" */
export interface proxy_documents_view_aggregate {
    aggregate?: proxy_documents_view_aggregate_fields
    nodes: proxy_documents_view[]
    __typename: 'proxy_documents_view_aggregate'
}


/** aggregate fields of "proxy_documents_view" */
export interface proxy_documents_view_aggregate_fields {
    avg?: proxy_documents_view_avg_fields
    count: Scalars['Int']
    max?: proxy_documents_view_max_fields
    min?: proxy_documents_view_min_fields
    stddev?: proxy_documents_view_stddev_fields
    stddev_pop?: proxy_documents_view_stddev_pop_fields
    stddev_samp?: proxy_documents_view_stddev_samp_fields
    sum?: proxy_documents_view_sum_fields
    var_pop?: proxy_documents_view_var_pop_fields
    var_samp?: proxy_documents_view_var_samp_fields
    variance?: proxy_documents_view_variance_fields
    __typename: 'proxy_documents_view_aggregate_fields'
}


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


/** aggregate max on columns */
export interface proxy_documents_view_max_fields {
    artifact_parcel_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['Int']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    name?: Scalars['String']
    op?: Scalars['String']
    path?: Scalars['String']
    sds_id?: Scalars['String']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents_view_max_fields'
}


/** aggregate min on columns */
export interface proxy_documents_view_min_fields {
    artifact_parcel_id?: Scalars['uuid']
    customer_id?: Scalars['uuid']
    deleted_at?: Scalars['timestamptz']
    id?: Scalars['Int']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    name?: Scalars['String']
    op?: Scalars['String']
    path?: Scalars['String']
    sds_id?: Scalars['String']
    upload_patient_id?: Scalars['uuid']
    __typename: 'proxy_documents_view_min_fields'
}


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


/** select columns of table "proxy_documents_view" */
export type proxy_documents_view_select_column = 'artifact_parcel_id' | 'auto_import' | 'combine_signatures' | 'customer_id' | 'deleted_at' | 'id' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'name' | 'op' | 'path' | 'sds_id' | 'seen' | 'signed_by_therapist' | 'upload_patient_id'


/** select "proxy_documents_view_aggregate_bool_exp_bool_and_arguments_columns" columns of table "proxy_documents_view" */
export type proxy_documents_view_select_column_proxy_documents_view_aggregate_bool_exp_bool_and_arguments_columns = 'auto_import' | 'combine_signatures' | 'seen' | 'signed_by_therapist'


/** select "proxy_documents_view_aggregate_bool_exp_bool_or_arguments_columns" columns of table "proxy_documents_view" */
export type proxy_documents_view_select_column_proxy_documents_view_aggregate_bool_exp_bool_or_arguments_columns = 'auto_import' | 'combine_signatures' | 'seen' | 'signed_by_therapist'


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


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


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


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


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


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


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


/** columns and relationships of "proxy_queries" */
export interface proxy_queries {
    activity_id?: Scalars['String']
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    customer_id?: Scalars['uuid']
    data: Scalars['jsonb']
    document_id?: Scalars['bigint']
    id: Scalars['uuid']
    jwt_claims?: Scalars['jsonb']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    /** An array relationship */
    proxy_documents: proxy_documents[]
    /** An aggregate relationship */
    proxy_documents_aggregate: proxy_documents_aggregate
    query_uuid?: Scalars['uuid']
    seen: Scalars['Boolean']
    show: Scalars['Boolean']
    status?: Scalars['String']
    table_metadata_id: Scalars['uuid']
    /** An object relationship */
    table_metadatum: table_metadata
    title?: Scalars['String']
    updated_at: Scalars['timestamp']
    __typename: 'proxy_queries'
}


/** aggregated selection of "proxy_queries" */
export interface proxy_queries_aggregate {
    aggregate?: proxy_queries_aggregate_fields
    nodes: proxy_queries[]
    __typename: 'proxy_queries_aggregate'
}


/** aggregate fields of "proxy_queries" */
export interface proxy_queries_aggregate_fields {
    avg?: proxy_queries_avg_fields
    count: Scalars['Int']
    max?: proxy_queries_max_fields
    min?: proxy_queries_min_fields
    stddev?: proxy_queries_stddev_fields
    stddev_pop?: proxy_queries_stddev_pop_fields
    stddev_samp?: proxy_queries_stddev_samp_fields
    sum?: proxy_queries_sum_fields
    var_pop?: proxy_queries_var_pop_fields
    var_samp?: proxy_queries_var_samp_fields
    variance?: proxy_queries_variance_fields
    __typename: 'proxy_queries_aggregate_fields'
}


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


/** aggregate max on columns */
export interface proxy_queries_max_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    status?: Scalars['String']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'proxy_queries_max_fields'
}


/** aggregate min on columns */
export interface proxy_queries_min_fields {
    activity_id?: Scalars['String']
    customer_id?: Scalars['uuid']
    document_id?: Scalars['bigint']
    id?: Scalars['uuid']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    primary_key_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    status?: Scalars['String']
    table_metadata_id?: Scalars['uuid']
    title?: Scalars['String']
    updated_at?: Scalars['timestamp']
    __typename: 'proxy_queries_min_fields'
}


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


/** select columns of table "proxy_queries" */
export type proxy_queries_select_column = 'activity_id' | 'customer_id' | 'data' | 'document_id' | 'id' | 'jwt_claims' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'patient_id' | 'primary_key_id' | 'query_uuid' | 'seen' | 'show' | 'status' | 'table_metadata_id' | 'title' | 'updated_at'


/** select "proxy_queries_aggregate_bool_exp_bool_and_arguments_columns" columns of table "proxy_queries" */
export type proxy_queries_select_column_proxy_queries_aggregate_bool_exp_bool_and_arguments_columns = 'seen' | 'show'


/** select "proxy_queries_aggregate_bool_exp_bool_or_arguments_columns" columns of table "proxy_queries" */
export type proxy_queries_select_column_proxy_queries_aggregate_bool_exp_bool_or_arguments_columns = 'seen' | 'show'


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


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


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


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


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


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


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


/** columns and relationships of "proxy_queries_view" */
export interface proxy_queries_view {
    archived?: Scalars['Boolean']
    customer_id?: Scalars['uuid']
    hide_for_patient?: Scalars['Boolean']
    initiator?: Scalars['String']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    properties?: Scalars['jsonb']
    query_uuid?: Scalars['uuid']
    seen?: Scalars['Boolean']
    seen_by_therapist?: Scalars['Boolean']
    share_with_recipient?: Scalars['Boolean']
    soknad_id?: Scalars['String']
    status?: Scalars['String']
    title?: Scalars['String']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'proxy_queries_view'
}


/** aggregated selection of "proxy_queries_view" */
export interface proxy_queries_view_aggregate {
    aggregate?: proxy_queries_view_aggregate_fields
    nodes: proxy_queries_view[]
    __typename: 'proxy_queries_view_aggregate'
}


/** aggregate fields of "proxy_queries_view" */
export interface proxy_queries_view_aggregate_fields {
    count: Scalars['Int']
    max?: proxy_queries_view_max_fields
    min?: proxy_queries_view_min_fields
    __typename: 'proxy_queries_view_aggregate_fields'
}


/** aggregate max on columns */
export interface proxy_queries_view_max_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    soknad_id?: Scalars['String']
    status?: Scalars['String']
    title?: Scalars['String']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'proxy_queries_view_max_fields'
}


/** aggregate min on columns */
export interface proxy_queries_view_min_fields {
    customer_id?: Scalars['uuid']
    initiator?: Scalars['String']
    log_id?: Scalars['uuid']
    log_updated_at?: Scalars['timestamp']
    log_updated_by?: Scalars['uuid']
    log_updated_by_name?: Scalars['String']
    op?: Scalars['String']
    patient_id?: Scalars['uuid']
    query_uuid?: Scalars['uuid']
    soknad_id?: Scalars['String']
    status?: Scalars['String']
    title?: Scalars['String']
    valid_from?: Scalars['date']
    valid_to?: Scalars['date']
    __typename: 'proxy_queries_view_min_fields'
}


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


/** select columns of table "proxy_queries_view" */
export type proxy_queries_view_select_column = 'archived' | 'customer_id' | 'hide_for_patient' | 'initiator' | 'log_id' | 'log_updated_at' | 'log_updated_by' | 'log_updated_by_name' | 'op' | 'patient_id' | 'properties' | 'query_uuid' | 'seen' | 'seen_by_therapist' | 'share_with_recipient' | 'soknad_id' | 'status' | 'title' | 'valid_from' | 'valid_to'

export interface query_root {
    /** fetch data from the table: "adopus_AdgangLinjer" */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
    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: "base_table" */
    base_table: base_table[]
    /** fetch aggregated fields from the table: "base_table" */
    base_table_aggregate: base_table_aggregate
    /** fetch data from the table: "base_table" using primary key columns */
    base_table_by_pk?: base_table
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    /** fetch data from the table: "basic_table_seen" using primary key columns */
    basic_table_seen_by_pk?: basic_table_seen
    /** An array relationship */
    calendar_events: calendar_events[]
    /** An aggregate relationship */
    calendar_events_aggregate: calendar_events_aggregate
    /** An array relationship */
    calendar_events_attendees: calendar_events_attendees[]
    /** An aggregate relationship */
    calendar_events_attendees_aggregate: calendar_events_attendees_aggregate
    /** An array relationship */
    calendar_events_organizers: calendar_events_organizers[]
    /** An aggregate relationship */
    calendar_events_organizers_aggregate: calendar_events_organizers_aggregate
    /** fetch data from the table: "calendar_events_view" */
    calendar_events_view: calendar_events_view[]
    /** fetch aggregated fields from the table: "calendar_events_view" */
    calendar_events_view_aggregate: calendar_events_view_aggregate
    /** An array relationship */
    calendar_tasks: calendar_tasks[]
    /** An aggregate relationship */
    calendar_tasks_aggregate: calendar_tasks_aggregate
    /** fetch data from the table: "calendar_tasks_view" */
    calendar_tasks_view: calendar_tasks_view[]
    /** fetch aggregated fields from the table: "calendar_tasks_view" */
    calendar_tasks_view_aggregate: calendar_tasks_view_aggregate
    /** fetch data from the table: "chat_attachments" */
    chat_attachments: chat_attachments[]
    /** fetch aggregated fields from the table: "chat_attachments" */
    chat_attachments_aggregate: chat_attachments_aggregate
    /** fetch data from the table: "chat_attachments" using primary key columns */
    chat_attachments_by_pk?: chat_attachments
    /** An array relationship */
    chat_ticket_messages: chat_ticket_messages[]
    /** An aggregate relationship */
    chat_ticket_messages_aggregate: chat_ticket_messages_aggregate
    /** fetch data from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view: chat_ticket_messages_view[]
    /** fetch aggregated fields from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view_aggregate: chat_ticket_messages_view_aggregate
    /** fetch data from the table: "chat_ticket_user" */
    chat_ticket_user: chat_ticket_user[]
    /** fetch aggregated fields from the table: "chat_ticket_user" */
    chat_ticket_user_aggregate: chat_ticket_user_aggregate
    /** fetch data from the table: "chat_ticket_user_view" */
    chat_ticket_user_view: chat_ticket_user_view[]
    /** fetch aggregated fields from the table: "chat_ticket_user_view" */
    chat_ticket_user_view_aggregate: chat_ticket_user_view_aggregate
    /** An array relationship */
    chat_tickets: chat_tickets[]
    /** An aggregate relationship */
    chat_tickets_aggregate: chat_tickets_aggregate
    /** fetch data from the table: "chat_tickets_view" */
    chat_tickets_view: chat_tickets_view[]
    /** fetch aggregated fields from the table: "chat_tickets_view" */
    chat_tickets_view_aggregate: chat_tickets_view_aggregate
    /** 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_basic_data" */
    directory_user_basic_data: directory_user_basic_data[]
    /** fetch aggregated fields from the table: "directory_user_basic_data" */
    directory_user_basic_data_aggregate: directory_user_basic_data_aggregate
    /** fetch data from the table: "directory_user_basic_data" using primary key columns */
    directory_user_basic_data_by_pk?: directory_user_basic_data
    /** 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: "directory_users" */
    directory_users: directory_users[]
    /** fetch aggregated fields from the table: "directory_users" */
    directory_users_aggregate: directory_users_aggregate
    /** An array relationship */
    directory_users_auth_logs: directory_users_auth_logs[]
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate: directory_users_auth_logs_aggregate
    /** fetch data from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view: directory_users_auth_logs_view[]
    /** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_aggregate: directory_users_auth_logs_view_aggregate
    /** fetch data from the table: "directory_users" using primary key columns */
    directory_users_by_pk?: directory_users
    /** fetch data from the table: "proxy_document_patient" */
    proxy_document_patient: proxy_document_patient[]
    /** fetch aggregated fields from the table: "proxy_document_patient" */
    proxy_document_patient_aggregate: proxy_document_patient_aggregate
    /** fetch data from the table: "proxy_document_patient_view" */
    proxy_document_patient_view: proxy_document_patient_view[]
    /** fetch aggregated fields from the table: "proxy_document_patient_view" */
    proxy_document_patient_view_aggregate: proxy_document_patient_view_aggregate
    /** An array relationship */
    proxy_documents: proxy_documents[]
    /** An aggregate relationship */
    proxy_documents_aggregate: proxy_documents_aggregate
    /** fetch data from the table: "proxy_documents_view" */
    proxy_documents_view: proxy_documents_view[]
    /** fetch aggregated fields from the table: "proxy_documents_view" */
    proxy_documents_view_aggregate: proxy_documents_view_aggregate
    /** An array relationship */
    proxy_queries: proxy_queries[]
    /** An aggregate relationship */
    proxy_queries_aggregate: proxy_queries_aggregate
    /** fetch data from the table: "proxy_queries_view" */
    proxy_queries_view: proxy_queries_view[]
    /** fetch aggregated fields from the table: "proxy_queries_view" */
    proxy_queries_view_aggregate: proxy_queries_view_aggregate
    /** fetch data from the table: "services" */
    services: services[]
    /** fetch aggregated fields from the table: "services" */
    services_aggregate: services_aggregate
    /** fetch data from the table: "services" using primary key columns */
    services_by_pk?: services
    /** An array relationship */
    table_metadata: table_metadata[]
    /** An aggregate relationship */
    table_metadata_aggregate: table_metadata_aggregate
    /** fetch data from the table: "table_metadata" using primary key columns */
    table_metadata_by_pk?: table_metadata
    /** fetch data from the table: "tables" */
    tables: tables[]
    /** fetch aggregated fields from the table: "tables" */
    tables_aggregate: tables_aggregate
    /** fetch data from the table: "tables" using primary key columns */
    tables_by_pk?: tables
    __typename: 'query_root'
}


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


/** aggregated selection of "services" */
export interface services_aggregate {
    aggregate?: services_aggregate_fields
    nodes: services[]
    __typename: 'services_aggregate'
}


/** aggregate fields of "services" */
export interface services_aggregate_fields {
    count: Scalars['Int']
    max?: services_max_fields
    min?: services_min_fields
    __typename: 'services_aggregate_fields'
}


/** unique or primary key constraints on table "services" */
export type services_constraint = 'services_pkey'

export type services_enum = 'CALENDAR' | 'CHAT' | 'DIRECTORY' | 'PROXY'


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


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


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


/** select columns of table "services" */
export type services_select_column = 'comment' | 'name'


/** update columns of table "services" */
export type services_update_column = 'comment' | 'name'

export interface subscription_root {
    /** fetch data from the table: "adopus_AdgangLinjer" */
    adopus_AdgangLinjer: adopus_AdgangLinjer[]
    /** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
    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[]
    /** fetch data from the table: "base_table" */
    base_table: base_table[]
    /** fetch aggregated fields from the table: "base_table" */
    base_table_aggregate: base_table_aggregate
    /** fetch data from the table: "base_table" using primary key columns */
    base_table_by_pk?: base_table
    /** fetch data from the table in a streaming manner: "base_table" */
    base_table_stream: base_table[]
    /** An array relationship */
    basic_table_seen: basic_table_seen[]
    /** An aggregate relationship */
    basic_table_seen_aggregate: basic_table_seen_aggregate
    /** fetch data from the table: "basic_table_seen" using primary key columns */
    basic_table_seen_by_pk?: basic_table_seen
    /** fetch data from the table in a streaming manner: "basic_table_seen" */
    basic_table_seen_stream: basic_table_seen[]
    /** An array relationship */
    calendar_events: calendar_events[]
    /** An aggregate relationship */
    calendar_events_aggregate: calendar_events_aggregate
    /** An array relationship */
    calendar_events_attendees: calendar_events_attendees[]
    /** An aggregate relationship */
    calendar_events_attendees_aggregate: calendar_events_attendees_aggregate
    /** fetch data from the table in a streaming manner: "calendar_events_attendees" */
    calendar_events_attendees_stream: calendar_events_attendees[]
    /** An array relationship */
    calendar_events_organizers: calendar_events_organizers[]
    /** An aggregate relationship */
    calendar_events_organizers_aggregate: calendar_events_organizers_aggregate
    /** fetch data from the table in a streaming manner: "calendar_events_organizers" */
    calendar_events_organizers_stream: calendar_events_organizers[]
    /** fetch data from the table in a streaming manner: "calendar_events" */
    calendar_events_stream: calendar_events[]
    /** fetch data from the table: "calendar_events_view" */
    calendar_events_view: calendar_events_view[]
    /** fetch aggregated fields from the table: "calendar_events_view" */
    calendar_events_view_aggregate: calendar_events_view_aggregate
    /** fetch data from the table in a streaming manner: "calendar_events_view" */
    calendar_events_view_stream: calendar_events_view[]
    /** An array relationship */
    calendar_tasks: calendar_tasks[]
    /** An aggregate relationship */
    calendar_tasks_aggregate: calendar_tasks_aggregate
    /** fetch data from the table in a streaming manner: "calendar_tasks" */
    calendar_tasks_stream: calendar_tasks[]
    /** fetch data from the table: "calendar_tasks_view" */
    calendar_tasks_view: calendar_tasks_view[]
    /** fetch aggregated fields from the table: "calendar_tasks_view" */
    calendar_tasks_view_aggregate: calendar_tasks_view_aggregate
    /** fetch data from the table in a streaming manner: "calendar_tasks_view" */
    calendar_tasks_view_stream: calendar_tasks_view[]
    /** fetch data from the table: "chat_attachments" */
    chat_attachments: chat_attachments[]
    /** fetch aggregated fields from the table: "chat_attachments" */
    chat_attachments_aggregate: chat_attachments_aggregate
    /** fetch data from the table: "chat_attachments" using primary key columns */
    chat_attachments_by_pk?: chat_attachments
    /** fetch data from the table in a streaming manner: "chat_attachments" */
    chat_attachments_stream: chat_attachments[]
    /** An array relationship */
    chat_ticket_messages: chat_ticket_messages[]
    /** An aggregate relationship */
    chat_ticket_messages_aggregate: chat_ticket_messages_aggregate
    /** fetch data from the table in a streaming manner: "chat_ticket_messages" */
    chat_ticket_messages_stream: chat_ticket_messages[]
    /** fetch data from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view: chat_ticket_messages_view[]
    /** fetch aggregated fields from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view_aggregate: chat_ticket_messages_view_aggregate
    /** fetch data from the table in a streaming manner: "chat_ticket_messages_view" */
    chat_ticket_messages_view_stream: chat_ticket_messages_view[]
    /** fetch data from the table: "chat_ticket_user" */
    chat_ticket_user: chat_ticket_user[]
    /** fetch aggregated fields from the table: "chat_ticket_user" */
    chat_ticket_user_aggregate: chat_ticket_user_aggregate
    /** fetch data from the table in a streaming manner: "chat_ticket_user" */
    chat_ticket_user_stream: chat_ticket_user[]
    /** fetch data from the table: "chat_ticket_user_view" */
    chat_ticket_user_view: chat_ticket_user_view[]
    /** fetch aggregated fields from the table: "chat_ticket_user_view" */
    chat_ticket_user_view_aggregate: chat_ticket_user_view_aggregate
    /** fetch data from the table in a streaming manner: "chat_ticket_user_view" */
    chat_ticket_user_view_stream: chat_ticket_user_view[]
    /** An array relationship */
    chat_tickets: chat_tickets[]
    /** An aggregate relationship */
    chat_tickets_aggregate: chat_tickets_aggregate
    /** fetch data from the table in a streaming manner: "chat_tickets" */
    chat_tickets_stream: chat_tickets[]
    /** fetch data from the table: "chat_tickets_view" */
    chat_tickets_view: chat_tickets_view[]
    /** fetch aggregated fields from the table: "chat_tickets_view" */
    chat_tickets_view_aggregate: chat_tickets_view_aggregate
    /** fetch data from the table in a streaming manner: "chat_tickets_view" */
    chat_tickets_view_stream: chat_tickets_view[]
    /** 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_basic_data" */
    directory_user_basic_data: directory_user_basic_data[]
    /** fetch aggregated fields from the table: "directory_user_basic_data" */
    directory_user_basic_data_aggregate: directory_user_basic_data_aggregate
    /** fetch data from the table: "directory_user_basic_data" using primary key columns */
    directory_user_basic_data_by_pk?: directory_user_basic_data
    /** fetch data from the table in a streaming manner: "directory_user_basic_data" */
    directory_user_basic_data_stream: directory_user_basic_data[]
    /** 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: "directory_users" */
    directory_users: directory_users[]
    /** fetch aggregated fields from the table: "directory_users" */
    directory_users_aggregate: directory_users_aggregate
    /** An array relationship */
    directory_users_auth_logs: directory_users_auth_logs[]
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate: directory_users_auth_logs_aggregate
    /** fetch data from the table in a streaming manner: "directory_users_auth_logs" */
    directory_users_auth_logs_stream: directory_users_auth_logs[]
    /** fetch data from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view: directory_users_auth_logs_view[]
    /** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_aggregate: directory_users_auth_logs_view_aggregate
    /** fetch data from the table in a streaming manner: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_stream: directory_users_auth_logs_view[]
    /** fetch data from the table: "directory_users" using primary key columns */
    directory_users_by_pk?: directory_users
    /** fetch data from the table in a streaming manner: "directory_users" */
    directory_users_stream: directory_users[]
    /** fetch data from the table: "proxy_document_patient" */
    proxy_document_patient: proxy_document_patient[]
    /** fetch aggregated fields from the table: "proxy_document_patient" */
    proxy_document_patient_aggregate: proxy_document_patient_aggregate
    /** fetch data from the table in a streaming manner: "proxy_document_patient" */
    proxy_document_patient_stream: proxy_document_patient[]
    /** fetch data from the table: "proxy_document_patient_view" */
    proxy_document_patient_view: proxy_document_patient_view[]
    /** fetch aggregated fields from the table: "proxy_document_patient_view" */
    proxy_document_patient_view_aggregate: proxy_document_patient_view_aggregate
    /** fetch data from the table in a streaming manner: "proxy_document_patient_view" */
    proxy_document_patient_view_stream: proxy_document_patient_view[]
    /** An array relationship */
    proxy_documents: proxy_documents[]
    /** An aggregate relationship */
    proxy_documents_aggregate: proxy_documents_aggregate
    /** fetch data from the table in a streaming manner: "proxy_documents" */
    proxy_documents_stream: proxy_documents[]
    /** fetch data from the table: "proxy_documents_view" */
    proxy_documents_view: proxy_documents_view[]
    /** fetch aggregated fields from the table: "proxy_documents_view" */
    proxy_documents_view_aggregate: proxy_documents_view_aggregate
    /** fetch data from the table in a streaming manner: "proxy_documents_view" */
    proxy_documents_view_stream: proxy_documents_view[]
    /** An array relationship */
    proxy_queries: proxy_queries[]
    /** An aggregate relationship */
    proxy_queries_aggregate: proxy_queries_aggregate
    /** fetch data from the table in a streaming manner: "proxy_queries" */
    proxy_queries_stream: proxy_queries[]
    /** fetch data from the table: "proxy_queries_view" */
    proxy_queries_view: proxy_queries_view[]
    /** fetch aggregated fields from the table: "proxy_queries_view" */
    proxy_queries_view_aggregate: proxy_queries_view_aggregate
    /** fetch data from the table in a streaming manner: "proxy_queries_view" */
    proxy_queries_view_stream: proxy_queries_view[]
    /** fetch data from the table: "services" */
    services: services[]
    /** fetch aggregated fields from the table: "services" */
    services_aggregate: services_aggregate
    /** fetch data from the table: "services" using primary key columns */
    services_by_pk?: services
    /** fetch data from the table in a streaming manner: "services" */
    services_stream: services[]
    /** An array relationship */
    table_metadata: table_metadata[]
    /** An aggregate relationship */
    table_metadata_aggregate: table_metadata_aggregate
    /** fetch data from the table: "table_metadata" using primary key columns */
    table_metadata_by_pk?: table_metadata
    /** fetch data from the table in a streaming manner: "table_metadata" */
    table_metadata_stream: table_metadata[]
    /** fetch data from the table: "tables" */
    tables: tables[]
    /** fetch aggregated fields from the table: "tables" */
    tables_aggregate: tables_aggregate
    /** fetch data from the table: "tables" using primary key columns */
    tables_by_pk?: tables
    /** fetch data from the table in a streaming manner: "tables" */
    tables_stream: tables[]
    __typename: 'subscription_root'
}


/** columns and relationships of "table_metadata" */
export interface table_metadata {
    /** An array relationship */
    base_tables: base_table[]
    /** An aggregate relationship */
    base_tables_aggregate: base_table_aggregate
    /** An array relationship */
    calendar_events: calendar_events[]
    /** An aggregate relationship */
    calendar_events_aggregate: calendar_events_aggregate
    /** An array relationship */
    calendar_events_attendees: calendar_events_attendees[]
    /** An aggregate relationship */
    calendar_events_attendees_aggregate: calendar_events_attendees_aggregate
    /** An array relationship */
    calendar_events_organizers: calendar_events_organizers[]
    /** An aggregate relationship */
    calendar_events_organizers_aggregate: calendar_events_organizers_aggregate
    /** An array relationship */
    calendar_tasks: calendar_tasks[]
    /** An aggregate relationship */
    calendar_tasks_aggregate: calendar_tasks_aggregate
    /** An array relationship */
    chat_ticket_messages: chat_ticket_messages[]
    /** An aggregate relationship */
    chat_ticket_messages_aggregate: chat_ticket_messages_aggregate
    /** An array relationship */
    chat_tickets: chat_tickets[]
    /** An aggregate relationship */
    chat_tickets_aggregate: chat_tickets_aggregate
    /** An array relationship */
    directory_users_auth_logs: directory_users_auth_logs[]
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate: directory_users_auth_logs_aggregate
    id: Scalars['uuid']
    /** An array relationship */
    proxy_document_patients: proxy_document_patient[]
    /** An aggregate relationship */
    proxy_document_patients_aggregate: proxy_document_patient_aggregate
    /** An array relationship */
    proxy_queries_bases: proxy_queries[]
    /** An aggregate relationship */
    proxy_queries_bases_aggregate: proxy_queries_aggregate
    service: services_enum
    /** An object relationship */
    serviceByService: services
    /** An object relationship */
    table: tables
    table_name: tables_enum
    trigger_name: Scalars['String']
    __typename: 'table_metadata'
}


/** aggregated selection of "table_metadata" */
export interface table_metadata_aggregate {
    aggregate?: table_metadata_aggregate_fields
    nodes: table_metadata[]
    __typename: 'table_metadata_aggregate'
}


/** aggregate fields of "table_metadata" */
export interface table_metadata_aggregate_fields {
    count: Scalars['Int']
    max?: table_metadata_max_fields
    min?: table_metadata_min_fields
    __typename: 'table_metadata_aggregate_fields'
}


/** unique or primary key constraints on table "table_metadata" */
export type table_metadata_constraint = 'table_metadata_pkey' | 'table_metadata_service_table_name_key'


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


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


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


/** select columns of table "table_metadata" */
export type table_metadata_select_column = 'id' | 'service' | 'table_name' | 'trigger_name'


/** update columns of table "table_metadata" */
export type table_metadata_update_column = 'id' | 'service' | 'table_name' | 'trigger_name'


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


/** aggregated selection of "tables" */
export interface tables_aggregate {
    aggregate?: tables_aggregate_fields
    nodes: tables[]
    __typename: 'tables_aggregate'
}


/** aggregate fields of "tables" */
export interface tables_aggregate_fields {
    count: Scalars['Int']
    max?: tables_max_fields
    min?: tables_min_fields
    __typename: 'tables_aggregate_fields'
}


/** unique or primary key constraints on table "tables" */
export type tables_constraint = 'tables_pkey'

export type tables_enum = 'document_patient' | 'documents' | 'events' | 'events_attendees' | 'events_organizers' | 'queries' | 'tasks' | 'ticket_messages' | 'ticket_user' | 'tickets' | 'users_auth_logs'


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


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


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


/** select columns of table "tables" */
export type tables_select_column = 'comment' | 'name'


/** update columns of table "tables" */
export type tables_update_column = 'comment' | 'name'

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)}


/** 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)}


/** 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)}


/** permissions for therapist to access recipient from Adopus databases */
export interface adopus_AdgangLinjerRequest{
    Adgangkode?: boolean | number
    BrukerNavn?: boolean | number
    Fradato?: boolean | number
    SoknadId?: boolean | number
    Tildato?: boolean | number
    customer_id?: boolean | number
    /** An object relationship */
    directory_customersByCustomerID?: directory_customersRequest
    __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),directory_customersByCustomerID?: (directory_customers_bool_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),directory_customersByCustomerID?: (directory_customers_obj_rel_insert_input | 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),directory_customersByCustomerID?: (directory_customers_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 "base_table" */
export interface base_tableRequest{
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "base_table" */
export interface base_table_aggregateRequest{
    aggregate?: base_table_aggregate_fieldsRequest
    nodes?: base_tableRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface base_table_aggregate_bool_exp {bool_and?: (base_table_aggregate_bool_exp_bool_and | null),bool_or?: (base_table_aggregate_bool_exp_bool_or | null),count?: (base_table_aggregate_bool_exp_count | null)}

export interface base_table_aggregate_bool_exp_bool_and {arguments: base_table_select_column_base_table_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (base_table_bool_exp | null),predicate: Boolean_comparison_exp}

export interface base_table_aggregate_bool_exp_bool_or {arguments: base_table_select_column_base_table_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (base_table_bool_exp | null),predicate: Boolean_comparison_exp}

export interface base_table_aggregate_bool_exp_count {arguments?: (base_table_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (base_table_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "base_table" */
export interface base_table_aggregate_fieldsRequest{
    count?: [{columns?: (base_table_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: base_table_max_fieldsRequest
    min?: base_table_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "base_table" */
export interface base_table_aggregate_order_by {count?: (order_by | null),max?: (base_table_max_order_by | null),min?: (base_table_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface base_table_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "base_table" */
export interface base_table_arr_rel_insert_input {data: base_table_insert_input[],
/** upsert condition */
on_conflict?: (base_table_on_conflict | null)}


/** Boolean expression to filter rows from the table "base_table". All fields are combined with a logical 'AND'. */
export interface base_table_bool_exp {_and?: (base_table_bool_exp[] | null),_not?: (base_table_bool_exp | null),_or?: (base_table_bool_exp[] | null),data?: (jsonb_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface base_table_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 base_table_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface base_table_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "base_table" */
export interface base_table_insert_input {data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface base_table_max_fieldsRequest{
    id?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "base_table" */
export interface base_table_max_order_by {id?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface base_table_min_fieldsRequest{
    id?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "base_table" */
export interface base_table_min_order_by {id?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "base_table" */
export interface base_table_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: base_tableRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "base_table" */
export interface base_table_on_conflict {constraint: base_table_constraint,update_columns: base_table_update_column[],where?: (base_table_bool_exp | null)}


/** Ordering options when selecting data from "base_table". */
export interface base_table_order_by {data?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: base_table */
export interface base_table_pk_columns_input {id: Scalars['uuid']}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface base_table_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "base_table" */
export interface base_table_set_input {data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** Streaming cursor of the table "base_table" */
export interface base_table_stream_cursor_input {
/** Stream column input with initial value */
initial_value: base_table_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface base_table_stream_cursor_value_input {data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}

export interface base_table_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (base_table_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (base_table_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (base_table_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (base_table_set_input | null),
/** filter the rows which have to be updated */
where: base_table_bool_exp}


/** columns and relationships of "basic_table_seen" */
export interface basic_table_seenRequest{
    id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "basic_table_seen" */
export interface basic_table_seen_aggregateRequest{
    aggregate?: basic_table_seen_aggregate_fieldsRequest
    nodes?: basic_table_seenRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface basic_table_seen_aggregate_bool_exp {count?: (basic_table_seen_aggregate_bool_exp_count | null)}

export interface basic_table_seen_aggregate_bool_exp_count {arguments?: (basic_table_seen_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (basic_table_seen_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "basic_table_seen" */
export interface basic_table_seen_aggregate_fieldsRequest{
    count?: [{columns?: (basic_table_seen_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: basic_table_seen_max_fieldsRequest
    min?: basic_table_seen_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "basic_table_seen" */
export interface basic_table_seen_aggregate_order_by {count?: (order_by | null),max?: (basic_table_seen_max_order_by | null),min?: (basic_table_seen_min_order_by | null)}


/** input type for inserting array relation for remote table "basic_table_seen" */
export interface basic_table_seen_arr_rel_insert_input {data: basic_table_seen_insert_input[],
/** upsert condition */
on_conflict?: (basic_table_seen_on_conflict | null)}


/** Boolean expression to filter rows from the table "basic_table_seen". All fields are combined with a logical 'AND'. */
export interface basic_table_seen_bool_exp {_and?: (basic_table_seen_bool_exp[] | null),_not?: (basic_table_seen_bool_exp | null),_or?: (basic_table_seen_bool_exp[] | null),id?: (uuid_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "basic_table_seen" */
export interface basic_table_seen_insert_input {id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface basic_table_seen_max_fieldsRequest{
    id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "basic_table_seen" */
export interface basic_table_seen_max_order_by {id?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface basic_table_seen_min_fieldsRequest{
    id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "basic_table_seen" */
export interface basic_table_seen_min_order_by {id?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "basic_table_seen" */
export interface basic_table_seen_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: basic_table_seenRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "basic_table_seen" */
export interface basic_table_seen_on_conflict {constraint: basic_table_seen_constraint,update_columns: basic_table_seen_update_column[],where?: (basic_table_seen_bool_exp | null)}


/** Ordering options when selecting data from "basic_table_seen". */
export interface basic_table_seen_order_by {id?: (order_by | null),user_id?: (order_by | null)}


/** primary key columns input for table: basic_table_seen */
export interface basic_table_seen_pk_columns_input {id: Scalars['uuid'],user_id: Scalars['uuid']}


/** input type for updating data in table "basic_table_seen" */
export interface basic_table_seen_set_input {id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "basic_table_seen" */
export interface basic_table_seen_stream_cursor_input {
/** Stream column input with initial value */
initial_value: basic_table_seen_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface basic_table_seen_stream_cursor_value_input {id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}

export interface basic_table_seen_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (basic_table_seen_set_input | null),
/** filter the rows which have to be updated */
where: basic_table_seen_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)}


/** columns and relationships of "calendar_events" */
export interface calendar_eventsRequest{
    activity_id?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    /** An array relationship */
    calendar_events_attendees?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendeesRequest] | calendar_events_attendeesRequest
    /** An aggregate relationship */
    calendar_events_attendees_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendees_aggregateRequest] | calendar_events_attendees_aggregateRequest
    /** An array relationship */
    calendar_events_organizers?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizersRequest] | calendar_events_organizersRequest
    /** An aggregate relationship */
    calendar_events_organizers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizers_aggregateRequest] | calendar_events_organizers_aggregateRequest
    created_by_id?: boolean | number
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    description?: boolean | number
    event_id?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_events" */
export interface calendar_events_aggregateRequest{
    aggregate?: calendar_events_aggregate_fieldsRequest
    nodes?: calendar_eventsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface calendar_events_aggregate_bool_exp {bool_and?: (calendar_events_aggregate_bool_exp_bool_and | null),bool_or?: (calendar_events_aggregate_bool_exp_bool_or | null),count?: (calendar_events_aggregate_bool_exp_count | null)}

export interface calendar_events_aggregate_bool_exp_bool_and {arguments: calendar_events_select_column_calendar_events_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_aggregate_bool_exp_bool_or {arguments: calendar_events_select_column_calendar_events_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_aggregate_bool_exp_count {arguments?: (calendar_events_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "calendar_events" */
export interface calendar_events_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_events_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_events_max_fieldsRequest
    min?: calendar_events_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "calendar_events" */
export interface calendar_events_aggregate_order_by {count?: (order_by | null),max?: (calendar_events_max_order_by | null),min?: (calendar_events_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "calendar_events" */
export interface calendar_events_arr_rel_insert_input {data: calendar_events_insert_input[]}


/** columns and relationships of "calendar_events_attendees" */
export interface calendar_events_attendeesRequest{
    activity_id?: boolean | number
    /** An array relationship */
    calendar_events?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_eventsRequest] | calendar_eventsRequest
    /** An aggregate relationship */
    calendar_events_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_events_aggregateRequest] | calendar_events_aggregateRequest
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    event_id?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregateRequest{
    aggregate?: calendar_events_attendees_aggregate_fieldsRequest
    nodes?: calendar_events_attendeesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface calendar_events_attendees_aggregate_bool_exp {bool_and?: (calendar_events_attendees_aggregate_bool_exp_bool_and | null),bool_or?: (calendar_events_attendees_aggregate_bool_exp_bool_or | null),count?: (calendar_events_attendees_aggregate_bool_exp_count | null)}

export interface calendar_events_attendees_aggregate_bool_exp_bool_and {arguments: calendar_events_attendees_select_column_calendar_events_attendees_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_attendees_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_attendees_aggregate_bool_exp_bool_or {arguments: calendar_events_attendees_select_column_calendar_events_attendees_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_attendees_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_attendees_aggregate_bool_exp_count {arguments?: (calendar_events_attendees_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_attendees_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_events_attendees_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_events_attendees_max_fieldsRequest
    min?: calendar_events_attendees_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate_order_by {count?: (order_by | null),max?: (calendar_events_attendees_max_order_by | null),min?: (calendar_events_attendees_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_attendees_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "calendar_events_attendees" */
export interface calendar_events_attendees_arr_rel_insert_input {data: calendar_events_attendees_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_attendees_on_conflict | null)}


/** Boolean expression to filter rows from the table "calendar_events_attendees". All fields are combined with a logical 'AND'. */
export interface calendar_events_attendees_bool_exp {_and?: (calendar_events_attendees_bool_exp[] | null),_not?: (calendar_events_attendees_bool_exp | null),_or?: (calendar_events_attendees_bool_exp[] | null),activity_id?: (String_comparison_exp | null),calendar_events?: (calendar_events_bool_exp | null),calendar_events_aggregate?: (calendar_events_aggregate_bool_exp | null),data?: (jsonb_comparison_exp | null),event_id?: (uuid_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),updated_at?: (timestamp_comparison_exp | null),user_id?: (uuid_comparison_exp | null),user_name?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface calendar_events_attendees_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 calendar_events_attendees_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface calendar_events_attendees_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "calendar_events_attendees" */
export interface calendar_events_attendees_insert_input {activity_id?: (Scalars['String'] | null),calendar_events?: (calendar_events_arr_rel_insert_input | null),data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface calendar_events_attendees_max_fieldsRequest{
    activity_id?: boolean | number
    event_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "calendar_events_attendees" */
export interface calendar_events_attendees_max_order_by {activity_id?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** aggregate min on columns */
export interface calendar_events_attendees_min_fieldsRequest{
    activity_id?: boolean | number
    event_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "calendar_events_attendees" */
export interface calendar_events_attendees_min_order_by {activity_id?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** response of any mutation on the table "calendar_events_attendees" */
export interface calendar_events_attendees_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_events_attendeesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "calendar_events_attendees" */
export interface calendar_events_attendees_on_conflict {constraint: calendar_events_attendees_constraint,update_columns: calendar_events_attendees_update_column[],where?: (calendar_events_attendees_bool_exp | null)}


/** Ordering options when selecting data from "calendar_events_attendees". */
export interface calendar_events_attendees_order_by {activity_id?: (order_by | null),calendar_events_aggregate?: (calendar_events_aggregate_order_by | null),data?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_attendees_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "calendar_events_attendees" */
export interface calendar_events_attendees_set_input {activity_id?: (Scalars['String'] | null),data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "calendar_events_attendees" */
export interface calendar_events_attendees_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_events_attendees_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_events_attendees_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}

export interface calendar_events_attendees_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_attendees_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_attendees_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?: (calendar_events_attendees_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_attendees_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_attendees_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_attendees_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_attendees_bool_exp}


/** Boolean expression to filter rows from the table "calendar_events". All fields are combined with a logical 'AND'. */
export interface calendar_events_bool_exp {_and?: (calendar_events_bool_exp[] | null),_not?: (calendar_events_bool_exp | null),_or?: (calendar_events_bool_exp[] | null),activity_id?: (String_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),calendar_events_attendees?: (calendar_events_attendees_bool_exp | null),calendar_events_attendees_aggregate?: (calendar_events_attendees_aggregate_bool_exp | null),calendar_events_organizers?: (calendar_events_organizers_bool_exp | null),calendar_events_organizers_aggregate?: (calendar_events_organizers_aggregate_bool_exp | null),created_by_id?: (uuid_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),description?: (String_comparison_exp | null),event_id?: (uuid_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface calendar_events_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 calendar_events_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface calendar_events_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "calendar_events" */
export interface calendar_events_insert_input {activity_id?: (Scalars['String'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),calendar_events_attendees?: (calendar_events_attendees_arr_rel_insert_input | null),calendar_events_organizers?: (calendar_events_organizers_arr_rel_insert_input | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface calendar_events_max_fieldsRequest{
    activity_id?: boolean | number
    created_by_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    event_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "calendar_events" */
export interface calendar_events_max_order_by {activity_id?: (order_by | null),created_by_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface calendar_events_min_fieldsRequest{
    activity_id?: boolean | number
    created_by_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    event_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "calendar_events" */
export interface calendar_events_min_order_by {activity_id?: (order_by | null),created_by_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "calendar_events" */
export interface calendar_events_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_eventsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "calendar_events" */
export interface calendar_events_obj_rel_insert_input {data: calendar_events_insert_input}


/** Ordering options when selecting data from "calendar_events". */
export interface calendar_events_order_by {activity_id?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),calendar_events_attendees_aggregate?: (calendar_events_attendees_aggregate_order_by | null),calendar_events_organizers_aggregate?: (calendar_events_organizers_aggregate_order_by | null),created_by_id?: (order_by | null),customer_id?: (order_by | null),data?: (order_by | null),description?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** columns and relationships of "calendar_events_organizers" */
export interface calendar_events_organizersRequest{
    /** An object relationship */
    calendar_events?: calendar_eventsRequest
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    event_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregateRequest{
    aggregate?: calendar_events_organizers_aggregate_fieldsRequest
    nodes?: calendar_events_organizersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface calendar_events_organizers_aggregate_bool_exp {bool_and?: (calendar_events_organizers_aggregate_bool_exp_bool_and | null),bool_or?: (calendar_events_organizers_aggregate_bool_exp_bool_or | null),count?: (calendar_events_organizers_aggregate_bool_exp_count | null)}

export interface calendar_events_organizers_aggregate_bool_exp_bool_and {arguments: calendar_events_organizers_select_column_calendar_events_organizers_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_organizers_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_organizers_aggregate_bool_exp_bool_or {arguments: calendar_events_organizers_select_column_calendar_events_organizers_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_organizers_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_events_organizers_aggregate_bool_exp_count {arguments?: (calendar_events_organizers_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (calendar_events_organizers_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_events_organizers_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_events_organizers_max_fieldsRequest
    min?: calendar_events_organizers_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate_order_by {count?: (order_by | null),max?: (calendar_events_organizers_max_order_by | null),min?: (calendar_events_organizers_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_organizers_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "calendar_events_organizers" */
export interface calendar_events_organizers_arr_rel_insert_input {data: calendar_events_organizers_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_organizers_on_conflict | null)}


/** Boolean expression to filter rows from the table "calendar_events_organizers". All fields are combined with a logical 'AND'. */
export interface calendar_events_organizers_bool_exp {_and?: (calendar_events_organizers_bool_exp[] | null),_not?: (calendar_events_organizers_bool_exp | null),_or?: (calendar_events_organizers_bool_exp[] | null),calendar_events?: (calendar_events_bool_exp | null),data?: (jsonb_comparison_exp | null),event_id?: (uuid_comparison_exp | null),id?: (uuid_comparison_exp | null),journal_user_id?: (String_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),updated_at?: (timestamp_comparison_exp | null),user_id?: (uuid_comparison_exp | null),user_name?: (String_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface calendar_events_organizers_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 calendar_events_organizers_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface calendar_events_organizers_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "calendar_events_organizers" */
export interface calendar_events_organizers_insert_input {calendar_events?: (calendar_events_obj_rel_insert_input | null),data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface calendar_events_organizers_max_fieldsRequest{
    event_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "calendar_events_organizers" */
export interface calendar_events_organizers_max_order_by {event_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** aggregate min on columns */
export interface calendar_events_organizers_min_fieldsRequest{
    event_id?: boolean | number
    id?: boolean | number
    journal_user_id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    user_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "calendar_events_organizers" */
export interface calendar_events_organizers_min_order_by {event_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** response of any mutation on the table "calendar_events_organizers" */
export interface calendar_events_organizers_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_events_organizersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "calendar_events_organizers" */
export interface calendar_events_organizers_on_conflict {constraint: calendar_events_organizers_constraint,update_columns: calendar_events_organizers_update_column[],where?: (calendar_events_organizers_bool_exp | null)}


/** Ordering options when selecting data from "calendar_events_organizers". */
export interface calendar_events_organizers_order_by {calendar_events?: (calendar_events_order_by | null),data?: (order_by | null),event_id?: (order_by | null),id?: (order_by | null),journal_user_id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null),user_name?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_organizers_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "calendar_events_organizers" */
export interface calendar_events_organizers_set_input {data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "calendar_events_organizers" */
export interface calendar_events_organizers_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_events_organizers_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_events_organizers_stream_cursor_value_input {data?: (Scalars['jsonb'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),journal_user_id?: (Scalars['String'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null),user_name?: (Scalars['String'] | null)}

export interface calendar_events_organizers_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_organizers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_organizers_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?: (calendar_events_organizers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_organizers_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_organizers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_organizers_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_organizers_bool_exp}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface calendar_events_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "calendar_events" */
export interface calendar_events_set_input {activity_id?: (Scalars['String'] | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** Streaming cursor of the table "calendar_events" */
export interface calendar_events_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_events_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_events_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),event_id?: (Scalars['uuid'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}

export interface calendar_events_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_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?: (calendar_events_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_bool_exp}


/** columns and relationships of "calendar_events_view" */
export interface calendar_events_viewRequest{
    activity_id?: boolean | number
    created_at?: boolean | number
    created_by_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    seen?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_events_view" */
export interface calendar_events_view_aggregateRequest{
    aggregate?: calendar_events_view_aggregate_fieldsRequest
    nodes?: calendar_events_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "calendar_events_view" */
export interface calendar_events_view_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_events_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_events_view_max_fieldsRequest
    min?: calendar_events_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "calendar_events_view". All fields are combined with a logical 'AND'. */
export interface calendar_events_view_bool_exp {_and?: (calendar_events_view_bool_exp[] | null),_not?: (calendar_events_view_bool_exp | null),_or?: (calendar_events_view_bool_exp[] | null),activity_id?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),created_by_id?: (uuid_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),description?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),title?: (String_comparison_exp | null)}


/** input type for inserting data into table "calendar_events_view" */
export interface calendar_events_view_insert_input {activity_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface calendar_events_view_max_fieldsRequest{
    activity_id?: boolean | number
    created_at?: boolean | number
    created_by_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface calendar_events_view_min_fieldsRequest{
    activity_id?: boolean | number
    created_at?: boolean | number
    created_by_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "calendar_events_view" */
export interface calendar_events_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_events_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "calendar_events_view". */
export interface calendar_events_view_order_by {activity_id?: (order_by | null),created_at?: (order_by | null),created_by_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),seen?: (order_by | null),title?: (order_by | null)}


/** input type for updating data in table "calendar_events_view" */
export interface calendar_events_view_set_input {activity_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null)}


/** Streaming cursor of the table "calendar_events_view" */
export interface calendar_events_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_events_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_events_view_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),created_by_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),title?: (Scalars['String'] | null)}

export interface calendar_events_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_view_bool_exp}


/** columns and relationships of "calendar_tasks" */
export interface calendar_tasksRequest{
    activity_id?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    description?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    task_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_tasks" */
export interface calendar_tasks_aggregateRequest{
    aggregate?: calendar_tasks_aggregate_fieldsRequest
    nodes?: calendar_tasksRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface calendar_tasks_aggregate_bool_exp {bool_and?: (calendar_tasks_aggregate_bool_exp_bool_and | null),bool_or?: (calendar_tasks_aggregate_bool_exp_bool_or | null),count?: (calendar_tasks_aggregate_bool_exp_count | null)}

export interface calendar_tasks_aggregate_bool_exp_bool_and {arguments: calendar_tasks_select_column_calendar_tasks_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_tasks_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_tasks_aggregate_bool_exp_bool_or {arguments: calendar_tasks_select_column_calendar_tasks_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (calendar_tasks_bool_exp | null),predicate: Boolean_comparison_exp}

export interface calendar_tasks_aggregate_bool_exp_count {arguments?: (calendar_tasks_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (calendar_tasks_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "calendar_tasks" */
export interface calendar_tasks_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_tasks_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_tasks_max_fieldsRequest
    min?: calendar_tasks_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "calendar_tasks" */
export interface calendar_tasks_aggregate_order_by {count?: (order_by | null),max?: (calendar_tasks_max_order_by | null),min?: (calendar_tasks_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface calendar_tasks_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "calendar_tasks" */
export interface calendar_tasks_arr_rel_insert_input {data: calendar_tasks_insert_input[]}


/** Boolean expression to filter rows from the table "calendar_tasks". All fields are combined with a logical 'AND'. */
export interface calendar_tasks_bool_exp {_and?: (calendar_tasks_bool_exp[] | null),_not?: (calendar_tasks_bool_exp | null),_or?: (calendar_tasks_bool_exp[] | null),activity_id?: (String_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),description?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),task_id?: (uuid_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface calendar_tasks_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 calendar_tasks_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface calendar_tasks_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "calendar_tasks" */
export interface calendar_tasks_insert_input {activity_id?: (Scalars['String'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),task_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface calendar_tasks_max_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    task_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "calendar_tasks" */
export interface calendar_tasks_max_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),task_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface calendar_tasks_min_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    task_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "calendar_tasks" */
export interface calendar_tasks_min_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),task_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "calendar_tasks" */
export interface calendar_tasks_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_tasksRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "calendar_tasks". */
export interface calendar_tasks_order_by {activity_id?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),description?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),task_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface calendar_tasks_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "calendar_tasks" */
export interface calendar_tasks_set_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),task_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "calendar_tasks" */
export interface calendar_tasks_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_tasks_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_tasks_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),task_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}

export interface calendar_tasks_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_tasks_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_tasks_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?: (calendar_tasks_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_tasks_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_tasks_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_bool_exp}


/** columns and relationships of "calendar_tasks_view" */
export interface calendar_tasks_viewRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    seen?: boolean | number
    status?: boolean | number
    title?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregateRequest{
    aggregate?: calendar_tasks_view_aggregate_fieldsRequest
    nodes?: calendar_tasks_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregate_fieldsRequest{
    count?: [{columns?: (calendar_tasks_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: calendar_tasks_view_max_fieldsRequest
    min?: calendar_tasks_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "calendar_tasks_view". All fields are combined with a logical 'AND'. */
export interface calendar_tasks_view_bool_exp {_and?: (calendar_tasks_view_bool_exp[] | null),_not?: (calendar_tasks_view_bool_exp | null),_or?: (calendar_tasks_view_bool_exp[] | null),activity_id?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),description?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),status?: (String_comparison_exp | null),title?: (String_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "calendar_tasks_view" */
export interface calendar_tasks_view_insert_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface calendar_tasks_view_max_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    status?: boolean | number
    title?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface calendar_tasks_view_min_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    description?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    status?: boolean | number
    title?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "calendar_tasks_view" */
export interface calendar_tasks_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: calendar_tasks_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "calendar_tasks_view". */
export interface calendar_tasks_view_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),description?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),seen?: (order_by | null),status?: (order_by | null),title?: (order_by | null),user_id?: (order_by | null)}


/** input type for updating data in table "calendar_tasks_view" */
export interface calendar_tasks_view_set_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "calendar_tasks_view" */
export interface calendar_tasks_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: calendar_tasks_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface calendar_tasks_view_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),description?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}

export interface calendar_tasks_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_view_bool_exp}


/** columns and relationships of "chat_attachments" */
export interface chat_attachmentsRequest{
    created_at?: boolean | number
    deleted_at?: boolean | number
    extension?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    path?: boolean | number
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_attachments" */
export interface chat_attachments_aggregateRequest{
    aggregate?: chat_attachments_aggregate_fieldsRequest
    nodes?: chat_attachmentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "chat_attachments" */
export interface chat_attachments_aggregate_fieldsRequest{
    count?: [{columns?: (chat_attachments_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_attachments_max_fieldsRequest
    min?: chat_attachments_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "chat_attachments". All fields are combined with a logical 'AND'. */
export interface chat_attachments_bool_exp {_and?: (chat_attachments_bool_exp[] | null),_not?: (chat_attachments_bool_exp | null),_or?: (chat_attachments_bool_exp[] | null),created_at?: (timestamptz_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),extension?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),message_id?: (uuid_comparison_exp | null),path?: (String_comparison_exp | null),ticket_id?: (uuid_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamptz_comparison_exp | null)}


/** input type for inserting data into table "chat_attachments" */
export interface chat_attachments_insert_input {created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),extension?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),message_id?: (Scalars['uuid'] | null),path?: (Scalars['String'] | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** aggregate max on columns */
export interface chat_attachments_max_fieldsRequest{
    created_at?: boolean | number
    deleted_at?: boolean | number
    extension?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    path?: boolean | number
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface chat_attachments_min_fieldsRequest{
    created_at?: boolean | number
    deleted_at?: boolean | number
    extension?: boolean | number
    id?: boolean | number
    message_id?: boolean | number
    path?: boolean | number
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "chat_attachments" */
export interface chat_attachments_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_attachmentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** on_conflict condition type for table "chat_attachments" */
export interface chat_attachments_on_conflict {constraint: chat_attachments_constraint,update_columns: chat_attachments_update_column[],where?: (chat_attachments_bool_exp | null)}


/** Ordering options when selecting data from "chat_attachments". */
export interface chat_attachments_order_by {created_at?: (order_by | null),deleted_at?: (order_by | null),extension?: (order_by | null),id?: (order_by | null),message_id?: (order_by | null),path?: (order_by | null),ticket_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** primary key columns input for table: chat_attachments */
export interface chat_attachments_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "chat_attachments" */
export interface chat_attachments_set_input {created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),extension?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),message_id?: (Scalars['uuid'] | null),path?: (Scalars['String'] | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}


/** Streaming cursor of the table "chat_attachments" */
export interface chat_attachments_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_attachments_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_attachments_stream_cursor_value_input {created_at?: (Scalars['timestamptz'] | null),deleted_at?: (Scalars['timestamptz'] | null),extension?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),message_id?: (Scalars['uuid'] | null),path?: (Scalars['String'] | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamptz'] | null)}

export interface chat_attachments_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_attachments_set_input | null),
/** filter the rows which have to be updated */
where: chat_attachments_bool_exp}


/** columns and relationships of "chat_ticket_messages" */
export interface chat_ticket_messagesRequest{
    author_id?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    /** An array relationship */
    chatTicketUserViewByTicketId?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_userRequest] | chat_ticket_userRequest
    /** An aggregate relationship */
    chatTicketUserViewByTicketId_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_user_aggregateRequest] | chat_ticket_user_aggregateRequest
    /** An object relationship */
    chatTicketViewByTicketId?: chat_ticketsRequest
    content?: boolean | number
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    ticket_id?: boolean | number
    ticket_message_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregateRequest{
    aggregate?: chat_ticket_messages_aggregate_fieldsRequest
    nodes?: chat_ticket_messagesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface chat_ticket_messages_aggregate_bool_exp {bool_and?: (chat_ticket_messages_aggregate_bool_exp_bool_and | null),bool_or?: (chat_ticket_messages_aggregate_bool_exp_bool_or | null),count?: (chat_ticket_messages_aggregate_bool_exp_count | null)}

export interface chat_ticket_messages_aggregate_bool_exp_bool_and {arguments: chat_ticket_messages_select_column_chat_ticket_messages_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_messages_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_messages_aggregate_bool_exp_bool_or {arguments: chat_ticket_messages_select_column_chat_ticket_messages_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_messages_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_messages_aggregate_bool_exp_count {arguments?: (chat_ticket_messages_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_messages_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate_fieldsRequest{
    count?: [{columns?: (chat_ticket_messages_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_ticket_messages_max_fieldsRequest
    min?: chat_ticket_messages_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate_order_by {count?: (order_by | null),max?: (chat_ticket_messages_max_order_by | null),min?: (chat_ticket_messages_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface chat_ticket_messages_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "chat_ticket_messages" */
export interface chat_ticket_messages_arr_rel_insert_input {data: chat_ticket_messages_insert_input[]}


/** Boolean expression to filter rows from the table "chat_ticket_messages". All fields are combined with a logical 'AND'. */
export interface chat_ticket_messages_bool_exp {_and?: (chat_ticket_messages_bool_exp[] | null),_not?: (chat_ticket_messages_bool_exp | null),_or?: (chat_ticket_messages_bool_exp[] | null),author_id?: (uuid_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),chatTicketUserViewByTicketId?: (chat_ticket_user_bool_exp | null),chatTicketUserViewByTicketId_aggregate?: (chat_ticket_user_aggregate_bool_exp | null),chatTicketViewByTicketId?: (chat_tickets_bool_exp | null),content?: (String_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),ticket_id?: (uuid_comparison_exp | null),ticket_message_id?: (uuid_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface chat_ticket_messages_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 chat_ticket_messages_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface chat_ticket_messages_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "chat_ticket_messages" */
export interface chat_ticket_messages_insert_input {author_id?: (Scalars['uuid'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),chatTicketUserViewByTicketId?: (chat_ticket_user_arr_rel_insert_input | null),chatTicketViewByTicketId?: (chat_tickets_obj_rel_insert_input | null),content?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),ticket_id?: (Scalars['uuid'] | null),ticket_message_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface chat_ticket_messages_max_fieldsRequest{
    author_id?: boolean | number
    content?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    ticket_message_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "chat_ticket_messages" */
export interface chat_ticket_messages_max_order_by {author_id?: (order_by | null),content?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),ticket_message_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface chat_ticket_messages_min_fieldsRequest{
    author_id?: boolean | number
    content?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    ticket_message_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "chat_ticket_messages" */
export interface chat_ticket_messages_min_order_by {author_id?: (order_by | null),content?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),ticket_message_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "chat_ticket_messages" */
export interface chat_ticket_messages_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_ticket_messagesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "chat_ticket_messages". */
export interface chat_ticket_messages_order_by {author_id?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),chatTicketUserViewByTicketId_aggregate?: (chat_ticket_user_aggregate_order_by | null),chatTicketViewByTicketId?: (chat_tickets_order_by | null),content?: (order_by | null),customer_id?: (order_by | null),data?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),ticket_id?: (order_by | null),ticket_message_id?: (order_by | null),updated_at?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface chat_ticket_messages_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "chat_ticket_messages" */
export interface chat_ticket_messages_set_input {author_id?: (Scalars['uuid'] | null),content?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),ticket_message_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** Streaming cursor of the table "chat_ticket_messages" */
export interface chat_ticket_messages_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_ticket_messages_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_ticket_messages_stream_cursor_value_input {author_id?: (Scalars['uuid'] | null),content?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),ticket_message_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}

export interface chat_ticket_messages_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_messages_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_messages_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?: (chat_ticket_messages_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_messages_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_messages_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_bool_exp}


/** columns and relationships of "chat_ticket_messages_view" */
export interface chat_ticket_messages_viewRequest{
    author_id?: boolean | number
    /** An array relationship */
    chatTicketUserViewByTicketId?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_viewRequest] | chat_ticket_user_viewRequest
    /** An aggregate relationship */
    chatTicketUserViewByTicketId_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_view_aggregateRequest] | chat_ticket_user_view_aggregateRequest
    /** An object relationship */
    chatTicketViewByTicketId?: chat_tickets_viewRequest
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    seen?: boolean | number
    ticket_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregateRequest{
    aggregate?: chat_ticket_messages_view_aggregate_fieldsRequest
    nodes?: chat_ticket_messages_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregate_fieldsRequest{
    count?: [{columns?: (chat_ticket_messages_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_ticket_messages_view_max_fieldsRequest
    min?: chat_ticket_messages_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "chat_ticket_messages_view". All fields are combined with a logical 'AND'. */
export interface chat_ticket_messages_view_bool_exp {_and?: (chat_ticket_messages_view_bool_exp[] | null),_not?: (chat_ticket_messages_view_bool_exp | null),_or?: (chat_ticket_messages_view_bool_exp[] | null),author_id?: (uuid_comparison_exp | null),chatTicketUserViewByTicketId?: (chat_ticket_user_view_bool_exp | null),chatTicketUserViewByTicketId_aggregate?: (chat_ticket_user_view_aggregate_bool_exp | null),chatTicketViewByTicketId?: (chat_tickets_view_bool_exp | null),content?: (String_comparison_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),id?: (uuid_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),ticket_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_insert_input {author_id?: (Scalars['uuid'] | null),chatTicketUserViewByTicketId?: (chat_ticket_user_view_arr_rel_insert_input | null),chatTicketViewByTicketId?: (chat_tickets_view_obj_rel_insert_input | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface chat_ticket_messages_view_max_fieldsRequest{
    author_id?: boolean | number
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    ticket_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface chat_ticket_messages_view_min_fieldsRequest{
    author_id?: boolean | number
    content?: boolean | number
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    ticket_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_ticket_messages_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "chat_ticket_messages_view". */
export interface chat_ticket_messages_view_order_by {author_id?: (order_by | null),chatTicketUserViewByTicketId_aggregate?: (chat_ticket_user_view_aggregate_order_by | null),chatTicketViewByTicketId?: (chat_tickets_view_order_by | null),content?: (order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),seen?: (order_by | null),ticket_id?: (order_by | null)}


/** input type for updating data in table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_set_input {author_id?: (Scalars['uuid'] | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_ticket_messages_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_ticket_messages_view_stream_cursor_value_input {author_id?: (Scalars['uuid'] | null),content?: (Scalars['String'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null)}

export interface chat_ticket_messages_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_view_bool_exp}


/** columns and relationships of "chat_ticket_user" */
export interface chat_ticket_userRequest{
    activity_id?: boolean | number
    /** An array relationship */
    adopus_AdgangLinjerByActivityId?: [{
    /** 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_AdgangLinjerByActivityId_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
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    /** An object relationship */
    chatTicketByTicketId?: chat_ticketsRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customersRequest
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    owner?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    ticket_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_ticket_user" */
export interface chat_ticket_user_aggregateRequest{
    aggregate?: chat_ticket_user_aggregate_fieldsRequest
    nodes?: chat_ticket_userRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface chat_ticket_user_aggregate_bool_exp {bool_and?: (chat_ticket_user_aggregate_bool_exp_bool_and | null),bool_or?: (chat_ticket_user_aggregate_bool_exp_bool_or | null),count?: (chat_ticket_user_aggregate_bool_exp_count | null)}

export interface chat_ticket_user_aggregate_bool_exp_bool_and {arguments: chat_ticket_user_select_column_chat_ticket_user_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_user_aggregate_bool_exp_bool_or {arguments: chat_ticket_user_select_column_chat_ticket_user_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_user_aggregate_bool_exp_count {arguments?: (chat_ticket_user_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "chat_ticket_user" */
export interface chat_ticket_user_aggregate_fieldsRequest{
    count?: [{columns?: (chat_ticket_user_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_ticket_user_max_fieldsRequest
    min?: chat_ticket_user_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "chat_ticket_user" */
export interface chat_ticket_user_aggregate_order_by {count?: (order_by | null),max?: (chat_ticket_user_max_order_by | null),min?: (chat_ticket_user_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface chat_ticket_user_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "chat_ticket_user" */
export interface chat_ticket_user_arr_rel_insert_input {data: chat_ticket_user_insert_input[]}


/** Boolean expression to filter rows from the table "chat_ticket_user". All fields are combined with a logical 'AND'. */
export interface chat_ticket_user_bool_exp {_and?: (chat_ticket_user_bool_exp[] | null),_not?: (chat_ticket_user_bool_exp | null),_or?: (chat_ticket_user_bool_exp[] | null),activity_id?: (String_comparison_exp | null),adopus_AdgangLinjerByActivityId?: (adopus_AdgangLinjer_bool_exp | null),adopus_AdgangLinjerByActivityId_aggregate?: (adopus_AdgangLinjer_aggregate_bool_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),chatTicketByTicketId?: (chat_tickets_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),directoryCustomersByCustomerId?: (directory_customers_bool_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),owner?: (Boolean_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),ticket_id?: (uuid_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface chat_ticket_user_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 chat_ticket_user_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface chat_ticket_user_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "chat_ticket_user" */
export interface chat_ticket_user_insert_input {activity_id?: (Scalars['String'] | null),adopus_AdgangLinjerByActivityId?: (adopus_AdgangLinjer_arr_rel_insert_input | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),chatTicketByTicketId?: (chat_tickets_obj_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),directoryCustomersByCustomerId?: (directory_customers_obj_rel_insert_input | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),ticket_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface chat_ticket_user_max_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "chat_ticket_user" */
export interface chat_ticket_user_max_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface chat_ticket_user_min_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "chat_ticket_user" */
export interface chat_ticket_user_min_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "chat_ticket_user" */
export interface chat_ticket_user_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_ticket_userRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "chat_ticket_user". */
export interface chat_ticket_user_order_by {activity_id?: (order_by | null),adopus_AdgangLinjerByActivityId_aggregate?: (adopus_AdgangLinjer_aggregate_order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),chatTicketByTicketId?: (chat_tickets_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),directoryCustomersByCustomerId?: (directory_customers_order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),owner?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),ticket_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface chat_ticket_user_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "chat_ticket_user" */
export interface chat_ticket_user_set_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "chat_ticket_user" */
export interface chat_ticket_user_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_ticket_user_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_ticket_user_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}

export interface chat_ticket_user_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_user_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_user_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?: (chat_ticket_user_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_user_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_user_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_bool_exp}


/** columns and relationships of "chat_ticket_user_view" */
export interface chat_ticket_user_viewRequest{
    activity_id?: boolean | number
    /** An array relationship */
    adopus_AdgangLinjerByActivityId?: [{
    /** 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_AdgangLinjerByActivityId_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
    /** An object relationship */
    chatTicketByTicketId?: chat_tickets_viewRequest
    customer_id?: boolean | number
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customersRequest
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    owner?: boolean | number
    seen?: boolean | number
    ticket_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregateRequest{
    aggregate?: chat_ticket_user_view_aggregate_fieldsRequest
    nodes?: chat_ticket_user_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface chat_ticket_user_view_aggregate_bool_exp {bool_and?: (chat_ticket_user_view_aggregate_bool_exp_bool_and | null),bool_or?: (chat_ticket_user_view_aggregate_bool_exp_bool_or | null),count?: (chat_ticket_user_view_aggregate_bool_exp_count | null)}

export interface chat_ticket_user_view_aggregate_bool_exp_bool_and {arguments: chat_ticket_user_view_select_column_chat_ticket_user_view_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_view_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_user_view_aggregate_bool_exp_bool_or {arguments: chat_ticket_user_view_select_column_chat_ticket_user_view_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_view_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_ticket_user_view_aggregate_bool_exp_count {arguments?: (chat_ticket_user_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (chat_ticket_user_view_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate_fieldsRequest{
    count?: [{columns?: (chat_ticket_user_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_ticket_user_view_max_fieldsRequest
    min?: chat_ticket_user_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate_order_by {count?: (order_by | null),max?: (chat_ticket_user_view_max_order_by | null),min?: (chat_ticket_user_view_min_order_by | null)}


/** input type for inserting array relation for remote table "chat_ticket_user_view" */
export interface chat_ticket_user_view_arr_rel_insert_input {data: chat_ticket_user_view_insert_input[]}


/** Boolean expression to filter rows from the table "chat_ticket_user_view". All fields are combined with a logical 'AND'. */
export interface chat_ticket_user_view_bool_exp {_and?: (chat_ticket_user_view_bool_exp[] | null),_not?: (chat_ticket_user_view_bool_exp | null),_or?: (chat_ticket_user_view_bool_exp[] | null),activity_id?: (String_comparison_exp | null),adopus_AdgangLinjerByActivityId?: (adopus_AdgangLinjer_bool_exp | null),adopus_AdgangLinjerByActivityId_aggregate?: (adopus_AdgangLinjer_aggregate_bool_exp | null),chatTicketByTicketId?: (chat_tickets_view_bool_exp | null),customer_id?: (uuid_comparison_exp | null),directoryCustomersByCustomerId?: (directory_customers_bool_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),owner?: (Boolean_comparison_exp | null),seen?: (Boolean_comparison_exp | null),ticket_id?: (uuid_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "chat_ticket_user_view" */
export interface chat_ticket_user_view_insert_input {activity_id?: (Scalars['String'] | null),adopus_AdgangLinjerByActivityId?: (adopus_AdgangLinjer_arr_rel_insert_input | null),chatTicketByTicketId?: (chat_tickets_view_obj_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),directoryCustomersByCustomerId?: (directory_customers_obj_rel_insert_input | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface chat_ticket_user_view_max_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    ticket_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "chat_ticket_user_view" */
export interface chat_ticket_user_view_max_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),ticket_id?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface chat_ticket_user_view_min_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    ticket_id?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "chat_ticket_user_view" */
export interface chat_ticket_user_view_min_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),ticket_id?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "chat_ticket_user_view" */
export interface chat_ticket_user_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_ticket_user_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "chat_ticket_user_view". */
export interface chat_ticket_user_view_order_by {activity_id?: (order_by | null),adopus_AdgangLinjerByActivityId_aggregate?: (adopus_AdgangLinjer_aggregate_order_by | null),chatTicketByTicketId?: (chat_tickets_view_order_by | null),customer_id?: (order_by | null),directoryCustomersByCustomerId?: (directory_customers_order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),owner?: (order_by | null),seen?: (order_by | null),ticket_id?: (order_by | null),user_id?: (order_by | null)}


/** input type for updating data in table "chat_ticket_user_view" */
export interface chat_ticket_user_view_set_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "chat_ticket_user_view" */
export interface chat_ticket_user_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_ticket_user_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_ticket_user_view_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),owner?: (Scalars['Boolean'] | null),seen?: (Scalars['Boolean'] | null),ticket_id?: (Scalars['uuid'] | null),user_id?: (Scalars['uuid'] | null)}

export interface chat_ticket_user_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_view_bool_exp}


/** columns and relationships of "chat_tickets" */
export interface chat_ticketsRequest{
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_tickets" */
export interface chat_tickets_aggregateRequest{
    aggregate?: chat_tickets_aggregate_fieldsRequest
    nodes?: chat_ticketsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface chat_tickets_aggregate_bool_exp {bool_and?: (chat_tickets_aggregate_bool_exp_bool_and | null),bool_or?: (chat_tickets_aggregate_bool_exp_bool_or | null),count?: (chat_tickets_aggregate_bool_exp_count | null)}

export interface chat_tickets_aggregate_bool_exp_bool_and {arguments: chat_tickets_select_column_chat_tickets_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_tickets_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_tickets_aggregate_bool_exp_bool_or {arguments: chat_tickets_select_column_chat_tickets_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (chat_tickets_bool_exp | null),predicate: Boolean_comparison_exp}

export interface chat_tickets_aggregate_bool_exp_count {arguments?: (chat_tickets_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (chat_tickets_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "chat_tickets" */
export interface chat_tickets_aggregate_fieldsRequest{
    count?: [{columns?: (chat_tickets_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_tickets_max_fieldsRequest
    min?: chat_tickets_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "chat_tickets" */
export interface chat_tickets_aggregate_order_by {count?: (order_by | null),max?: (chat_tickets_max_order_by | null),min?: (chat_tickets_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface chat_tickets_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "chat_tickets" */
export interface chat_tickets_arr_rel_insert_input {data: chat_tickets_insert_input[]}


/** Boolean expression to filter rows from the table "chat_tickets". All fields are combined with a logical 'AND'. */
export interface chat_tickets_bool_exp {_and?: (chat_tickets_bool_exp[] | null),_not?: (chat_tickets_bool_exp | null),_or?: (chat_tickets_bool_exp[] | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),ticket_id?: (uuid_comparison_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface chat_tickets_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 chat_tickets_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface chat_tickets_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "chat_tickets" */
export interface chat_tickets_insert_input {basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface chat_tickets_max_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "chat_tickets" */
export interface chat_tickets_max_order_by {customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface chat_tickets_min_fieldsRequest{
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    ticket_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "chat_tickets" */
export interface chat_tickets_min_order_by {customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),ticket_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "chat_tickets" */
export interface chat_tickets_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_ticketsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "chat_tickets" */
export interface chat_tickets_obj_rel_insert_input {data: chat_tickets_insert_input}


/** Ordering options when selecting data from "chat_tickets". */
export interface chat_tickets_order_by {basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),ticket_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface chat_tickets_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "chat_tickets" */
export interface chat_tickets_set_input {customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** Streaming cursor of the table "chat_tickets" */
export interface chat_tickets_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_tickets_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_tickets_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),ticket_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}

export interface chat_tickets_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_tickets_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_tickets_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?: (chat_tickets_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_tickets_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_tickets_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_bool_exp}


/** columns and relationships of "chat_tickets_view" */
export interface chat_tickets_viewRequest{
    archived?: boolean | number
    /** An array relationship */
    chatTicketUsersByTicketId?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_viewRequest] | chat_ticket_user_viewRequest
    /** An aggregate relationship */
    chatTicketUsersByTicketId_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_view_aggregateRequest] | chat_ticket_user_view_aggregateRequest
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    /** An object relationship */
    directoryCustomersByCustomerId?: directory_customersRequest
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    seen?: boolean | number
    state?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "chat_tickets_view" */
export interface chat_tickets_view_aggregateRequest{
    aggregate?: chat_tickets_view_aggregate_fieldsRequest
    nodes?: chat_tickets_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "chat_tickets_view" */
export interface chat_tickets_view_aggregate_fieldsRequest{
    count?: [{columns?: (chat_tickets_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: chat_tickets_view_max_fieldsRequest
    min?: chat_tickets_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "chat_tickets_view". All fields are combined with a logical 'AND'. */
export interface chat_tickets_view_bool_exp {_and?: (chat_tickets_view_bool_exp[] | null),_not?: (chat_tickets_view_bool_exp | null),_or?: (chat_tickets_view_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),chatTicketUsersByTicketId?: (chat_ticket_user_view_bool_exp | null),chatTicketUsersByTicketId_aggregate?: (chat_ticket_user_view_aggregate_bool_exp | null),created_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),directoryCustomersByCustomerId?: (directory_customers_bool_exp | null),id?: (uuid_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),state?: (String_comparison_exp | null),title?: (String_comparison_exp | null)}


/** input type for inserting data into table "chat_tickets_view" */
export interface chat_tickets_view_insert_input {archived?: (Scalars['Boolean'] | null),chatTicketUsersByTicketId?: (chat_ticket_user_view_arr_rel_insert_input | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),directoryCustomersByCustomerId?: (directory_customers_obj_rel_insert_input | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),state?: (Scalars['String'] | null),title?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface chat_tickets_view_max_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    state?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface chat_tickets_view_min_fieldsRequest{
    created_at?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    state?: boolean | number
    title?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "chat_tickets_view" */
export interface chat_tickets_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: chat_tickets_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "chat_tickets_view" */
export interface chat_tickets_view_obj_rel_insert_input {data: chat_tickets_view_insert_input}


/** Ordering options when selecting data from "chat_tickets_view". */
export interface chat_tickets_view_order_by {archived?: (order_by | null),chatTicketUsersByTicketId_aggregate?: (chat_ticket_user_view_aggregate_order_by | null),created_at?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),directoryCustomersByCustomerId?: (directory_customers_order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),seen?: (order_by | null),state?: (order_by | null),title?: (order_by | null)}


/** input type for updating data in table "chat_tickets_view" */
export interface chat_tickets_view_set_input {archived?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),state?: (Scalars['String'] | null),title?: (Scalars['String'] | null)}


/** Streaming cursor of the table "chat_tickets_view" */
export interface chat_tickets_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: chat_tickets_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface chat_tickets_view_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),created_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),state?: (Scalars['String'] | null),title?: (Scalars['String'] | null)}

export interface chat_tickets_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_view_bool_exp}


/** 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
    __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)}


/** input type for inserting data into table "directory_customers" */
export interface directory_customers_insert_input {connector?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_customers_max_fieldsRequest{
    connector?: boolean | number
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_customers_min_fieldsRequest{
    connector?: boolean | number
    id?: 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)}


/** 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)}


/** 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)}

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_basic_data" */
export interface directory_user_basic_dataRequest{
    /** An object relationship */
    directoryUsersByUserId?: directory_usersRequest
    email?: boolean | number
    name?: boolean | number
    password?: boolean | number
    status?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregateRequest{
    aggregate?: directory_user_basic_data_aggregate_fieldsRequest
    nodes?: directory_user_basic_dataRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregate_fieldsRequest{
    count?: [{columns?: (directory_user_basic_data_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_user_basic_data_max_fieldsRequest
    min?: directory_user_basic_data_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "directory_user_basic_data". All fields are combined with a logical 'AND'. */
export interface directory_user_basic_data_bool_exp {_and?: (directory_user_basic_data_bool_exp[] | null),_not?: (directory_user_basic_data_bool_exp | null),_or?: (directory_user_basic_data_bool_exp[] | null),directoryUsersByUserId?: (directory_users_bool_exp | null),email?: (String_comparison_exp | null),name?: (String_comparison_exp | null),password?: (String_comparison_exp | null),status?: (String_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "directory_user_basic_data" */
export interface directory_user_basic_data_insert_input {directoryUsersByUserId?: (directory_users_obj_rel_insert_input | null),email?: (Scalars['String'] | null),name?: (Scalars['String'] | null),password?: (Scalars['String'] | null),status?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_user_basic_data_max_fieldsRequest{
    email?: boolean | number
    name?: boolean | number
    password?: boolean | number
    status?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_user_basic_data_min_fieldsRequest{
    email?: boolean | number
    name?: boolean | number
    password?: boolean | number
    status?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "directory_user_basic_data" */
export interface directory_user_basic_data_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_user_basic_dataRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "directory_user_basic_data" */
export interface directory_user_basic_data_obj_rel_insert_input {data: directory_user_basic_data_insert_input,
/** upsert condition */
on_conflict?: (directory_user_basic_data_on_conflict | null)}


/** on_conflict condition type for table "directory_user_basic_data" */
export interface directory_user_basic_data_on_conflict {constraint: directory_user_basic_data_constraint,update_columns: directory_user_basic_data_update_column[],where?: (directory_user_basic_data_bool_exp | null)}


/** Ordering options when selecting data from "directory_user_basic_data". */
export interface directory_user_basic_data_order_by {directoryUsersByUserId?: (directory_users_order_by | null),email?: (order_by | null),name?: (order_by | null),password?: (order_by | null),status?: (order_by | null),user_id?: (order_by | null)}


/** primary key columns input for table: directory_user_basic_data */
export interface directory_user_basic_data_pk_columns_input {user_id: Scalars['uuid']}


/** input type for updating data in table "directory_user_basic_data" */
export interface directory_user_basic_data_set_input {email?: (Scalars['String'] | null),name?: (Scalars['String'] | null),password?: (Scalars['String'] | null),status?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "directory_user_basic_data" */
export interface directory_user_basic_data_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_user_basic_data_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_basic_data_stream_cursor_value_input {email?: (Scalars['String'] | null),name?: (Scalars['String'] | null),password?: (Scalars['String'] | null),status?: (Scalars['String'] | null),user_id?: (Scalars['uuid'] | null)}

export interface directory_user_basic_data_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_basic_data_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_basic_data_bool_exp}


/** columns and relationships of "directory_user_name" */
export interface directory_user_nameRequest{
    /** An object relationship */
    directoryUsersByUserId?: directory_usersRequest
    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),directoryUsersByUserId?: (directory_users_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 {directoryUsersByUserId?: (directory_users_obj_rel_insert_input | null),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 {directoryUsersByUserId?: (directory_users_order_by | null),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 "directory_users" */
export interface directory_usersRequest{
    /** An object relationship */
    directoryUserBasicDataById?: directory_user_basic_dataRequest
    /** An object relationship */
    directoryUserNamesById?: directory_user_nameRequest
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_users" */
export interface directory_users_aggregateRequest{
    aggregate?: directory_users_aggregate_fieldsRequest
    nodes?: directory_usersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "directory_users" */
export interface directory_users_aggregate_fieldsRequest{
    count?: [{columns?: (directory_users_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_users_max_fieldsRequest
    min?: directory_users_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "directory_users_auth_logs" */
export interface directory_users_auth_logsRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregateRequest{
    aggregate?: directory_users_auth_logs_aggregate_fieldsRequest
    nodes?: directory_users_auth_logsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface directory_users_auth_logs_aggregate_bool_exp {bool_and?: (directory_users_auth_logs_aggregate_bool_exp_bool_and | null),bool_or?: (directory_users_auth_logs_aggregate_bool_exp_bool_or | null),count?: (directory_users_auth_logs_aggregate_bool_exp_count | null)}

export interface directory_users_auth_logs_aggregate_bool_exp_bool_and {arguments: directory_users_auth_logs_select_column_directory_users_auth_logs_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (directory_users_auth_logs_bool_exp | null),predicate: Boolean_comparison_exp}

export interface directory_users_auth_logs_aggregate_bool_exp_bool_or {arguments: directory_users_auth_logs_select_column_directory_users_auth_logs_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (directory_users_auth_logs_bool_exp | null),predicate: Boolean_comparison_exp}

export interface directory_users_auth_logs_aggregate_bool_exp_count {arguments?: (directory_users_auth_logs_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (directory_users_auth_logs_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate_fieldsRequest{
    count?: [{columns?: (directory_users_auth_logs_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_users_auth_logs_max_fieldsRequest
    min?: directory_users_auth_logs_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate_order_by {count?: (order_by | null),max?: (directory_users_auth_logs_max_order_by | null),min?: (directory_users_auth_logs_min_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface directory_users_auth_logs_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "directory_users_auth_logs" */
export interface directory_users_auth_logs_arr_rel_insert_input {data: directory_users_auth_logs_insert_input[]}


/** Boolean expression to filter rows from the table "directory_users_auth_logs". All fields are combined with a logical 'AND'. */
export interface directory_users_auth_logs_bool_exp {_and?: (directory_users_auth_logs_bool_exp[] | null),_not?: (directory_users_auth_logs_bool_exp | null),_or?: (directory_users_auth_logs_bool_exp[] | null),auth_method?: (String_comparison_exp | null),authenticated_at?: (timestamptz_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),updated_at?: (timestamp_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface directory_users_auth_logs_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 directory_users_auth_logs_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface directory_users_auth_logs_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for inserting data into table "directory_users_auth_logs" */
export interface directory_users_auth_logs_insert_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_users_auth_logs_max_fieldsRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "directory_users_auth_logs" */
export interface directory_users_auth_logs_max_order_by {auth_method?: (order_by | null),authenticated_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** aggregate min on columns */
export interface directory_users_auth_logs_min_fieldsRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    customer_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "directory_users_auth_logs" */
export interface directory_users_auth_logs_min_order_by {auth_method?: (order_by | null),authenticated_at?: (order_by | null),customer_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** response of any mutation on the table "directory_users_auth_logs" */
export interface directory_users_auth_logs_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_users_auth_logsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "directory_users_auth_logs". */
export interface directory_users_auth_logs_order_by {auth_method?: (order_by | null),authenticated_at?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),updated_at?: (order_by | null),user_id?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface directory_users_auth_logs_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "directory_users_auth_logs" */
export interface directory_users_auth_logs_set_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "directory_users_auth_logs" */
export interface directory_users_auth_logs_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_users_auth_logs_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface directory_users_auth_logs_stream_cursor_value_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null),user_id?: (Scalars['uuid'] | null)}

export interface directory_users_auth_logs_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (directory_users_auth_logs_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (directory_users_auth_logs_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?: (directory_users_auth_logs_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (directory_users_auth_logs_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (directory_users_auth_logs_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_bool_exp}


/** columns and relationships of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_viewRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    customer_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    seen?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregateRequest{
    aggregate?: directory_users_auth_logs_view_aggregate_fieldsRequest
    nodes?: directory_users_auth_logs_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregate_fieldsRequest{
    count?: [{columns?: (directory_users_auth_logs_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: directory_users_auth_logs_view_max_fieldsRequest
    min?: directory_users_auth_logs_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "directory_users_auth_logs_view". All fields are combined with a logical 'AND'. */
export interface directory_users_auth_logs_view_bool_exp {_and?: (directory_users_auth_logs_view_bool_exp[] | null),_not?: (directory_users_auth_logs_view_bool_exp | null),_or?: (directory_users_auth_logs_view_bool_exp[] | null),auth_method?: (String_comparison_exp | null),authenticated_at?: (timestamptz_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),user_id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_insert_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),user_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_users_auth_logs_view_max_fieldsRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    customer_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_users_auth_logs_view_min_fieldsRequest{
    auth_method?: boolean | number
    authenticated_at?: boolean | number
    customer_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    user_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_users_auth_logs_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "directory_users_auth_logs_view". */
export interface directory_users_auth_logs_view_order_by {auth_method?: (order_by | null),authenticated_at?: (order_by | null),customer_id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),seen?: (order_by | null),user_id?: (order_by | null)}


/** input type for updating data in table "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_set_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),user_id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_users_auth_logs_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface directory_users_auth_logs_view_stream_cursor_value_input {auth_method?: (Scalars['String'] | null),authenticated_at?: (Scalars['timestamptz'] | null),customer_id?: (Scalars['uuid'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),user_id?: (Scalars['uuid'] | null)}

export interface directory_users_auth_logs_view_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_view_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_view_bool_exp}


/** Boolean expression to filter rows from the table "directory_users". All fields are combined with a logical 'AND'. */
export interface directory_users_bool_exp {_and?: (directory_users_bool_exp[] | null),_not?: (directory_users_bool_exp | null),_or?: (directory_users_bool_exp[] | null),directoryUserBasicDataById?: (directory_user_basic_data_bool_exp | null),directoryUserNamesById?: (directory_user_name_bool_exp | null),id?: (uuid_comparison_exp | null)}


/** input type for inserting data into table "directory_users" */
export interface directory_users_insert_input {directoryUserBasicDataById?: (directory_user_basic_data_obj_rel_insert_input | null),directoryUserNamesById?: (directory_user_name_obj_rel_insert_input | null),id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface directory_users_max_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface directory_users_min_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "directory_users" */
export interface directory_users_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: directory_usersRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "directory_users" */
export interface directory_users_obj_rel_insert_input {data: directory_users_insert_input,
/** upsert condition */
on_conflict?: (directory_users_on_conflict | null)}


/** on_conflict condition type for table "directory_users" */
export interface directory_users_on_conflict {constraint: directory_users_constraint,update_columns: directory_users_update_column[],where?: (directory_users_bool_exp | null)}


/** Ordering options when selecting data from "directory_users". */
export interface directory_users_order_by {directoryUserBasicDataById?: (directory_user_basic_data_order_by | null),directoryUserNamesById?: (directory_user_name_order_by | null),id?: (order_by | null)}


/** primary key columns input for table: directory_users */
export interface directory_users_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "directory_users" */
export interface directory_users_set_input {id?: (Scalars['uuid'] | null)}


/** Streaming cursor of the table "directory_users" */
export interface directory_users_stream_cursor_input {
/** Stream column input with initial value */
initial_value: directory_users_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface directory_users_stream_cursor_value_input {id?: (Scalars['uuid'] | null)}

export interface directory_users_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_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)}


/** mutation root */
export interface mutation_rootRequest{
    /** 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: "base_table" */
    delete_base_table?: [{
    /** filter the rows which have to be deleted */
    where: base_table_bool_exp},base_table_mutation_responseRequest]
    /** delete single row from the table: "base_table" */
    delete_base_table_by_pk?: [{id: Scalars['uuid']},base_tableRequest]
    /** delete data from the table: "basic_table_seen" */
    delete_basic_table_seen?: [{
    /** filter the rows which have to be deleted */
    where: basic_table_seen_bool_exp},basic_table_seen_mutation_responseRequest]
    /** delete single row from the table: "basic_table_seen" */
    delete_basic_table_seen_by_pk?: [{id: Scalars['uuid'],user_id: Scalars['uuid']},basic_table_seenRequest]
    /** delete data from the table: "calendar_events" */
    delete_calendar_events?: [{
    /** filter the rows which have to be deleted */
    where: calendar_events_bool_exp},calendar_events_mutation_responseRequest]
    /** delete data from the table: "calendar_events_attendees" */
    delete_calendar_events_attendees?: [{
    /** filter the rows which have to be deleted */
    where: calendar_events_attendees_bool_exp},calendar_events_attendees_mutation_responseRequest]
    /** delete data from the table: "calendar_events_organizers" */
    delete_calendar_events_organizers?: [{
    /** filter the rows which have to be deleted */
    where: calendar_events_organizers_bool_exp},calendar_events_organizers_mutation_responseRequest]
    /** delete data from the table: "calendar_events_view" */
    delete_calendar_events_view?: [{
    /** filter the rows which have to be deleted */
    where: calendar_events_view_bool_exp},calendar_events_view_mutation_responseRequest]
    /** delete data from the table: "calendar_tasks" */
    delete_calendar_tasks?: [{
    /** filter the rows which have to be deleted */
    where: calendar_tasks_bool_exp},calendar_tasks_mutation_responseRequest]
    /** delete data from the table: "calendar_tasks_view" */
    delete_calendar_tasks_view?: [{
    /** filter the rows which have to be deleted */
    where: calendar_tasks_view_bool_exp},calendar_tasks_view_mutation_responseRequest]
    /** delete data from the table: "chat_attachments" */
    delete_chat_attachments?: [{
    /** filter the rows which have to be deleted */
    where: chat_attachments_bool_exp},chat_attachments_mutation_responseRequest]
    /** delete single row from the table: "chat_attachments" */
    delete_chat_attachments_by_pk?: [{id: Scalars['uuid']},chat_attachmentsRequest]
    /** delete data from the table: "chat_ticket_messages" */
    delete_chat_ticket_messages?: [{
    /** filter the rows which have to be deleted */
    where: chat_ticket_messages_bool_exp},chat_ticket_messages_mutation_responseRequest]
    /** delete data from the table: "chat_ticket_messages_view" */
    delete_chat_ticket_messages_view?: [{
    /** filter the rows which have to be deleted */
    where: chat_ticket_messages_view_bool_exp},chat_ticket_messages_view_mutation_responseRequest]
    /** delete data from the table: "chat_ticket_user" */
    delete_chat_ticket_user?: [{
    /** filter the rows which have to be deleted */
    where: chat_ticket_user_bool_exp},chat_ticket_user_mutation_responseRequest]
    /** delete data from the table: "chat_ticket_user_view" */
    delete_chat_ticket_user_view?: [{
    /** filter the rows which have to be deleted */
    where: chat_ticket_user_view_bool_exp},chat_ticket_user_view_mutation_responseRequest]
    /** delete data from the table: "chat_tickets" */
    delete_chat_tickets?: [{
    /** filter the rows which have to be deleted */
    where: chat_tickets_bool_exp},chat_tickets_mutation_responseRequest]
    /** delete data from the table: "chat_tickets_view" */
    delete_chat_tickets_view?: [{
    /** filter the rows which have to be deleted */
    where: chat_tickets_view_bool_exp},chat_tickets_view_mutation_responseRequest]
    /** 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_basic_data" */
    delete_directory_user_basic_data?: [{
    /** filter the rows which have to be deleted */
    where: directory_user_basic_data_bool_exp},directory_user_basic_data_mutation_responseRequest]
    /** delete single row from the table: "directory_user_basic_data" */
    delete_directory_user_basic_data_by_pk?: [{user_id: Scalars['uuid']},directory_user_basic_dataRequest]
    /** 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: "directory_users" */
    delete_directory_users?: [{
    /** filter the rows which have to be deleted */
    where: directory_users_bool_exp},directory_users_mutation_responseRequest]
    /** delete data from the table: "directory_users_auth_logs" */
    delete_directory_users_auth_logs?: [{
    /** filter the rows which have to be deleted */
    where: directory_users_auth_logs_bool_exp},directory_users_auth_logs_mutation_responseRequest]
    /** delete data from the table: "directory_users_auth_logs_view" */
    delete_directory_users_auth_logs_view?: [{
    /** filter the rows which have to be deleted */
    where: directory_users_auth_logs_view_bool_exp},directory_users_auth_logs_view_mutation_responseRequest]
    /** delete single row from the table: "directory_users" */
    delete_directory_users_by_pk?: [{id: Scalars['uuid']},directory_usersRequest]
    /** delete data from the table: "proxy_document_patient" */
    delete_proxy_document_patient?: [{
    /** filter the rows which have to be deleted */
    where: proxy_document_patient_bool_exp},proxy_document_patient_mutation_responseRequest]
    /** delete data from the table: "proxy_document_patient_view" */
    delete_proxy_document_patient_view?: [{
    /** filter the rows which have to be deleted */
    where: proxy_document_patient_view_bool_exp},proxy_document_patient_view_mutation_responseRequest]
    /** delete data from the table: "proxy_documents" */
    delete_proxy_documents?: [{
    /** filter the rows which have to be deleted */
    where: proxy_documents_bool_exp},proxy_documents_mutation_responseRequest]
    /** delete data from the table: "proxy_documents_view" */
    delete_proxy_documents_view?: [{
    /** filter the rows which have to be deleted */
    where: proxy_documents_view_bool_exp},proxy_documents_view_mutation_responseRequest]
    /** delete data from the table: "proxy_queries" */
    delete_proxy_queries?: [{
    /** filter the rows which have to be deleted */
    where: proxy_queries_bool_exp},proxy_queries_mutation_responseRequest]
    /** delete data from the table: "proxy_queries_view" */
    delete_proxy_queries_view?: [{
    /** filter the rows which have to be deleted */
    where: proxy_queries_view_bool_exp},proxy_queries_view_mutation_responseRequest]
    /** delete data from the table: "services" */
    delete_services?: [{
    /** filter the rows which have to be deleted */
    where: services_bool_exp},services_mutation_responseRequest]
    /** delete single row from the table: "services" */
    delete_services_by_pk?: [{name: Scalars['String']},servicesRequest]
    /** delete data from the table: "table_metadata" */
    delete_table_metadata?: [{
    /** filter the rows which have to be deleted */
    where: table_metadata_bool_exp},table_metadata_mutation_responseRequest]
    /** delete single row from the table: "table_metadata" */
    delete_table_metadata_by_pk?: [{id: Scalars['uuid']},table_metadataRequest]
    /** delete data from the table: "tables" */
    delete_tables?: [{
    /** filter the rows which have to be deleted */
    where: tables_bool_exp},tables_mutation_responseRequest]
    /** delete single row from the table: "tables" */
    delete_tables_by_pk?: [{name: Scalars['String']},tablesRequest]
    /** 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: "base_table" */
    insert_base_table?: [{
    /** the rows to be inserted */
    objects: base_table_insert_input[],
    /** upsert condition */
    on_conflict?: (base_table_on_conflict | null)},base_table_mutation_responseRequest]
    /** insert a single row into the table: "base_table" */
    insert_base_table_one?: [{
    /** the row to be inserted */
    object: base_table_insert_input,
    /** upsert condition */
    on_conflict?: (base_table_on_conflict | null)},base_tableRequest]
    /** insert data into the table: "basic_table_seen" */
    insert_basic_table_seen?: [{
    /** the rows to be inserted */
    objects: basic_table_seen_insert_input[],
    /** upsert condition */
    on_conflict?: (basic_table_seen_on_conflict | null)},basic_table_seen_mutation_responseRequest]
    /** insert a single row into the table: "basic_table_seen" */
    insert_basic_table_seen_one?: [{
    /** the row to be inserted */
    object: basic_table_seen_insert_input,
    /** upsert condition */
    on_conflict?: (basic_table_seen_on_conflict | null)},basic_table_seenRequest]
    /** insert data into the table: "calendar_events" */
    insert_calendar_events?: [{
    /** the rows to be inserted */
    objects: calendar_events_insert_input[]},calendar_events_mutation_responseRequest]
    /** insert data into the table: "calendar_events_attendees" */
    insert_calendar_events_attendees?: [{
    /** the rows to be inserted */
    objects: calendar_events_attendees_insert_input[],
    /** upsert condition */
    on_conflict?: (calendar_events_attendees_on_conflict | null)},calendar_events_attendees_mutation_responseRequest]
    /** insert a single row into the table: "calendar_events_attendees" */
    insert_calendar_events_attendees_one?: [{
    /** the row to be inserted */
    object: calendar_events_attendees_insert_input,
    /** upsert condition */
    on_conflict?: (calendar_events_attendees_on_conflict | null)},calendar_events_attendeesRequest]
    /** insert a single row into the table: "calendar_events" */
    insert_calendar_events_one?: [{
    /** the row to be inserted */
    object: calendar_events_insert_input},calendar_eventsRequest]
    /** insert data into the table: "calendar_events_organizers" */
    insert_calendar_events_organizers?: [{
    /** the rows to be inserted */
    objects: calendar_events_organizers_insert_input[],
    /** upsert condition */
    on_conflict?: (calendar_events_organizers_on_conflict | null)},calendar_events_organizers_mutation_responseRequest]
    /** insert a single row into the table: "calendar_events_organizers" */
    insert_calendar_events_organizers_one?: [{
    /** the row to be inserted */
    object: calendar_events_organizers_insert_input,
    /** upsert condition */
    on_conflict?: (calendar_events_organizers_on_conflict | null)},calendar_events_organizersRequest]
    /** insert data into the table: "calendar_events_view" */
    insert_calendar_events_view?: [{
    /** the rows to be inserted */
    objects: calendar_events_view_insert_input[]},calendar_events_view_mutation_responseRequest]
    /** insert a single row into the table: "calendar_events_view" */
    insert_calendar_events_view_one?: [{
    /** the row to be inserted */
    object: calendar_events_view_insert_input},calendar_events_viewRequest]
    /** insert data into the table: "calendar_tasks" */
    insert_calendar_tasks?: [{
    /** the rows to be inserted */
    objects: calendar_tasks_insert_input[]},calendar_tasks_mutation_responseRequest]
    /** insert a single row into the table: "calendar_tasks" */
    insert_calendar_tasks_one?: [{
    /** the row to be inserted */
    object: calendar_tasks_insert_input},calendar_tasksRequest]
    /** insert data into the table: "calendar_tasks_view" */
    insert_calendar_tasks_view?: [{
    /** the rows to be inserted */
    objects: calendar_tasks_view_insert_input[]},calendar_tasks_view_mutation_responseRequest]
    /** insert a single row into the table: "calendar_tasks_view" */
    insert_calendar_tasks_view_one?: [{
    /** the row to be inserted */
    object: calendar_tasks_view_insert_input},calendar_tasks_viewRequest]
    /** insert data into the table: "chat_attachments" */
    insert_chat_attachments?: [{
    /** the rows to be inserted */
    objects: chat_attachments_insert_input[],
    /** upsert condition */
    on_conflict?: (chat_attachments_on_conflict | null)},chat_attachments_mutation_responseRequest]
    /** insert a single row into the table: "chat_attachments" */
    insert_chat_attachments_one?: [{
    /** the row to be inserted */
    object: chat_attachments_insert_input,
    /** upsert condition */
    on_conflict?: (chat_attachments_on_conflict | null)},chat_attachmentsRequest]
    /** insert data into the table: "chat_ticket_messages" */
    insert_chat_ticket_messages?: [{
    /** the rows to be inserted */
    objects: chat_ticket_messages_insert_input[]},chat_ticket_messages_mutation_responseRequest]
    /** insert a single row into the table: "chat_ticket_messages" */
    insert_chat_ticket_messages_one?: [{
    /** the row to be inserted */
    object: chat_ticket_messages_insert_input},chat_ticket_messagesRequest]
    /** insert data into the table: "chat_ticket_messages_view" */
    insert_chat_ticket_messages_view?: [{
    /** the rows to be inserted */
    objects: chat_ticket_messages_view_insert_input[]},chat_ticket_messages_view_mutation_responseRequest]
    /** insert a single row into the table: "chat_ticket_messages_view" */
    insert_chat_ticket_messages_view_one?: [{
    /** the row to be inserted */
    object: chat_ticket_messages_view_insert_input},chat_ticket_messages_viewRequest]
    /** insert data into the table: "chat_ticket_user" */
    insert_chat_ticket_user?: [{
    /** the rows to be inserted */
    objects: chat_ticket_user_insert_input[]},chat_ticket_user_mutation_responseRequest]
    /** insert a single row into the table: "chat_ticket_user" */
    insert_chat_ticket_user_one?: [{
    /** the row to be inserted */
    object: chat_ticket_user_insert_input},chat_ticket_userRequest]
    /** insert data into the table: "chat_ticket_user_view" */
    insert_chat_ticket_user_view?: [{
    /** the rows to be inserted */
    objects: chat_ticket_user_view_insert_input[]},chat_ticket_user_view_mutation_responseRequest]
    /** insert a single row into the table: "chat_ticket_user_view" */
    insert_chat_ticket_user_view_one?: [{
    /** the row to be inserted */
    object: chat_ticket_user_view_insert_input},chat_ticket_user_viewRequest]
    /** insert data into the table: "chat_tickets" */
    insert_chat_tickets?: [{
    /** the rows to be inserted */
    objects: chat_tickets_insert_input[]},chat_tickets_mutation_responseRequest]
    /** insert a single row into the table: "chat_tickets" */
    insert_chat_tickets_one?: [{
    /** the row to be inserted */
    object: chat_tickets_insert_input},chat_ticketsRequest]
    /** insert data into the table: "chat_tickets_view" */
    insert_chat_tickets_view?: [{
    /** the rows to be inserted */
    objects: chat_tickets_view_insert_input[]},chat_tickets_view_mutation_responseRequest]
    /** insert a single row into the table: "chat_tickets_view" */
    insert_chat_tickets_view_one?: [{
    /** the row to be inserted */
    object: chat_tickets_view_insert_input},chat_tickets_viewRequest]
    /** 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_basic_data" */
    insert_directory_user_basic_data?: [{
    /** the rows to be inserted */
    objects: directory_user_basic_data_insert_input[],
    /** upsert condition */
    on_conflict?: (directory_user_basic_data_on_conflict | null)},directory_user_basic_data_mutation_responseRequest]
    /** insert a single row into the table: "directory_user_basic_data" */
    insert_directory_user_basic_data_one?: [{
    /** the row to be inserted */
    object: directory_user_basic_data_insert_input,
    /** upsert condition */
    on_conflict?: (directory_user_basic_data_on_conflict | null)},directory_user_basic_dataRequest]
    /** 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: "directory_users" */
    insert_directory_users?: [{
    /** the rows to be inserted */
    objects: directory_users_insert_input[],
    /** upsert condition */
    on_conflict?: (directory_users_on_conflict | null)},directory_users_mutation_responseRequest]
    /** insert data into the table: "directory_users_auth_logs" */
    insert_directory_users_auth_logs?: [{
    /** the rows to be inserted */
    objects: directory_users_auth_logs_insert_input[]},directory_users_auth_logs_mutation_responseRequest]
    /** insert a single row into the table: "directory_users_auth_logs" */
    insert_directory_users_auth_logs_one?: [{
    /** the row to be inserted */
    object: directory_users_auth_logs_insert_input},directory_users_auth_logsRequest]
    /** insert data into the table: "directory_users_auth_logs_view" */
    insert_directory_users_auth_logs_view?: [{
    /** the rows to be inserted */
    objects: directory_users_auth_logs_view_insert_input[]},directory_users_auth_logs_view_mutation_responseRequest]
    /** insert a single row into the table: "directory_users_auth_logs_view" */
    insert_directory_users_auth_logs_view_one?: [{
    /** the row to be inserted */
    object: directory_users_auth_logs_view_insert_input},directory_users_auth_logs_viewRequest]
    /** insert a single row into the table: "directory_users" */
    insert_directory_users_one?: [{
    /** the row to be inserted */
    object: directory_users_insert_input,
    /** upsert condition */
    on_conflict?: (directory_users_on_conflict | null)},directory_usersRequest]
    /** insert data into the table: "proxy_document_patient" */
    insert_proxy_document_patient?: [{
    /** the rows to be inserted */
    objects: proxy_document_patient_insert_input[]},proxy_document_patient_mutation_responseRequest]
    /** insert a single row into the table: "proxy_document_patient" */
    insert_proxy_document_patient_one?: [{
    /** the row to be inserted */
    object: proxy_document_patient_insert_input},proxy_document_patientRequest]
    /** insert data into the table: "proxy_document_patient_view" */
    insert_proxy_document_patient_view?: [{
    /** the rows to be inserted */
    objects: proxy_document_patient_view_insert_input[]},proxy_document_patient_view_mutation_responseRequest]
    /** insert a single row into the table: "proxy_document_patient_view" */
    insert_proxy_document_patient_view_one?: [{
    /** the row to be inserted */
    object: proxy_document_patient_view_insert_input},proxy_document_patient_viewRequest]
    /** insert data into the table: "proxy_documents" */
    insert_proxy_documents?: [{
    /** the rows to be inserted */
    objects: proxy_documents_insert_input[]},proxy_documents_mutation_responseRequest]
    /** insert a single row into the table: "proxy_documents" */
    insert_proxy_documents_one?: [{
    /** the row to be inserted */
    object: proxy_documents_insert_input},proxy_documentsRequest]
    /** insert data into the table: "proxy_documents_view" */
    insert_proxy_documents_view?: [{
    /** the rows to be inserted */
    objects: proxy_documents_view_insert_input[]},proxy_documents_view_mutation_responseRequest]
    /** insert a single row into the table: "proxy_documents_view" */
    insert_proxy_documents_view_one?: [{
    /** the row to be inserted */
    object: proxy_documents_view_insert_input},proxy_documents_viewRequest]
    /** insert data into the table: "proxy_queries" */
    insert_proxy_queries?: [{
    /** the rows to be inserted */
    objects: proxy_queries_insert_input[]},proxy_queries_mutation_responseRequest]
    /** insert a single row into the table: "proxy_queries" */
    insert_proxy_queries_one?: [{
    /** the row to be inserted */
    object: proxy_queries_insert_input},proxy_queriesRequest]
    /** insert data into the table: "proxy_queries_view" */
    insert_proxy_queries_view?: [{
    /** the rows to be inserted */
    objects: proxy_queries_view_insert_input[]},proxy_queries_view_mutation_responseRequest]
    /** insert a single row into the table: "proxy_queries_view" */
    insert_proxy_queries_view_one?: [{
    /** the row to be inserted */
    object: proxy_queries_view_insert_input},proxy_queries_viewRequest]
    /** insert data into the table: "services" */
    insert_services?: [{
    /** the rows to be inserted */
    objects: services_insert_input[],
    /** upsert condition */
    on_conflict?: (services_on_conflict | null)},services_mutation_responseRequest]
    /** insert a single row into the table: "services" */
    insert_services_one?: [{
    /** the row to be inserted */
    object: services_insert_input,
    /** upsert condition */
    on_conflict?: (services_on_conflict | null)},servicesRequest]
    /** insert data into the table: "table_metadata" */
    insert_table_metadata?: [{
    /** the rows to be inserted */
    objects: table_metadata_insert_input[],
    /** upsert condition */
    on_conflict?: (table_metadata_on_conflict | null)},table_metadata_mutation_responseRequest]
    /** insert a single row into the table: "table_metadata" */
    insert_table_metadata_one?: [{
    /** the row to be inserted */
    object: table_metadata_insert_input,
    /** upsert condition */
    on_conflict?: (table_metadata_on_conflict | null)},table_metadataRequest]
    /** insert data into the table: "tables" */
    insert_tables?: [{
    /** the rows to be inserted */
    objects: tables_insert_input[],
    /** upsert condition */
    on_conflict?: (tables_on_conflict | null)},tables_mutation_responseRequest]
    /** insert a single row into the table: "tables" */
    insert_tables_one?: [{
    /** the row to be inserted */
    object: tables_insert_input,
    /** upsert condition */
    on_conflict?: (tables_on_conflict | null)},tablesRequest]
    /** 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: "base_table" */
    update_base_table?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (base_table_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (base_table_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (base_table_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (base_table_set_input | null),
    /** filter the rows which have to be updated */
    where: base_table_bool_exp},base_table_mutation_responseRequest]
    /** update single row of the table: "base_table" */
    update_base_table_by_pk?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (base_table_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (base_table_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (base_table_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (base_table_set_input | null),pk_columns: base_table_pk_columns_input},base_tableRequest]
    /** update multiples rows of table: "base_table" */
    update_base_table_many?: [{
    /** updates to execute, in order */
    updates: base_table_updates[]},base_table_mutation_responseRequest]
    /** update data of the table: "basic_table_seen" */
    update_basic_table_seen?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (basic_table_seen_set_input | null),
    /** filter the rows which have to be updated */
    where: basic_table_seen_bool_exp},basic_table_seen_mutation_responseRequest]
    /** update single row of the table: "basic_table_seen" */
    update_basic_table_seen_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (basic_table_seen_set_input | null),pk_columns: basic_table_seen_pk_columns_input},basic_table_seenRequest]
    /** update multiples rows of table: "basic_table_seen" */
    update_basic_table_seen_many?: [{
    /** updates to execute, in order */
    updates: basic_table_seen_updates[]},basic_table_seen_mutation_responseRequest]
    /** update data of the table: "calendar_events" */
    update_calendar_events?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (calendar_events_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (calendar_events_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?: (calendar_events_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (calendar_events_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (calendar_events_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_events_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_events_bool_exp},calendar_events_mutation_responseRequest]
    /** update data of the table: "calendar_events_attendees" */
    update_calendar_events_attendees?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (calendar_events_attendees_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (calendar_events_attendees_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?: (calendar_events_attendees_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (calendar_events_attendees_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (calendar_events_attendees_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_events_attendees_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_events_attendees_bool_exp},calendar_events_attendees_mutation_responseRequest]
    /** update multiples rows of table: "calendar_events_attendees" */
    update_calendar_events_attendees_many?: [{
    /** updates to execute, in order */
    updates: calendar_events_attendees_updates[]},calendar_events_attendees_mutation_responseRequest]
    /** update multiples rows of table: "calendar_events" */
    update_calendar_events_many?: [{
    /** updates to execute, in order */
    updates: calendar_events_updates[]},calendar_events_mutation_responseRequest]
    /** update data of the table: "calendar_events_organizers" */
    update_calendar_events_organizers?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (calendar_events_organizers_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (calendar_events_organizers_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?: (calendar_events_organizers_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (calendar_events_organizers_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (calendar_events_organizers_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_events_organizers_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_events_organizers_bool_exp},calendar_events_organizers_mutation_responseRequest]
    /** update multiples rows of table: "calendar_events_organizers" */
    update_calendar_events_organizers_many?: [{
    /** updates to execute, in order */
    updates: calendar_events_organizers_updates[]},calendar_events_organizers_mutation_responseRequest]
    /** update data of the table: "calendar_events_view" */
    update_calendar_events_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_events_view_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_events_view_bool_exp},calendar_events_view_mutation_responseRequest]
    /** update multiples rows of table: "calendar_events_view" */
    update_calendar_events_view_many?: [{
    /** updates to execute, in order */
    updates: calendar_events_view_updates[]},calendar_events_view_mutation_responseRequest]
    /** update data of the table: "calendar_tasks" */
    update_calendar_tasks?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (calendar_tasks_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (calendar_tasks_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?: (calendar_tasks_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (calendar_tasks_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (calendar_tasks_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_tasks_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_tasks_bool_exp},calendar_tasks_mutation_responseRequest]
    /** update multiples rows of table: "calendar_tasks" */
    update_calendar_tasks_many?: [{
    /** updates to execute, in order */
    updates: calendar_tasks_updates[]},calendar_tasks_mutation_responseRequest]
    /** update data of the table: "calendar_tasks_view" */
    update_calendar_tasks_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (calendar_tasks_view_set_input | null),
    /** filter the rows which have to be updated */
    where: calendar_tasks_view_bool_exp},calendar_tasks_view_mutation_responseRequest]
    /** update multiples rows of table: "calendar_tasks_view" */
    update_calendar_tasks_view_many?: [{
    /** updates to execute, in order */
    updates: calendar_tasks_view_updates[]},calendar_tasks_view_mutation_responseRequest]
    /** update data of the table: "chat_attachments" */
    update_chat_attachments?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_attachments_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_attachments_bool_exp},chat_attachments_mutation_responseRequest]
    /** update single row of the table: "chat_attachments" */
    update_chat_attachments_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_attachments_set_input | null),pk_columns: chat_attachments_pk_columns_input},chat_attachmentsRequest]
    /** update multiples rows of table: "chat_attachments" */
    update_chat_attachments_many?: [{
    /** updates to execute, in order */
    updates: chat_attachments_updates[]},chat_attachments_mutation_responseRequest]
    /** update data of the table: "chat_ticket_messages" */
    update_chat_ticket_messages?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (chat_ticket_messages_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (chat_ticket_messages_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?: (chat_ticket_messages_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (chat_ticket_messages_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (chat_ticket_messages_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_ticket_messages_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_ticket_messages_bool_exp},chat_ticket_messages_mutation_responseRequest]
    /** update multiples rows of table: "chat_ticket_messages" */
    update_chat_ticket_messages_many?: [{
    /** updates to execute, in order */
    updates: chat_ticket_messages_updates[]},chat_ticket_messages_mutation_responseRequest]
    /** update data of the table: "chat_ticket_messages_view" */
    update_chat_ticket_messages_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_ticket_messages_view_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_ticket_messages_view_bool_exp},chat_ticket_messages_view_mutation_responseRequest]
    /** update multiples rows of table: "chat_ticket_messages_view" */
    update_chat_ticket_messages_view_many?: [{
    /** updates to execute, in order */
    updates: chat_ticket_messages_view_updates[]},chat_ticket_messages_view_mutation_responseRequest]
    /** update data of the table: "chat_ticket_user" */
    update_chat_ticket_user?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (chat_ticket_user_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (chat_ticket_user_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?: (chat_ticket_user_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (chat_ticket_user_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (chat_ticket_user_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_ticket_user_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_ticket_user_bool_exp},chat_ticket_user_mutation_responseRequest]
    /** update multiples rows of table: "chat_ticket_user" */
    update_chat_ticket_user_many?: [{
    /** updates to execute, in order */
    updates: chat_ticket_user_updates[]},chat_ticket_user_mutation_responseRequest]
    /** update data of the table: "chat_ticket_user_view" */
    update_chat_ticket_user_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_ticket_user_view_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_ticket_user_view_bool_exp},chat_ticket_user_view_mutation_responseRequest]
    /** update multiples rows of table: "chat_ticket_user_view" */
    update_chat_ticket_user_view_many?: [{
    /** updates to execute, in order */
    updates: chat_ticket_user_view_updates[]},chat_ticket_user_view_mutation_responseRequest]
    /** update data of the table: "chat_tickets" */
    update_chat_tickets?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (chat_tickets_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (chat_tickets_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?: (chat_tickets_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (chat_tickets_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (chat_tickets_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_tickets_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_tickets_bool_exp},chat_tickets_mutation_responseRequest]
    /** update multiples rows of table: "chat_tickets" */
    update_chat_tickets_many?: [{
    /** updates to execute, in order */
    updates: chat_tickets_updates[]},chat_tickets_mutation_responseRequest]
    /** update data of the table: "chat_tickets_view" */
    update_chat_tickets_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (chat_tickets_view_set_input | null),
    /** filter the rows which have to be updated */
    where: chat_tickets_view_bool_exp},chat_tickets_view_mutation_responseRequest]
    /** update multiples rows of table: "chat_tickets_view" */
    update_chat_tickets_view_many?: [{
    /** updates to execute, in order */
    updates: chat_tickets_view_updates[]},chat_tickets_view_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_basic_data" */
    update_directory_user_basic_data?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_user_basic_data_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_user_basic_data_bool_exp},directory_user_basic_data_mutation_responseRequest]
    /** update single row of the table: "directory_user_basic_data" */
    update_directory_user_basic_data_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_user_basic_data_set_input | null),pk_columns: directory_user_basic_data_pk_columns_input},directory_user_basic_dataRequest]
    /** update multiples rows of table: "directory_user_basic_data" */
    update_directory_user_basic_data_many?: [{
    /** updates to execute, in order */
    updates: directory_user_basic_data_updates[]},directory_user_basic_data_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: "directory_users" */
    update_directory_users?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_users_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_users_bool_exp},directory_users_mutation_responseRequest]
    /** update data of the table: "directory_users_auth_logs" */
    update_directory_users_auth_logs?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (directory_users_auth_logs_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (directory_users_auth_logs_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?: (directory_users_auth_logs_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (directory_users_auth_logs_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (directory_users_auth_logs_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_users_auth_logs_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_users_auth_logs_bool_exp},directory_users_auth_logs_mutation_responseRequest]
    /** update multiples rows of table: "directory_users_auth_logs" */
    update_directory_users_auth_logs_many?: [{
    /** updates to execute, in order */
    updates: directory_users_auth_logs_updates[]},directory_users_auth_logs_mutation_responseRequest]
    /** update data of the table: "directory_users_auth_logs_view" */
    update_directory_users_auth_logs_view?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_users_auth_logs_view_set_input | null),
    /** filter the rows which have to be updated */
    where: directory_users_auth_logs_view_bool_exp},directory_users_auth_logs_view_mutation_responseRequest]
    /** update multiples rows of table: "directory_users_auth_logs_view" */
    update_directory_users_auth_logs_view_many?: [{
    /** updates to execute, in order */
    updates: directory_users_auth_logs_view_updates[]},directory_users_auth_logs_view_mutation_responseRequest]
    /** update single row of the table: "directory_users" */
    update_directory_users_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (directory_users_set_input | null),pk_columns: directory_users_pk_columns_input},directory_usersRequest]
    /** update multiples rows of table: "directory_users" */
    update_directory_users_many?: [{
    /** updates to execute, in order */
    updates: directory_users_updates[]},directory_users_mutation_responseRequest]
    /** update data of the table: "proxy_document_patient" */
    update_proxy_document_patient?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (proxy_document_patient_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (proxy_document_patient_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?: (proxy_document_patient_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (proxy_document_patient_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (proxy_document_patient_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (proxy_document_patient_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_document_patient_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_document_patient_bool_exp},proxy_document_patient_mutation_responseRequest]
    /** update multiples rows of table: "proxy_document_patient" */
    update_proxy_document_patient_many?: [{
    /** updates to execute, in order */
    updates: proxy_document_patient_updates[]},proxy_document_patient_mutation_responseRequest]
    /** update data of the table: "proxy_document_patient_view" */
    update_proxy_document_patient_view?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (proxy_document_patient_view_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_document_patient_view_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_document_patient_view_bool_exp},proxy_document_patient_view_mutation_responseRequest]
    /** update multiples rows of table: "proxy_document_patient_view" */
    update_proxy_document_patient_view_many?: [{
    /** updates to execute, in order */
    updates: proxy_document_patient_view_updates[]},proxy_document_patient_view_mutation_responseRequest]
    /** update data of the table: "proxy_documents" */
    update_proxy_documents?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (proxy_documents_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (proxy_documents_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?: (proxy_documents_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (proxy_documents_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (proxy_documents_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (proxy_documents_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_documents_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_documents_bool_exp},proxy_documents_mutation_responseRequest]
    /** update multiples rows of table: "proxy_documents" */
    update_proxy_documents_many?: [{
    /** updates to execute, in order */
    updates: proxy_documents_updates[]},proxy_documents_mutation_responseRequest]
    /** update data of the table: "proxy_documents_view" */
    update_proxy_documents_view?: [{
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (proxy_documents_view_inc_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_documents_view_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_documents_view_bool_exp},proxy_documents_view_mutation_responseRequest]
    /** update multiples rows of table: "proxy_documents_view" */
    update_proxy_documents_view_many?: [{
    /** updates to execute, in order */
    updates: proxy_documents_view_updates[]},proxy_documents_view_mutation_responseRequest]
    /** update data of the table: "proxy_queries" */
    update_proxy_queries?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (proxy_queries_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (proxy_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?: (proxy_queries_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (proxy_queries_delete_key_input | null),
    /** increments the numeric columns with given value of the filtered values */
    _inc?: (proxy_queries_inc_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (proxy_queries_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_queries_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_queries_bool_exp},proxy_queries_mutation_responseRequest]
    /** update multiples rows of table: "proxy_queries" */
    update_proxy_queries_many?: [{
    /** updates to execute, in order */
    updates: proxy_queries_updates[]},proxy_queries_mutation_responseRequest]
    /** update data of the table: "proxy_queries_view" */
    update_proxy_queries_view?: [{
    /** append existing jsonb value of filtered columns with new jsonb value */
    _append?: (proxy_queries_view_append_input | null),
    /** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
    _delete_at_path?: (proxy_queries_view_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?: (proxy_queries_view_delete_elem_input | null),
    /** delete key/value pair or string element. key/value pairs are matched based on their key value */
    _delete_key?: (proxy_queries_view_delete_key_input | null),
    /** prepend existing jsonb value of filtered columns with new jsonb value */
    _prepend?: (proxy_queries_view_prepend_input | null),
    /** sets the columns of the filtered rows to the given values */
    _set?: (proxy_queries_view_set_input | null),
    /** filter the rows which have to be updated */
    where: proxy_queries_view_bool_exp},proxy_queries_view_mutation_responseRequest]
    /** update multiples rows of table: "proxy_queries_view" */
    update_proxy_queries_view_many?: [{
    /** updates to execute, in order */
    updates: proxy_queries_view_updates[]},proxy_queries_view_mutation_responseRequest]
    /** update data of the table: "services" */
    update_services?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (services_set_input | null),
    /** filter the rows which have to be updated */
    where: services_bool_exp},services_mutation_responseRequest]
    /** update single row of the table: "services" */
    update_services_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (services_set_input | null),pk_columns: services_pk_columns_input},servicesRequest]
    /** update multiples rows of table: "services" */
    update_services_many?: [{
    /** updates to execute, in order */
    updates: services_updates[]},services_mutation_responseRequest]
    /** update data of the table: "table_metadata" */
    update_table_metadata?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (table_metadata_set_input | null),
    /** filter the rows which have to be updated */
    where: table_metadata_bool_exp},table_metadata_mutation_responseRequest]
    /** update single row of the table: "table_metadata" */
    update_table_metadata_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (table_metadata_set_input | null),pk_columns: table_metadata_pk_columns_input},table_metadataRequest]
    /** update multiples rows of table: "table_metadata" */
    update_table_metadata_many?: [{
    /** updates to execute, in order */
    updates: table_metadata_updates[]},table_metadata_mutation_responseRequest]
    /** update data of the table: "tables" */
    update_tables?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (tables_set_input | null),
    /** filter the rows which have to be updated */
    where: tables_bool_exp},tables_mutation_responseRequest]
    /** update single row of the table: "tables" */
    update_tables_by_pk?: [{
    /** sets the columns of the filtered rows to the given values */
    _set?: (tables_set_input | null),pk_columns: tables_pk_columns_input},tablesRequest]
    /** update multiples rows of table: "tables" */
    update_tables_many?: [{
    /** updates to execute, in order */
    updates: tables_updates[]},tables_mutation_responseRequest]
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "proxy_document_patient" */
export interface proxy_document_patientRequest{
    activity_id?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    create_user_id?: boolean | number
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    document_id?: boolean | number
    for_signing?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    /** An array relationship */
    proxy_documents?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documentsRequest] | proxy_documentsRequest
    /** An aggregate relationship */
    proxy_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documents_aggregateRequest] | proxy_documents_aggregateRequest
    /** An array relationship */
    proxy_queries?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest] | proxy_queriesRequest
    /** An aggregate relationship */
    proxy_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queries_aggregateRequest] | proxy_queries_aggregateRequest
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_document_patient" */
export interface proxy_document_patient_aggregateRequest{
    aggregate?: proxy_document_patient_aggregate_fieldsRequest
    nodes?: proxy_document_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface proxy_document_patient_aggregate_bool_exp {bool_and?: (proxy_document_patient_aggregate_bool_exp_bool_and | null),bool_or?: (proxy_document_patient_aggregate_bool_exp_bool_or | null),count?: (proxy_document_patient_aggregate_bool_exp_count | null)}

export interface proxy_document_patient_aggregate_bool_exp_bool_and {arguments: proxy_document_patient_select_column_proxy_document_patient_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_document_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_document_patient_aggregate_bool_exp_bool_or {arguments: proxy_document_patient_select_column_proxy_document_patient_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_document_patient_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_document_patient_aggregate_bool_exp_count {arguments?: (proxy_document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (proxy_document_patient_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "proxy_document_patient" */
export interface proxy_document_patient_aggregate_fieldsRequest{
    avg?: proxy_document_patient_avg_fieldsRequest
    count?: [{columns?: (proxy_document_patient_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_document_patient_max_fieldsRequest
    min?: proxy_document_patient_min_fieldsRequest
    stddev?: proxy_document_patient_stddev_fieldsRequest
    stddev_pop?: proxy_document_patient_stddev_pop_fieldsRequest
    stddev_samp?: proxy_document_patient_stddev_samp_fieldsRequest
    sum?: proxy_document_patient_sum_fieldsRequest
    var_pop?: proxy_document_patient_var_pop_fieldsRequest
    var_samp?: proxy_document_patient_var_samp_fieldsRequest
    variance?: proxy_document_patient_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "proxy_document_patient" */
export interface proxy_document_patient_aggregate_order_by {avg?: (proxy_document_patient_avg_order_by | null),count?: (order_by | null),max?: (proxy_document_patient_max_order_by | null),min?: (proxy_document_patient_min_order_by | null),stddev?: (proxy_document_patient_stddev_order_by | null),stddev_pop?: (proxy_document_patient_stddev_pop_order_by | null),stddev_samp?: (proxy_document_patient_stddev_samp_order_by | null),sum?: (proxy_document_patient_sum_order_by | null),var_pop?: (proxy_document_patient_var_pop_order_by | null),var_samp?: (proxy_document_patient_var_samp_order_by | null),variance?: (proxy_document_patient_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface proxy_document_patient_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "proxy_document_patient" */
export interface proxy_document_patient_arr_rel_insert_input {data: proxy_document_patient_insert_input[]}


/** aggregate avg on columns */
export interface proxy_document_patient_avg_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_avg_order_by {document_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "proxy_document_patient". All fields are combined with a logical 'AND'. */
export interface proxy_document_patient_bool_exp {_and?: (proxy_document_patient_bool_exp[] | null),_not?: (proxy_document_patient_bool_exp | null),_or?: (proxy_document_patient_bool_exp[] | null),activity_id?: (String_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),create_user_id?: (uuid_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),document_id?: (bigint_comparison_exp | null),for_signing?: (Boolean_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),proxy_documents?: (proxy_documents_bool_exp | null),proxy_documents_aggregate?: (proxy_documents_aggregate_bool_exp | null),proxy_queries?: (proxy_queries_bool_exp | null),proxy_queries_aggregate?: (proxy_queries_aggregate_bool_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface proxy_document_patient_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 proxy_document_patient_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface proxy_document_patient_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "proxy_document_patient" */
export interface proxy_document_patient_inc_input {document_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "proxy_document_patient" */
export interface proxy_document_patient_insert_input {activity_id?: (Scalars['String'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),proxy_documents?: (proxy_documents_arr_rel_insert_input | null),proxy_queries?: (proxy_queries_arr_rel_insert_input | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface proxy_document_patient_max_fieldsRequest{
    activity_id?: boolean | number
    create_user_id?: boolean | number
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_max_order_by {activity_id?: (order_by | null),create_user_id?: (order_by | null),customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface proxy_document_patient_min_fieldsRequest{
    activity_id?: boolean | number
    create_user_id?: boolean | number
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_min_order_by {activity_id?: (order_by | null),create_user_id?: (order_by | null),customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "proxy_document_patient" */
export interface proxy_document_patient_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_document_patientRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_document_patient". */
export interface proxy_document_patient_order_by {activity_id?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),create_user_id?: (order_by | null),customer_id?: (order_by | null),data?: (order_by | null),document_id?: (order_by | null),for_signing?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),proxy_documents_aggregate?: (proxy_documents_aggregate_order_by | null),proxy_queries_aggregate?: (proxy_queries_aggregate_order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),updated_at?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface proxy_document_patient_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "proxy_document_patient" */
export interface proxy_document_patient_set_input {activity_id?: (Scalars['String'] | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate stddev on columns */
export interface proxy_document_patient_stddev_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_stddev_order_by {document_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface proxy_document_patient_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_stddev_pop_order_by {document_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface proxy_document_patient_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_stddev_samp_order_by {document_id?: (order_by | null)}


/** Streaming cursor of the table "proxy_document_patient" */
export interface proxy_document_patient_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_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 proxy_document_patient_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),for_signing?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate sum on columns */
export interface proxy_document_patient_sum_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_sum_order_by {document_id?: (order_by | null)}

export interface proxy_document_patient_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_document_patient_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_document_patient_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?: (proxy_document_patient_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_document_patient_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_document_patient_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_bool_exp}


/** aggregate var_pop on columns */
export interface proxy_document_patient_var_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_var_pop_order_by {document_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface proxy_document_patient_var_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_var_samp_order_by {document_id?: (order_by | null)}


/** aggregate variance on columns */
export interface proxy_document_patient_variance_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "proxy_document_patient" */
export interface proxy_document_patient_variance_order_by {document_id?: (order_by | null)}


/** columns and relationships of "proxy_document_patient_view" */
export interface proxy_document_patient_viewRequest{
    archived?: boolean | number
    create_user_id?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    for_signing?: boolean | number
    hide_for_patient?: boolean | number
    imported_to_epr?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    /** An array relationship */
    proxyDocuments?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_viewRequest] | proxy_documents_viewRequest
    /** An aggregate relationship */
    proxyDocuments_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_view_aggregateRequest] | proxy_documents_view_aggregateRequest
    seen?: boolean | number
    seen_by_patient?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    soknad_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregateRequest{
    aggregate?: proxy_document_patient_view_aggregate_fieldsRequest
    nodes?: proxy_document_patient_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregate_fieldsRequest{
    avg?: proxy_document_patient_view_avg_fieldsRequest
    count?: [{columns?: (proxy_document_patient_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_document_patient_view_max_fieldsRequest
    min?: proxy_document_patient_view_min_fieldsRequest
    stddev?: proxy_document_patient_view_stddev_fieldsRequest
    stddev_pop?: proxy_document_patient_view_stddev_pop_fieldsRequest
    stddev_samp?: proxy_document_patient_view_stddev_samp_fieldsRequest
    sum?: proxy_document_patient_view_sum_fieldsRequest
    var_pop?: proxy_document_patient_view_var_pop_fieldsRequest
    var_samp?: proxy_document_patient_view_var_samp_fieldsRequest
    variance?: proxy_document_patient_view_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate avg on columns */
export interface proxy_document_patient_view_avg_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "proxy_document_patient_view". All fields are combined with a logical 'AND'. */
export interface proxy_document_patient_view_bool_exp {_and?: (proxy_document_patient_view_bool_exp[] | null),_not?: (proxy_document_patient_view_bool_exp | null),_or?: (proxy_document_patient_view_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),create_user_id?: (uuid_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),document_id?: (Int_comparison_exp | null),for_signing?: (Boolean_comparison_exp | null),hide_for_patient?: (Boolean_comparison_exp | null),imported_to_epr?: (Boolean_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),proxyDocuments?: (proxy_documents_view_bool_exp | null),proxyDocuments_aggregate?: (proxy_documents_view_aggregate_bool_exp | null),seen?: (Boolean_comparison_exp | null),seen_by_patient?: (Boolean_comparison_exp | null),seen_by_therapist?: (Boolean_comparison_exp | null),share_with_recipient?: (Boolean_comparison_exp | null),soknad_id?: (String_comparison_exp | null)}


/** input type for incrementing numeric columns in table "proxy_document_patient_view" */
export interface proxy_document_patient_view_inc_input {document_id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "proxy_document_patient_view" */
export interface proxy_document_patient_view_insert_input {archived?: (Scalars['Boolean'] | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['Int'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),proxyDocuments?: (proxy_documents_view_arr_rel_insert_input | null),seen?: (Scalars['Boolean'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface proxy_document_patient_view_max_fieldsRequest{
    create_user_id?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface proxy_document_patient_view_min_fieldsRequest{
    create_user_id?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    document_id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    soknad_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "proxy_document_patient_view" */
export interface proxy_document_patient_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_document_patient_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_document_patient_view". */
export interface proxy_document_patient_view_order_by {archived?: (order_by | null),create_user_id?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (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),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),proxyDocuments_aggregate?: (proxy_documents_view_aggregate_order_by | null),seen?: (order_by | null),seen_by_patient?: (order_by | null),seen_by_therapist?: (order_by | null),share_with_recipient?: (order_by | null),soknad_id?: (order_by | null)}


/** input type for updating data in table "proxy_document_patient_view" */
export interface proxy_document_patient_view_set_input {archived?: (Scalars['Boolean'] | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['Int'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null)}


/** aggregate stddev on columns */
export interface proxy_document_patient_view_stddev_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_pop on columns */
export interface proxy_document_patient_view_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate stddev_samp on columns */
export interface proxy_document_patient_view_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Streaming cursor of the table "proxy_document_patient_view" */
export interface proxy_document_patient_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_document_patient_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface proxy_document_patient_view_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),create_user_id?: (Scalars['uuid'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),document_id?: (Scalars['Int'] | null),for_signing?: (Scalars['Boolean'] | null),hide_for_patient?: (Scalars['Boolean'] | null),imported_to_epr?: (Scalars['Boolean'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),seen_by_patient?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null)}


/** aggregate sum on columns */
export interface proxy_document_patient_view_sum_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface proxy_document_patient_view_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_view_bool_exp}


/** aggregate var_pop on columns */
export interface proxy_document_patient_view_var_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate var_samp on columns */
export interface proxy_document_patient_view_var_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate variance on columns */
export interface proxy_document_patient_view_variance_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "proxy_documents" */
export interface proxy_documentsRequest{
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    document_id?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    /** An array relationship */
    proxy_queries?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest] | proxy_queriesRequest
    /** An aggregate relationship */
    proxy_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queries_aggregateRequest] | proxy_queries_aggregateRequest
    seen?: boolean | number
    show?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    title?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_documents" */
export interface proxy_documents_aggregateRequest{
    aggregate?: proxy_documents_aggregate_fieldsRequest
    nodes?: proxy_documentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface proxy_documents_aggregate_bool_exp {bool_and?: (proxy_documents_aggregate_bool_exp_bool_and | null),bool_or?: (proxy_documents_aggregate_bool_exp_bool_or | null),count?: (proxy_documents_aggregate_bool_exp_count | null)}

export interface proxy_documents_aggregate_bool_exp_bool_and {arguments: proxy_documents_select_column_proxy_documents_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_documents_aggregate_bool_exp_bool_or {arguments: proxy_documents_select_column_proxy_documents_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_documents_aggregate_bool_exp_count {arguments?: (proxy_documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "proxy_documents" */
export interface proxy_documents_aggregate_fieldsRequest{
    avg?: proxy_documents_avg_fieldsRequest
    count?: [{columns?: (proxy_documents_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_documents_max_fieldsRequest
    min?: proxy_documents_min_fieldsRequest
    stddev?: proxy_documents_stddev_fieldsRequest
    stddev_pop?: proxy_documents_stddev_pop_fieldsRequest
    stddev_samp?: proxy_documents_stddev_samp_fieldsRequest
    sum?: proxy_documents_sum_fieldsRequest
    var_pop?: proxy_documents_var_pop_fieldsRequest
    var_samp?: proxy_documents_var_samp_fieldsRequest
    variance?: proxy_documents_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "proxy_documents" */
export interface proxy_documents_aggregate_order_by {avg?: (proxy_documents_avg_order_by | null),count?: (order_by | null),max?: (proxy_documents_max_order_by | null),min?: (proxy_documents_min_order_by | null),stddev?: (proxy_documents_stddev_order_by | null),stddev_pop?: (proxy_documents_stddev_pop_order_by | null),stddev_samp?: (proxy_documents_stddev_samp_order_by | null),sum?: (proxy_documents_sum_order_by | null),var_pop?: (proxy_documents_var_pop_order_by | null),var_samp?: (proxy_documents_var_samp_order_by | null),variance?: (proxy_documents_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface proxy_documents_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "proxy_documents" */
export interface proxy_documents_arr_rel_insert_input {data: proxy_documents_insert_input[]}


/** aggregate avg on columns */
export interface proxy_documents_avg_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "proxy_documents" */
export interface proxy_documents_avg_order_by {document_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "proxy_documents". All fields are combined with a logical 'AND'. */
export interface proxy_documents_bool_exp {_and?: (proxy_documents_bool_exp[] | null),_not?: (proxy_documents_bool_exp | null),_or?: (proxy_documents_bool_exp[] | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),document_id?: (bigint_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),proxy_queries?: (proxy_queries_bool_exp | null),proxy_queries_aggregate?: (proxy_queries_aggregate_bool_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null),upload_patient_id?: (uuid_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface proxy_documents_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 proxy_documents_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface proxy_documents_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "proxy_documents" */
export interface proxy_documents_inc_input {document_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "proxy_documents" */
export interface proxy_documents_insert_input {basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),proxy_queries?: (proxy_queries_arr_rel_insert_input | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface proxy_documents_max_fieldsRequest{
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "proxy_documents" */
export interface proxy_documents_max_order_by {customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** aggregate min on columns */
export interface proxy_documents_min_fieldsRequest{
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    primary_key_id?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "proxy_documents" */
export interface proxy_documents_min_order_by {customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** response of any mutation on the table "proxy_documents" */
export interface proxy_documents_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_documentsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_documents". */
export interface proxy_documents_order_by {basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),primary_key_id?: (order_by | null),proxy_queries_aggregate?: (proxy_queries_aggregate_order_by | null),seen?: (order_by | null),show?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),title?: (order_by | null),updated_at?: (order_by | null),upload_patient_id?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface proxy_documents_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "proxy_documents" */
export interface proxy_documents_set_input {customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface proxy_documents_stddev_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "proxy_documents" */
export interface proxy_documents_stddev_order_by {document_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface proxy_documents_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "proxy_documents" */
export interface proxy_documents_stddev_pop_order_by {document_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface proxy_documents_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "proxy_documents" */
export interface proxy_documents_stddev_samp_order_by {document_id?: (order_by | null)}


/** Streaming cursor of the table "proxy_documents" */
export interface proxy_documents_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_documents_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface proxy_documents_stream_cursor_value_input {customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),primary_key_id?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface proxy_documents_sum_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "proxy_documents" */
export interface proxy_documents_sum_order_by {document_id?: (order_by | null)}

export interface proxy_documents_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_documents_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_documents_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?: (proxy_documents_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_documents_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_documents_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_bool_exp}


/** aggregate var_pop on columns */
export interface proxy_documents_var_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "proxy_documents" */
export interface proxy_documents_var_pop_order_by {document_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface proxy_documents_var_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "proxy_documents" */
export interface proxy_documents_var_samp_order_by {document_id?: (order_by | null)}


/** aggregate variance on columns */
export interface proxy_documents_variance_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "proxy_documents" */
export interface proxy_documents_variance_order_by {document_id?: (order_by | null)}


/** columns and relationships of "proxy_documents_view" */
export interface proxy_documents_viewRequest{
    artifact_parcel_id?: boolean | number
    auto_import?: boolean | number
    combine_signatures?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    name?: boolean | number
    op?: boolean | number
    path?: boolean | number
    sds_id?: boolean | number
    seen?: boolean | number
    signed_by_therapist?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_documents_view" */
export interface proxy_documents_view_aggregateRequest{
    aggregate?: proxy_documents_view_aggregate_fieldsRequest
    nodes?: proxy_documents_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface proxy_documents_view_aggregate_bool_exp {bool_and?: (proxy_documents_view_aggregate_bool_exp_bool_and | null),bool_or?: (proxy_documents_view_aggregate_bool_exp_bool_or | null),count?: (proxy_documents_view_aggregate_bool_exp_count | null)}

export interface proxy_documents_view_aggregate_bool_exp_bool_and {arguments: proxy_documents_view_select_column_proxy_documents_view_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_view_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_documents_view_aggregate_bool_exp_bool_or {arguments: proxy_documents_view_select_column_proxy_documents_view_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_view_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_documents_view_aggregate_bool_exp_count {arguments?: (proxy_documents_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (proxy_documents_view_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "proxy_documents_view" */
export interface proxy_documents_view_aggregate_fieldsRequest{
    avg?: proxy_documents_view_avg_fieldsRequest
    count?: [{columns?: (proxy_documents_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_documents_view_max_fieldsRequest
    min?: proxy_documents_view_min_fieldsRequest
    stddev?: proxy_documents_view_stddev_fieldsRequest
    stddev_pop?: proxy_documents_view_stddev_pop_fieldsRequest
    stddev_samp?: proxy_documents_view_stddev_samp_fieldsRequest
    sum?: proxy_documents_view_sum_fieldsRequest
    var_pop?: proxy_documents_view_var_pop_fieldsRequest
    var_samp?: proxy_documents_view_var_samp_fieldsRequest
    variance?: proxy_documents_view_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "proxy_documents_view" */
export interface proxy_documents_view_aggregate_order_by {avg?: (proxy_documents_view_avg_order_by | null),count?: (order_by | null),max?: (proxy_documents_view_max_order_by | null),min?: (proxy_documents_view_min_order_by | null),stddev?: (proxy_documents_view_stddev_order_by | null),stddev_pop?: (proxy_documents_view_stddev_pop_order_by | null),stddev_samp?: (proxy_documents_view_stddev_samp_order_by | null),sum?: (proxy_documents_view_sum_order_by | null),var_pop?: (proxy_documents_view_var_pop_order_by | null),var_samp?: (proxy_documents_view_var_samp_order_by | null),variance?: (proxy_documents_view_variance_order_by | null)}


/** input type for inserting array relation for remote table "proxy_documents_view" */
export interface proxy_documents_view_arr_rel_insert_input {data: proxy_documents_view_insert_input[]}


/** aggregate avg on columns */
export interface proxy_documents_view_avg_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_avg_order_by {id?: (order_by | null)}


/** Boolean expression to filter rows from the table "proxy_documents_view". All fields are combined with a logical 'AND'. */
export interface proxy_documents_view_bool_exp {_and?: (proxy_documents_view_bool_exp[] | null),_not?: (proxy_documents_view_bool_exp | null),_or?: (proxy_documents_view_bool_exp[] | null),artifact_parcel_id?: (uuid_comparison_exp | null),auto_import?: (Boolean_comparison_exp | null),combine_signatures?: (Boolean_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),deleted_at?: (timestamptz_comparison_exp | null),id?: (Int_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),path?: (String_comparison_exp | null),sds_id?: (String_comparison_exp | null),seen?: (Boolean_comparison_exp | null),signed_by_therapist?: (Boolean_comparison_exp | null),upload_patient_id?: (uuid_comparison_exp | null)}


/** input type for incrementing numeric columns in table "proxy_documents_view" */
export interface proxy_documents_view_inc_input {id?: (Scalars['Int'] | null)}


/** input type for inserting data into table "proxy_documents_view" */
export interface proxy_documents_view_insert_input {artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),path?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate max on columns */
export interface proxy_documents_view_max_fieldsRequest{
    artifact_parcel_id?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    name?: boolean | number
    op?: boolean | number
    path?: boolean | number
    sds_id?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_max_order_by {artifact_parcel_id?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),name?: (order_by | null),op?: (order_by | null),path?: (order_by | null),sds_id?: (order_by | null),upload_patient_id?: (order_by | null)}


/** aggregate min on columns */
export interface proxy_documents_view_min_fieldsRequest{
    artifact_parcel_id?: boolean | number
    customer_id?: boolean | number
    deleted_at?: boolean | number
    id?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    name?: boolean | number
    op?: boolean | number
    path?: boolean | number
    sds_id?: boolean | number
    upload_patient_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_min_order_by {artifact_parcel_id?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),name?: (order_by | null),op?: (order_by | null),path?: (order_by | null),sds_id?: (order_by | null),upload_patient_id?: (order_by | null)}


/** response of any mutation on the table "proxy_documents_view" */
export interface proxy_documents_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_documents_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_documents_view". */
export interface proxy_documents_view_order_by {artifact_parcel_id?: (order_by | null),auto_import?: (order_by | null),combine_signatures?: (order_by | null),customer_id?: (order_by | null),deleted_at?: (order_by | null),id?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),name?: (order_by | null),op?: (order_by | null),path?: (order_by | null),sds_id?: (order_by | null),seen?: (order_by | null),signed_by_therapist?: (order_by | null),upload_patient_id?: (order_by | null)}


/** input type for updating data in table "proxy_documents_view" */
export interface proxy_documents_view_set_input {artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),path?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate stddev on columns */
export interface proxy_documents_view_stddev_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_stddev_order_by {id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface proxy_documents_view_stddev_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_stddev_pop_order_by {id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface proxy_documents_view_stddev_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_stddev_samp_order_by {id?: (order_by | null)}


/** Streaming cursor of the table "proxy_documents_view" */
export interface proxy_documents_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_documents_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface proxy_documents_view_stream_cursor_value_input {artifact_parcel_id?: (Scalars['uuid'] | null),auto_import?: (Scalars['Boolean'] | null),combine_signatures?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),deleted_at?: (Scalars['timestamptz'] | null),id?: (Scalars['Int'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),path?: (Scalars['String'] | null),sds_id?: (Scalars['String'] | null),seen?: (Scalars['Boolean'] | null),signed_by_therapist?: (Scalars['Boolean'] | null),upload_patient_id?: (Scalars['uuid'] | null)}


/** aggregate sum on columns */
export interface proxy_documents_view_sum_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_sum_order_by {id?: (order_by | null)}

export interface proxy_documents_view_updates {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_view_bool_exp}


/** aggregate var_pop on columns */
export interface proxy_documents_view_var_pop_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_var_pop_order_by {id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface proxy_documents_view_var_samp_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_var_samp_order_by {id?: (order_by | null)}


/** aggregate variance on columns */
export interface proxy_documents_view_variance_fieldsRequest{
    id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "proxy_documents_view" */
export interface proxy_documents_view_variance_order_by {id?: (order_by | null)}


/** columns and relationships of "proxy_queries" */
export interface proxy_queriesRequest{
    activity_id?: boolean | number
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    customer_id?: boolean | number
    data?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    document_id?: boolean | number
    id?: boolean | number
    jwt_claims?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    /** An array relationship */
    proxy_documents?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documentsRequest] | proxy_documentsRequest
    /** An aggregate relationship */
    proxy_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documents_aggregateRequest] | proxy_documents_aggregateRequest
    query_uuid?: boolean | number
    seen?: boolean | number
    show?: boolean | number
    status?: boolean | number
    table_metadata_id?: boolean | number
    /** An object relationship */
    table_metadatum?: table_metadataRequest
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_queries" */
export interface proxy_queries_aggregateRequest{
    aggregate?: proxy_queries_aggregate_fieldsRequest
    nodes?: proxy_queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface proxy_queries_aggregate_bool_exp {bool_and?: (proxy_queries_aggregate_bool_exp_bool_and | null),bool_or?: (proxy_queries_aggregate_bool_exp_bool_or | null),count?: (proxy_queries_aggregate_bool_exp_count | null)}

export interface proxy_queries_aggregate_bool_exp_bool_and {arguments: proxy_queries_select_column_proxy_queries_aggregate_bool_exp_bool_and_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_queries_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_queries_aggregate_bool_exp_bool_or {arguments: proxy_queries_select_column_proxy_queries_aggregate_bool_exp_bool_or_arguments_columns,distinct?: (Scalars['Boolean'] | null),filter?: (proxy_queries_bool_exp | null),predicate: Boolean_comparison_exp}

export interface proxy_queries_aggregate_bool_exp_count {arguments?: (proxy_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (proxy_queries_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "proxy_queries" */
export interface proxy_queries_aggregate_fieldsRequest{
    avg?: proxy_queries_avg_fieldsRequest
    count?: [{columns?: (proxy_queries_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_queries_max_fieldsRequest
    min?: proxy_queries_min_fieldsRequest
    stddev?: proxy_queries_stddev_fieldsRequest
    stddev_pop?: proxy_queries_stddev_pop_fieldsRequest
    stddev_samp?: proxy_queries_stddev_samp_fieldsRequest
    sum?: proxy_queries_sum_fieldsRequest
    var_pop?: proxy_queries_var_pop_fieldsRequest
    var_samp?: proxy_queries_var_samp_fieldsRequest
    variance?: proxy_queries_variance_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "proxy_queries" */
export interface proxy_queries_aggregate_order_by {avg?: (proxy_queries_avg_order_by | null),count?: (order_by | null),max?: (proxy_queries_max_order_by | null),min?: (proxy_queries_min_order_by | null),stddev?: (proxy_queries_stddev_order_by | null),stddev_pop?: (proxy_queries_stddev_pop_order_by | null),stddev_samp?: (proxy_queries_stddev_samp_order_by | null),sum?: (proxy_queries_sum_order_by | null),var_pop?: (proxy_queries_var_pop_order_by | null),var_samp?: (proxy_queries_var_samp_order_by | null),variance?: (proxy_queries_variance_order_by | null)}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface proxy_queries_append_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for inserting array relation for remote table "proxy_queries" */
export interface proxy_queries_arr_rel_insert_input {data: proxy_queries_insert_input[]}


/** aggregate avg on columns */
export interface proxy_queries_avg_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by avg() on columns of table "proxy_queries" */
export interface proxy_queries_avg_order_by {document_id?: (order_by | null)}


/** Boolean expression to filter rows from the table "proxy_queries". All fields are combined with a logical 'AND'. */
export interface proxy_queries_bool_exp {_and?: (proxy_queries_bool_exp[] | null),_not?: (proxy_queries_bool_exp | null),_or?: (proxy_queries_bool_exp[] | null),activity_id?: (String_comparison_exp | null),basic_table_seen?: (basic_table_seen_bool_exp | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_bool_exp | null),customer_id?: (uuid_comparison_exp | null),data?: (jsonb_comparison_exp | null),document_id?: (bigint_comparison_exp | null),id?: (uuid_comparison_exp | null),jwt_claims?: (jsonb_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),primary_key_id?: (uuid_comparison_exp | null),proxy_documents?: (proxy_documents_bool_exp | null),proxy_documents_aggregate?: (proxy_documents_aggregate_bool_exp | null),query_uuid?: (uuid_comparison_exp | null),seen?: (Boolean_comparison_exp | null),show?: (Boolean_comparison_exp | null),status?: (String_comparison_exp | null),table_metadata_id?: (uuid_comparison_exp | null),table_metadatum?: (table_metadata_bool_exp | null),title?: (String_comparison_exp | null),updated_at?: (timestamp_comparison_exp | null)}


/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export interface proxy_queries_delete_at_path_input {data?: (Scalars['String'][] | null),jwt_claims?: (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 proxy_queries_delete_elem_input {data?: (Scalars['Int'] | null),jwt_claims?: (Scalars['Int'] | null)}


/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export interface proxy_queries_delete_key_input {data?: (Scalars['String'] | null),jwt_claims?: (Scalars['String'] | null)}


/** input type for incrementing numeric columns in table "proxy_queries" */
export interface proxy_queries_inc_input {document_id?: (Scalars['bigint'] | null)}


/** input type for inserting data into table "proxy_queries" */
export interface proxy_queries_insert_input {activity_id?: (Scalars['String'] | null),basic_table_seen?: (basic_table_seen_arr_rel_insert_input | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),proxy_documents?: (proxy_documents_arr_rel_insert_input | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),table_metadata_id?: (Scalars['uuid'] | null),table_metadatum?: (table_metadata_obj_rel_insert_input | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate max on columns */
export interface proxy_queries_max_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    query_uuid?: boolean | number
    status?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "proxy_queries" */
export interface proxy_queries_max_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),query_uuid?: (order_by | null),status?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** aggregate min on columns */
export interface proxy_queries_min_fieldsRequest{
    activity_id?: boolean | number
    customer_id?: boolean | number
    document_id?: boolean | number
    id?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    primary_key_id?: boolean | number
    query_uuid?: boolean | number
    status?: boolean | number
    table_metadata_id?: boolean | number
    title?: boolean | number
    updated_at?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "proxy_queries" */
export interface proxy_queries_min_order_by {activity_id?: (order_by | null),customer_id?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),query_uuid?: (order_by | null),status?: (order_by | null),table_metadata_id?: (order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** response of any mutation on the table "proxy_queries" */
export interface proxy_queries_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_queriesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_queries". */
export interface proxy_queries_order_by {activity_id?: (order_by | null),basic_table_seen_aggregate?: (basic_table_seen_aggregate_order_by | null),customer_id?: (order_by | null),data?: (order_by | null),document_id?: (order_by | null),id?: (order_by | null),jwt_claims?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),primary_key_id?: (order_by | null),proxy_documents_aggregate?: (proxy_documents_aggregate_order_by | null),query_uuid?: (order_by | null),seen?: (order_by | null),show?: (order_by | null),status?: (order_by | null),table_metadata_id?: (order_by | null),table_metadatum?: (table_metadata_order_by | null),title?: (order_by | null),updated_at?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface proxy_queries_prepend_input {data?: (Scalars['jsonb'] | null),jwt_claims?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "proxy_queries" */
export interface proxy_queries_set_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate stddev on columns */
export interface proxy_queries_stddev_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev() on columns of table "proxy_queries" */
export interface proxy_queries_stddev_order_by {document_id?: (order_by | null)}


/** aggregate stddev_pop on columns */
export interface proxy_queries_stddev_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_pop() on columns of table "proxy_queries" */
export interface proxy_queries_stddev_pop_order_by {document_id?: (order_by | null)}


/** aggregate stddev_samp on columns */
export interface proxy_queries_stddev_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by stddev_samp() on columns of table "proxy_queries" */
export interface proxy_queries_stddev_samp_order_by {document_id?: (order_by | null)}


/** Streaming cursor of the table "proxy_queries" */
export interface proxy_queries_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_queries_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface proxy_queries_stream_cursor_value_input {activity_id?: (Scalars['String'] | null),customer_id?: (Scalars['uuid'] | null),data?: (Scalars['jsonb'] | null),document_id?: (Scalars['bigint'] | null),id?: (Scalars['uuid'] | null),jwt_claims?: (Scalars['jsonb'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),primary_key_id?: (Scalars['uuid'] | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),show?: (Scalars['Boolean'] | null),status?: (Scalars['String'] | null),table_metadata_id?: (Scalars['uuid'] | null),title?: (Scalars['String'] | null),updated_at?: (Scalars['timestamp'] | null)}


/** aggregate sum on columns */
export interface proxy_queries_sum_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by sum() on columns of table "proxy_queries" */
export interface proxy_queries_sum_order_by {document_id?: (order_by | null)}

export interface proxy_queries_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_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?: (proxy_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_bool_exp}


/** aggregate var_pop on columns */
export interface proxy_queries_var_pop_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_pop() on columns of table "proxy_queries" */
export interface proxy_queries_var_pop_order_by {document_id?: (order_by | null)}


/** aggregate var_samp on columns */
export interface proxy_queries_var_samp_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by var_samp() on columns of table "proxy_queries" */
export interface proxy_queries_var_samp_order_by {document_id?: (order_by | null)}


/** aggregate variance on columns */
export interface proxy_queries_variance_fieldsRequest{
    document_id?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by variance() on columns of table "proxy_queries" */
export interface proxy_queries_variance_order_by {document_id?: (order_by | null)}


/** columns and relationships of "proxy_queries_view" */
export interface proxy_queries_viewRequest{
    archived?: boolean | number
    customer_id?: boolean | number
    hide_for_patient?: boolean | number
    initiator?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    properties?: [{
    /** JSON select path */
    path?: (Scalars['String'] | null)}] | boolean | number
    query_uuid?: boolean | number
    seen?: boolean | number
    seen_by_therapist?: boolean | number
    share_with_recipient?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    title?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "proxy_queries_view" */
export interface proxy_queries_view_aggregateRequest{
    aggregate?: proxy_queries_view_aggregate_fieldsRequest
    nodes?: proxy_queries_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "proxy_queries_view" */
export interface proxy_queries_view_aggregate_fieldsRequest{
    count?: [{columns?: (proxy_queries_view_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: proxy_queries_view_max_fieldsRequest
    min?: proxy_queries_view_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** append existing jsonb value of filtered columns with new jsonb value */
export interface proxy_queries_view_append_input {properties?: (Scalars['jsonb'] | null)}


/** Boolean expression to filter rows from the table "proxy_queries_view". All fields are combined with a logical 'AND'. */
export interface proxy_queries_view_bool_exp {_and?: (proxy_queries_view_bool_exp[] | null),_not?: (proxy_queries_view_bool_exp | null),_or?: (proxy_queries_view_bool_exp[] | null),archived?: (Boolean_comparison_exp | null),customer_id?: (uuid_comparison_exp | null),hide_for_patient?: (Boolean_comparison_exp | null),initiator?: (String_comparison_exp | null),log_id?: (uuid_comparison_exp | null),log_updated_at?: (timestamp_comparison_exp | null),log_updated_by?: (uuid_comparison_exp | null),log_updated_by_name?: (String_comparison_exp | null),op?: (String_comparison_exp | null),patient_id?: (uuid_comparison_exp | null),properties?: (jsonb_comparison_exp | null),query_uuid?: (uuid_comparison_exp | null),seen?: (Boolean_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),title?: (String_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 proxy_queries_view_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 proxy_queries_view_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 proxy_queries_view_delete_key_input {properties?: (Scalars['String'] | null)}


/** input type for inserting data into table "proxy_queries_view" */
export interface proxy_queries_view_insert_input {archived?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),hide_for_patient?: (Scalars['Boolean'] | null),initiator?: (Scalars['String'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** aggregate max on columns */
export interface proxy_queries_view_max_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    title?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface proxy_queries_view_min_fieldsRequest{
    customer_id?: boolean | number
    initiator?: boolean | number
    log_id?: boolean | number
    log_updated_at?: boolean | number
    log_updated_by?: boolean | number
    log_updated_by_name?: boolean | number
    op?: boolean | number
    patient_id?: boolean | number
    query_uuid?: boolean | number
    soknad_id?: boolean | number
    status?: boolean | number
    title?: boolean | number
    valid_from?: boolean | number
    valid_to?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "proxy_queries_view" */
export interface proxy_queries_view_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: proxy_queries_viewRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Ordering options when selecting data from "proxy_queries_view". */
export interface proxy_queries_view_order_by {archived?: (order_by | null),customer_id?: (order_by | null),hide_for_patient?: (order_by | null),initiator?: (order_by | null),log_id?: (order_by | null),log_updated_at?: (order_by | null),log_updated_by?: (order_by | null),log_updated_by_name?: (order_by | null),op?: (order_by | null),patient_id?: (order_by | null),properties?: (order_by | null),query_uuid?: (order_by | null),seen?: (order_by | null),seen_by_therapist?: (order_by | null),share_with_recipient?: (order_by | null),soknad_id?: (order_by | null),status?: (order_by | null),title?: (order_by | null),valid_from?: (order_by | null),valid_to?: (order_by | null)}


/** prepend existing jsonb value of filtered columns with new jsonb value */
export interface proxy_queries_view_prepend_input {properties?: (Scalars['jsonb'] | null)}


/** input type for updating data in table "proxy_queries_view" */
export interface proxy_queries_view_set_input {archived?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),hide_for_patient?: (Scalars['Boolean'] | null),initiator?: (Scalars['String'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}


/** Streaming cursor of the table "proxy_queries_view" */
export interface proxy_queries_view_stream_cursor_input {
/** Stream column input with initial value */
initial_value: proxy_queries_view_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface proxy_queries_view_stream_cursor_value_input {archived?: (Scalars['Boolean'] | null),customer_id?: (Scalars['uuid'] | null),hide_for_patient?: (Scalars['Boolean'] | null),initiator?: (Scalars['String'] | null),log_id?: (Scalars['uuid'] | null),log_updated_at?: (Scalars['timestamp'] | null),log_updated_by?: (Scalars['uuid'] | null),log_updated_by_name?: (Scalars['String'] | null),op?: (Scalars['String'] | null),patient_id?: (Scalars['uuid'] | null),properties?: (Scalars['jsonb'] | null),query_uuid?: (Scalars['uuid'] | null),seen?: (Scalars['Boolean'] | null),seen_by_therapist?: (Scalars['Boolean'] | null),share_with_recipient?: (Scalars['Boolean'] | null),soknad_id?: (Scalars['String'] | null),status?: (Scalars['String'] | null),title?: (Scalars['String'] | null),valid_from?: (Scalars['date'] | null),valid_to?: (Scalars['date'] | null)}

export interface proxy_queries_view_updates {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_view_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_queries_view_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?: (proxy_queries_view_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_view_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_view_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_view_bool_exp}

export interface query_rootRequest{
    /** fetch data from the table: "adopus_AdgangLinjer" */
    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
    /** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
    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: "base_table" */
    base_table?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_tableRequest] | base_tableRequest
    /** fetch aggregated fields from the table: "base_table" */
    base_table_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_table_aggregateRequest] | base_table_aggregateRequest
    /** fetch data from the table: "base_table" using primary key columns */
    base_table_by_pk?: [{id: Scalars['uuid']},base_tableRequest]
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    /** fetch data from the table: "basic_table_seen" using primary key columns */
    basic_table_seen_by_pk?: [{id: Scalars['uuid'],user_id: Scalars['uuid']},basic_table_seenRequest]
    /** An array relationship */
    calendar_events?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_eventsRequest] | calendar_eventsRequest
    /** An aggregate relationship */
    calendar_events_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_events_aggregateRequest] | calendar_events_aggregateRequest
    /** An array relationship */
    calendar_events_attendees?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendeesRequest] | calendar_events_attendeesRequest
    /** An aggregate relationship */
    calendar_events_attendees_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendees_aggregateRequest] | calendar_events_attendees_aggregateRequest
    /** An array relationship */
    calendar_events_organizers?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizersRequest] | calendar_events_organizersRequest
    /** An aggregate relationship */
    calendar_events_organizers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizers_aggregateRequest] | calendar_events_organizers_aggregateRequest
    /** fetch data from the table: "calendar_events_view" */
    calendar_events_view?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_view_bool_exp | null)},calendar_events_viewRequest] | calendar_events_viewRequest
    /** fetch aggregated fields from the table: "calendar_events_view" */
    calendar_events_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_view_bool_exp | null)},calendar_events_view_aggregateRequest] | calendar_events_view_aggregateRequest
    /** An array relationship */
    calendar_tasks?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasksRequest] | calendar_tasksRequest
    /** An aggregate relationship */
    calendar_tasks_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasks_aggregateRequest] | calendar_tasks_aggregateRequest
    /** fetch data from the table: "calendar_tasks_view" */
    calendar_tasks_view?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_view_bool_exp | null)},calendar_tasks_viewRequest] | calendar_tasks_viewRequest
    /** fetch aggregated fields from the table: "calendar_tasks_view" */
    calendar_tasks_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_view_bool_exp | null)},calendar_tasks_view_aggregateRequest] | calendar_tasks_view_aggregateRequest
    /** fetch data from the table: "chat_attachments" */
    chat_attachments?: [{
    /** distinct select on columns */
    distinct_on?: (chat_attachments_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_attachments_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_attachments_bool_exp | null)},chat_attachmentsRequest] | chat_attachmentsRequest
    /** fetch aggregated fields from the table: "chat_attachments" */
    chat_attachments_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_attachments_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_attachments_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_attachments_bool_exp | null)},chat_attachments_aggregateRequest] | chat_attachments_aggregateRequest
    /** fetch data from the table: "chat_attachments" using primary key columns */
    chat_attachments_by_pk?: [{id: Scalars['uuid']},chat_attachmentsRequest]
    /** An array relationship */
    chat_ticket_messages?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messagesRequest] | chat_ticket_messagesRequest
    /** An aggregate relationship */
    chat_ticket_messages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messages_aggregateRequest] | chat_ticket_messages_aggregateRequest
    /** fetch data from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_view_bool_exp | null)},chat_ticket_messages_viewRequest] | chat_ticket_messages_viewRequest
    /** fetch aggregated fields from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_view_bool_exp | null)},chat_ticket_messages_view_aggregateRequest] | chat_ticket_messages_view_aggregateRequest
    /** fetch data from the table: "chat_ticket_user" */
    chat_ticket_user?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_userRequest] | chat_ticket_userRequest
    /** fetch aggregated fields from the table: "chat_ticket_user" */
    chat_ticket_user_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_user_aggregateRequest] | chat_ticket_user_aggregateRequest
    /** fetch data from the table: "chat_ticket_user_view" */
    chat_ticket_user_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_viewRequest] | chat_ticket_user_viewRequest
    /** fetch aggregated fields from the table: "chat_ticket_user_view" */
    chat_ticket_user_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_view_aggregateRequest] | chat_ticket_user_view_aggregateRequest
    /** An array relationship */
    chat_tickets?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_ticketsRequest] | chat_ticketsRequest
    /** An aggregate relationship */
    chat_tickets_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_tickets_aggregateRequest] | chat_tickets_aggregateRequest
    /** fetch data from the table: "chat_tickets_view" */
    chat_tickets_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_view_bool_exp | null)},chat_tickets_viewRequest] | chat_tickets_viewRequest
    /** fetch aggregated fields from the table: "chat_tickets_view" */
    chat_tickets_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_view_bool_exp | null)},chat_tickets_view_aggregateRequest] | chat_tickets_view_aggregateRequest
    /** 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_basic_data" */
    directory_user_basic_data?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_basic_data_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_basic_data_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_basic_data_bool_exp | null)},directory_user_basic_dataRequest] | directory_user_basic_dataRequest
    /** fetch aggregated fields from the table: "directory_user_basic_data" */
    directory_user_basic_data_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_basic_data_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_basic_data_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_basic_data_bool_exp | null)},directory_user_basic_data_aggregateRequest] | directory_user_basic_data_aggregateRequest
    /** fetch data from the table: "directory_user_basic_data" using primary key columns */
    directory_user_basic_data_by_pk?: [{user_id: Scalars['uuid']},directory_user_basic_dataRequest]
    /** 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: "directory_users" */
    directory_users?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_bool_exp | null)},directory_usersRequest] | directory_usersRequest
    /** fetch aggregated fields from the table: "directory_users" */
    directory_users_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_bool_exp | null)},directory_users_aggregateRequest] | directory_users_aggregateRequest
    /** An array relationship */
    directory_users_auth_logs?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logsRequest] | directory_users_auth_logsRequest
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logs_aggregateRequest] | directory_users_auth_logs_aggregateRequest
    /** fetch data from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_view_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_view_bool_exp | null)},directory_users_auth_logs_viewRequest] | directory_users_auth_logs_viewRequest
    /** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_view_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_view_bool_exp | null)},directory_users_auth_logs_view_aggregateRequest] | directory_users_auth_logs_view_aggregateRequest
    /** fetch data from the table: "directory_users" using primary key columns */
    directory_users_by_pk?: [{id: Scalars['uuid']},directory_usersRequest]
    /** fetch data from the table: "proxy_document_patient" */
    proxy_document_patient?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patientRequest] | proxy_document_patientRequest
    /** fetch aggregated fields from the table: "proxy_document_patient" */
    proxy_document_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patient_aggregateRequest] | proxy_document_patient_aggregateRequest
    /** fetch data from the table: "proxy_document_patient_view" */
    proxy_document_patient_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_document_patient_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_document_patient_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_view_bool_exp | null)},proxy_document_patient_viewRequest] | proxy_document_patient_viewRequest
    /** fetch aggregated fields from the table: "proxy_document_patient_view" */
    proxy_document_patient_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_document_patient_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_document_patient_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_view_bool_exp | null)},proxy_document_patient_view_aggregateRequest] | proxy_document_patient_view_aggregateRequest
    /** An array relationship */
    proxy_documents?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documentsRequest] | proxy_documentsRequest
    /** An aggregate relationship */
    proxy_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documents_aggregateRequest] | proxy_documents_aggregateRequest
    /** fetch data from the table: "proxy_documents_view" */
    proxy_documents_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_viewRequest] | proxy_documents_viewRequest
    /** fetch aggregated fields from the table: "proxy_documents_view" */
    proxy_documents_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_view_aggregateRequest] | proxy_documents_view_aggregateRequest
    /** An array relationship */
    proxy_queries?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest] | proxy_queriesRequest
    /** An aggregate relationship */
    proxy_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queries_aggregateRequest] | proxy_queries_aggregateRequest
    /** fetch data from the table: "proxy_queries_view" */
    proxy_queries_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_queries_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_queries_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_view_bool_exp | null)},proxy_queries_viewRequest] | proxy_queries_viewRequest
    /** fetch aggregated fields from the table: "proxy_queries_view" */
    proxy_queries_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_queries_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_queries_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_view_bool_exp | null)},proxy_queries_view_aggregateRequest] | proxy_queries_view_aggregateRequest
    /** fetch data from the table: "services" */
    services?: [{
    /** distinct select on columns */
    distinct_on?: (services_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (services_order_by[] | null),
    /** filter the rows returned */
    where?: (services_bool_exp | null)},servicesRequest] | servicesRequest
    /** fetch aggregated fields from the table: "services" */
    services_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (services_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (services_order_by[] | null),
    /** filter the rows returned */
    where?: (services_bool_exp | null)},services_aggregateRequest] | services_aggregateRequest
    /** fetch data from the table: "services" using primary key columns */
    services_by_pk?: [{name: Scalars['String']},servicesRequest]
    /** An array relationship */
    table_metadata?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadataRequest] | table_metadataRequest
    /** An aggregate relationship */
    table_metadata_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadata_aggregateRequest] | table_metadata_aggregateRequest
    /** fetch data from the table: "table_metadata" using primary key columns */
    table_metadata_by_pk?: [{id: Scalars['uuid']},table_metadataRequest]
    /** fetch data from the table: "tables" */
    tables?: [{
    /** distinct select on columns */
    distinct_on?: (tables_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (tables_order_by[] | null),
    /** filter the rows returned */
    where?: (tables_bool_exp | null)},tablesRequest] | tablesRequest
    /** fetch aggregated fields from the table: "tables" */
    tables_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (tables_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (tables_order_by[] | null),
    /** filter the rows returned */
    where?: (tables_bool_exp | null)},tables_aggregateRequest] | tables_aggregateRequest
    /** fetch data from the table: "tables" using primary key columns */
    tables_by_pk?: [{name: Scalars['String']},tablesRequest]
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "services" */
export interface servicesRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    table_metadata?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadataRequest] | table_metadataRequest
    /** An aggregate relationship */
    table_metadata_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadata_aggregateRequest] | table_metadata_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "services" */
export interface services_aggregateRequest{
    aggregate?: services_aggregate_fieldsRequest
    nodes?: servicesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "services" */
export interface services_aggregate_fieldsRequest{
    count?: [{columns?: (services_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: services_max_fieldsRequest
    min?: services_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "services". All fields are combined with a logical 'AND'. */
export interface services_bool_exp {_and?: (services_bool_exp[] | null),_not?: (services_bool_exp | null),_or?: (services_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),table_metadata?: (table_metadata_bool_exp | null),table_metadata_aggregate?: (table_metadata_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "services_enum". All fields are combined with logical 'AND'. */
export interface services_enum_comparison_exp {_eq?: (services_enum | null),_in?: (services_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (services_enum | null),_nin?: (services_enum[] | null)}


/** input type for inserting data into table "services" */
export interface services_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),table_metadata?: (table_metadata_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface services_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface services_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "services" */
export interface services_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: servicesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "services" */
export interface services_obj_rel_insert_input {data: services_insert_input,
/** upsert condition */
on_conflict?: (services_on_conflict | null)}


/** on_conflict condition type for table "services" */
export interface services_on_conflict {constraint: services_constraint,update_columns: services_update_column[],where?: (services_bool_exp | null)}


/** Ordering options when selecting data from "services". */
export interface services_order_by {comment?: (order_by | null),name?: (order_by | null),table_metadata_aggregate?: (table_metadata_aggregate_order_by | null)}


/** primary key columns input for table: services */
export interface services_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "services" */
export interface services_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "services" */
export interface services_stream_cursor_input {
/** Stream column input with initial value */
initial_value: services_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface services_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface services_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (services_set_input | null),
/** filter the rows which have to be updated */
where: services_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)}

export interface subscription_rootRequest{
    /** fetch data from the table: "adopus_AdgangLinjer" */
    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
    /** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
    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]
    /** fetch data from the table: "base_table" */
    base_table?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_tableRequest] | base_tableRequest
    /** fetch aggregated fields from the table: "base_table" */
    base_table_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_table_aggregateRequest] | base_table_aggregateRequest
    /** fetch data from the table: "base_table" using primary key columns */
    base_table_by_pk?: [{id: Scalars['uuid']},base_tableRequest]
    /** fetch data from the table in a streaming manner: "base_table" */
    base_table_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (base_table_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_tableRequest]
    /** An array relationship */
    basic_table_seen?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest] | basic_table_seenRequest
    /** An aggregate relationship */
    basic_table_seen_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (basic_table_seen_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (basic_table_seen_order_by[] | null),
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seen_aggregateRequest] | basic_table_seen_aggregateRequest
    /** fetch data from the table: "basic_table_seen" using primary key columns */
    basic_table_seen_by_pk?: [{id: Scalars['uuid'],user_id: Scalars['uuid']},basic_table_seenRequest]
    /** fetch data from the table in a streaming manner: "basic_table_seen" */
    basic_table_seen_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (basic_table_seen_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (basic_table_seen_bool_exp | null)},basic_table_seenRequest]
    /** An array relationship */
    calendar_events?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_eventsRequest] | calendar_eventsRequest
    /** An aggregate relationship */
    calendar_events_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_events_aggregateRequest] | calendar_events_aggregateRequest
    /** An array relationship */
    calendar_events_attendees?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendeesRequest] | calendar_events_attendeesRequest
    /** An aggregate relationship */
    calendar_events_attendees_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendees_aggregateRequest] | calendar_events_attendees_aggregateRequest
    /** fetch data from the table in a streaming manner: "calendar_events_attendees" */
    calendar_events_attendees_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_events_attendees_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendeesRequest]
    /** An array relationship */
    calendar_events_organizers?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizersRequest] | calendar_events_organizersRequest
    /** An aggregate relationship */
    calendar_events_organizers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizers_aggregateRequest] | calendar_events_organizers_aggregateRequest
    /** fetch data from the table in a streaming manner: "calendar_events_organizers" */
    calendar_events_organizers_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_events_organizers_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizersRequest]
    /** fetch data from the table in a streaming manner: "calendar_events" */
    calendar_events_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_events_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_eventsRequest]
    /** fetch data from the table: "calendar_events_view" */
    calendar_events_view?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_view_bool_exp | null)},calendar_events_viewRequest] | calendar_events_viewRequest
    /** fetch aggregated fields from the table: "calendar_events_view" */
    calendar_events_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_view_bool_exp | null)},calendar_events_view_aggregateRequest] | calendar_events_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "calendar_events_view" */
    calendar_events_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_events_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_events_view_bool_exp | null)},calendar_events_viewRequest]
    /** An array relationship */
    calendar_tasks?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasksRequest] | calendar_tasksRequest
    /** An aggregate relationship */
    calendar_tasks_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasks_aggregateRequest] | calendar_tasks_aggregateRequest
    /** fetch data from the table in a streaming manner: "calendar_tasks" */
    calendar_tasks_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_tasks_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasksRequest]
    /** fetch data from the table: "calendar_tasks_view" */
    calendar_tasks_view?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_view_bool_exp | null)},calendar_tasks_viewRequest] | calendar_tasks_viewRequest
    /** fetch aggregated fields from the table: "calendar_tasks_view" */
    calendar_tasks_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_view_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_view_bool_exp | null)},calendar_tasks_view_aggregateRequest] | calendar_tasks_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "calendar_tasks_view" */
    calendar_tasks_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (calendar_tasks_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (calendar_tasks_view_bool_exp | null)},calendar_tasks_viewRequest]
    /** fetch data from the table: "chat_attachments" */
    chat_attachments?: [{
    /** distinct select on columns */
    distinct_on?: (chat_attachments_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_attachments_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_attachments_bool_exp | null)},chat_attachmentsRequest] | chat_attachmentsRequest
    /** fetch aggregated fields from the table: "chat_attachments" */
    chat_attachments_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_attachments_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_attachments_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_attachments_bool_exp | null)},chat_attachments_aggregateRequest] | chat_attachments_aggregateRequest
    /** fetch data from the table: "chat_attachments" using primary key columns */
    chat_attachments_by_pk?: [{id: Scalars['uuid']},chat_attachmentsRequest]
    /** fetch data from the table in a streaming manner: "chat_attachments" */
    chat_attachments_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_attachments_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_attachments_bool_exp | null)},chat_attachmentsRequest]
    /** An array relationship */
    chat_ticket_messages?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messagesRequest] | chat_ticket_messagesRequest
    /** An aggregate relationship */
    chat_ticket_messages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messages_aggregateRequest] | chat_ticket_messages_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_ticket_messages" */
    chat_ticket_messages_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_ticket_messages_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messagesRequest]
    /** fetch data from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_view_bool_exp | null)},chat_ticket_messages_viewRequest] | chat_ticket_messages_viewRequest
    /** fetch aggregated fields from the table: "chat_ticket_messages_view" */
    chat_ticket_messages_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_view_bool_exp | null)},chat_ticket_messages_view_aggregateRequest] | chat_ticket_messages_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_ticket_messages_view" */
    chat_ticket_messages_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_ticket_messages_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_ticket_messages_view_bool_exp | null)},chat_ticket_messages_viewRequest]
    /** fetch data from the table: "chat_ticket_user" */
    chat_ticket_user?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_userRequest] | chat_ticket_userRequest
    /** fetch aggregated fields from the table: "chat_ticket_user" */
    chat_ticket_user_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_user_aggregateRequest] | chat_ticket_user_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_ticket_user" */
    chat_ticket_user_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_ticket_user_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_ticket_user_bool_exp | null)},chat_ticket_userRequest]
    /** fetch data from the table: "chat_ticket_user_view" */
    chat_ticket_user_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_viewRequest] | chat_ticket_user_viewRequest
    /** fetch aggregated fields from the table: "chat_ticket_user_view" */
    chat_ticket_user_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_user_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_user_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_view_aggregateRequest] | chat_ticket_user_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_ticket_user_view" */
    chat_ticket_user_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_ticket_user_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_ticket_user_view_bool_exp | null)},chat_ticket_user_viewRequest]
    /** An array relationship */
    chat_tickets?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_ticketsRequest] | chat_ticketsRequest
    /** An aggregate relationship */
    chat_tickets_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_tickets_aggregateRequest] | chat_tickets_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_tickets" */
    chat_tickets_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_tickets_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_ticketsRequest]
    /** fetch data from the table: "chat_tickets_view" */
    chat_tickets_view?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_view_bool_exp | null)},chat_tickets_viewRequest] | chat_tickets_viewRequest
    /** fetch aggregated fields from the table: "chat_tickets_view" */
    chat_tickets_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_view_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_view_bool_exp | null)},chat_tickets_view_aggregateRequest] | chat_tickets_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "chat_tickets_view" */
    chat_tickets_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (chat_tickets_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (chat_tickets_view_bool_exp | null)},chat_tickets_viewRequest]
    /** 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_basic_data" */
    directory_user_basic_data?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_basic_data_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_basic_data_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_basic_data_bool_exp | null)},directory_user_basic_dataRequest] | directory_user_basic_dataRequest
    /** fetch aggregated fields from the table: "directory_user_basic_data" */
    directory_user_basic_data_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_user_basic_data_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_basic_data_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_user_basic_data_bool_exp | null)},directory_user_basic_data_aggregateRequest] | directory_user_basic_data_aggregateRequest
    /** fetch data from the table: "directory_user_basic_data" using primary key columns */
    directory_user_basic_data_by_pk?: [{user_id: Scalars['uuid']},directory_user_basic_dataRequest]
    /** fetch data from the table in a streaming manner: "directory_user_basic_data" */
    directory_user_basic_data_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_basic_data_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_user_basic_data_bool_exp | null)},directory_user_basic_dataRequest]
    /** 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: "directory_users" */
    directory_users?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_bool_exp | null)},directory_usersRequest] | directory_usersRequest
    /** fetch aggregated fields from the table: "directory_users" */
    directory_users_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_bool_exp | null)},directory_users_aggregateRequest] | directory_users_aggregateRequest
    /** An array relationship */
    directory_users_auth_logs?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logsRequest] | directory_users_auth_logsRequest
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logs_aggregateRequest] | directory_users_auth_logs_aggregateRequest
    /** fetch data from the table in a streaming manner: "directory_users_auth_logs" */
    directory_users_auth_logs_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_users_auth_logs_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logsRequest]
    /** fetch data from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_view_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_view_bool_exp | null)},directory_users_auth_logs_viewRequest] | directory_users_auth_logs_viewRequest
    /** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_view_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_view_bool_exp | null)},directory_users_auth_logs_view_aggregateRequest] | directory_users_auth_logs_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "directory_users_auth_logs_view" */
    directory_users_auth_logs_view_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_users_auth_logs_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_users_auth_logs_view_bool_exp | null)},directory_users_auth_logs_viewRequest]
    /** fetch data from the table: "directory_users" using primary key columns */
    directory_users_by_pk?: [{id: Scalars['uuid']},directory_usersRequest]
    /** fetch data from the table in a streaming manner: "directory_users" */
    directory_users_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_users_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (directory_users_bool_exp | null)},directory_usersRequest]
    /** fetch data from the table: "proxy_document_patient" */
    proxy_document_patient?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patientRequest] | proxy_document_patientRequest
    /** fetch aggregated fields from the table: "proxy_document_patient" */
    proxy_document_patient_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patient_aggregateRequest] | proxy_document_patient_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_document_patient" */
    proxy_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: (proxy_document_patient_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patientRequest]
    /** fetch data from the table: "proxy_document_patient_view" */
    proxy_document_patient_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_document_patient_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_document_patient_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_view_bool_exp | null)},proxy_document_patient_viewRequest] | proxy_document_patient_viewRequest
    /** fetch aggregated fields from the table: "proxy_document_patient_view" */
    proxy_document_patient_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_document_patient_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_document_patient_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_view_bool_exp | null)},proxy_document_patient_view_aggregateRequest] | proxy_document_patient_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_document_patient_view" */
    proxy_document_patient_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (proxy_document_patient_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_document_patient_view_bool_exp | null)},proxy_document_patient_viewRequest]
    /** An array relationship */
    proxy_documents?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documentsRequest] | proxy_documentsRequest
    /** An aggregate relationship */
    proxy_documents_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documents_aggregateRequest] | proxy_documents_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_documents" */
    proxy_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: (proxy_documents_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_documents_bool_exp | null)},proxy_documentsRequest]
    /** fetch data from the table: "proxy_documents_view" */
    proxy_documents_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_viewRequest] | proxy_documents_viewRequest
    /** fetch aggregated fields from the table: "proxy_documents_view" */
    proxy_documents_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_documents_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_documents_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_view_aggregateRequest] | proxy_documents_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_documents_view" */
    proxy_documents_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (proxy_documents_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_documents_view_bool_exp | null)},proxy_documents_viewRequest]
    /** An array relationship */
    proxy_queries?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest] | proxy_queriesRequest
    /** An aggregate relationship */
    proxy_queries_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queries_aggregateRequest] | proxy_queries_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_queries" */
    proxy_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: (proxy_queries_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest]
    /** fetch data from the table: "proxy_queries_view" */
    proxy_queries_view?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_queries_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_queries_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_view_bool_exp | null)},proxy_queries_viewRequest] | proxy_queries_viewRequest
    /** fetch aggregated fields from the table: "proxy_queries_view" */
    proxy_queries_view_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_queries_view_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (proxy_queries_view_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_view_bool_exp | null)},proxy_queries_view_aggregateRequest] | proxy_queries_view_aggregateRequest
    /** fetch data from the table in a streaming manner: "proxy_queries_view" */
    proxy_queries_view_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (proxy_queries_view_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (proxy_queries_view_bool_exp | null)},proxy_queries_viewRequest]
    /** fetch data from the table: "services" */
    services?: [{
    /** distinct select on columns */
    distinct_on?: (services_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (services_order_by[] | null),
    /** filter the rows returned */
    where?: (services_bool_exp | null)},servicesRequest] | servicesRequest
    /** fetch aggregated fields from the table: "services" */
    services_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (services_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (services_order_by[] | null),
    /** filter the rows returned */
    where?: (services_bool_exp | null)},services_aggregateRequest] | services_aggregateRequest
    /** fetch data from the table: "services" using primary key columns */
    services_by_pk?: [{name: Scalars['String']},servicesRequest]
    /** fetch data from the table in a streaming manner: "services" */
    services_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (services_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (services_bool_exp | null)},servicesRequest]
    /** An array relationship */
    table_metadata?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadataRequest] | table_metadataRequest
    /** An aggregate relationship */
    table_metadata_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadata_aggregateRequest] | table_metadata_aggregateRequest
    /** fetch data from the table: "table_metadata" using primary key columns */
    table_metadata_by_pk?: [{id: Scalars['uuid']},table_metadataRequest]
    /** fetch data from the table in a streaming manner: "table_metadata" */
    table_metadata_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_metadata_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadataRequest]
    /** fetch data from the table: "tables" */
    tables?: [{
    /** distinct select on columns */
    distinct_on?: (tables_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (tables_order_by[] | null),
    /** filter the rows returned */
    where?: (tables_bool_exp | null)},tablesRequest] | tablesRequest
    /** fetch aggregated fields from the table: "tables" */
    tables_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (tables_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (tables_order_by[] | null),
    /** filter the rows returned */
    where?: (tables_bool_exp | null)},tables_aggregateRequest] | tables_aggregateRequest
    /** fetch data from the table: "tables" using primary key columns */
    tables_by_pk?: [{name: Scalars['String']},tablesRequest]
    /** fetch data from the table in a streaming manner: "tables" */
    tables_stream?: [{
    /** maximum number of rows returned in a single batch */
    batch_size: Scalars['Int'],
    /** cursor to stream the results returned by the query */
    cursor: (tables_stream_cursor_input | null)[],
    /** filter the rows returned */
    where?: (tables_bool_exp | null)},tablesRequest]
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** columns and relationships of "table_metadata" */
export interface table_metadataRequest{
    /** An array relationship */
    base_tables?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_tableRequest] | base_tableRequest
    /** An aggregate relationship */
    base_tables_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (base_table_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (base_table_order_by[] | null),
    /** filter the rows returned */
    where?: (base_table_bool_exp | null)},base_table_aggregateRequest] | base_table_aggregateRequest
    /** An array relationship */
    calendar_events?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_eventsRequest] | calendar_eventsRequest
    /** An aggregate relationship */
    calendar_events_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_bool_exp | null)},calendar_events_aggregateRequest] | calendar_events_aggregateRequest
    /** An array relationship */
    calendar_events_attendees?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendeesRequest] | calendar_events_attendeesRequest
    /** An aggregate relationship */
    calendar_events_attendees_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_attendees_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_attendees_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_attendees_bool_exp | null)},calendar_events_attendees_aggregateRequest] | calendar_events_attendees_aggregateRequest
    /** An array relationship */
    calendar_events_organizers?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizersRequest] | calendar_events_organizersRequest
    /** An aggregate relationship */
    calendar_events_organizers_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_events_organizers_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_events_organizers_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_events_organizers_bool_exp | null)},calendar_events_organizers_aggregateRequest] | calendar_events_organizers_aggregateRequest
    /** An array relationship */
    calendar_tasks?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasksRequest] | calendar_tasksRequest
    /** An aggregate relationship */
    calendar_tasks_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (calendar_tasks_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (calendar_tasks_order_by[] | null),
    /** filter the rows returned */
    where?: (calendar_tasks_bool_exp | null)},calendar_tasks_aggregateRequest] | calendar_tasks_aggregateRequest
    /** An array relationship */
    chat_ticket_messages?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messagesRequest] | chat_ticket_messagesRequest
    /** An aggregate relationship */
    chat_ticket_messages_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_ticket_messages_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_ticket_messages_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_ticket_messages_bool_exp | null)},chat_ticket_messages_aggregateRequest] | chat_ticket_messages_aggregateRequest
    /** An array relationship */
    chat_tickets?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_ticketsRequest] | chat_ticketsRequest
    /** An aggregate relationship */
    chat_tickets_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (chat_tickets_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** skip the first n rows. Use only with order_by */
    offset?: (Scalars['Int'] | null),
    /** sort the rows by one or more columns */
    order_by?: (chat_tickets_order_by[] | null),
    /** filter the rows returned */
    where?: (chat_tickets_bool_exp | null)},chat_tickets_aggregateRequest] | chat_tickets_aggregateRequest
    /** An array relationship */
    directory_users_auth_logs?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logsRequest] | directory_users_auth_logsRequest
    /** An aggregate relationship */
    directory_users_auth_logs_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (directory_users_auth_logs_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_users_auth_logs_order_by[] | null),
    /** filter the rows returned */
    where?: (directory_users_auth_logs_bool_exp | null)},directory_users_auth_logs_aggregateRequest] | directory_users_auth_logs_aggregateRequest
    id?: boolean | number
    /** An array relationship */
    proxy_document_patients?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patientRequest] | proxy_document_patientRequest
    /** An aggregate relationship */
    proxy_document_patients_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_document_patient_bool_exp | null)},proxy_document_patient_aggregateRequest] | proxy_document_patient_aggregateRequest
    /** An array relationship */
    proxy_queries_bases?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queriesRequest] | proxy_queriesRequest
    /** An aggregate relationship */
    proxy_queries_bases_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
    /** filter the rows returned */
    where?: (proxy_queries_bool_exp | null)},proxy_queries_aggregateRequest] | proxy_queries_aggregateRequest
    service?: boolean | number
    /** An object relationship */
    serviceByService?: servicesRequest
    /** An object relationship */
    table?: tablesRequest
    table_name?: boolean | number
    trigger_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "table_metadata" */
export interface table_metadata_aggregateRequest{
    aggregate?: table_metadata_aggregate_fieldsRequest
    nodes?: table_metadataRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}

export interface table_metadata_aggregate_bool_exp {count?: (table_metadata_aggregate_bool_exp_count | null)}

export interface table_metadata_aggregate_bool_exp_count {arguments?: (table_metadata_select_column[] | null),distinct?: (Scalars['Boolean'] | null),filter?: (table_metadata_bool_exp | null),predicate: Int_comparison_exp}


/** aggregate fields of "table_metadata" */
export interface table_metadata_aggregate_fieldsRequest{
    count?: [{columns?: (table_metadata_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: table_metadata_max_fieldsRequest
    min?: table_metadata_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by aggregate values of table "table_metadata" */
export interface table_metadata_aggregate_order_by {count?: (order_by | null),max?: (table_metadata_max_order_by | null),min?: (table_metadata_min_order_by | null)}


/** input type for inserting array relation for remote table "table_metadata" */
export interface table_metadata_arr_rel_insert_input {data: table_metadata_insert_input[],
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}


/** Boolean expression to filter rows from the table "table_metadata". All fields are combined with a logical 'AND'. */
export interface table_metadata_bool_exp {_and?: (table_metadata_bool_exp[] | null),_not?: (table_metadata_bool_exp | null),_or?: (table_metadata_bool_exp[] | null),base_tables?: (base_table_bool_exp | null),base_tables_aggregate?: (base_table_aggregate_bool_exp | null),calendar_events?: (calendar_events_bool_exp | null),calendar_events_aggregate?: (calendar_events_aggregate_bool_exp | null),calendar_events_attendees?: (calendar_events_attendees_bool_exp | null),calendar_events_attendees_aggregate?: (calendar_events_attendees_aggregate_bool_exp | null),calendar_events_organizers?: (calendar_events_organizers_bool_exp | null),calendar_events_organizers_aggregate?: (calendar_events_organizers_aggregate_bool_exp | null),calendar_tasks?: (calendar_tasks_bool_exp | null),calendar_tasks_aggregate?: (calendar_tasks_aggregate_bool_exp | null),chat_ticket_messages?: (chat_ticket_messages_bool_exp | null),chat_ticket_messages_aggregate?: (chat_ticket_messages_aggregate_bool_exp | null),chat_tickets?: (chat_tickets_bool_exp | null),chat_tickets_aggregate?: (chat_tickets_aggregate_bool_exp | null),directory_users_auth_logs?: (directory_users_auth_logs_bool_exp | null),directory_users_auth_logs_aggregate?: (directory_users_auth_logs_aggregate_bool_exp | null),id?: (uuid_comparison_exp | null),proxy_document_patients?: (proxy_document_patient_bool_exp | null),proxy_document_patients_aggregate?: (proxy_document_patient_aggregate_bool_exp | null),proxy_queries_bases?: (proxy_queries_bool_exp | null),proxy_queries_bases_aggregate?: (proxy_queries_aggregate_bool_exp | null),service?: (services_enum_comparison_exp | null),serviceByService?: (services_bool_exp | null),table?: (tables_bool_exp | null),table_name?: (tables_enum_comparison_exp | null),trigger_name?: (String_comparison_exp | null)}


/** input type for inserting data into table "table_metadata" */
export interface table_metadata_insert_input {base_tables?: (base_table_arr_rel_insert_input | null),calendar_events?: (calendar_events_arr_rel_insert_input | null),calendar_events_attendees?: (calendar_events_attendees_arr_rel_insert_input | null),calendar_events_organizers?: (calendar_events_organizers_arr_rel_insert_input | null),calendar_tasks?: (calendar_tasks_arr_rel_insert_input | null),chat_ticket_messages?: (chat_ticket_messages_arr_rel_insert_input | null),chat_tickets?: (chat_tickets_arr_rel_insert_input | null),directory_users_auth_logs?: (directory_users_auth_logs_arr_rel_insert_input | null),id?: (Scalars['uuid'] | null),proxy_document_patients?: (proxy_document_patient_arr_rel_insert_input | null),proxy_queries_bases?: (proxy_queries_arr_rel_insert_input | null),service?: (services_enum | null),serviceByService?: (services_obj_rel_insert_input | null),table?: (tables_obj_rel_insert_input | null),table_name?: (tables_enum | null),trigger_name?: (Scalars['String'] | null)}


/** aggregate max on columns */
export interface table_metadata_max_fieldsRequest{
    id?: boolean | number
    trigger_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by max() on columns of table "table_metadata" */
export interface table_metadata_max_order_by {id?: (order_by | null),trigger_name?: (order_by | null)}


/** aggregate min on columns */
export interface table_metadata_min_fieldsRequest{
    id?: boolean | number
    trigger_name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** order by min() on columns of table "table_metadata" */
export interface table_metadata_min_order_by {id?: (order_by | null),trigger_name?: (order_by | null)}


/** response of any mutation on the table "table_metadata" */
export interface table_metadata_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: table_metadataRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "table_metadata" */
export interface table_metadata_obj_rel_insert_input {data: table_metadata_insert_input,
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}


/** on_conflict condition type for table "table_metadata" */
export interface table_metadata_on_conflict {constraint: table_metadata_constraint,update_columns: table_metadata_update_column[],where?: (table_metadata_bool_exp | null)}


/** Ordering options when selecting data from "table_metadata". */
export interface table_metadata_order_by {base_tables_aggregate?: (base_table_aggregate_order_by | null),calendar_events_aggregate?: (calendar_events_aggregate_order_by | null),calendar_events_attendees_aggregate?: (calendar_events_attendees_aggregate_order_by | null),calendar_events_organizers_aggregate?: (calendar_events_organizers_aggregate_order_by | null),calendar_tasks_aggregate?: (calendar_tasks_aggregate_order_by | null),chat_ticket_messages_aggregate?: (chat_ticket_messages_aggregate_order_by | null),chat_tickets_aggregate?: (chat_tickets_aggregate_order_by | null),directory_users_auth_logs_aggregate?: (directory_users_auth_logs_aggregate_order_by | null),id?: (order_by | null),proxy_document_patients_aggregate?: (proxy_document_patient_aggregate_order_by | null),proxy_queries_bases_aggregate?: (proxy_queries_aggregate_order_by | null),service?: (order_by | null),serviceByService?: (services_order_by | null),table?: (tables_order_by | null),table_name?: (order_by | null),trigger_name?: (order_by | null)}


/** primary key columns input for table: table_metadata */
export interface table_metadata_pk_columns_input {id: Scalars['uuid']}


/** input type for updating data in table "table_metadata" */
export interface table_metadata_set_input {id?: (Scalars['uuid'] | null),service?: (services_enum | null),table_name?: (tables_enum | null),trigger_name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "table_metadata" */
export interface table_metadata_stream_cursor_input {
/** Stream column input with initial value */
initial_value: table_metadata_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface table_metadata_stream_cursor_value_input {id?: (Scalars['uuid'] | null),service?: (services_enum | null),table_name?: (tables_enum | null),trigger_name?: (Scalars['String'] | null)}

export interface table_metadata_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (table_metadata_set_input | null),
/** filter the rows which have to be updated */
where: table_metadata_bool_exp}


/** columns and relationships of "tables" */
export interface tablesRequest{
    comment?: boolean | number
    name?: boolean | number
    /** An array relationship */
    table_metadata?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadataRequest] | table_metadataRequest
    /** An aggregate relationship */
    table_metadata_aggregate?: [{
    /** distinct select on columns */
    distinct_on?: (table_metadata_select_column[] | null),
    /** limit the number of rows returned */
    limit?: (Scalars['Int'] | null),
    /** 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_metadata_order_by[] | null),
    /** filter the rows returned */
    where?: (table_metadata_bool_exp | null)},table_metadata_aggregateRequest] | table_metadata_aggregateRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregated selection of "tables" */
export interface tables_aggregateRequest{
    aggregate?: tables_aggregate_fieldsRequest
    nodes?: tablesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate fields of "tables" */
export interface tables_aggregate_fieldsRequest{
    count?: [{columns?: (tables_select_column[] | null),distinct?: (Scalars['Boolean'] | null)}] | boolean | number
    max?: tables_max_fieldsRequest
    min?: tables_min_fieldsRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** Boolean expression to filter rows from the table "tables". All fields are combined with a logical 'AND'. */
export interface tables_bool_exp {_and?: (tables_bool_exp[] | null),_not?: (tables_bool_exp | null),_or?: (tables_bool_exp[] | null),comment?: (String_comparison_exp | null),name?: (String_comparison_exp | null),table_metadata?: (table_metadata_bool_exp | null),table_metadata_aggregate?: (table_metadata_aggregate_bool_exp | null)}


/** Boolean expression to compare columns of type "tables_enum". All fields are combined with logical 'AND'. */
export interface tables_enum_comparison_exp {_eq?: (tables_enum | null),_in?: (tables_enum[] | null),_is_null?: (Scalars['Boolean'] | null),_neq?: (tables_enum | null),_nin?: (tables_enum[] | null)}


/** input type for inserting data into table "tables" */
export interface tables_insert_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null),table_metadata?: (table_metadata_arr_rel_insert_input | null)}


/** aggregate max on columns */
export interface tables_max_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** aggregate min on columns */
export interface tables_min_fieldsRequest{
    comment?: boolean | number
    name?: boolean | number
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** response of any mutation on the table "tables" */
export interface tables_mutation_responseRequest{
    /** number of rows affected by the mutation */
    affected_rows?: boolean | number
    /** data from the rows affected by the mutation */
    returning?: tablesRequest
    __typename?: boolean | number
    __scalar?: boolean | number
}


/** input type for inserting object relation for remote table "tables" */
export interface tables_obj_rel_insert_input {data: tables_insert_input,
/** upsert condition */
on_conflict?: (tables_on_conflict | null)}


/** on_conflict condition type for table "tables" */
export interface tables_on_conflict {constraint: tables_constraint,update_columns: tables_update_column[],where?: (tables_bool_exp | null)}


/** Ordering options when selecting data from "tables". */
export interface tables_order_by {comment?: (order_by | null),name?: (order_by | null),table_metadata_aggregate?: (table_metadata_aggregate_order_by | null)}


/** primary key columns input for table: tables */
export interface tables_pk_columns_input {name: Scalars['String']}


/** input type for updating data in table "tables" */
export interface tables_set_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}


/** Streaming cursor of the table "tables" */
export interface tables_stream_cursor_input {
/** Stream column input with initial value */
initial_value: tables_stream_cursor_value_input,
/** cursor ordering */
ordering?: (cursor_ordering | null)}


/** Initial value of the column from where the streaming should start */
export interface tables_stream_cursor_value_input {comment?: (Scalars['String'] | null),name?: (Scalars['String'] | null)}

export interface tables_updates {
/** sets the columns of the filtered rows to the given values */
_set?: (tables_set_input | null),
/** filter the rows which have to be updated */
where: tables_bool_exp}


/** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
export interface timestamp_comparison_exp {_eq?: (Scalars['timestamp'] | null),_gt?: (Scalars['timestamp'] | null),_gte?: (Scalars['timestamp'] | null),_in?: (Scalars['timestamp'][] | null),_is_null?: (Scalars['Boolean'] | null),_lt?: (Scalars['timestamp'] | null),_lte?: (Scalars['timestamp'] | null),_neq?: (Scalars['timestamp'] | null),_nin?: (Scalars['timestamp'][] | 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)}


/** 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 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 base_table_possibleTypes: string[] = ['base_table']
export const isbase_table = (obj?: { __typename?: any } | null): obj is base_table => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table"')
  return base_table_possibleTypes.includes(obj.__typename)
}



const base_table_aggregate_possibleTypes: string[] = ['base_table_aggregate']
export const isbase_table_aggregate = (obj?: { __typename?: any } | null): obj is base_table_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table_aggregate"')
  return base_table_aggregate_possibleTypes.includes(obj.__typename)
}



const base_table_aggregate_fields_possibleTypes: string[] = ['base_table_aggregate_fields']
export const isbase_table_aggregate_fields = (obj?: { __typename?: any } | null): obj is base_table_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table_aggregate_fields"')
  return base_table_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const base_table_max_fields_possibleTypes: string[] = ['base_table_max_fields']
export const isbase_table_max_fields = (obj?: { __typename?: any } | null): obj is base_table_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table_max_fields"')
  return base_table_max_fields_possibleTypes.includes(obj.__typename)
}



const base_table_min_fields_possibleTypes: string[] = ['base_table_min_fields']
export const isbase_table_min_fields = (obj?: { __typename?: any } | null): obj is base_table_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table_min_fields"')
  return base_table_min_fields_possibleTypes.includes(obj.__typename)
}



const base_table_mutation_response_possibleTypes: string[] = ['base_table_mutation_response']
export const isbase_table_mutation_response = (obj?: { __typename?: any } | null): obj is base_table_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbase_table_mutation_response"')
  return base_table_mutation_response_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_possibleTypes: string[] = ['basic_table_seen']
export const isbasic_table_seen = (obj?: { __typename?: any } | null): obj is basic_table_seen => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen"')
  return basic_table_seen_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_aggregate_possibleTypes: string[] = ['basic_table_seen_aggregate']
export const isbasic_table_seen_aggregate = (obj?: { __typename?: any } | null): obj is basic_table_seen_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen_aggregate"')
  return basic_table_seen_aggregate_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_aggregate_fields_possibleTypes: string[] = ['basic_table_seen_aggregate_fields']
export const isbasic_table_seen_aggregate_fields = (obj?: { __typename?: any } | null): obj is basic_table_seen_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen_aggregate_fields"')
  return basic_table_seen_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_max_fields_possibleTypes: string[] = ['basic_table_seen_max_fields']
export const isbasic_table_seen_max_fields = (obj?: { __typename?: any } | null): obj is basic_table_seen_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen_max_fields"')
  return basic_table_seen_max_fields_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_min_fields_possibleTypes: string[] = ['basic_table_seen_min_fields']
export const isbasic_table_seen_min_fields = (obj?: { __typename?: any } | null): obj is basic_table_seen_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen_min_fields"')
  return basic_table_seen_min_fields_possibleTypes.includes(obj.__typename)
}



const basic_table_seen_mutation_response_possibleTypes: string[] = ['basic_table_seen_mutation_response']
export const isbasic_table_seen_mutation_response = (obj?: { __typename?: any } | null): obj is basic_table_seen_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isbasic_table_seen_mutation_response"')
  return basic_table_seen_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_events_possibleTypes: string[] = ['calendar_events']
export const iscalendar_events = (obj?: { __typename?: any } | null): obj is calendar_events => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events"')
  return calendar_events_possibleTypes.includes(obj.__typename)
}



const calendar_events_aggregate_possibleTypes: string[] = ['calendar_events_aggregate']
export const iscalendar_events_aggregate = (obj?: { __typename?: any } | null): obj is calendar_events_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_aggregate"')
  return calendar_events_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_events_aggregate_fields_possibleTypes: string[] = ['calendar_events_aggregate_fields']
export const iscalendar_events_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_events_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_aggregate_fields"')
  return calendar_events_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_possibleTypes: string[] = ['calendar_events_attendees']
export const iscalendar_events_attendees = (obj?: { __typename?: any } | null): obj is calendar_events_attendees => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees"')
  return calendar_events_attendees_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_aggregate_possibleTypes: string[] = ['calendar_events_attendees_aggregate']
export const iscalendar_events_attendees_aggregate = (obj?: { __typename?: any } | null): obj is calendar_events_attendees_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees_aggregate"')
  return calendar_events_attendees_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_aggregate_fields_possibleTypes: string[] = ['calendar_events_attendees_aggregate_fields']
export const iscalendar_events_attendees_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_events_attendees_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees_aggregate_fields"')
  return calendar_events_attendees_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_max_fields_possibleTypes: string[] = ['calendar_events_attendees_max_fields']
export const iscalendar_events_attendees_max_fields = (obj?: { __typename?: any } | null): obj is calendar_events_attendees_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees_max_fields"')
  return calendar_events_attendees_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_min_fields_possibleTypes: string[] = ['calendar_events_attendees_min_fields']
export const iscalendar_events_attendees_min_fields = (obj?: { __typename?: any } | null): obj is calendar_events_attendees_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees_min_fields"')
  return calendar_events_attendees_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_attendees_mutation_response_possibleTypes: string[] = ['calendar_events_attendees_mutation_response']
export const iscalendar_events_attendees_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_events_attendees_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_attendees_mutation_response"')
  return calendar_events_attendees_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_events_max_fields_possibleTypes: string[] = ['calendar_events_max_fields']
export const iscalendar_events_max_fields = (obj?: { __typename?: any } | null): obj is calendar_events_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_max_fields"')
  return calendar_events_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_min_fields_possibleTypes: string[] = ['calendar_events_min_fields']
export const iscalendar_events_min_fields = (obj?: { __typename?: any } | null): obj is calendar_events_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_min_fields"')
  return calendar_events_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_mutation_response_possibleTypes: string[] = ['calendar_events_mutation_response']
export const iscalendar_events_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_events_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_mutation_response"')
  return calendar_events_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_possibleTypes: string[] = ['calendar_events_organizers']
export const iscalendar_events_organizers = (obj?: { __typename?: any } | null): obj is calendar_events_organizers => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers"')
  return calendar_events_organizers_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_aggregate_possibleTypes: string[] = ['calendar_events_organizers_aggregate']
export const iscalendar_events_organizers_aggregate = (obj?: { __typename?: any } | null): obj is calendar_events_organizers_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers_aggregate"')
  return calendar_events_organizers_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_aggregate_fields_possibleTypes: string[] = ['calendar_events_organizers_aggregate_fields']
export const iscalendar_events_organizers_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_events_organizers_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers_aggregate_fields"')
  return calendar_events_organizers_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_max_fields_possibleTypes: string[] = ['calendar_events_organizers_max_fields']
export const iscalendar_events_organizers_max_fields = (obj?: { __typename?: any } | null): obj is calendar_events_organizers_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers_max_fields"')
  return calendar_events_organizers_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_min_fields_possibleTypes: string[] = ['calendar_events_organizers_min_fields']
export const iscalendar_events_organizers_min_fields = (obj?: { __typename?: any } | null): obj is calendar_events_organizers_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers_min_fields"')
  return calendar_events_organizers_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_organizers_mutation_response_possibleTypes: string[] = ['calendar_events_organizers_mutation_response']
export const iscalendar_events_organizers_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_events_organizers_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_organizers_mutation_response"')
  return calendar_events_organizers_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_possibleTypes: string[] = ['calendar_events_view']
export const iscalendar_events_view = (obj?: { __typename?: any } | null): obj is calendar_events_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view"')
  return calendar_events_view_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_aggregate_possibleTypes: string[] = ['calendar_events_view_aggregate']
export const iscalendar_events_view_aggregate = (obj?: { __typename?: any } | null): obj is calendar_events_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view_aggregate"')
  return calendar_events_view_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_aggregate_fields_possibleTypes: string[] = ['calendar_events_view_aggregate_fields']
export const iscalendar_events_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_events_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view_aggregate_fields"')
  return calendar_events_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_max_fields_possibleTypes: string[] = ['calendar_events_view_max_fields']
export const iscalendar_events_view_max_fields = (obj?: { __typename?: any } | null): obj is calendar_events_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view_max_fields"')
  return calendar_events_view_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_min_fields_possibleTypes: string[] = ['calendar_events_view_min_fields']
export const iscalendar_events_view_min_fields = (obj?: { __typename?: any } | null): obj is calendar_events_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view_min_fields"')
  return calendar_events_view_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_events_view_mutation_response_possibleTypes: string[] = ['calendar_events_view_mutation_response']
export const iscalendar_events_view_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_events_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_events_view_mutation_response"')
  return calendar_events_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_possibleTypes: string[] = ['calendar_tasks']
export const iscalendar_tasks = (obj?: { __typename?: any } | null): obj is calendar_tasks => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks"')
  return calendar_tasks_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_aggregate_possibleTypes: string[] = ['calendar_tasks_aggregate']
export const iscalendar_tasks_aggregate = (obj?: { __typename?: any } | null): obj is calendar_tasks_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_aggregate"')
  return calendar_tasks_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_aggregate_fields_possibleTypes: string[] = ['calendar_tasks_aggregate_fields']
export const iscalendar_tasks_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_aggregate_fields"')
  return calendar_tasks_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_max_fields_possibleTypes: string[] = ['calendar_tasks_max_fields']
export const iscalendar_tasks_max_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_max_fields"')
  return calendar_tasks_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_min_fields_possibleTypes: string[] = ['calendar_tasks_min_fields']
export const iscalendar_tasks_min_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_min_fields"')
  return calendar_tasks_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_mutation_response_possibleTypes: string[] = ['calendar_tasks_mutation_response']
export const iscalendar_tasks_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_tasks_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_mutation_response"')
  return calendar_tasks_mutation_response_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_possibleTypes: string[] = ['calendar_tasks_view']
export const iscalendar_tasks_view = (obj?: { __typename?: any } | null): obj is calendar_tasks_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view"')
  return calendar_tasks_view_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_aggregate_possibleTypes: string[] = ['calendar_tasks_view_aggregate']
export const iscalendar_tasks_view_aggregate = (obj?: { __typename?: any } | null): obj is calendar_tasks_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view_aggregate"')
  return calendar_tasks_view_aggregate_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_aggregate_fields_possibleTypes: string[] = ['calendar_tasks_view_aggregate_fields']
export const iscalendar_tasks_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view_aggregate_fields"')
  return calendar_tasks_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_max_fields_possibleTypes: string[] = ['calendar_tasks_view_max_fields']
export const iscalendar_tasks_view_max_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view_max_fields"')
  return calendar_tasks_view_max_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_min_fields_possibleTypes: string[] = ['calendar_tasks_view_min_fields']
export const iscalendar_tasks_view_min_fields = (obj?: { __typename?: any } | null): obj is calendar_tasks_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view_min_fields"')
  return calendar_tasks_view_min_fields_possibleTypes.includes(obj.__typename)
}



const calendar_tasks_view_mutation_response_possibleTypes: string[] = ['calendar_tasks_view_mutation_response']
export const iscalendar_tasks_view_mutation_response = (obj?: { __typename?: any } | null): obj is calendar_tasks_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "iscalendar_tasks_view_mutation_response"')
  return calendar_tasks_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_attachments_possibleTypes: string[] = ['chat_attachments']
export const ischat_attachments = (obj?: { __typename?: any } | null): obj is chat_attachments => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments"')
  return chat_attachments_possibleTypes.includes(obj.__typename)
}



const chat_attachments_aggregate_possibleTypes: string[] = ['chat_attachments_aggregate']
export const ischat_attachments_aggregate = (obj?: { __typename?: any } | null): obj is chat_attachments_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments_aggregate"')
  return chat_attachments_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_attachments_aggregate_fields_possibleTypes: string[] = ['chat_attachments_aggregate_fields']
export const ischat_attachments_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_attachments_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments_aggregate_fields"')
  return chat_attachments_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_attachments_max_fields_possibleTypes: string[] = ['chat_attachments_max_fields']
export const ischat_attachments_max_fields = (obj?: { __typename?: any } | null): obj is chat_attachments_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments_max_fields"')
  return chat_attachments_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_attachments_min_fields_possibleTypes: string[] = ['chat_attachments_min_fields']
export const ischat_attachments_min_fields = (obj?: { __typename?: any } | null): obj is chat_attachments_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments_min_fields"')
  return chat_attachments_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_attachments_mutation_response_possibleTypes: string[] = ['chat_attachments_mutation_response']
export const ischat_attachments_mutation_response = (obj?: { __typename?: any } | null): obj is chat_attachments_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_attachments_mutation_response"')
  return chat_attachments_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_possibleTypes: string[] = ['chat_ticket_messages']
export const ischat_ticket_messages = (obj?: { __typename?: any } | null): obj is chat_ticket_messages => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages"')
  return chat_ticket_messages_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_aggregate_possibleTypes: string[] = ['chat_ticket_messages_aggregate']
export const ischat_ticket_messages_aggregate = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_aggregate"')
  return chat_ticket_messages_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_aggregate_fields_possibleTypes: string[] = ['chat_ticket_messages_aggregate_fields']
export const ischat_ticket_messages_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_aggregate_fields"')
  return chat_ticket_messages_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_max_fields_possibleTypes: string[] = ['chat_ticket_messages_max_fields']
export const ischat_ticket_messages_max_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_max_fields"')
  return chat_ticket_messages_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_min_fields_possibleTypes: string[] = ['chat_ticket_messages_min_fields']
export const ischat_ticket_messages_min_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_min_fields"')
  return chat_ticket_messages_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_mutation_response_possibleTypes: string[] = ['chat_ticket_messages_mutation_response']
export const ischat_ticket_messages_mutation_response = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_mutation_response"')
  return chat_ticket_messages_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_possibleTypes: string[] = ['chat_ticket_messages_view']
export const ischat_ticket_messages_view = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view"')
  return chat_ticket_messages_view_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_aggregate_possibleTypes: string[] = ['chat_ticket_messages_view_aggregate']
export const ischat_ticket_messages_view_aggregate = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view_aggregate"')
  return chat_ticket_messages_view_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_aggregate_fields_possibleTypes: string[] = ['chat_ticket_messages_view_aggregate_fields']
export const ischat_ticket_messages_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view_aggregate_fields"')
  return chat_ticket_messages_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_max_fields_possibleTypes: string[] = ['chat_ticket_messages_view_max_fields']
export const ischat_ticket_messages_view_max_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view_max_fields"')
  return chat_ticket_messages_view_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_min_fields_possibleTypes: string[] = ['chat_ticket_messages_view_min_fields']
export const ischat_ticket_messages_view_min_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view_min_fields"')
  return chat_ticket_messages_view_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_messages_view_mutation_response_possibleTypes: string[] = ['chat_ticket_messages_view_mutation_response']
export const ischat_ticket_messages_view_mutation_response = (obj?: { __typename?: any } | null): obj is chat_ticket_messages_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_messages_view_mutation_response"')
  return chat_ticket_messages_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_possibleTypes: string[] = ['chat_ticket_user']
export const ischat_ticket_user = (obj?: { __typename?: any } | null): obj is chat_ticket_user => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user"')
  return chat_ticket_user_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_aggregate_possibleTypes: string[] = ['chat_ticket_user_aggregate']
export const ischat_ticket_user_aggregate = (obj?: { __typename?: any } | null): obj is chat_ticket_user_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_aggregate"')
  return chat_ticket_user_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_aggregate_fields_possibleTypes: string[] = ['chat_ticket_user_aggregate_fields']
export const ischat_ticket_user_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_aggregate_fields"')
  return chat_ticket_user_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_max_fields_possibleTypes: string[] = ['chat_ticket_user_max_fields']
export const ischat_ticket_user_max_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_max_fields"')
  return chat_ticket_user_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_min_fields_possibleTypes: string[] = ['chat_ticket_user_min_fields']
export const ischat_ticket_user_min_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_min_fields"')
  return chat_ticket_user_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_mutation_response_possibleTypes: string[] = ['chat_ticket_user_mutation_response']
export const ischat_ticket_user_mutation_response = (obj?: { __typename?: any } | null): obj is chat_ticket_user_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_mutation_response"')
  return chat_ticket_user_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_possibleTypes: string[] = ['chat_ticket_user_view']
export const ischat_ticket_user_view = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view"')
  return chat_ticket_user_view_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_aggregate_possibleTypes: string[] = ['chat_ticket_user_view_aggregate']
export const ischat_ticket_user_view_aggregate = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view_aggregate"')
  return chat_ticket_user_view_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_aggregate_fields_possibleTypes: string[] = ['chat_ticket_user_view_aggregate_fields']
export const ischat_ticket_user_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view_aggregate_fields"')
  return chat_ticket_user_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_max_fields_possibleTypes: string[] = ['chat_ticket_user_view_max_fields']
export const ischat_ticket_user_view_max_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view_max_fields"')
  return chat_ticket_user_view_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_min_fields_possibleTypes: string[] = ['chat_ticket_user_view_min_fields']
export const ischat_ticket_user_view_min_fields = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view_min_fields"')
  return chat_ticket_user_view_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_ticket_user_view_mutation_response_possibleTypes: string[] = ['chat_ticket_user_view_mutation_response']
export const ischat_ticket_user_view_mutation_response = (obj?: { __typename?: any } | null): obj is chat_ticket_user_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_ticket_user_view_mutation_response"')
  return chat_ticket_user_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_tickets_possibleTypes: string[] = ['chat_tickets']
export const ischat_tickets = (obj?: { __typename?: any } | null): obj is chat_tickets => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets"')
  return chat_tickets_possibleTypes.includes(obj.__typename)
}



const chat_tickets_aggregate_possibleTypes: string[] = ['chat_tickets_aggregate']
export const ischat_tickets_aggregate = (obj?: { __typename?: any } | null): obj is chat_tickets_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_aggregate"')
  return chat_tickets_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_tickets_aggregate_fields_possibleTypes: string[] = ['chat_tickets_aggregate_fields']
export const ischat_tickets_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_aggregate_fields"')
  return chat_tickets_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_max_fields_possibleTypes: string[] = ['chat_tickets_max_fields']
export const ischat_tickets_max_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_max_fields"')
  return chat_tickets_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_min_fields_possibleTypes: string[] = ['chat_tickets_min_fields']
export const ischat_tickets_min_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_min_fields"')
  return chat_tickets_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_mutation_response_possibleTypes: string[] = ['chat_tickets_mutation_response']
export const ischat_tickets_mutation_response = (obj?: { __typename?: any } | null): obj is chat_tickets_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_mutation_response"')
  return chat_tickets_mutation_response_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_possibleTypes: string[] = ['chat_tickets_view']
export const ischat_tickets_view = (obj?: { __typename?: any } | null): obj is chat_tickets_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view"')
  return chat_tickets_view_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_aggregate_possibleTypes: string[] = ['chat_tickets_view_aggregate']
export const ischat_tickets_view_aggregate = (obj?: { __typename?: any } | null): obj is chat_tickets_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view_aggregate"')
  return chat_tickets_view_aggregate_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_aggregate_fields_possibleTypes: string[] = ['chat_tickets_view_aggregate_fields']
export const ischat_tickets_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view_aggregate_fields"')
  return chat_tickets_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_max_fields_possibleTypes: string[] = ['chat_tickets_view_max_fields']
export const ischat_tickets_view_max_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view_max_fields"')
  return chat_tickets_view_max_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_min_fields_possibleTypes: string[] = ['chat_tickets_view_min_fields']
export const ischat_tickets_view_min_fields = (obj?: { __typename?: any } | null): obj is chat_tickets_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view_min_fields"')
  return chat_tickets_view_min_fields_possibleTypes.includes(obj.__typename)
}



const chat_tickets_view_mutation_response_possibleTypes: string[] = ['chat_tickets_view_mutation_response']
export const ischat_tickets_view_mutation_response = (obj?: { __typename?: any } | null): obj is chat_tickets_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "ischat_tickets_view_mutation_response"')
  return chat_tickets_view_mutation_response_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_basic_data_possibleTypes: string[] = ['directory_user_basic_data']
export const isdirectory_user_basic_data = (obj?: { __typename?: any } | null): obj is directory_user_basic_data => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data"')
  return directory_user_basic_data_possibleTypes.includes(obj.__typename)
}



const directory_user_basic_data_aggregate_possibleTypes: string[] = ['directory_user_basic_data_aggregate']
export const isdirectory_user_basic_data_aggregate = (obj?: { __typename?: any } | null): obj is directory_user_basic_data_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data_aggregate"')
  return directory_user_basic_data_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_user_basic_data_aggregate_fields_possibleTypes: string[] = ['directory_user_basic_data_aggregate_fields']
export const isdirectory_user_basic_data_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_user_basic_data_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data_aggregate_fields"')
  return directory_user_basic_data_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_basic_data_max_fields_possibleTypes: string[] = ['directory_user_basic_data_max_fields']
export const isdirectory_user_basic_data_max_fields = (obj?: { __typename?: any } | null): obj is directory_user_basic_data_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data_max_fields"')
  return directory_user_basic_data_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_basic_data_min_fields_possibleTypes: string[] = ['directory_user_basic_data_min_fields']
export const isdirectory_user_basic_data_min_fields = (obj?: { __typename?: any } | null): obj is directory_user_basic_data_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data_min_fields"')
  return directory_user_basic_data_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_user_basic_data_mutation_response_possibleTypes: string[] = ['directory_user_basic_data_mutation_response']
export const isdirectory_user_basic_data_mutation_response = (obj?: { __typename?: any } | null): obj is directory_user_basic_data_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_user_basic_data_mutation_response"')
  return directory_user_basic_data_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 directory_users_possibleTypes: string[] = ['directory_users']
export const isdirectory_users = (obj?: { __typename?: any } | null): obj is directory_users => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users"')
  return directory_users_possibleTypes.includes(obj.__typename)
}



const directory_users_aggregate_possibleTypes: string[] = ['directory_users_aggregate']
export const isdirectory_users_aggregate = (obj?: { __typename?: any } | null): obj is directory_users_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_aggregate"')
  return directory_users_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_users_aggregate_fields_possibleTypes: string[] = ['directory_users_aggregate_fields']
export const isdirectory_users_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_users_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_aggregate_fields"')
  return directory_users_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_possibleTypes: string[] = ['directory_users_auth_logs']
export const isdirectory_users_auth_logs = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs"')
  return directory_users_auth_logs_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_aggregate_possibleTypes: string[] = ['directory_users_auth_logs_aggregate']
export const isdirectory_users_auth_logs_aggregate = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_aggregate"')
  return directory_users_auth_logs_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_aggregate_fields_possibleTypes: string[] = ['directory_users_auth_logs_aggregate_fields']
export const isdirectory_users_auth_logs_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_aggregate_fields"')
  return directory_users_auth_logs_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_max_fields_possibleTypes: string[] = ['directory_users_auth_logs_max_fields']
export const isdirectory_users_auth_logs_max_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_max_fields"')
  return directory_users_auth_logs_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_min_fields_possibleTypes: string[] = ['directory_users_auth_logs_min_fields']
export const isdirectory_users_auth_logs_min_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_min_fields"')
  return directory_users_auth_logs_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_mutation_response_possibleTypes: string[] = ['directory_users_auth_logs_mutation_response']
export const isdirectory_users_auth_logs_mutation_response = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_mutation_response"')
  return directory_users_auth_logs_mutation_response_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_possibleTypes: string[] = ['directory_users_auth_logs_view']
export const isdirectory_users_auth_logs_view = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view"')
  return directory_users_auth_logs_view_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_aggregate_possibleTypes: string[] = ['directory_users_auth_logs_view_aggregate']
export const isdirectory_users_auth_logs_view_aggregate = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view_aggregate"')
  return directory_users_auth_logs_view_aggregate_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_aggregate_fields_possibleTypes: string[] = ['directory_users_auth_logs_view_aggregate_fields']
export const isdirectory_users_auth_logs_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view_aggregate_fields"')
  return directory_users_auth_logs_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_max_fields_possibleTypes: string[] = ['directory_users_auth_logs_view_max_fields']
export const isdirectory_users_auth_logs_view_max_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view_max_fields"')
  return directory_users_auth_logs_view_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_min_fields_possibleTypes: string[] = ['directory_users_auth_logs_view_min_fields']
export const isdirectory_users_auth_logs_view_min_fields = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view_min_fields"')
  return directory_users_auth_logs_view_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_auth_logs_view_mutation_response_possibleTypes: string[] = ['directory_users_auth_logs_view_mutation_response']
export const isdirectory_users_auth_logs_view_mutation_response = (obj?: { __typename?: any } | null): obj is directory_users_auth_logs_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_auth_logs_view_mutation_response"')
  return directory_users_auth_logs_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const directory_users_max_fields_possibleTypes: string[] = ['directory_users_max_fields']
export const isdirectory_users_max_fields = (obj?: { __typename?: any } | null): obj is directory_users_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_max_fields"')
  return directory_users_max_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_min_fields_possibleTypes: string[] = ['directory_users_min_fields']
export const isdirectory_users_min_fields = (obj?: { __typename?: any } | null): obj is directory_users_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_min_fields"')
  return directory_users_min_fields_possibleTypes.includes(obj.__typename)
}



const directory_users_mutation_response_possibleTypes: string[] = ['directory_users_mutation_response']
export const isdirectory_users_mutation_response = (obj?: { __typename?: any } | null): obj is directory_users_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isdirectory_users_mutation_response"')
  return directory_users_mutation_response_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 proxy_document_patient_possibleTypes: string[] = ['proxy_document_patient']
export const isproxy_document_patient = (obj?: { __typename?: any } | null): obj is proxy_document_patient => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient"')
  return proxy_document_patient_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_aggregate_possibleTypes: string[] = ['proxy_document_patient_aggregate']
export const isproxy_document_patient_aggregate = (obj?: { __typename?: any } | null): obj is proxy_document_patient_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_aggregate"')
  return proxy_document_patient_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_aggregate_fields_possibleTypes: string[] = ['proxy_document_patient_aggregate_fields']
export const isproxy_document_patient_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_aggregate_fields"')
  return proxy_document_patient_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_avg_fields_possibleTypes: string[] = ['proxy_document_patient_avg_fields']
export const isproxy_document_patient_avg_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_avg_fields"')
  return proxy_document_patient_avg_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_max_fields_possibleTypes: string[] = ['proxy_document_patient_max_fields']
export const isproxy_document_patient_max_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_max_fields"')
  return proxy_document_patient_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_min_fields_possibleTypes: string[] = ['proxy_document_patient_min_fields']
export const isproxy_document_patient_min_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_min_fields"')
  return proxy_document_patient_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_mutation_response_possibleTypes: string[] = ['proxy_document_patient_mutation_response']
export const isproxy_document_patient_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_document_patient_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_mutation_response"')
  return proxy_document_patient_mutation_response_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_stddev_fields_possibleTypes: string[] = ['proxy_document_patient_stddev_fields']
export const isproxy_document_patient_stddev_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_stddev_fields"')
  return proxy_document_patient_stddev_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_stddev_pop_fields_possibleTypes: string[] = ['proxy_document_patient_stddev_pop_fields']
export const isproxy_document_patient_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_stddev_pop_fields"')
  return proxy_document_patient_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_stddev_samp_fields_possibleTypes: string[] = ['proxy_document_patient_stddev_samp_fields']
export const isproxy_document_patient_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_stddev_samp_fields"')
  return proxy_document_patient_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_sum_fields_possibleTypes: string[] = ['proxy_document_patient_sum_fields']
export const isproxy_document_patient_sum_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_sum_fields"')
  return proxy_document_patient_sum_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_var_pop_fields_possibleTypes: string[] = ['proxy_document_patient_var_pop_fields']
export const isproxy_document_patient_var_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_var_pop_fields"')
  return proxy_document_patient_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_var_samp_fields_possibleTypes: string[] = ['proxy_document_patient_var_samp_fields']
export const isproxy_document_patient_var_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_var_samp_fields"')
  return proxy_document_patient_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_variance_fields_possibleTypes: string[] = ['proxy_document_patient_variance_fields']
export const isproxy_document_patient_variance_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_variance_fields"')
  return proxy_document_patient_variance_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_possibleTypes: string[] = ['proxy_document_patient_view']
export const isproxy_document_patient_view = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view"')
  return proxy_document_patient_view_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_aggregate_possibleTypes: string[] = ['proxy_document_patient_view_aggregate']
export const isproxy_document_patient_view_aggregate = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_aggregate"')
  return proxy_document_patient_view_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_aggregate_fields_possibleTypes: string[] = ['proxy_document_patient_view_aggregate_fields']
export const isproxy_document_patient_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_aggregate_fields"')
  return proxy_document_patient_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_avg_fields_possibleTypes: string[] = ['proxy_document_patient_view_avg_fields']
export const isproxy_document_patient_view_avg_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_avg_fields"')
  return proxy_document_patient_view_avg_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_max_fields_possibleTypes: string[] = ['proxy_document_patient_view_max_fields']
export const isproxy_document_patient_view_max_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_max_fields"')
  return proxy_document_patient_view_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_min_fields_possibleTypes: string[] = ['proxy_document_patient_view_min_fields']
export const isproxy_document_patient_view_min_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_min_fields"')
  return proxy_document_patient_view_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_mutation_response_possibleTypes: string[] = ['proxy_document_patient_view_mutation_response']
export const isproxy_document_patient_view_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_mutation_response"')
  return proxy_document_patient_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_stddev_fields_possibleTypes: string[] = ['proxy_document_patient_view_stddev_fields']
export const isproxy_document_patient_view_stddev_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_stddev_fields"')
  return proxy_document_patient_view_stddev_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_stddev_pop_fields_possibleTypes: string[] = ['proxy_document_patient_view_stddev_pop_fields']
export const isproxy_document_patient_view_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_stddev_pop_fields"')
  return proxy_document_patient_view_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_stddev_samp_fields_possibleTypes: string[] = ['proxy_document_patient_view_stddev_samp_fields']
export const isproxy_document_patient_view_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_stddev_samp_fields"')
  return proxy_document_patient_view_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_sum_fields_possibleTypes: string[] = ['proxy_document_patient_view_sum_fields']
export const isproxy_document_patient_view_sum_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_sum_fields"')
  return proxy_document_patient_view_sum_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_var_pop_fields_possibleTypes: string[] = ['proxy_document_patient_view_var_pop_fields']
export const isproxy_document_patient_view_var_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_var_pop_fields"')
  return proxy_document_patient_view_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_var_samp_fields_possibleTypes: string[] = ['proxy_document_patient_view_var_samp_fields']
export const isproxy_document_patient_view_var_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_var_samp_fields"')
  return proxy_document_patient_view_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_document_patient_view_variance_fields_possibleTypes: string[] = ['proxy_document_patient_view_variance_fields']
export const isproxy_document_patient_view_variance_fields = (obj?: { __typename?: any } | null): obj is proxy_document_patient_view_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_document_patient_view_variance_fields"')
  return proxy_document_patient_view_variance_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_possibleTypes: string[] = ['proxy_documents']
export const isproxy_documents = (obj?: { __typename?: any } | null): obj is proxy_documents => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents"')
  return proxy_documents_possibleTypes.includes(obj.__typename)
}



const proxy_documents_aggregate_possibleTypes: string[] = ['proxy_documents_aggregate']
export const isproxy_documents_aggregate = (obj?: { __typename?: any } | null): obj is proxy_documents_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_aggregate"')
  return proxy_documents_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_documents_aggregate_fields_possibleTypes: string[] = ['proxy_documents_aggregate_fields']
export const isproxy_documents_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_aggregate_fields"')
  return proxy_documents_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_avg_fields_possibleTypes: string[] = ['proxy_documents_avg_fields']
export const isproxy_documents_avg_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_avg_fields"')
  return proxy_documents_avg_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_max_fields_possibleTypes: string[] = ['proxy_documents_max_fields']
export const isproxy_documents_max_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_max_fields"')
  return proxy_documents_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_min_fields_possibleTypes: string[] = ['proxy_documents_min_fields']
export const isproxy_documents_min_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_min_fields"')
  return proxy_documents_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_mutation_response_possibleTypes: string[] = ['proxy_documents_mutation_response']
export const isproxy_documents_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_documents_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_mutation_response"')
  return proxy_documents_mutation_response_possibleTypes.includes(obj.__typename)
}



const proxy_documents_stddev_fields_possibleTypes: string[] = ['proxy_documents_stddev_fields']
export const isproxy_documents_stddev_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_stddev_fields"')
  return proxy_documents_stddev_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_stddev_pop_fields_possibleTypes: string[] = ['proxy_documents_stddev_pop_fields']
export const isproxy_documents_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_stddev_pop_fields"')
  return proxy_documents_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_stddev_samp_fields_possibleTypes: string[] = ['proxy_documents_stddev_samp_fields']
export const isproxy_documents_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_stddev_samp_fields"')
  return proxy_documents_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_sum_fields_possibleTypes: string[] = ['proxy_documents_sum_fields']
export const isproxy_documents_sum_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_sum_fields"')
  return proxy_documents_sum_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_var_pop_fields_possibleTypes: string[] = ['proxy_documents_var_pop_fields']
export const isproxy_documents_var_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_var_pop_fields"')
  return proxy_documents_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_var_samp_fields_possibleTypes: string[] = ['proxy_documents_var_samp_fields']
export const isproxy_documents_var_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_var_samp_fields"')
  return proxy_documents_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_variance_fields_possibleTypes: string[] = ['proxy_documents_variance_fields']
export const isproxy_documents_variance_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_variance_fields"')
  return proxy_documents_variance_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_possibleTypes: string[] = ['proxy_documents_view']
export const isproxy_documents_view = (obj?: { __typename?: any } | null): obj is proxy_documents_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view"')
  return proxy_documents_view_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_aggregate_possibleTypes: string[] = ['proxy_documents_view_aggregate']
export const isproxy_documents_view_aggregate = (obj?: { __typename?: any } | null): obj is proxy_documents_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_aggregate"')
  return proxy_documents_view_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_aggregate_fields_possibleTypes: string[] = ['proxy_documents_view_aggregate_fields']
export const isproxy_documents_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_aggregate_fields"')
  return proxy_documents_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_avg_fields_possibleTypes: string[] = ['proxy_documents_view_avg_fields']
export const isproxy_documents_view_avg_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_avg_fields"')
  return proxy_documents_view_avg_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_max_fields_possibleTypes: string[] = ['proxy_documents_view_max_fields']
export const isproxy_documents_view_max_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_max_fields"')
  return proxy_documents_view_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_min_fields_possibleTypes: string[] = ['proxy_documents_view_min_fields']
export const isproxy_documents_view_min_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_min_fields"')
  return proxy_documents_view_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_mutation_response_possibleTypes: string[] = ['proxy_documents_view_mutation_response']
export const isproxy_documents_view_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_documents_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_mutation_response"')
  return proxy_documents_view_mutation_response_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_stddev_fields_possibleTypes: string[] = ['proxy_documents_view_stddev_fields']
export const isproxy_documents_view_stddev_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_stddev_fields"')
  return proxy_documents_view_stddev_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_stddev_pop_fields_possibleTypes: string[] = ['proxy_documents_view_stddev_pop_fields']
export const isproxy_documents_view_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_stddev_pop_fields"')
  return proxy_documents_view_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_stddev_samp_fields_possibleTypes: string[] = ['proxy_documents_view_stddev_samp_fields']
export const isproxy_documents_view_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_stddev_samp_fields"')
  return proxy_documents_view_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_sum_fields_possibleTypes: string[] = ['proxy_documents_view_sum_fields']
export const isproxy_documents_view_sum_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_sum_fields"')
  return proxy_documents_view_sum_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_var_pop_fields_possibleTypes: string[] = ['proxy_documents_view_var_pop_fields']
export const isproxy_documents_view_var_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_var_pop_fields"')
  return proxy_documents_view_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_var_samp_fields_possibleTypes: string[] = ['proxy_documents_view_var_samp_fields']
export const isproxy_documents_view_var_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_var_samp_fields"')
  return proxy_documents_view_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_documents_view_variance_fields_possibleTypes: string[] = ['proxy_documents_view_variance_fields']
export const isproxy_documents_view_variance_fields = (obj?: { __typename?: any } | null): obj is proxy_documents_view_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_documents_view_variance_fields"')
  return proxy_documents_view_variance_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_possibleTypes: string[] = ['proxy_queries']
export const isproxy_queries = (obj?: { __typename?: any } | null): obj is proxy_queries => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries"')
  return proxy_queries_possibleTypes.includes(obj.__typename)
}



const proxy_queries_aggregate_possibleTypes: string[] = ['proxy_queries_aggregate']
export const isproxy_queries_aggregate = (obj?: { __typename?: any } | null): obj is proxy_queries_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_aggregate"')
  return proxy_queries_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_queries_aggregate_fields_possibleTypes: string[] = ['proxy_queries_aggregate_fields']
export const isproxy_queries_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_aggregate_fields"')
  return proxy_queries_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_avg_fields_possibleTypes: string[] = ['proxy_queries_avg_fields']
export const isproxy_queries_avg_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_avg_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_avg_fields"')
  return proxy_queries_avg_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_max_fields_possibleTypes: string[] = ['proxy_queries_max_fields']
export const isproxy_queries_max_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_max_fields"')
  return proxy_queries_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_min_fields_possibleTypes: string[] = ['proxy_queries_min_fields']
export const isproxy_queries_min_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_min_fields"')
  return proxy_queries_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_mutation_response_possibleTypes: string[] = ['proxy_queries_mutation_response']
export const isproxy_queries_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_queries_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_mutation_response"')
  return proxy_queries_mutation_response_possibleTypes.includes(obj.__typename)
}



const proxy_queries_stddev_fields_possibleTypes: string[] = ['proxy_queries_stddev_fields']
export const isproxy_queries_stddev_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_stddev_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_stddev_fields"')
  return proxy_queries_stddev_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_stddev_pop_fields_possibleTypes: string[] = ['proxy_queries_stddev_pop_fields']
export const isproxy_queries_stddev_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_stddev_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_stddev_pop_fields"')
  return proxy_queries_stddev_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_stddev_samp_fields_possibleTypes: string[] = ['proxy_queries_stddev_samp_fields']
export const isproxy_queries_stddev_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_stddev_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_stddev_samp_fields"')
  return proxy_queries_stddev_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_sum_fields_possibleTypes: string[] = ['proxy_queries_sum_fields']
export const isproxy_queries_sum_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_sum_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_sum_fields"')
  return proxy_queries_sum_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_var_pop_fields_possibleTypes: string[] = ['proxy_queries_var_pop_fields']
export const isproxy_queries_var_pop_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_var_pop_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_var_pop_fields"')
  return proxy_queries_var_pop_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_var_samp_fields_possibleTypes: string[] = ['proxy_queries_var_samp_fields']
export const isproxy_queries_var_samp_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_var_samp_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_var_samp_fields"')
  return proxy_queries_var_samp_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_variance_fields_possibleTypes: string[] = ['proxy_queries_variance_fields']
export const isproxy_queries_variance_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_variance_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_variance_fields"')
  return proxy_queries_variance_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_possibleTypes: string[] = ['proxy_queries_view']
export const isproxy_queries_view = (obj?: { __typename?: any } | null): obj is proxy_queries_view => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view"')
  return proxy_queries_view_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_aggregate_possibleTypes: string[] = ['proxy_queries_view_aggregate']
export const isproxy_queries_view_aggregate = (obj?: { __typename?: any } | null): obj is proxy_queries_view_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view_aggregate"')
  return proxy_queries_view_aggregate_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_aggregate_fields_possibleTypes: string[] = ['proxy_queries_view_aggregate_fields']
export const isproxy_queries_view_aggregate_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_view_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view_aggregate_fields"')
  return proxy_queries_view_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_max_fields_possibleTypes: string[] = ['proxy_queries_view_max_fields']
export const isproxy_queries_view_max_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_view_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view_max_fields"')
  return proxy_queries_view_max_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_min_fields_possibleTypes: string[] = ['proxy_queries_view_min_fields']
export const isproxy_queries_view_min_fields = (obj?: { __typename?: any } | null): obj is proxy_queries_view_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view_min_fields"')
  return proxy_queries_view_min_fields_possibleTypes.includes(obj.__typename)
}



const proxy_queries_view_mutation_response_possibleTypes: string[] = ['proxy_queries_view_mutation_response']
export const isproxy_queries_view_mutation_response = (obj?: { __typename?: any } | null): obj is proxy_queries_view_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isproxy_queries_view_mutation_response"')
  return proxy_queries_view_mutation_response_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 services_possibleTypes: string[] = ['services']
export const isservices = (obj?: { __typename?: any } | null): obj is services => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices"')
  return services_possibleTypes.includes(obj.__typename)
}



const services_aggregate_possibleTypes: string[] = ['services_aggregate']
export const isservices_aggregate = (obj?: { __typename?: any } | null): obj is services_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices_aggregate"')
  return services_aggregate_possibleTypes.includes(obj.__typename)
}



const services_aggregate_fields_possibleTypes: string[] = ['services_aggregate_fields']
export const isservices_aggregate_fields = (obj?: { __typename?: any } | null): obj is services_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices_aggregate_fields"')
  return services_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const services_max_fields_possibleTypes: string[] = ['services_max_fields']
export const isservices_max_fields = (obj?: { __typename?: any } | null): obj is services_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices_max_fields"')
  return services_max_fields_possibleTypes.includes(obj.__typename)
}



const services_min_fields_possibleTypes: string[] = ['services_min_fields']
export const isservices_min_fields = (obj?: { __typename?: any } | null): obj is services_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices_min_fields"')
  return services_min_fields_possibleTypes.includes(obj.__typename)
}



const services_mutation_response_possibleTypes: string[] = ['services_mutation_response']
export const isservices_mutation_response = (obj?: { __typename?: any } | null): obj is services_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "isservices_mutation_response"')
  return services_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_metadata_possibleTypes: string[] = ['table_metadata']
export const istable_metadata = (obj?: { __typename?: any } | null): obj is table_metadata => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata"')
  return table_metadata_possibleTypes.includes(obj.__typename)
}



const table_metadata_aggregate_possibleTypes: string[] = ['table_metadata_aggregate']
export const istable_metadata_aggregate = (obj?: { __typename?: any } | null): obj is table_metadata_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata_aggregate"')
  return table_metadata_aggregate_possibleTypes.includes(obj.__typename)
}



const table_metadata_aggregate_fields_possibleTypes: string[] = ['table_metadata_aggregate_fields']
export const istable_metadata_aggregate_fields = (obj?: { __typename?: any } | null): obj is table_metadata_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata_aggregate_fields"')
  return table_metadata_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const table_metadata_max_fields_possibleTypes: string[] = ['table_metadata_max_fields']
export const istable_metadata_max_fields = (obj?: { __typename?: any } | null): obj is table_metadata_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata_max_fields"')
  return table_metadata_max_fields_possibleTypes.includes(obj.__typename)
}



const table_metadata_min_fields_possibleTypes: string[] = ['table_metadata_min_fields']
export const istable_metadata_min_fields = (obj?: { __typename?: any } | null): obj is table_metadata_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata_min_fields"')
  return table_metadata_min_fields_possibleTypes.includes(obj.__typename)
}



const table_metadata_mutation_response_possibleTypes: string[] = ['table_metadata_mutation_response']
export const istable_metadata_mutation_response = (obj?: { __typename?: any } | null): obj is table_metadata_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istable_metadata_mutation_response"')
  return table_metadata_mutation_response_possibleTypes.includes(obj.__typename)
}



const tables_possibleTypes: string[] = ['tables']
export const istables = (obj?: { __typename?: any } | null): obj is tables => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables"')
  return tables_possibleTypes.includes(obj.__typename)
}



const tables_aggregate_possibleTypes: string[] = ['tables_aggregate']
export const istables_aggregate = (obj?: { __typename?: any } | null): obj is tables_aggregate => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables_aggregate"')
  return tables_aggregate_possibleTypes.includes(obj.__typename)
}



const tables_aggregate_fields_possibleTypes: string[] = ['tables_aggregate_fields']
export const istables_aggregate_fields = (obj?: { __typename?: any } | null): obj is tables_aggregate_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables_aggregate_fields"')
  return tables_aggregate_fields_possibleTypes.includes(obj.__typename)
}



const tables_max_fields_possibleTypes: string[] = ['tables_max_fields']
export const istables_max_fields = (obj?: { __typename?: any } | null): obj is tables_max_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables_max_fields"')
  return tables_max_fields_possibleTypes.includes(obj.__typename)
}



const tables_min_fields_possibleTypes: string[] = ['tables_min_fields']
export const istables_min_fields = (obj?: { __typename?: any } | null): obj is tables_min_fields => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables_min_fields"')
  return tables_min_fields_possibleTypes.includes(obj.__typename)
}



const tables_mutation_response_possibleTypes: string[] = ['tables_mutation_response']
export const istables_mutation_response = (obj?: { __typename?: any } | null): obj is tables_mutation_response => {
  if (!obj?.__typename) throw new Error('__typename is missing in "istables_mutation_response"')
  return tables_mutation_response_possibleTypes.includes(obj.__typename)
}



/** permissions for therapist to access recipient from Adopus databases */
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']>}),
    
/** An object relationship */
directory_customersByCustomerID: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>})
}


/** permissions for therapist to access recipient from Adopus databases */
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']>}),
    
/** An object relationship */
directory_customersByCustomerID: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>})
}


/** 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 "base_table" */
export interface base_tablePromiseChain{
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "base_table" */
export interface base_tableObservableChain{
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "base_table" */
export interface base_table_aggregatePromiseChain{
    aggregate: (base_table_aggregate_fieldsPromiseChain & {get: <R extends base_table_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<base_table_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>})
}


/** aggregated selection of "base_table" */
export interface base_table_aggregateObservableChain{
    aggregate: (base_table_aggregate_fieldsObservableChain & {get: <R extends base_table_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<base_table_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>})
}


/** aggregate fields of "base_table" */
export interface base_table_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (base_table_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: (base_table_max_fieldsPromiseChain & {get: <R extends base_table_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_max_fields, R> | undefined)) => Promise<(FieldsSelection<base_table_max_fields, R> | undefined)>}),
    min: (base_table_min_fieldsPromiseChain & {get: <R extends base_table_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_min_fields, R> | undefined)) => Promise<(FieldsSelection<base_table_min_fields, R> | undefined)>})
}


/** aggregate fields of "base_table" */
export interface base_table_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (base_table_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: (base_table_max_fieldsObservableChain & {get: <R extends base_table_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_max_fields, R> | undefined)) => Observable<(FieldsSelection<base_table_max_fields, R> | undefined)>}),
    min: (base_table_min_fieldsObservableChain & {get: <R extends base_table_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<base_table_min_fields, R> | undefined)) => Observable<(FieldsSelection<base_table_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface base_table_max_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface base_table_max_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface base_table_min_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface base_table_min_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "base_table" */
export interface base_table_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 base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>})
}


/** response of any mutation on the table "base_table" */
export interface base_table_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 base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>})
}


/** columns and relationships of "basic_table_seen" */
export interface basic_table_seenPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "basic_table_seen" */
export interface basic_table_seenObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "basic_table_seen" */
export interface basic_table_seen_aggregatePromiseChain{
    aggregate: (basic_table_seen_aggregate_fieldsPromiseChain & {get: <R extends basic_table_seen_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})
}


/** aggregated selection of "basic_table_seen" */
export interface basic_table_seen_aggregateObservableChain{
    aggregate: (basic_table_seen_aggregate_fieldsObservableChain & {get: <R extends basic_table_seen_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})
}


/** aggregate fields of "basic_table_seen" */
export interface basic_table_seen_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (basic_table_seen_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: (basic_table_seen_max_fieldsPromiseChain & {get: <R extends basic_table_seen_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_max_fields, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_max_fields, R> | undefined)>}),
    min: (basic_table_seen_min_fieldsPromiseChain & {get: <R extends basic_table_seen_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_min_fields, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_min_fields, R> | undefined)>})
}


/** aggregate fields of "basic_table_seen" */
export interface basic_table_seen_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (basic_table_seen_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: (basic_table_seen_max_fieldsObservableChain & {get: <R extends basic_table_seen_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_max_fields, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_max_fields, R> | undefined)>}),
    min: (basic_table_seen_min_fieldsObservableChain & {get: <R extends basic_table_seen_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_min_fields, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface basic_table_seen_max_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface basic_table_seen_max_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface basic_table_seen_min_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface basic_table_seen_min_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "basic_table_seen" */
export interface basic_table_seen_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 basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})
}


/** response of any mutation on the table "basic_table_seen" */
export interface basic_table_seen_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 basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})
}


/** columns and relationships of "calendar_events" */
export interface calendar_eventsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "calendar_events" */
export interface calendar_eventsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "calendar_events" */
export interface calendar_events_aggregatePromiseChain{
    aggregate: (calendar_events_aggregate_fieldsPromiseChain & {get: <R extends calendar_events_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})
}


/** aggregated selection of "calendar_events" */
export interface calendar_events_aggregateObservableChain{
    aggregate: (calendar_events_aggregate_fieldsObservableChain & {get: <R extends calendar_events_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})
}


/** aggregate fields of "calendar_events" */
export interface calendar_events_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_events_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: (calendar_events_max_fieldsPromiseChain & {get: <R extends calendar_events_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_max_fields, R> | undefined)>}),
    min: (calendar_events_min_fieldsPromiseChain & {get: <R extends calendar_events_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_events" */
export interface calendar_events_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_events_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: (calendar_events_max_fieldsObservableChain & {get: <R extends calendar_events_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_max_fields, R> | undefined)>}),
    min: (calendar_events_min_fieldsObservableChain & {get: <R extends calendar_events_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_min_fields, R> | undefined)>})
}


/** columns and relationships of "calendar_events_attendees" */
export interface calendar_events_attendeesPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>}),
    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']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "calendar_events_attendees" */
export interface calendar_events_attendeesObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>}),
    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']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregatePromiseChain{
    aggregate: (calendar_events_attendees_aggregate_fieldsPromiseChain & {get: <R extends calendar_events_attendees_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})
}


/** aggregated selection of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregateObservableChain{
    aggregate: (calendar_events_attendees_aggregate_fieldsObservableChain & {get: <R extends calendar_events_attendees_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})
}


/** aggregate fields of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_events_attendees_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: (calendar_events_attendees_max_fieldsPromiseChain & {get: <R extends calendar_events_attendees_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_max_fields, R> | undefined)>}),
    min: (calendar_events_attendees_min_fieldsPromiseChain & {get: <R extends calendar_events_attendees_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_events_attendees" */
export interface calendar_events_attendees_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_events_attendees_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: (calendar_events_attendees_max_fieldsObservableChain & {get: <R extends calendar_events_attendees_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_max_fields, R> | undefined)>}),
    min: (calendar_events_attendees_min_fieldsObservableChain & {get: <R extends calendar_events_attendees_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_attendees_max_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_attendees_max_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_attendees_min_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_attendees_min_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "calendar_events_attendees" */
export interface calendar_events_attendees_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 calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})
}


/** response of any mutation on the table "calendar_events_attendees" */
export interface calendar_events_attendees_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 calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})
}


/** aggregate max on columns */
export interface calendar_events_max_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_max_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_min_fieldsPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_min_fieldsObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    created_by_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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)>}),
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "calendar_events" */
export interface calendar_events_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 calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})
}


/** response of any mutation on the table "calendar_events" */
export interface calendar_events_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 calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})
}


/** columns and relationships of "calendar_events_organizers" */
export interface calendar_events_organizersPromiseChain{
    
/** An object relationship */
calendar_events: (calendar_eventsPromiseChain & {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events, R> | undefined)) => Promise<(FieldsSelection<calendar_events, R> | undefined)>}),
    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']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "calendar_events_organizers" */
export interface calendar_events_organizersObservableChain{
    
/** An object relationship */
calendar_events: (calendar_eventsObservableChain & {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events, R> | undefined)) => Observable<(FieldsSelection<calendar_events, R> | undefined)>}),
    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']>}),
    event_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    journal_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregatePromiseChain{
    aggregate: (calendar_events_organizers_aggregate_fieldsPromiseChain & {get: <R extends calendar_events_organizers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})
}


/** aggregated selection of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregateObservableChain{
    aggregate: (calendar_events_organizers_aggregate_fieldsObservableChain & {get: <R extends calendar_events_organizers_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})
}


/** aggregate fields of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_events_organizers_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: (calendar_events_organizers_max_fieldsPromiseChain & {get: <R extends calendar_events_organizers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_max_fields, R> | undefined)>}),
    min: (calendar_events_organizers_min_fieldsPromiseChain & {get: <R extends calendar_events_organizers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_events_organizers" */
export interface calendar_events_organizers_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_events_organizers_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: (calendar_events_organizers_max_fieldsObservableChain & {get: <R extends calendar_events_organizers_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_max_fields, R> | undefined)>}),
    min: (calendar_events_organizers_min_fieldsObservableChain & {get: <R extends calendar_events_organizers_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_organizers_max_fieldsPromiseChain{
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_organizers_max_fieldsObservableChain{
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_organizers_min_fieldsPromiseChain{
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_events_organizers_min_fieldsObservableChain{
    event_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "calendar_events_organizers" */
export interface calendar_events_organizers_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 calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})
}


/** response of any mutation on the table "calendar_events_organizers" */
export interface calendar_events_organizers_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 calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})
}


/** columns and relationships of "calendar_events_view" */
export interface calendar_events_viewPromiseChain{
    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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "calendar_events_view" */
export interface calendar_events_viewObservableChain{
    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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "calendar_events_view" */
export interface calendar_events_view_aggregatePromiseChain{
    aggregate: (calendar_events_view_aggregate_fieldsPromiseChain & {get: <R extends calendar_events_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>})
}


/** aggregated selection of "calendar_events_view" */
export interface calendar_events_view_aggregateObservableChain{
    aggregate: (calendar_events_view_aggregate_fieldsObservableChain & {get: <R extends calendar_events_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>})
}


/** aggregate fields of "calendar_events_view" */
export interface calendar_events_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_events_view_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: (calendar_events_view_max_fieldsPromiseChain & {get: <R extends calendar_events_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_max_fields, R> | undefined)>}),
    min: (calendar_events_view_min_fieldsPromiseChain & {get: <R extends calendar_events_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_events_view" */
export interface calendar_events_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_events_view_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: (calendar_events_view_max_fieldsObservableChain & {get: <R extends calendar_events_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_max_fields, R> | undefined)>}),
    min: (calendar_events_view_min_fieldsObservableChain & {get: <R extends calendar_events_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface calendar_events_view_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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate max on columns */
export interface calendar_events_view_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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate min on columns */
export interface calendar_events_view_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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate min on columns */
export interface calendar_events_view_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_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** response of any mutation on the table "calendar_events_view" */
export interface calendar_events_view_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 calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>})
}


/** response of any mutation on the table "calendar_events_view" */
export interface calendar_events_view_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 calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>})
}


/** columns and relationships of "calendar_tasks" */
export interface calendar_tasksPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    task_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['timestamp']) => Promise<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "calendar_tasks" */
export interface calendar_tasksObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    description: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    task_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['timestamp']) => Observable<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "calendar_tasks" */
export interface calendar_tasks_aggregatePromiseChain{
    aggregate: (calendar_tasks_aggregate_fieldsPromiseChain & {get: <R extends calendar_tasks_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>})
}


/** aggregated selection of "calendar_tasks" */
export interface calendar_tasks_aggregateObservableChain{
    aggregate: (calendar_tasks_aggregate_fieldsObservableChain & {get: <R extends calendar_tasks_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>})
}


/** aggregate fields of "calendar_tasks" */
export interface calendar_tasks_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_tasks_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: (calendar_tasks_max_fieldsPromiseChain & {get: <R extends calendar_tasks_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_max_fields, R> | undefined)>}),
    min: (calendar_tasks_min_fieldsPromiseChain & {get: <R extends calendar_tasks_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_tasks" */
export interface calendar_tasks_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_tasks_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: (calendar_tasks_max_fieldsObservableChain & {get: <R extends calendar_tasks_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_max_fields, R> | undefined)>}),
    min: (calendar_tasks_min_fieldsObservableChain & {get: <R extends calendar_tasks_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface calendar_tasks_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    task_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface calendar_tasks_max_fieldsObservableChain{
    activity_id: ({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)>}),
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    task_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_tasks_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    task_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface calendar_tasks_min_fieldsObservableChain{
    activity_id: ({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)>}),
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    task_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "calendar_tasks" */
export interface calendar_tasks_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 calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>})
}


/** response of any mutation on the table "calendar_tasks" */
export interface calendar_tasks_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 calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>})
}


/** columns and relationships of "calendar_tasks_view" */
export interface calendar_tasks_viewPromiseChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    status: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "calendar_tasks_view" */
export interface calendar_tasks_viewObservableChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    status: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregatePromiseChain{
    aggregate: (calendar_tasks_view_aggregate_fieldsPromiseChain & {get: <R extends calendar_tasks_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>})
}


/** aggregated selection of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregateObservableChain{
    aggregate: (calendar_tasks_view_aggregate_fieldsObservableChain & {get: <R extends calendar_tasks_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>})
}


/** aggregate fields of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (calendar_tasks_view_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: (calendar_tasks_view_max_fieldsPromiseChain & {get: <R extends calendar_tasks_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_max_fields, R> | undefined)>}),
    min: (calendar_tasks_view_min_fieldsPromiseChain & {get: <R extends calendar_tasks_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "calendar_tasks_view" */
export interface calendar_tasks_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (calendar_tasks_view_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: (calendar_tasks_view_max_fieldsObservableChain & {get: <R extends calendar_tasks_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_max_fields, R> | undefined)>}),
    min: (calendar_tasks_view_min_fieldsObservableChain & {get: <R extends calendar_tasks_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface calendar_tasks_view_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    title: ({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 calendar_tasks_view_max_fieldsObservableChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    title: ({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 calendar_tasks_view_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    title: ({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 calendar_tasks_view_min_fieldsObservableChain{
    activity_id: ({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)>}),
    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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    title: ({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 "calendar_tasks_view" */
export interface calendar_tasks_view_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 calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>})
}


/** response of any mutation on the table "calendar_tasks_view" */
export interface calendar_tasks_view_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 calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>})
}


/** columns and relationships of "chat_attachments" */
export interface chat_attachmentsPromiseChain{
    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)>}),
    extension: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    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 "chat_attachments" */
export interface chat_attachmentsObservableChain{
    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)>}),
    extension: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    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 "chat_attachments" */
export interface chat_attachments_aggregatePromiseChain{
    aggregate: (chat_attachments_aggregate_fieldsPromiseChain & {get: <R extends chat_attachments_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>})
}


/** aggregated selection of "chat_attachments" */
export interface chat_attachments_aggregateObservableChain{
    aggregate: (chat_attachments_aggregate_fieldsObservableChain & {get: <R extends chat_attachments_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>})
}


/** aggregate fields of "chat_attachments" */
export interface chat_attachments_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_attachments_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: (chat_attachments_max_fieldsPromiseChain & {get: <R extends chat_attachments_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_max_fields, R> | undefined)>}),
    min: (chat_attachments_min_fieldsPromiseChain & {get: <R extends chat_attachments_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_attachments" */
export interface chat_attachments_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_attachments_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: (chat_attachments_max_fieldsObservableChain & {get: <R extends chat_attachments_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_max_fields, R> | undefined)>}),
    min: (chat_attachments_min_fieldsObservableChain & {get: <R extends chat_attachments_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_attachments_max_fieldsPromiseChain{
    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)>}),
    extension: ({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)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_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 chat_attachments_max_fieldsObservableChain{
    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)>}),
    extension: ({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)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_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 chat_attachments_min_fieldsPromiseChain{
    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)>}),
    extension: ({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)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_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 chat_attachments_min_fieldsObservableChain{
    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)>}),
    extension: ({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)>}),
    message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    path: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_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 "chat_attachments" */
export interface chat_attachments_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 chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>})
}


/** response of any mutation on the table "chat_attachments" */
export interface chat_attachments_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 chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>})
}


/** columns and relationships of "chat_ticket_messages" */
export interface chat_ticket_messagesPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An array relationship */
chatTicketUserViewByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** An aggregate relationship */
chatTicketUserViewByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** An object relationship */
chatTicketViewByTicketId: (chat_ticketsPromiseChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Promise<(FieldsSelection<chat_tickets, R> | undefined)>}),
    content: ({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)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "chat_ticket_messages" */
export interface chat_ticket_messagesObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An array relationship */
chatTicketUserViewByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** An aggregate relationship */
chatTicketUserViewByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** An object relationship */
chatTicketViewByTicketId: (chat_ticketsObservableChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Observable<(FieldsSelection<chat_tickets, R> | undefined)>}),
    content: ({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)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregatePromiseChain{
    aggregate: (chat_ticket_messages_aggregate_fieldsPromiseChain & {get: <R extends chat_ticket_messages_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>})
}


/** aggregated selection of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregateObservableChain{
    aggregate: (chat_ticket_messages_aggregate_fieldsObservableChain & {get: <R extends chat_ticket_messages_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>})
}


/** aggregate fields of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_ticket_messages_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: (chat_ticket_messages_max_fieldsPromiseChain & {get: <R extends chat_ticket_messages_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_max_fields, R> | undefined)>}),
    min: (chat_ticket_messages_min_fieldsPromiseChain & {get: <R extends chat_ticket_messages_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_ticket_messages" */
export interface chat_ticket_messages_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_ticket_messages_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: (chat_ticket_messages_max_fieldsObservableChain & {get: <R extends chat_ticket_messages_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_max_fields, R> | undefined)>}),
    min: (chat_ticket_messages_min_fieldsObservableChain & {get: <R extends chat_ticket_messages_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_messages_max_fieldsPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    content: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_messages_max_fieldsObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    content: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_messages_min_fieldsPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    content: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_messages_min_fieldsObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    content: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_message_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "chat_ticket_messages" */
export interface chat_ticket_messages_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 chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>})
}


/** response of any mutation on the table "chat_ticket_messages" */
export interface chat_ticket_messages_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 chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>})
}


/** columns and relationships of "chat_ticket_messages_view" */
export interface chat_ticket_messages_viewPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
chatTicketUserViewByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An aggregate relationship */
chatTicketUserViewByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** An object relationship */
chatTicketViewByTicketId: (chat_tickets_viewPromiseChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view, R> | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "chat_ticket_messages_view" */
export interface chat_ticket_messages_viewObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
chatTicketUserViewByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An aggregate relationship */
chatTicketUserViewByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** An object relationship */
chatTicketViewByTicketId: (chat_tickets_viewObservableChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view, R> | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregatePromiseChain{
    aggregate: (chat_ticket_messages_view_aggregate_fieldsPromiseChain & {get: <R extends chat_ticket_messages_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>})
}


/** aggregated selection of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregateObservableChain{
    aggregate: (chat_ticket_messages_view_aggregate_fieldsObservableChain & {get: <R extends chat_ticket_messages_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>})
}


/** aggregate fields of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_ticket_messages_view_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: (chat_ticket_messages_view_max_fieldsPromiseChain & {get: <R extends chat_ticket_messages_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_max_fields, R> | undefined)>}),
    min: (chat_ticket_messages_view_min_fieldsPromiseChain & {get: <R extends chat_ticket_messages_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_ticket_messages_view_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: (chat_ticket_messages_view_max_fieldsObservableChain & {get: <R extends chat_ticket_messages_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_max_fields, R> | undefined)>}),
    min: (chat_ticket_messages_view_min_fieldsObservableChain & {get: <R extends chat_ticket_messages_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_messages_view_max_fieldsPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_messages_view_max_fieldsObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_messages_view_min_fieldsPromiseChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_messages_view_min_fieldsObservableChain{
    author_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_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 chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>})
}


/** response of any mutation on the table "chat_ticket_messages_view" */
export interface chat_ticket_messages_view_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 chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>})
}


/** columns and relationships of "chat_ticket_user" */
export interface chat_ticket_userPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjerByActivityId: ((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_AdgangLinjerByActivityId_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>>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An object relationship */
chatTicketByTicketId: (chat_ticketsPromiseChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Promise<(FieldsSelection<chat_tickets, R> | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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 */
directoryCustomersByCustomerId: (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['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    owner: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "chat_ticket_user" */
export interface chat_ticket_userObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjerByActivityId: ((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_AdgangLinjerByActivityId_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>>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** An object relationship */
chatTicketByTicketId: (chat_ticketsObservableChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Observable<(FieldsSelection<chat_tickets, R> | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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 */
directoryCustomersByCustomerId: (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['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    owner: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "chat_ticket_user" */
export interface chat_ticket_user_aggregatePromiseChain{
    aggregate: (chat_ticket_user_aggregate_fieldsPromiseChain & {get: <R extends chat_ticket_user_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>})
}


/** aggregated selection of "chat_ticket_user" */
export interface chat_ticket_user_aggregateObservableChain{
    aggregate: (chat_ticket_user_aggregate_fieldsObservableChain & {get: <R extends chat_ticket_user_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>})
}


/** aggregate fields of "chat_ticket_user" */
export interface chat_ticket_user_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_ticket_user_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: (chat_ticket_user_max_fieldsPromiseChain & {get: <R extends chat_ticket_user_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_max_fields, R> | undefined)>}),
    min: (chat_ticket_user_min_fieldsPromiseChain & {get: <R extends chat_ticket_user_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_ticket_user" */
export interface chat_ticket_user_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_ticket_user_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: (chat_ticket_user_max_fieldsObservableChain & {get: <R extends chat_ticket_user_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_max_fields, R> | undefined)>}),
    min: (chat_ticket_user_min_fieldsObservableChain & {get: <R extends chat_ticket_user_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_user_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_user_max_fieldsObservableChain{
    activity_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_user_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_user_min_fieldsObservableChain{
    activity_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "chat_ticket_user" */
export interface chat_ticket_user_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 chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>})
}


/** response of any mutation on the table "chat_ticket_user" */
export interface chat_ticket_user_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 chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>})
}


/** columns and relationships of "chat_ticket_user_view" */
export interface chat_ticket_user_viewPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjerByActivityId: ((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_AdgangLinjerByActivityId_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>>}),
    
/** An object relationship */
chatTicketByTicketId: (chat_tickets_viewPromiseChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view, R> | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directoryCustomersByCustomerId: (directory_customersPromiseChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Promise<(FieldsSelection<directory_customers, R> | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    owner: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "chat_ticket_user_view" */
export interface chat_ticket_user_viewObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
adopus_AdgangLinjerByActivityId: ((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_AdgangLinjerByActivityId_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>>}),
    
/** An object relationship */
chatTicketByTicketId: (chat_tickets_viewObservableChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view, R> | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An object relationship */
directoryCustomersByCustomerId: (directory_customersObservableChain & {get: <R extends directory_customersRequest>(request: R, defaultValue?: (FieldsSelection<directory_customers, R> | undefined)) => Observable<(FieldsSelection<directory_customers, R> | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    owner: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregatePromiseChain{
    aggregate: (chat_ticket_user_view_aggregate_fieldsPromiseChain & {get: <R extends chat_ticket_user_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})
}


/** aggregated selection of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregateObservableChain{
    aggregate: (chat_ticket_user_view_aggregate_fieldsObservableChain & {get: <R extends chat_ticket_user_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})
}


/** aggregate fields of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_ticket_user_view_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: (chat_ticket_user_view_max_fieldsPromiseChain & {get: <R extends chat_ticket_user_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_max_fields, R> | undefined)>}),
    min: (chat_ticket_user_view_min_fieldsPromiseChain & {get: <R extends chat_ticket_user_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_ticket_user_view" */
export interface chat_ticket_user_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_ticket_user_view_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: (chat_ticket_user_view_max_fieldsObservableChain & {get: <R extends chat_ticket_user_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_max_fields, R> | undefined)>}),
    min: (chat_ticket_user_view_min_fieldsObservableChain & {get: <R extends chat_ticket_user_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_user_view_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface chat_ticket_user_view_max_fieldsObservableChain{
    activity_id: ({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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_user_view_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_ticket_user_view_min_fieldsObservableChain{
    activity_id: ({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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    ticket_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "chat_ticket_user_view" */
export interface chat_ticket_user_view_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 chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})
}


/** response of any mutation on the table "chat_ticket_user_view" */
export interface chat_ticket_user_view_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 chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})
}


/** columns and relationships of "chat_tickets" */
export interface chat_ticketsPromiseChain{
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    ticket_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['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "chat_tickets" */
export interface chat_ticketsObservableChain{
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    ticket_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['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "chat_tickets" */
export interface chat_tickets_aggregatePromiseChain{
    aggregate: (chat_tickets_aggregate_fieldsPromiseChain & {get: <R extends chat_tickets_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>})
}


/** aggregated selection of "chat_tickets" */
export interface chat_tickets_aggregateObservableChain{
    aggregate: (chat_tickets_aggregate_fieldsObservableChain & {get: <R extends chat_tickets_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>})
}


/** aggregate fields of "chat_tickets" */
export interface chat_tickets_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_tickets_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: (chat_tickets_max_fieldsPromiseChain & {get: <R extends chat_tickets_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_max_fields, R> | undefined)>}),
    min: (chat_tickets_min_fieldsPromiseChain & {get: <R extends chat_tickets_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_tickets" */
export interface chat_tickets_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_tickets_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: (chat_tickets_max_fieldsObservableChain & {get: <R extends chat_tickets_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_max_fields, R> | undefined)>}),
    min: (chat_tickets_min_fieldsObservableChain & {get: <R extends chat_tickets_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_tickets_max_fieldsPromiseChain{
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface chat_tickets_max_fieldsObservableChain{
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_tickets_min_fieldsPromiseChain{
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    ticket_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface chat_tickets_min_fieldsObservableChain{
    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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    ticket_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "chat_tickets" */
export interface chat_tickets_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 chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>})
}


/** response of any mutation on the table "chat_tickets" */
export interface chat_tickets_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 chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>})
}


/** columns and relationships of "chat_tickets_view" */
export interface chat_tickets_viewPromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    
/** An array relationship */
chatTicketUsersByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An aggregate relationship */
chatTicketUsersByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_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'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directoryCustomersByCustomerId: (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['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    state: ({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)>})
}


/** columns and relationships of "chat_tickets_view" */
export interface chat_tickets_viewObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    
/** An array relationship */
chatTicketUsersByTicketId: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An aggregate relationship */
chatTicketUsersByTicketId_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_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'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    deleted_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An object relationship */
directoryCustomersByCustomerId: (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['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    state: ({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)>})
}


/** aggregated selection of "chat_tickets_view" */
export interface chat_tickets_view_aggregatePromiseChain{
    aggregate: (chat_tickets_view_aggregate_fieldsPromiseChain & {get: <R extends chat_tickets_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>})
}


/** aggregated selection of "chat_tickets_view" */
export interface chat_tickets_view_aggregateObservableChain{
    aggregate: (chat_tickets_view_aggregate_fieldsObservableChain & {get: <R extends chat_tickets_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>})
}


/** aggregate fields of "chat_tickets_view" */
export interface chat_tickets_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (chat_tickets_view_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: (chat_tickets_view_max_fieldsPromiseChain & {get: <R extends chat_tickets_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_max_fields, R> | undefined)>}),
    min: (chat_tickets_view_min_fieldsPromiseChain & {get: <R extends chat_tickets_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "chat_tickets_view" */
export interface chat_tickets_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (chat_tickets_view_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: (chat_tickets_view_max_fieldsObservableChain & {get: <R extends chat_tickets_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_max_fields, R> | undefined)>}),
    min: (chat_tickets_view_min_fieldsObservableChain & {get: <R extends chat_tickets_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface chat_tickets_view_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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    state: ({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)>})
}


/** aggregate max on columns */
export interface chat_tickets_view_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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    state: ({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)>})
}


/** aggregate min on columns */
export interface chat_tickets_view_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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    state: ({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)>})
}


/** aggregate min on columns */
export interface chat_tickets_view_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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    state: ({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)>})
}


/** response of any mutation on the table "chat_tickets_view" */
export interface chat_tickets_view_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 chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>})
}


/** response of any mutation on the table "chat_tickets_view" */
export interface chat_tickets_view_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 chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>})
}


/** 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']>})
}


/** 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']>})
}


/** 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)>})
}


/** 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)>})
}


/** 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)>})
}


/** 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)>})
}


/** 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_basic_data" */
export interface directory_user_basic_dataPromiseChain{
    
/** An object relationship */
directoryUsersByUserId: (directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    email: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    password: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "directory_user_basic_data" */
export interface directory_user_basic_dataObservableChain{
    
/** An object relationship */
directoryUsersByUserId: (directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    email: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    password: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    status: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregatePromiseChain{
    aggregate: (directory_user_basic_data_aggregate_fieldsPromiseChain & {get: <R extends directory_user_basic_data_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>})
}


/** aggregated selection of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregateObservableChain{
    aggregate: (directory_user_basic_data_aggregate_fieldsObservableChain & {get: <R extends directory_user_basic_data_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>})
}


/** aggregate fields of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_user_basic_data_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_basic_data_max_fieldsPromiseChain & {get: <R extends directory_user_basic_data_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_max_fields, R> | undefined)>}),
    min: (directory_user_basic_data_min_fieldsPromiseChain & {get: <R extends directory_user_basic_data_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_user_basic_data" */
export interface directory_user_basic_data_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_user_basic_data_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_basic_data_max_fieldsObservableChain & {get: <R extends directory_user_basic_data_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_max_fields, R> | undefined)>}),
    min: (directory_user_basic_data_min_fieldsObservableChain & {get: <R extends directory_user_basic_data_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface directory_user_basic_data_max_fieldsPromiseChain{
    email: ({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)>}),
    password: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface directory_user_basic_data_max_fieldsObservableChain{
    email: ({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)>}),
    password: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_user_basic_data_min_fieldsPromiseChain{
    email: ({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)>}),
    password: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_user_basic_data_min_fieldsObservableChain{
    email: ({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)>}),
    password: ({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)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "directory_user_basic_data" */
export interface directory_user_basic_data_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_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>})
}


/** response of any mutation on the table "directory_user_basic_data" */
export interface directory_user_basic_data_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_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>})
}


/** columns and relationships of "directory_user_name" */
export interface directory_user_namePromiseChain{
    
/** An object relationship */
directoryUsersByUserId: (directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    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{
    
/** An object relationship */
directoryUsersByUserId: (directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    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 "directory_users" */
export interface directory_usersPromiseChain{
    
/** An object relationship */
directoryUserBasicDataById: (directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** An object relationship */
directoryUserNamesById: (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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>})
}


/** columns and relationships of "directory_users" */
export interface directory_usersObservableChain{
    
/** An object relationship */
directoryUserBasicDataById: (directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** An object relationship */
directoryUserNamesById: (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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>})
}


/** aggregated selection of "directory_users" */
export interface directory_users_aggregatePromiseChain{
    aggregate: (directory_users_aggregate_fieldsPromiseChain & {get: <R extends directory_users_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>})
}


/** aggregated selection of "directory_users" */
export interface directory_users_aggregateObservableChain{
    aggregate: (directory_users_aggregate_fieldsObservableChain & {get: <R extends directory_users_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>})
}


/** aggregate fields of "directory_users" */
export interface directory_users_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_users_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_users_max_fieldsPromiseChain & {get: <R extends directory_users_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_max_fields, R> | undefined)>}),
    min: (directory_users_min_fieldsPromiseChain & {get: <R extends directory_users_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_users" */
export interface directory_users_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_users_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_users_max_fieldsObservableChain & {get: <R extends directory_users_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_max_fields, R> | undefined)>}),
    min: (directory_users_min_fieldsObservableChain & {get: <R extends directory_users_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_min_fields, R> | undefined)>})
}


/** columns and relationships of "directory_users_auth_logs" */
export interface directory_users_auth_logsPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Promise<(Scalars['timestamptz'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "directory_users_auth_logs" */
export interface directory_users_auth_logsObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamptz'] | undefined)) => Observable<(Scalars['timestamptz'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregatePromiseChain{
    aggregate: (directory_users_auth_logs_aggregate_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>})
}


/** aggregated selection of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregateObservableChain{
    aggregate: (directory_users_auth_logs_aggregate_fieldsObservableChain & {get: <R extends directory_users_auth_logs_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>})
}


/** aggregate fields of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_users_auth_logs_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_users_auth_logs_max_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_max_fields, R> | undefined)>}),
    min: (directory_users_auth_logs_min_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_users_auth_logs" */
export interface directory_users_auth_logs_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_users_auth_logs_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_users_auth_logs_max_fieldsObservableChain & {get: <R extends directory_users_auth_logs_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_max_fields, R> | undefined)>}),
    min: (directory_users_auth_logs_min_fieldsObservableChain & {get: <R extends directory_users_auth_logs_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface directory_users_auth_logs_max_fieldsPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface directory_users_auth_logs_max_fieldsObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_users_auth_logs_min_fieldsPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_users_auth_logs_min_fieldsObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "directory_users_auth_logs" */
export interface directory_users_auth_logs_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_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>})
}


/** response of any mutation on the table "directory_users_auth_logs" */
export interface directory_users_auth_logs_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_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>})
}


/** columns and relationships of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_viewPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_viewObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregatePromiseChain{
    aggregate: (directory_users_auth_logs_view_aggregate_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>})
}


/** aggregated selection of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregateObservableChain{
    aggregate: (directory_users_auth_logs_view_aggregate_fieldsObservableChain & {get: <R extends directory_users_auth_logs_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>})
}


/** aggregate fields of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (directory_users_auth_logs_view_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_users_auth_logs_view_max_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_max_fields, R> | undefined)>}),
    min: (directory_users_auth_logs_view_min_fieldsPromiseChain & {get: <R extends directory_users_auth_logs_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (directory_users_auth_logs_view_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_users_auth_logs_view_max_fieldsObservableChain & {get: <R extends directory_users_auth_logs_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_max_fields, R> | undefined)>}),
    min: (directory_users_auth_logs_view_min_fieldsObservableChain & {get: <R extends directory_users_auth_logs_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface directory_users_auth_logs_view_max_fieldsPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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_users_auth_logs_view_max_fieldsObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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_users_auth_logs_view_min_fieldsPromiseChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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_users_auth_logs_view_min_fieldsObservableChain{
    auth_method: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    authenticated_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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_users_auth_logs_view" */
export interface directory_users_auth_logs_view_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_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>})
}


/** response of any mutation on the table "directory_users_auth_logs_view" */
export interface directory_users_auth_logs_view_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_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>})
}


/** aggregate max on columns */
export interface directory_users_max_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface directory_users_max_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_users_min_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface directory_users_min_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "directory_users" */
export interface directory_users_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_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>})
}


/** response of any mutation on the table "directory_users" */
export interface directory_users_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_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>})
}


/** mutation root */
export interface mutation_rootPromiseChain{
    
/** 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: "base_table" */
delete_base_table: ((args: {
/** filter the rows which have to be deleted */
where: base_table_bool_exp}) => base_table_mutation_responsePromiseChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Promise<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "base_table" */
delete_base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tablePromiseChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Promise<(FieldsSelection<base_table, R> | undefined)>}),
    
/** delete data from the table: "basic_table_seen" */
delete_basic_table_seen: ((args: {
/** filter the rows which have to be deleted */
where: basic_table_seen_bool_exp}) => basic_table_seen_mutation_responsePromiseChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "basic_table_seen" */
delete_basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenPromiseChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** delete data from the table: "calendar_events" */
delete_calendar_events: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_bool_exp}) => calendar_events_mutation_responsePromiseChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_attendees" */
delete_calendar_events_attendees: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_attendees_bool_exp}) => calendar_events_attendees_mutation_responsePromiseChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_organizers" */
delete_calendar_events_organizers: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_organizers_bool_exp}) => calendar_events_organizers_mutation_responsePromiseChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_view" */
delete_calendar_events_view: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_view_bool_exp}) => calendar_events_view_mutation_responsePromiseChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_tasks" */
delete_calendar_tasks: ((args: {
/** filter the rows which have to be deleted */
where: calendar_tasks_bool_exp}) => calendar_tasks_mutation_responsePromiseChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_tasks_view" */
delete_calendar_tasks_view: ((args: {
/** filter the rows which have to be deleted */
where: calendar_tasks_view_bool_exp}) => calendar_tasks_view_mutation_responsePromiseChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_attachments" */
delete_chat_attachments: ((args: {
/** filter the rows which have to be deleted */
where: chat_attachments_bool_exp}) => chat_attachments_mutation_responsePromiseChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "chat_attachments" */
delete_chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsPromiseChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Promise<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_messages" */
delete_chat_ticket_messages: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_messages_bool_exp}) => chat_ticket_messages_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_messages_view" */
delete_chat_ticket_messages_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_messages_view_bool_exp}) => chat_ticket_messages_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_user" */
delete_chat_ticket_user: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_user_bool_exp}) => chat_ticket_user_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_user_view" */
delete_chat_ticket_user_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_user_view_bool_exp}) => chat_ticket_user_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_tickets" */
delete_chat_tickets: ((args: {
/** filter the rows which have to be deleted */
where: chat_tickets_bool_exp}) => chat_tickets_mutation_responsePromiseChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_tickets_view" */
delete_chat_tickets_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_tickets_view_bool_exp}) => chat_tickets_view_mutation_responsePromiseChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_mutation_response, 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_basic_data" */
delete_directory_user_basic_data: ((args: {
/** filter the rows which have to be deleted */
where: directory_user_basic_data_bool_exp}) => directory_user_basic_data_mutation_responsePromiseChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_user_basic_data" */
delete_directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
delete_directory_users: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_bool_exp}) => directory_users_mutation_responsePromiseChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "directory_users_auth_logs" */
delete_directory_users_auth_logs: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_auth_logs_bool_exp}) => directory_users_auth_logs_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "directory_users_auth_logs_view" */
delete_directory_users_auth_logs_view: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_auth_logs_view_bool_exp}) => directory_users_auth_logs_view_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_users" */
delete_directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** delete data from the table: "proxy_document_patient" */
delete_proxy_document_patient: ((args: {
/** filter the rows which have to be deleted */
where: proxy_document_patient_bool_exp}) => proxy_document_patient_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_document_patient_view" */
delete_proxy_document_patient_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_document_patient_view_bool_exp}) => proxy_document_patient_view_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_documents" */
delete_proxy_documents: ((args: {
/** filter the rows which have to be deleted */
where: proxy_documents_bool_exp}) => proxy_documents_mutation_responsePromiseChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_documents_view" */
delete_proxy_documents_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_documents_view_bool_exp}) => proxy_documents_view_mutation_responsePromiseChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_queries" */
delete_proxy_queries: ((args: {
/** filter the rows which have to be deleted */
where: proxy_queries_bool_exp}) => proxy_queries_mutation_responsePromiseChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_queries_view" */
delete_proxy_queries_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_queries_view_bool_exp}) => proxy_queries_view_mutation_responsePromiseChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "services" */
delete_services: ((args: {
/** filter the rows which have to be deleted */
where: services_bool_exp}) => services_mutation_responsePromiseChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Promise<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "services" */
delete_services_by_pk: ((args: {name: Scalars['String']}) => servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Promise<(FieldsSelection<services, R> | undefined)>}),
    
/** delete data from the table: "table_metadata" */
delete_table_metadata: ((args: {
/** filter the rows which have to be deleted */
where: table_metadata_bool_exp}) => table_metadata_mutation_responsePromiseChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "table_metadata" */
delete_table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** delete data from the table: "tables" */
delete_tables: ((args: {
/** filter the rows which have to be deleted */
where: tables_bool_exp}) => tables_mutation_responsePromiseChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Promise<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "tables" */
delete_tables_by_pk: ((args: {name: Scalars['String']}) => tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Promise<(FieldsSelection<tables, 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: "base_table" */
insert_base_table: ((args: {
/** the rows to be inserted */
objects: base_table_insert_input[],
/** upsert condition */
on_conflict?: (base_table_on_conflict | null)}) => base_table_mutation_responsePromiseChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Promise<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "base_table" */
insert_base_table_one: ((args: {
/** the row to be inserted */
object: base_table_insert_input,
/** upsert condition */
on_conflict?: (base_table_on_conflict | null)}) => base_tablePromiseChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Promise<(FieldsSelection<base_table, R> | undefined)>}),
    
/** insert data into the table: "basic_table_seen" */
insert_basic_table_seen: ((args: {
/** the rows to be inserted */
objects: basic_table_seen_insert_input[],
/** upsert condition */
on_conflict?: (basic_table_seen_on_conflict | null)}) => basic_table_seen_mutation_responsePromiseChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "basic_table_seen" */
insert_basic_table_seen_one: ((args: {
/** the row to be inserted */
object: basic_table_seen_insert_input,
/** upsert condition */
on_conflict?: (basic_table_seen_on_conflict | null)}) => basic_table_seenPromiseChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** insert data into the table: "calendar_events" */
insert_calendar_events: ((args: {
/** the rows to be inserted */
objects: calendar_events_insert_input[]}) => calendar_events_mutation_responsePromiseChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_attendees" */
insert_calendar_events_attendees: ((args: {
/** the rows to be inserted */
objects: calendar_events_attendees_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_attendees_on_conflict | null)}) => calendar_events_attendees_mutation_responsePromiseChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_attendees" */
insert_calendar_events_attendees_one: ((args: {
/** the row to be inserted */
object: calendar_events_attendees_insert_input,
/** upsert condition */
on_conflict?: (calendar_events_attendees_on_conflict | null)}) => calendar_events_attendeesPromiseChain & {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events" */
insert_calendar_events_one: ((args: {
/** the row to be inserted */
object: calendar_events_insert_input}) => calendar_eventsPromiseChain & {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events, R> | undefined)) => Promise<(FieldsSelection<calendar_events, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_organizers" */
insert_calendar_events_organizers: ((args: {
/** the rows to be inserted */
objects: calendar_events_organizers_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_organizers_on_conflict | null)}) => calendar_events_organizers_mutation_responsePromiseChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_organizers" */
insert_calendar_events_organizers_one: ((args: {
/** the row to be inserted */
object: calendar_events_organizers_insert_input,
/** upsert condition */
on_conflict?: (calendar_events_organizers_on_conflict | null)}) => calendar_events_organizersPromiseChain & {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_view" */
insert_calendar_events_view: ((args: {
/** the rows to be inserted */
objects: calendar_events_view_insert_input[]}) => calendar_events_view_mutation_responsePromiseChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_view" */
insert_calendar_events_view_one: ((args: {
/** the row to be inserted */
object: calendar_events_view_insert_input}) => calendar_events_viewPromiseChain & {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view, R> | undefined)>}),
    
/** insert data into the table: "calendar_tasks" */
insert_calendar_tasks: ((args: {
/** the rows to be inserted */
objects: calendar_tasks_insert_input[]}) => calendar_tasks_mutation_responsePromiseChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_tasks" */
insert_calendar_tasks_one: ((args: {
/** the row to be inserted */
object: calendar_tasks_insert_input}) => calendar_tasksPromiseChain & {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks, R> | undefined)>}),
    
/** insert data into the table: "calendar_tasks_view" */
insert_calendar_tasks_view: ((args: {
/** the rows to be inserted */
objects: calendar_tasks_view_insert_input[]}) => calendar_tasks_view_mutation_responsePromiseChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_tasks_view" */
insert_calendar_tasks_view_one: ((args: {
/** the row to be inserted */
object: calendar_tasks_view_insert_input}) => calendar_tasks_viewPromiseChain & {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view, R> | undefined)>}),
    
/** insert data into the table: "chat_attachments" */
insert_chat_attachments: ((args: {
/** the rows to be inserted */
objects: chat_attachments_insert_input[],
/** upsert condition */
on_conflict?: (chat_attachments_on_conflict | null)}) => chat_attachments_mutation_responsePromiseChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_attachments" */
insert_chat_attachments_one: ((args: {
/** the row to be inserted */
object: chat_attachments_insert_input,
/** upsert condition */
on_conflict?: (chat_attachments_on_conflict | null)}) => chat_attachmentsPromiseChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Promise<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_messages" */
insert_chat_ticket_messages: ((args: {
/** the rows to be inserted */
objects: chat_ticket_messages_insert_input[]}) => chat_ticket_messages_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_messages" */
insert_chat_ticket_messages_one: ((args: {
/** the row to be inserted */
object: chat_ticket_messages_insert_input}) => chat_ticket_messagesPromiseChain & {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_messages_view" */
insert_chat_ticket_messages_view: ((args: {
/** the rows to be inserted */
objects: chat_ticket_messages_view_insert_input[]}) => chat_ticket_messages_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_messages_view" */
insert_chat_ticket_messages_view_one: ((args: {
/** the row to be inserted */
object: chat_ticket_messages_view_insert_input}) => chat_ticket_messages_viewPromiseChain & {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_user" */
insert_chat_ticket_user: ((args: {
/** the rows to be inserted */
objects: chat_ticket_user_insert_input[]}) => chat_ticket_user_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_user" */
insert_chat_ticket_user_one: ((args: {
/** the row to be inserted */
object: chat_ticket_user_insert_input}) => chat_ticket_userPromiseChain & {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_user_view" */
insert_chat_ticket_user_view: ((args: {
/** the rows to be inserted */
objects: chat_ticket_user_view_insert_input[]}) => chat_ticket_user_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_user_view" */
insert_chat_ticket_user_view_one: ((args: {
/** the row to be inserted */
object: chat_ticket_user_view_insert_input}) => chat_ticket_user_viewPromiseChain & {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view, R> | undefined)>}),
    
/** insert data into the table: "chat_tickets" */
insert_chat_tickets: ((args: {
/** the rows to be inserted */
objects: chat_tickets_insert_input[]}) => chat_tickets_mutation_responsePromiseChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_tickets" */
insert_chat_tickets_one: ((args: {
/** the row to be inserted */
object: chat_tickets_insert_input}) => chat_ticketsPromiseChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Promise<(FieldsSelection<chat_tickets, R> | undefined)>}),
    
/** insert data into the table: "chat_tickets_view" */
insert_chat_tickets_view: ((args: {
/** the rows to be inserted */
objects: chat_tickets_view_insert_input[]}) => chat_tickets_view_mutation_responsePromiseChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_tickets_view" */
insert_chat_tickets_view_one: ((args: {
/** the row to be inserted */
object: chat_tickets_view_insert_input}) => chat_tickets_viewPromiseChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view, 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_basic_data" */
insert_directory_user_basic_data: ((args: {
/** the rows to be inserted */
objects: directory_user_basic_data_insert_input[],
/** upsert condition */
on_conflict?: (directory_user_basic_data_on_conflict | null)}) => directory_user_basic_data_mutation_responsePromiseChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_user_basic_data" */
insert_directory_user_basic_data_one: ((args: {
/** the row to be inserted */
object: directory_user_basic_data_insert_input,
/** upsert condition */
on_conflict?: (directory_user_basic_data_on_conflict | null)}) => directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
insert_directory_users: ((args: {
/** the rows to be inserted */
objects: directory_users_insert_input[],
/** upsert condition */
on_conflict?: (directory_users_on_conflict | null)}) => directory_users_mutation_responsePromiseChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "directory_users_auth_logs" */
insert_directory_users_auth_logs: ((args: {
/** the rows to be inserted */
objects: directory_users_auth_logs_insert_input[]}) => directory_users_auth_logs_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users_auth_logs" */
insert_directory_users_auth_logs_one: ((args: {
/** the row to be inserted */
object: directory_users_auth_logs_insert_input}) => directory_users_auth_logsPromiseChain & {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs, R> | undefined)>}),
    
/** insert data into the table: "directory_users_auth_logs_view" */
insert_directory_users_auth_logs_view: ((args: {
/** the rows to be inserted */
objects: directory_users_auth_logs_view_insert_input[]}) => directory_users_auth_logs_view_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users_auth_logs_view" */
insert_directory_users_auth_logs_view_one: ((args: {
/** the row to be inserted */
object: directory_users_auth_logs_view_insert_input}) => directory_users_auth_logs_viewPromiseChain & {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users" */
insert_directory_users_one: ((args: {
/** the row to be inserted */
object: directory_users_insert_input,
/** upsert condition */
on_conflict?: (directory_users_on_conflict | null)}) => directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** insert data into the table: "proxy_document_patient" */
insert_proxy_document_patient: ((args: {
/** the rows to be inserted */
objects: proxy_document_patient_insert_input[]}) => proxy_document_patient_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_document_patient" */
insert_proxy_document_patient_one: ((args: {
/** the row to be inserted */
object: proxy_document_patient_insert_input}) => proxy_document_patientPromiseChain & {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient, R> | undefined)>}),
    
/** insert data into the table: "proxy_document_patient_view" */
insert_proxy_document_patient_view: ((args: {
/** the rows to be inserted */
objects: proxy_document_patient_view_insert_input[]}) => proxy_document_patient_view_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_document_patient_view" */
insert_proxy_document_patient_view_one: ((args: {
/** the row to be inserted */
object: proxy_document_patient_view_insert_input}) => proxy_document_patient_viewPromiseChain & {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view, R> | undefined)>}),
    
/** insert data into the table: "proxy_documents" */
insert_proxy_documents: ((args: {
/** the rows to be inserted */
objects: proxy_documents_insert_input[]}) => proxy_documents_mutation_responsePromiseChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_documents" */
insert_proxy_documents_one: ((args: {
/** the row to be inserted */
object: proxy_documents_insert_input}) => proxy_documentsPromiseChain & {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents, R> | undefined)) => Promise<(FieldsSelection<proxy_documents, R> | undefined)>}),
    
/** insert data into the table: "proxy_documents_view" */
insert_proxy_documents_view: ((args: {
/** the rows to be inserted */
objects: proxy_documents_view_insert_input[]}) => proxy_documents_view_mutation_responsePromiseChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_documents_view" */
insert_proxy_documents_view_one: ((args: {
/** the row to be inserted */
object: proxy_documents_view_insert_input}) => proxy_documents_viewPromiseChain & {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view, R> | undefined)>}),
    
/** insert data into the table: "proxy_queries" */
insert_proxy_queries: ((args: {
/** the rows to be inserted */
objects: proxy_queries_insert_input[]}) => proxy_queries_mutation_responsePromiseChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_queries" */
insert_proxy_queries_one: ((args: {
/** the row to be inserted */
object: proxy_queries_insert_input}) => proxy_queriesPromiseChain & {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries, R> | undefined)) => Promise<(FieldsSelection<proxy_queries, R> | undefined)>}),
    
/** insert data into the table: "proxy_queries_view" */
insert_proxy_queries_view: ((args: {
/** the rows to be inserted */
objects: proxy_queries_view_insert_input[]}) => proxy_queries_view_mutation_responsePromiseChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_queries_view" */
insert_proxy_queries_view_one: ((args: {
/** the row to be inserted */
object: proxy_queries_view_insert_input}) => proxy_queries_viewPromiseChain & {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view, R> | undefined)>}),
    
/** insert data into the table: "services" */
insert_services: ((args: {
/** the rows to be inserted */
objects: services_insert_input[],
/** upsert condition */
on_conflict?: (services_on_conflict | null)}) => services_mutation_responsePromiseChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Promise<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "services" */
insert_services_one: ((args: {
/** the row to be inserted */
object: services_insert_input,
/** upsert condition */
on_conflict?: (services_on_conflict | null)}) => servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Promise<(FieldsSelection<services, R> | undefined)>}),
    
/** insert data into the table: "table_metadata" */
insert_table_metadata: ((args: {
/** the rows to be inserted */
objects: table_metadata_insert_input[],
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}) => table_metadata_mutation_responsePromiseChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "table_metadata" */
insert_table_metadata_one: ((args: {
/** the row to be inserted */
object: table_metadata_insert_input,
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}) => table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** insert data into the table: "tables" */
insert_tables: ((args: {
/** the rows to be inserted */
objects: tables_insert_input[],
/** upsert condition */
on_conflict?: (tables_on_conflict | null)}) => tables_mutation_responsePromiseChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Promise<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "tables" */
insert_tables_one: ((args: {
/** the row to be inserted */
object: tables_insert_input,
/** upsert condition */
on_conflict?: (tables_on_conflict | null)}) => tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Promise<(FieldsSelection<tables, R> | 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: "base_table" */
update_base_table: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (base_table_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (base_table_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (base_table_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (base_table_set_input | null),
/** filter the rows which have to be updated */
where: base_table_bool_exp}) => base_table_mutation_responsePromiseChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Promise<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "base_table" */
update_base_table_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (base_table_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (base_table_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (base_table_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (base_table_set_input | null),pk_columns: base_table_pk_columns_input}) => base_tablePromiseChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Promise<(FieldsSelection<base_table, R> | undefined)>}),
    
/** update multiples rows of table: "base_table" */
update_base_table_many: ((args: {
/** updates to execute, in order */
updates: base_table_updates[]}) => {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<base_table_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<base_table_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "basic_table_seen" */
update_basic_table_seen: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (basic_table_seen_set_input | null),
/** filter the rows which have to be updated */
where: basic_table_seen_bool_exp}) => basic_table_seen_mutation_responsePromiseChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "basic_table_seen" */
update_basic_table_seen_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (basic_table_seen_set_input | null),pk_columns: basic_table_seen_pk_columns_input}) => basic_table_seenPromiseChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** update multiples rows of table: "basic_table_seen" */
update_basic_table_seen_many: ((args: {
/** updates to execute, in order */
updates: basic_table_seen_updates[]}) => {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<basic_table_seen_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<basic_table_seen_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events" */
update_calendar_events: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_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?: (calendar_events_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_bool_exp}) => calendar_events_mutation_responsePromiseChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** update data of the table: "calendar_events_attendees" */
update_calendar_events_attendees: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_attendees_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_attendees_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?: (calendar_events_attendees_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_attendees_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_attendees_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_attendees_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_attendees_bool_exp}) => calendar_events_attendees_mutation_responsePromiseChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_attendees" */
update_calendar_events_attendees_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_attendees_updates[]}) => {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "calendar_events" */
update_calendar_events_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_updates[]}) => {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_events_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events_organizers" */
update_calendar_events_organizers: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_organizers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_organizers_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?: (calendar_events_organizers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_organizers_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_organizers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_organizers_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_organizers_bool_exp}) => calendar_events_organizers_mutation_responsePromiseChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_organizers" */
update_calendar_events_organizers_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_organizers_updates[]}) => {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events_view" */
update_calendar_events_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_view_bool_exp}) => calendar_events_view_mutation_responsePromiseChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_view" */
update_calendar_events_view_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_view_updates[]}) => {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_events_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_tasks" */
update_calendar_tasks: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_tasks_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_tasks_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?: (calendar_tasks_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_tasks_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_tasks_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_bool_exp}) => calendar_tasks_mutation_responsePromiseChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_tasks" */
update_calendar_tasks_many: ((args: {
/** updates to execute, in order */
updates: calendar_tasks_updates[]}) => {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_tasks_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_tasks_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_tasks_view" */
update_calendar_tasks_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_view_bool_exp}) => calendar_tasks_view_mutation_responsePromiseChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_tasks_view" */
update_calendar_tasks_view_many: ((args: {
/** updates to execute, in order */
updates: calendar_tasks_view_updates[]}) => {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_attachments" */
update_chat_attachments: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_attachments_set_input | null),
/** filter the rows which have to be updated */
where: chat_attachments_bool_exp}) => chat_attachments_mutation_responsePromiseChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "chat_attachments" */
update_chat_attachments_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_attachments_set_input | null),pk_columns: chat_attachments_pk_columns_input}) => chat_attachmentsPromiseChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Promise<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** update multiples rows of table: "chat_attachments" */
update_chat_attachments_many: ((args: {
/** updates to execute, in order */
updates: chat_attachments_updates[]}) => {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_attachments_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_attachments_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_messages" */
update_chat_ticket_messages: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_messages_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_messages_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?: (chat_ticket_messages_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_messages_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_messages_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_bool_exp}) => chat_ticket_messages_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_messages" */
update_chat_ticket_messages_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_messages_updates[]}) => {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_messages_view" */
update_chat_ticket_messages_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_view_bool_exp}) => chat_ticket_messages_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_messages_view" */
update_chat_ticket_messages_view_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_messages_view_updates[]}) => {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_user" */
update_chat_ticket_user: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_user_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_user_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?: (chat_ticket_user_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_user_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_user_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_bool_exp}) => chat_ticket_user_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_user" */
update_chat_ticket_user_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_user_updates[]}) => {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_user_view" */
update_chat_ticket_user_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_view_bool_exp}) => chat_ticket_user_view_mutation_responsePromiseChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_user_view" */
update_chat_ticket_user_view_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_user_view_updates[]}) => {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_tickets" */
update_chat_tickets: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_tickets_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_tickets_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?: (chat_tickets_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_tickets_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_tickets_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_bool_exp}) => chat_tickets_mutation_responsePromiseChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_tickets" */
update_chat_tickets_many: ((args: {
/** updates to execute, in order */
updates: chat_tickets_updates[]}) => {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_tickets_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_tickets_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_tickets_view" */
update_chat_tickets_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_view_bool_exp}) => chat_tickets_view_mutation_responsePromiseChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_tickets_view" */
update_chat_tickets_view_many: ((args: {
/** updates to execute, in order */
updates: chat_tickets_view_updates[]}) => {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<chat_tickets_view_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_basic_data" */
update_directory_user_basic_data: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_basic_data_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_basic_data_bool_exp}) => directory_user_basic_data_mutation_responsePromiseChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_user_basic_data" */
update_directory_user_basic_data_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_basic_data_set_input | null),pk_columns: directory_user_basic_data_pk_columns_input}) => directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** update multiples rows of table: "directory_user_basic_data" */
update_directory_user_basic_data_many: ((args: {
/** updates to execute, in order */
updates: directory_user_basic_data_updates[]}) => {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_user_basic_data_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: "directory_users" */
update_directory_users: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_bool_exp}) => directory_users_mutation_responsePromiseChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** update data of the table: "directory_users_auth_logs" */
update_directory_users_auth_logs: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (directory_users_auth_logs_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (directory_users_auth_logs_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?: (directory_users_auth_logs_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (directory_users_auth_logs_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (directory_users_auth_logs_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_bool_exp}) => directory_users_auth_logs_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users_auth_logs" */
update_directory_users_auth_logs_many: ((args: {
/** updates to execute, in order */
updates: directory_users_auth_logs_updates[]}) => {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_users_auth_logs_view" */
update_directory_users_auth_logs_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_view_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_view_bool_exp}) => directory_users_auth_logs_view_mutation_responsePromiseChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users_auth_logs_view" */
update_directory_users_auth_logs_view_many: ((args: {
/** updates to execute, in order */
updates: directory_users_auth_logs_view_updates[]}) => {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update single row of the table: "directory_users" */
update_directory_users_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_set_input | null),pk_columns: directory_users_pk_columns_input}) => directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users" */
update_directory_users_many: ((args: {
/** updates to execute, in order */
updates: directory_users_updates[]}) => {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<directory_users_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_document_patient" */
update_proxy_document_patient: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_document_patient_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_document_patient_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?: (proxy_document_patient_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_document_patient_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_document_patient_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_bool_exp}) => proxy_document_patient_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_document_patient" */
update_proxy_document_patient_many: ((args: {
/** updates to execute, in order */
updates: proxy_document_patient_updates[]}) => {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_document_patient_view" */
update_proxy_document_patient_view: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_view_bool_exp}) => proxy_document_patient_view_mutation_responsePromiseChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_document_patient_view" */
update_proxy_document_patient_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_document_patient_view_updates[]}) => {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_documents" */
update_proxy_documents: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_documents_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_documents_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?: (proxy_documents_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_documents_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_documents_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_bool_exp}) => proxy_documents_mutation_responsePromiseChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_documents" */
update_proxy_documents_many: ((args: {
/** updates to execute, in order */
updates: proxy_documents_updates[]}) => {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_documents_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_documents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_documents_view" */
update_proxy_documents_view: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_view_bool_exp}) => proxy_documents_view_mutation_responsePromiseChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_documents_view" */
update_proxy_documents_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_documents_view_updates[]}) => {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_queries" */
update_proxy_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_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?: (proxy_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_bool_exp}) => proxy_queries_mutation_responsePromiseChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_queries" */
update_proxy_queries_many: ((args: {
/** updates to execute, in order */
updates: proxy_queries_updates[]}) => {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_queries_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_queries_view" */
update_proxy_queries_view: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_view_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_queries_view_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?: (proxy_queries_view_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_view_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_view_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_view_bool_exp}) => proxy_queries_view_mutation_responsePromiseChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_queries_view" */
update_proxy_queries_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_queries_view_updates[]}) => {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "services" */
update_services: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (services_set_input | null),
/** filter the rows which have to be updated */
where: services_bool_exp}) => services_mutation_responsePromiseChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Promise<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "services" */
update_services_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (services_set_input | null),pk_columns: services_pk_columns_input}) => servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Promise<(FieldsSelection<services, R> | undefined)>}),
    
/** update multiples rows of table: "services" */
update_services_many: ((args: {
/** updates to execute, in order */
updates: services_updates[]}) => {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<services_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<services_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "table_metadata" */
update_table_metadata: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_metadata_set_input | null),
/** filter the rows which have to be updated */
where: table_metadata_bool_exp}) => table_metadata_mutation_responsePromiseChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Promise<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "table_metadata" */
update_table_metadata_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_metadata_set_input | null),pk_columns: table_metadata_pk_columns_input}) => table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** update multiples rows of table: "table_metadata" */
update_table_metadata_many: ((args: {
/** updates to execute, in order */
updates: table_metadata_updates[]}) => {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<table_metadata_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<table_metadata_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "tables" */
update_tables: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (tables_set_input | null),
/** filter the rows which have to be updated */
where: tables_bool_exp}) => tables_mutation_responsePromiseChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Promise<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "tables" */
update_tables_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (tables_set_input | null),pk_columns: tables_pk_columns_input}) => tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Promise<(FieldsSelection<tables, R> | undefined)>}),
    
/** update multiples rows of table: "tables" */
update_tables_many: ((args: {
/** updates to execute, in order */
updates: tables_updates[]}) => {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<tables_mutation_response, R> | undefined)[] | undefined)) => Promise<((FieldsSelection<tables_mutation_response, R> | undefined)[] | undefined)>})
}


/** mutation root */
export interface mutation_rootObservableChain{
    
/** 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: "base_table" */
delete_base_table: ((args: {
/** filter the rows which have to be deleted */
where: base_table_bool_exp}) => base_table_mutation_responseObservableChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Observable<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "base_table" */
delete_base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tableObservableChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Observable<(FieldsSelection<base_table, R> | undefined)>}),
    
/** delete data from the table: "basic_table_seen" */
delete_basic_table_seen: ((args: {
/** filter the rows which have to be deleted */
where: basic_table_seen_bool_exp}) => basic_table_seen_mutation_responseObservableChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "basic_table_seen" */
delete_basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenObservableChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** delete data from the table: "calendar_events" */
delete_calendar_events: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_bool_exp}) => calendar_events_mutation_responseObservableChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_attendees" */
delete_calendar_events_attendees: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_attendees_bool_exp}) => calendar_events_attendees_mutation_responseObservableChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_organizers" */
delete_calendar_events_organizers: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_organizers_bool_exp}) => calendar_events_organizers_mutation_responseObservableChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_events_view" */
delete_calendar_events_view: ((args: {
/** filter the rows which have to be deleted */
where: calendar_events_view_bool_exp}) => calendar_events_view_mutation_responseObservableChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_tasks" */
delete_calendar_tasks: ((args: {
/** filter the rows which have to be deleted */
where: calendar_tasks_bool_exp}) => calendar_tasks_mutation_responseObservableChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "calendar_tasks_view" */
delete_calendar_tasks_view: ((args: {
/** filter the rows which have to be deleted */
where: calendar_tasks_view_bool_exp}) => calendar_tasks_view_mutation_responseObservableChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_attachments" */
delete_chat_attachments: ((args: {
/** filter the rows which have to be deleted */
where: chat_attachments_bool_exp}) => chat_attachments_mutation_responseObservableChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "chat_attachments" */
delete_chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsObservableChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Observable<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_messages" */
delete_chat_ticket_messages: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_messages_bool_exp}) => chat_ticket_messages_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_messages_view" */
delete_chat_ticket_messages_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_messages_view_bool_exp}) => chat_ticket_messages_view_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_user" */
delete_chat_ticket_user: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_user_bool_exp}) => chat_ticket_user_mutation_responseObservableChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_ticket_user_view" */
delete_chat_ticket_user_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_ticket_user_view_bool_exp}) => chat_ticket_user_view_mutation_responseObservableChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_tickets" */
delete_chat_tickets: ((args: {
/** filter the rows which have to be deleted */
where: chat_tickets_bool_exp}) => chat_tickets_mutation_responseObservableChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "chat_tickets_view" */
delete_chat_tickets_view: ((args: {
/** filter the rows which have to be deleted */
where: chat_tickets_view_bool_exp}) => chat_tickets_view_mutation_responseObservableChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_mutation_response, 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_basic_data" */
delete_directory_user_basic_data: ((args: {
/** filter the rows which have to be deleted */
where: directory_user_basic_data_bool_exp}) => directory_user_basic_data_mutation_responseObservableChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_user_basic_data" */
delete_directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
delete_directory_users: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_bool_exp}) => directory_users_mutation_responseObservableChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "directory_users_auth_logs" */
delete_directory_users_auth_logs: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_auth_logs_bool_exp}) => directory_users_auth_logs_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "directory_users_auth_logs_view" */
delete_directory_users_auth_logs_view: ((args: {
/** filter the rows which have to be deleted */
where: directory_users_auth_logs_view_bool_exp}) => directory_users_auth_logs_view_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "directory_users" */
delete_directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** delete data from the table: "proxy_document_patient" */
delete_proxy_document_patient: ((args: {
/** filter the rows which have to be deleted */
where: proxy_document_patient_bool_exp}) => proxy_document_patient_mutation_responseObservableChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_document_patient_view" */
delete_proxy_document_patient_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_document_patient_view_bool_exp}) => proxy_document_patient_view_mutation_responseObservableChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_documents" */
delete_proxy_documents: ((args: {
/** filter the rows which have to be deleted */
where: proxy_documents_bool_exp}) => proxy_documents_mutation_responseObservableChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_documents_view" */
delete_proxy_documents_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_documents_view_bool_exp}) => proxy_documents_view_mutation_responseObservableChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_queries" */
delete_proxy_queries: ((args: {
/** filter the rows which have to be deleted */
where: proxy_queries_bool_exp}) => proxy_queries_mutation_responseObservableChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "proxy_queries_view" */
delete_proxy_queries_view: ((args: {
/** filter the rows which have to be deleted */
where: proxy_queries_view_bool_exp}) => proxy_queries_view_mutation_responseObservableChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** delete data from the table: "services" */
delete_services: ((args: {
/** filter the rows which have to be deleted */
where: services_bool_exp}) => services_mutation_responseObservableChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Observable<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "services" */
delete_services_by_pk: ((args: {name: Scalars['String']}) => servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Observable<(FieldsSelection<services, R> | undefined)>}),
    
/** delete data from the table: "table_metadata" */
delete_table_metadata: ((args: {
/** filter the rows which have to be deleted */
where: table_metadata_bool_exp}) => table_metadata_mutation_responseObservableChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "table_metadata" */
delete_table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** delete data from the table: "tables" */
delete_tables: ((args: {
/** filter the rows which have to be deleted */
where: tables_bool_exp}) => tables_mutation_responseObservableChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Observable<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** delete single row from the table: "tables" */
delete_tables_by_pk: ((args: {name: Scalars['String']}) => tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Observable<(FieldsSelection<tables, 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: "base_table" */
insert_base_table: ((args: {
/** the rows to be inserted */
objects: base_table_insert_input[],
/** upsert condition */
on_conflict?: (base_table_on_conflict | null)}) => base_table_mutation_responseObservableChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Observable<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "base_table" */
insert_base_table_one: ((args: {
/** the row to be inserted */
object: base_table_insert_input,
/** upsert condition */
on_conflict?: (base_table_on_conflict | null)}) => base_tableObservableChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Observable<(FieldsSelection<base_table, R> | undefined)>}),
    
/** insert data into the table: "basic_table_seen" */
insert_basic_table_seen: ((args: {
/** the rows to be inserted */
objects: basic_table_seen_insert_input[],
/** upsert condition */
on_conflict?: (basic_table_seen_on_conflict | null)}) => basic_table_seen_mutation_responseObservableChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "basic_table_seen" */
insert_basic_table_seen_one: ((args: {
/** the row to be inserted */
object: basic_table_seen_insert_input,
/** upsert condition */
on_conflict?: (basic_table_seen_on_conflict | null)}) => basic_table_seenObservableChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** insert data into the table: "calendar_events" */
insert_calendar_events: ((args: {
/** the rows to be inserted */
objects: calendar_events_insert_input[]}) => calendar_events_mutation_responseObservableChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_attendees" */
insert_calendar_events_attendees: ((args: {
/** the rows to be inserted */
objects: calendar_events_attendees_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_attendees_on_conflict | null)}) => calendar_events_attendees_mutation_responseObservableChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_attendees" */
insert_calendar_events_attendees_one: ((args: {
/** the row to be inserted */
object: calendar_events_attendees_insert_input,
/** upsert condition */
on_conflict?: (calendar_events_attendees_on_conflict | null)}) => calendar_events_attendeesObservableChain & {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events" */
insert_calendar_events_one: ((args: {
/** the row to be inserted */
object: calendar_events_insert_input}) => calendar_eventsObservableChain & {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events, R> | undefined)) => Observable<(FieldsSelection<calendar_events, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_organizers" */
insert_calendar_events_organizers: ((args: {
/** the rows to be inserted */
objects: calendar_events_organizers_insert_input[],
/** upsert condition */
on_conflict?: (calendar_events_organizers_on_conflict | null)}) => calendar_events_organizers_mutation_responseObservableChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_organizers" */
insert_calendar_events_organizers_one: ((args: {
/** the row to be inserted */
object: calendar_events_organizers_insert_input,
/** upsert condition */
on_conflict?: (calendar_events_organizers_on_conflict | null)}) => calendar_events_organizersObservableChain & {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers, R> | undefined)>}),
    
/** insert data into the table: "calendar_events_view" */
insert_calendar_events_view: ((args: {
/** the rows to be inserted */
objects: calendar_events_view_insert_input[]}) => calendar_events_view_mutation_responseObservableChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_events_view" */
insert_calendar_events_view_one: ((args: {
/** the row to be inserted */
object: calendar_events_view_insert_input}) => calendar_events_viewObservableChain & {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view, R> | undefined)>}),
    
/** insert data into the table: "calendar_tasks" */
insert_calendar_tasks: ((args: {
/** the rows to be inserted */
objects: calendar_tasks_insert_input[]}) => calendar_tasks_mutation_responseObservableChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_tasks" */
insert_calendar_tasks_one: ((args: {
/** the row to be inserted */
object: calendar_tasks_insert_input}) => calendar_tasksObservableChain & {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks, R> | undefined)>}),
    
/** insert data into the table: "calendar_tasks_view" */
insert_calendar_tasks_view: ((args: {
/** the rows to be inserted */
objects: calendar_tasks_view_insert_input[]}) => calendar_tasks_view_mutation_responseObservableChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "calendar_tasks_view" */
insert_calendar_tasks_view_one: ((args: {
/** the row to be inserted */
object: calendar_tasks_view_insert_input}) => calendar_tasks_viewObservableChain & {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view, R> | undefined)>}),
    
/** insert data into the table: "chat_attachments" */
insert_chat_attachments: ((args: {
/** the rows to be inserted */
objects: chat_attachments_insert_input[],
/** upsert condition */
on_conflict?: (chat_attachments_on_conflict | null)}) => chat_attachments_mutation_responseObservableChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_attachments" */
insert_chat_attachments_one: ((args: {
/** the row to be inserted */
object: chat_attachments_insert_input,
/** upsert condition */
on_conflict?: (chat_attachments_on_conflict | null)}) => chat_attachmentsObservableChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Observable<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_messages" */
insert_chat_ticket_messages: ((args: {
/** the rows to be inserted */
objects: chat_ticket_messages_insert_input[]}) => chat_ticket_messages_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_messages" */
insert_chat_ticket_messages_one: ((args: {
/** the row to be inserted */
object: chat_ticket_messages_insert_input}) => chat_ticket_messagesObservableChain & {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_messages_view" */
insert_chat_ticket_messages_view: ((args: {
/** the rows to be inserted */
objects: chat_ticket_messages_view_insert_input[]}) => chat_ticket_messages_view_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_messages_view" */
insert_chat_ticket_messages_view_one: ((args: {
/** the row to be inserted */
object: chat_ticket_messages_view_insert_input}) => chat_ticket_messages_viewObservableChain & {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_user" */
insert_chat_ticket_user: ((args: {
/** the rows to be inserted */
objects: chat_ticket_user_insert_input[]}) => chat_ticket_user_mutation_responseObservableChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_user" */
insert_chat_ticket_user_one: ((args: {
/** the row to be inserted */
object: chat_ticket_user_insert_input}) => chat_ticket_userObservableChain & {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user, R> | undefined)>}),
    
/** insert data into the table: "chat_ticket_user_view" */
insert_chat_ticket_user_view: ((args: {
/** the rows to be inserted */
objects: chat_ticket_user_view_insert_input[]}) => chat_ticket_user_view_mutation_responseObservableChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_ticket_user_view" */
insert_chat_ticket_user_view_one: ((args: {
/** the row to be inserted */
object: chat_ticket_user_view_insert_input}) => chat_ticket_user_viewObservableChain & {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view, R> | undefined)>}),
    
/** insert data into the table: "chat_tickets" */
insert_chat_tickets: ((args: {
/** the rows to be inserted */
objects: chat_tickets_insert_input[]}) => chat_tickets_mutation_responseObservableChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_tickets" */
insert_chat_tickets_one: ((args: {
/** the row to be inserted */
object: chat_tickets_insert_input}) => chat_ticketsObservableChain & {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets, R> | undefined)) => Observable<(FieldsSelection<chat_tickets, R> | undefined)>}),
    
/** insert data into the table: "chat_tickets_view" */
insert_chat_tickets_view: ((args: {
/** the rows to be inserted */
objects: chat_tickets_view_insert_input[]}) => chat_tickets_view_mutation_responseObservableChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "chat_tickets_view" */
insert_chat_tickets_view_one: ((args: {
/** the row to be inserted */
object: chat_tickets_view_insert_input}) => chat_tickets_viewObservableChain & {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view, 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_basic_data" */
insert_directory_user_basic_data: ((args: {
/** the rows to be inserted */
objects: directory_user_basic_data_insert_input[],
/** upsert condition */
on_conflict?: (directory_user_basic_data_on_conflict | null)}) => directory_user_basic_data_mutation_responseObservableChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_user_basic_data" */
insert_directory_user_basic_data_one: ((args: {
/** the row to be inserted */
object: directory_user_basic_data_insert_input,
/** upsert condition */
on_conflict?: (directory_user_basic_data_on_conflict | null)}) => directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
insert_directory_users: ((args: {
/** the rows to be inserted */
objects: directory_users_insert_input[],
/** upsert condition */
on_conflict?: (directory_users_on_conflict | null)}) => directory_users_mutation_responseObservableChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** insert data into the table: "directory_users_auth_logs" */
insert_directory_users_auth_logs: ((args: {
/** the rows to be inserted */
objects: directory_users_auth_logs_insert_input[]}) => directory_users_auth_logs_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users_auth_logs" */
insert_directory_users_auth_logs_one: ((args: {
/** the row to be inserted */
object: directory_users_auth_logs_insert_input}) => directory_users_auth_logsObservableChain & {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs, R> | undefined)>}),
    
/** insert data into the table: "directory_users_auth_logs_view" */
insert_directory_users_auth_logs_view: ((args: {
/** the rows to be inserted */
objects: directory_users_auth_logs_view_insert_input[]}) => directory_users_auth_logs_view_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users_auth_logs_view" */
insert_directory_users_auth_logs_view_one: ((args: {
/** the row to be inserted */
object: directory_users_auth_logs_view_insert_input}) => directory_users_auth_logs_viewObservableChain & {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view, R> | undefined)>}),
    
/** insert a single row into the table: "directory_users" */
insert_directory_users_one: ((args: {
/** the row to be inserted */
object: directory_users_insert_input,
/** upsert condition */
on_conflict?: (directory_users_on_conflict | null)}) => directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** insert data into the table: "proxy_document_patient" */
insert_proxy_document_patient: ((args: {
/** the rows to be inserted */
objects: proxy_document_patient_insert_input[]}) => proxy_document_patient_mutation_responseObservableChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_document_patient" */
insert_proxy_document_patient_one: ((args: {
/** the row to be inserted */
object: proxy_document_patient_insert_input}) => proxy_document_patientObservableChain & {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient, R> | undefined)>}),
    
/** insert data into the table: "proxy_document_patient_view" */
insert_proxy_document_patient_view: ((args: {
/** the rows to be inserted */
objects: proxy_document_patient_view_insert_input[]}) => proxy_document_patient_view_mutation_responseObservableChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_document_patient_view" */
insert_proxy_document_patient_view_one: ((args: {
/** the row to be inserted */
object: proxy_document_patient_view_insert_input}) => proxy_document_patient_viewObservableChain & {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view, R> | undefined)>}),
    
/** insert data into the table: "proxy_documents" */
insert_proxy_documents: ((args: {
/** the rows to be inserted */
objects: proxy_documents_insert_input[]}) => proxy_documents_mutation_responseObservableChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_documents" */
insert_proxy_documents_one: ((args: {
/** the row to be inserted */
object: proxy_documents_insert_input}) => proxy_documentsObservableChain & {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents, R> | undefined)) => Observable<(FieldsSelection<proxy_documents, R> | undefined)>}),
    
/** insert data into the table: "proxy_documents_view" */
insert_proxy_documents_view: ((args: {
/** the rows to be inserted */
objects: proxy_documents_view_insert_input[]}) => proxy_documents_view_mutation_responseObservableChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_documents_view" */
insert_proxy_documents_view_one: ((args: {
/** the row to be inserted */
object: proxy_documents_view_insert_input}) => proxy_documents_viewObservableChain & {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view, R> | undefined)>}),
    
/** insert data into the table: "proxy_queries" */
insert_proxy_queries: ((args: {
/** the rows to be inserted */
objects: proxy_queries_insert_input[]}) => proxy_queries_mutation_responseObservableChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_queries" */
insert_proxy_queries_one: ((args: {
/** the row to be inserted */
object: proxy_queries_insert_input}) => proxy_queriesObservableChain & {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries, R> | undefined)) => Observable<(FieldsSelection<proxy_queries, R> | undefined)>}),
    
/** insert data into the table: "proxy_queries_view" */
insert_proxy_queries_view: ((args: {
/** the rows to be inserted */
objects: proxy_queries_view_insert_input[]}) => proxy_queries_view_mutation_responseObservableChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "proxy_queries_view" */
insert_proxy_queries_view_one: ((args: {
/** the row to be inserted */
object: proxy_queries_view_insert_input}) => proxy_queries_viewObservableChain & {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view, R> | undefined)>}),
    
/** insert data into the table: "services" */
insert_services: ((args: {
/** the rows to be inserted */
objects: services_insert_input[],
/** upsert condition */
on_conflict?: (services_on_conflict | null)}) => services_mutation_responseObservableChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Observable<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "services" */
insert_services_one: ((args: {
/** the row to be inserted */
object: services_insert_input,
/** upsert condition */
on_conflict?: (services_on_conflict | null)}) => servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Observable<(FieldsSelection<services, R> | undefined)>}),
    
/** insert data into the table: "table_metadata" */
insert_table_metadata: ((args: {
/** the rows to be inserted */
objects: table_metadata_insert_input[],
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}) => table_metadata_mutation_responseObservableChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "table_metadata" */
insert_table_metadata_one: ((args: {
/** the row to be inserted */
object: table_metadata_insert_input,
/** upsert condition */
on_conflict?: (table_metadata_on_conflict | null)}) => table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** insert data into the table: "tables" */
insert_tables: ((args: {
/** the rows to be inserted */
objects: tables_insert_input[],
/** upsert condition */
on_conflict?: (tables_on_conflict | null)}) => tables_mutation_responseObservableChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Observable<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** insert a single row into the table: "tables" */
insert_tables_one: ((args: {
/** the row to be inserted */
object: tables_insert_input,
/** upsert condition */
on_conflict?: (tables_on_conflict | null)}) => tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Observable<(FieldsSelection<tables, R> | 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: "base_table" */
update_base_table: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (base_table_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (base_table_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (base_table_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (base_table_set_input | null),
/** filter the rows which have to be updated */
where: base_table_bool_exp}) => base_table_mutation_responseObservableChain & {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<base_table_mutation_response, R> | undefined)) => Observable<(FieldsSelection<base_table_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "base_table" */
update_base_table_by_pk: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (base_table_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (base_table_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?: (base_table_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (base_table_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (base_table_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (base_table_set_input | null),pk_columns: base_table_pk_columns_input}) => base_tableObservableChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Observable<(FieldsSelection<base_table, R> | undefined)>}),
    
/** update multiples rows of table: "base_table" */
update_base_table_many: ((args: {
/** updates to execute, in order */
updates: base_table_updates[]}) => {get: <R extends base_table_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<base_table_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<base_table_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "basic_table_seen" */
update_basic_table_seen: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (basic_table_seen_set_input | null),
/** filter the rows which have to be updated */
where: basic_table_seen_bool_exp}) => basic_table_seen_mutation_responseObservableChain & {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen_mutation_response, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "basic_table_seen" */
update_basic_table_seen_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (basic_table_seen_set_input | null),pk_columns: basic_table_seen_pk_columns_input}) => basic_table_seenObservableChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** update multiples rows of table: "basic_table_seen" */
update_basic_table_seen_many: ((args: {
/** updates to execute, in order */
updates: basic_table_seen_updates[]}) => {get: <R extends basic_table_seen_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<basic_table_seen_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<basic_table_seen_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events" */
update_calendar_events: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_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?: (calendar_events_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_bool_exp}) => calendar_events_mutation_responseObservableChain & {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_mutation_response, R> | undefined)>}),
    
/** update data of the table: "calendar_events_attendees" */
update_calendar_events_attendees: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_attendees_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_attendees_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?: (calendar_events_attendees_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_attendees_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_attendees_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_attendees_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_attendees_bool_exp}) => calendar_events_attendees_mutation_responseObservableChain & {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_attendees" */
update_calendar_events_attendees_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_attendees_updates[]}) => {get: <R extends calendar_events_attendees_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_events_attendees_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update multiples rows of table: "calendar_events" */
update_calendar_events_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_updates[]}) => {get: <R extends calendar_events_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_events_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events_organizers" */
update_calendar_events_organizers: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_events_organizers_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_events_organizers_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?: (calendar_events_organizers_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_events_organizers_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_events_organizers_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_organizers_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_organizers_bool_exp}) => calendar_events_organizers_mutation_responseObservableChain & {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_organizers" */
update_calendar_events_organizers_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_organizers_updates[]}) => {get: <R extends calendar_events_organizers_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_events_organizers_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_events_view" */
update_calendar_events_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_events_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_events_view_bool_exp}) => calendar_events_view_mutation_responseObservableChain & {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_events_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_events_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_events_view" */
update_calendar_events_view_many: ((args: {
/** updates to execute, in order */
updates: calendar_events_view_updates[]}) => {get: <R extends calendar_events_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_events_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_events_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_tasks" */
update_calendar_tasks: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (calendar_tasks_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (calendar_tasks_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?: (calendar_tasks_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (calendar_tasks_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (calendar_tasks_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_bool_exp}) => calendar_tasks_mutation_responseObservableChain & {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_tasks" */
update_calendar_tasks_many: ((args: {
/** updates to execute, in order */
updates: calendar_tasks_updates[]}) => {get: <R extends calendar_tasks_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_tasks_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_tasks_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "calendar_tasks_view" */
update_calendar_tasks_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (calendar_tasks_view_set_input | null),
/** filter the rows which have to be updated */
where: calendar_tasks_view_bool_exp}) => calendar_tasks_view_mutation_responseObservableChain & {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "calendar_tasks_view" */
update_calendar_tasks_view_many: ((args: {
/** updates to execute, in order */
updates: calendar_tasks_view_updates[]}) => {get: <R extends calendar_tasks_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<calendar_tasks_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_attachments" */
update_chat_attachments: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_attachments_set_input | null),
/** filter the rows which have to be updated */
where: chat_attachments_bool_exp}) => chat_attachments_mutation_responseObservableChain & {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_attachments_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "chat_attachments" */
update_chat_attachments_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_attachments_set_input | null),pk_columns: chat_attachments_pk_columns_input}) => chat_attachmentsObservableChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Observable<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** update multiples rows of table: "chat_attachments" */
update_chat_attachments_many: ((args: {
/** updates to execute, in order */
updates: chat_attachments_updates[]}) => {get: <R extends chat_attachments_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_attachments_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_attachments_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_messages" */
update_chat_ticket_messages: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_messages_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_messages_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?: (chat_ticket_messages_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_messages_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_messages_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_bool_exp}) => chat_ticket_messages_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_messages" */
update_chat_ticket_messages_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_messages_updates[]}) => {get: <R extends chat_ticket_messages_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_ticket_messages_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_messages_view" */
update_chat_ticket_messages_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_messages_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_messages_view_bool_exp}) => chat_ticket_messages_view_mutation_responseObservableChain & {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_messages_view" */
update_chat_ticket_messages_view_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_messages_view_updates[]}) => {get: <R extends chat_ticket_messages_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_ticket_messages_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_user" */
update_chat_ticket_user: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_ticket_user_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_ticket_user_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?: (chat_ticket_user_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_ticket_user_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_ticket_user_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_bool_exp}) => chat_ticket_user_mutation_responseObservableChain & {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_user" */
update_chat_ticket_user_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_user_updates[]}) => {get: <R extends chat_ticket_user_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_ticket_user_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_ticket_user_view" */
update_chat_ticket_user_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_ticket_user_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_ticket_user_view_bool_exp}) => chat_ticket_user_view_mutation_responseObservableChain & {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_ticket_user_view" */
update_chat_ticket_user_view_many: ((args: {
/** updates to execute, in order */
updates: chat_ticket_user_view_updates[]}) => {get: <R extends chat_ticket_user_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_ticket_user_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_tickets" */
update_chat_tickets: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (chat_tickets_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (chat_tickets_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?: (chat_tickets_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (chat_tickets_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (chat_tickets_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_bool_exp}) => chat_tickets_mutation_responseObservableChain & {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_tickets" */
update_chat_tickets_many: ((args: {
/** updates to execute, in order */
updates: chat_tickets_updates[]}) => {get: <R extends chat_tickets_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_tickets_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_tickets_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "chat_tickets_view" */
update_chat_tickets_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (chat_tickets_view_set_input | null),
/** filter the rows which have to be updated */
where: chat_tickets_view_bool_exp}) => chat_tickets_view_mutation_responseObservableChain & {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "chat_tickets_view" */
update_chat_tickets_view_many: ((args: {
/** updates to execute, in order */
updates: chat_tickets_view_updates[]}) => {get: <R extends chat_tickets_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<chat_tickets_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<chat_tickets_view_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_basic_data" */
update_directory_user_basic_data: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_basic_data_set_input | null),
/** filter the rows which have to be updated */
where: directory_user_basic_data_bool_exp}) => directory_user_basic_data_mutation_responseObservableChain & {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "directory_user_basic_data" */
update_directory_user_basic_data_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_user_basic_data_set_input | null),pk_columns: directory_user_basic_data_pk_columns_input}) => directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** update multiples rows of table: "directory_user_basic_data" */
update_directory_user_basic_data_many: ((args: {
/** updates to execute, in order */
updates: directory_user_basic_data_updates[]}) => {get: <R extends directory_user_basic_data_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_user_basic_data_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_user_basic_data_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: "directory_users" */
update_directory_users: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_bool_exp}) => directory_users_mutation_responseObservableChain & {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_mutation_response, R> | undefined)>}),
    
/** update data of the table: "directory_users_auth_logs" */
update_directory_users_auth_logs: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (directory_users_auth_logs_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (directory_users_auth_logs_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?: (directory_users_auth_logs_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (directory_users_auth_logs_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (directory_users_auth_logs_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_bool_exp}) => directory_users_auth_logs_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users_auth_logs" */
update_directory_users_auth_logs_many: ((args: {
/** updates to execute, in order */
updates: directory_users_auth_logs_updates[]}) => {get: <R extends directory_users_auth_logs_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_users_auth_logs_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "directory_users_auth_logs_view" */
update_directory_users_auth_logs_view: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_auth_logs_view_set_input | null),
/** filter the rows which have to be updated */
where: directory_users_auth_logs_view_bool_exp}) => directory_users_auth_logs_view_mutation_responseObservableChain & {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users_auth_logs_view" */
update_directory_users_auth_logs_view_many: ((args: {
/** updates to execute, in order */
updates: directory_users_auth_logs_view_updates[]}) => {get: <R extends directory_users_auth_logs_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_users_auth_logs_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update single row of the table: "directory_users" */
update_directory_users_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (directory_users_set_input | null),pk_columns: directory_users_pk_columns_input}) => directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** update multiples rows of table: "directory_users" */
update_directory_users_many: ((args: {
/** updates to execute, in order */
updates: directory_users_updates[]}) => {get: <R extends directory_users_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<directory_users_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<directory_users_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_document_patient" */
update_proxy_document_patient: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_document_patient_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_document_patient_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?: (proxy_document_patient_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_document_patient_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_document_patient_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_bool_exp}) => proxy_document_patient_mutation_responseObservableChain & {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_document_patient" */
update_proxy_document_patient_many: ((args: {
/** updates to execute, in order */
updates: proxy_document_patient_updates[]}) => {get: <R extends proxy_document_patient_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_document_patient_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_document_patient_view" */
update_proxy_document_patient_view: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_document_patient_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_document_patient_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_document_patient_view_bool_exp}) => proxy_document_patient_view_mutation_responseObservableChain & {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_document_patient_view" */
update_proxy_document_patient_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_document_patient_view_updates[]}) => {get: <R extends proxy_document_patient_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_document_patient_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_documents" */
update_proxy_documents: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_documents_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_documents_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?: (proxy_documents_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_documents_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_documents_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_bool_exp}) => proxy_documents_mutation_responseObservableChain & {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_documents" */
update_proxy_documents_many: ((args: {
/** updates to execute, in order */
updates: proxy_documents_updates[]}) => {get: <R extends proxy_documents_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_documents_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_documents_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_documents_view" */
update_proxy_documents_view: ((args: {
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_documents_view_inc_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_documents_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_documents_view_bool_exp}) => proxy_documents_view_mutation_responseObservableChain & {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_documents_view" */
update_proxy_documents_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_documents_view_updates[]}) => {get: <R extends proxy_documents_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_documents_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_queries" */
update_proxy_queries: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_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?: (proxy_queries_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_delete_key_input | null),
/** increments the numeric columns with given value of the filtered values */
_inc?: (proxy_queries_inc_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_bool_exp}) => proxy_queries_mutation_responseObservableChain & {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_queries" */
update_proxy_queries_many: ((args: {
/** updates to execute, in order */
updates: proxy_queries_updates[]}) => {get: <R extends proxy_queries_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_queries_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_queries_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "proxy_queries_view" */
update_proxy_queries_view: ((args: {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: (proxy_queries_view_append_input | null),
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: (proxy_queries_view_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?: (proxy_queries_view_delete_elem_input | null),
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: (proxy_queries_view_delete_key_input | null),
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: (proxy_queries_view_prepend_input | null),
/** sets the columns of the filtered rows to the given values */
_set?: (proxy_queries_view_set_input | null),
/** filter the rows which have to be updated */
where: proxy_queries_view_bool_exp}) => proxy_queries_view_mutation_responseObservableChain & {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)>}),
    
/** update multiples rows of table: "proxy_queries_view" */
update_proxy_queries_view_many: ((args: {
/** updates to execute, in order */
updates: proxy_queries_view_updates[]}) => {get: <R extends proxy_queries_view_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<proxy_queries_view_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "services" */
update_services: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (services_set_input | null),
/** filter the rows which have to be updated */
where: services_bool_exp}) => services_mutation_responseObservableChain & {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<services_mutation_response, R> | undefined)) => Observable<(FieldsSelection<services_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "services" */
update_services_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (services_set_input | null),pk_columns: services_pk_columns_input}) => servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Observable<(FieldsSelection<services, R> | undefined)>}),
    
/** update multiples rows of table: "services" */
update_services_many: ((args: {
/** updates to execute, in order */
updates: services_updates[]}) => {get: <R extends services_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<services_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<services_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "table_metadata" */
update_table_metadata: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_metadata_set_input | null),
/** filter the rows which have to be updated */
where: table_metadata_bool_exp}) => table_metadata_mutation_responseObservableChain & {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_mutation_response, R> | undefined)) => Observable<(FieldsSelection<table_metadata_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "table_metadata" */
update_table_metadata_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (table_metadata_set_input | null),pk_columns: table_metadata_pk_columns_input}) => table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** update multiples rows of table: "table_metadata" */
update_table_metadata_many: ((args: {
/** updates to execute, in order */
updates: table_metadata_updates[]}) => {get: <R extends table_metadata_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<table_metadata_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<table_metadata_mutation_response, R> | undefined)[] | undefined)>}),
    
/** update data of the table: "tables" */
update_tables: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (tables_set_input | null),
/** filter the rows which have to be updated */
where: tables_bool_exp}) => tables_mutation_responseObservableChain & {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: (FieldsSelection<tables_mutation_response, R> | undefined)) => Observable<(FieldsSelection<tables_mutation_response, R> | undefined)>}),
    
/** update single row of the table: "tables" */
update_tables_by_pk: ((args: {
/** sets the columns of the filtered rows to the given values */
_set?: (tables_set_input | null),pk_columns: tables_pk_columns_input}) => tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Observable<(FieldsSelection<tables, R> | undefined)>}),
    
/** update multiples rows of table: "tables" */
update_tables_many: ((args: {
/** updates to execute, in order */
updates: tables_updates[]}) => {get: <R extends tables_mutation_responseRequest>(request: R, defaultValue?: ((FieldsSelection<tables_mutation_response, R> | undefined)[] | undefined)) => Observable<((FieldsSelection<tables_mutation_response, R> | undefined)[] | undefined)>})
}


/** columns and relationships of "proxy_document_patient" */
export interface proxy_document_patientPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "proxy_document_patient" */
export interface proxy_document_patientObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "proxy_document_patient" */
export interface proxy_document_patient_aggregatePromiseChain{
    aggregate: (proxy_document_patient_aggregate_fieldsPromiseChain & {get: <R extends proxy_document_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>})
}


/** aggregated selection of "proxy_document_patient" */
export interface proxy_document_patient_aggregateObservableChain{
    aggregate: (proxy_document_patient_aggregate_fieldsObservableChain & {get: <R extends proxy_document_patient_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>})
}


/** aggregate fields of "proxy_document_patient" */
export interface proxy_document_patient_aggregate_fieldsPromiseChain{
    avg: (proxy_document_patient_avg_fieldsPromiseChain & {get: <R extends proxy_document_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_avg_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_document_patient_max_fieldsPromiseChain & {get: <R extends proxy_document_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_max_fields, R> | undefined)>}),
    min: (proxy_document_patient_min_fieldsPromiseChain & {get: <R extends proxy_document_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_min_fields, R> | undefined)>}),
    stddev: (proxy_document_patient_stddev_fieldsPromiseChain & {get: <R extends proxy_document_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_document_patient_stddev_pop_fieldsPromiseChain & {get: <R extends proxy_document_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_document_patient_stddev_samp_fieldsPromiseChain & {get: <R extends proxy_document_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_document_patient_sum_fieldsPromiseChain & {get: <R extends proxy_document_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_sum_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_sum_fields, R> | undefined)>}),
    var_pop: (proxy_document_patient_var_pop_fieldsPromiseChain & {get: <R extends proxy_document_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_document_patient_var_samp_fieldsPromiseChain & {get: <R extends proxy_document_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_var_samp_fields, R> | undefined)>}),
    variance: (proxy_document_patient_variance_fieldsPromiseChain & {get: <R extends proxy_document_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_variance_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_variance_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_document_patient" */
export interface proxy_document_patient_aggregate_fieldsObservableChain{
    avg: (proxy_document_patient_avg_fieldsObservableChain & {get: <R extends proxy_document_patient_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_avg_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_document_patient_max_fieldsObservableChain & {get: <R extends proxy_document_patient_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_max_fields, R> | undefined)>}),
    min: (proxy_document_patient_min_fieldsObservableChain & {get: <R extends proxy_document_patient_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_min_fields, R> | undefined)>}),
    stddev: (proxy_document_patient_stddev_fieldsObservableChain & {get: <R extends proxy_document_patient_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_document_patient_stddev_pop_fieldsObservableChain & {get: <R extends proxy_document_patient_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_document_patient_stddev_samp_fieldsObservableChain & {get: <R extends proxy_document_patient_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_document_patient_sum_fieldsObservableChain & {get: <R extends proxy_document_patient_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_sum_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_sum_fields, R> | undefined)>}),
    var_pop: (proxy_document_patient_var_pop_fieldsObservableChain & {get: <R extends proxy_document_patient_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_document_patient_var_samp_fieldsObservableChain & {get: <R extends proxy_document_patient_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_var_samp_fields, R> | undefined)>}),
    variance: (proxy_document_patient_variance_fieldsObservableChain & {get: <R extends proxy_document_patient_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_variance_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_document_patient_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_document_patient_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_document_patient_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_document_patient_max_fieldsObservableChain{
    activity_id: ({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)>}),
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_document_patient_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_document_patient_min_fieldsObservableChain{
    activity_id: ({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)>}),
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "proxy_document_patient" */
export interface proxy_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 proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>})
}


/** response of any mutation on the table "proxy_document_patient" */
export interface proxy_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 proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>})
}


/** aggregate stddev on columns */
export interface proxy_document_patient_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface proxy_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 proxy_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 proxy_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 proxy_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 proxy_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 proxy_document_patient_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_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 proxy_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 proxy_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 proxy_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 proxy_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 proxy_document_patient_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_document_patient_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "proxy_document_patient_view" */
export interface proxy_document_patient_viewPromiseChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    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'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    
/** An array relationship */
proxyDocuments: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** An aggregate relationship */
proxyDocuments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    seen_by_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    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)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** columns and relationships of "proxy_document_patient_view" */
export interface proxy_document_patient_viewObservableChain{
    archived: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    for_signing: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    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'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    
/** An array relationship */
proxyDocuments: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** An aggregate relationship */
proxyDocuments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    seen_by_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    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)>}),
    soknad_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregated selection of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregatePromiseChain{
    aggregate: (proxy_document_patient_view_aggregate_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>})
}


/** aggregated selection of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregateObservableChain{
    aggregate: (proxy_document_patient_view_aggregate_fieldsObservableChain & {get: <R extends proxy_document_patient_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>})
}


/** aggregate fields of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregate_fieldsPromiseChain{
    avg: (proxy_document_patient_view_avg_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_avg_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_document_patient_view_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: (proxy_document_patient_view_max_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_max_fields, R> | undefined)>}),
    min: (proxy_document_patient_view_min_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_min_fields, R> | undefined)>}),
    stddev: (proxy_document_patient_view_stddev_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_document_patient_view_stddev_pop_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_document_patient_view_stddev_samp_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_document_patient_view_sum_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_sum_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_sum_fields, R> | undefined)>}),
    var_pop: (proxy_document_patient_view_var_pop_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_document_patient_view_var_samp_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_var_samp_fields, R> | undefined)>}),
    variance: (proxy_document_patient_view_variance_fieldsPromiseChain & {get: <R extends proxy_document_patient_view_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_variance_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_document_patient_view_variance_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_document_patient_view" */
export interface proxy_document_patient_view_aggregate_fieldsObservableChain{
    avg: (proxy_document_patient_view_avg_fieldsObservableChain & {get: <R extends proxy_document_patient_view_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_avg_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_document_patient_view_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: (proxy_document_patient_view_max_fieldsObservableChain & {get: <R extends proxy_document_patient_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_max_fields, R> | undefined)>}),
    min: (proxy_document_patient_view_min_fieldsObservableChain & {get: <R extends proxy_document_patient_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_min_fields, R> | undefined)>}),
    stddev: (proxy_document_patient_view_stddev_fieldsObservableChain & {get: <R extends proxy_document_patient_view_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_document_patient_view_stddev_pop_fieldsObservableChain & {get: <R extends proxy_document_patient_view_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_document_patient_view_stddev_samp_fieldsObservableChain & {get: <R extends proxy_document_patient_view_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_document_patient_view_sum_fieldsObservableChain & {get: <R extends proxy_document_patient_view_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_sum_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_sum_fields, R> | undefined)>}),
    var_pop: (proxy_document_patient_view_var_pop_fieldsObservableChain & {get: <R extends proxy_document_patient_view_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_document_patient_view_var_samp_fieldsObservableChain & {get: <R extends proxy_document_patient_view_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_var_samp_fields, R> | undefined)>}),
    variance: (proxy_document_patient_view_variance_fieldsObservableChain & {get: <R extends proxy_document_patient_view_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_document_patient_view_variance_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_document_patient_view_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_document_patient_view_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_document_patient_view_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_document_patient_view_max_fieldsPromiseChain{
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate max on columns */
export interface proxy_document_patient_view_max_fieldsObservableChain{
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate min on columns */
export interface proxy_document_patient_view_min_fieldsPromiseChain{
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** aggregate min on columns */
export interface proxy_document_patient_view_min_fieldsObservableChain{
    create_user_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>})
}


/** response of any mutation on the table "proxy_document_patient_view" */
export interface proxy_document_patient_view_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 proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>})
}


/** response of any mutation on the table "proxy_document_patient_view" */
export interface proxy_document_patient_view_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 proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>})
}


/** aggregate stddev on columns */
export interface proxy_document_patient_view_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface proxy_document_patient_view_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_document_patient_view_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_document_patient_view_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_document_patient_view_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_document_patient_view_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_document_patient_view_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_document_patient_view_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_document_patient_view_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_document_patient_view_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_document_patient_view_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_document_patient_view_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_document_patient_view_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_document_patient_view_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "proxy_documents" */
export interface proxy_documentsPromiseChain{
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "proxy_documents" */
export interface proxy_documentsObservableChain{
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "proxy_documents" */
export interface proxy_documents_aggregatePromiseChain{
    aggregate: (proxy_documents_aggregate_fieldsPromiseChain & {get: <R extends proxy_documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})
}


/** aggregated selection of "proxy_documents" */
export interface proxy_documents_aggregateObservableChain{
    aggregate: (proxy_documents_aggregate_fieldsObservableChain & {get: <R extends proxy_documents_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})
}


/** aggregate fields of "proxy_documents" */
export interface proxy_documents_aggregate_fieldsPromiseChain{
    avg: (proxy_documents_avg_fieldsPromiseChain & {get: <R extends proxy_documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_avg_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_documents_max_fieldsPromiseChain & {get: <R extends proxy_documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_max_fields, R> | undefined)>}),
    min: (proxy_documents_min_fieldsPromiseChain & {get: <R extends proxy_documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_min_fields, R> | undefined)>}),
    stddev: (proxy_documents_stddev_fieldsPromiseChain & {get: <R extends proxy_documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_documents_stddev_pop_fieldsPromiseChain & {get: <R extends proxy_documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_documents_stddev_samp_fieldsPromiseChain & {get: <R extends proxy_documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_documents_sum_fieldsPromiseChain & {get: <R extends proxy_documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_sum_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_sum_fields, R> | undefined)>}),
    var_pop: (proxy_documents_var_pop_fieldsPromiseChain & {get: <R extends proxy_documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_documents_var_samp_fieldsPromiseChain & {get: <R extends proxy_documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_var_samp_fields, R> | undefined)>}),
    variance: (proxy_documents_variance_fieldsPromiseChain & {get: <R extends proxy_documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_variance_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_variance_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_documents" */
export interface proxy_documents_aggregate_fieldsObservableChain{
    avg: (proxy_documents_avg_fieldsObservableChain & {get: <R extends proxy_documents_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_avg_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_documents_max_fieldsObservableChain & {get: <R extends proxy_documents_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_max_fields, R> | undefined)>}),
    min: (proxy_documents_min_fieldsObservableChain & {get: <R extends proxy_documents_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_min_fields, R> | undefined)>}),
    stddev: (proxy_documents_stddev_fieldsObservableChain & {get: <R extends proxy_documents_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_documents_stddev_pop_fieldsObservableChain & {get: <R extends proxy_documents_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_documents_stddev_samp_fieldsObservableChain & {get: <R extends proxy_documents_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_documents_sum_fieldsObservableChain & {get: <R extends proxy_documents_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_sum_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_sum_fields, R> | undefined)>}),
    var_pop: (proxy_documents_var_pop_fieldsObservableChain & {get: <R extends proxy_documents_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_documents_var_samp_fieldsObservableChain & {get: <R extends proxy_documents_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_var_samp_fields, R> | undefined)>}),
    variance: (proxy_documents_variance_fieldsObservableChain & {get: <R extends proxy_documents_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_variance_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_documents_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_documents_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_documents_max_fieldsPromiseChain{
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_documents_max_fieldsObservableChain{
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_documents_min_fieldsPromiseChain{
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_documents_min_fieldsObservableChain{
    customer_id: ({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)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "proxy_documents" */
export interface proxy_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 proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})
}


/** response of any mutation on the table "proxy_documents" */
export interface proxy_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 proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})
}


/** aggregate stddev on columns */
export interface proxy_documents_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface proxy_documents_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_documents_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_documents_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_documents_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_documents_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_documents_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_documents_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_documents_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_documents_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_documents_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_documents_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_documents_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_documents_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "proxy_documents_view" */
export interface proxy_documents_viewPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    combine_signatures: ({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)>}),
    deleted_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    signed_by_therapist: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** columns and relationships of "proxy_documents_view" */
export interface proxy_documents_viewObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    auto_import: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    combine_signatures: ({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)>}),
    deleted_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    signed_by_therapist: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregated selection of "proxy_documents_view" */
export interface proxy_documents_view_aggregatePromiseChain{
    aggregate: (proxy_documents_view_aggregate_fieldsPromiseChain & {get: <R extends proxy_documents_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>})
}


/** aggregated selection of "proxy_documents_view" */
export interface proxy_documents_view_aggregateObservableChain{
    aggregate: (proxy_documents_view_aggregate_fieldsObservableChain & {get: <R extends proxy_documents_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>})
}


/** aggregate fields of "proxy_documents_view" */
export interface proxy_documents_view_aggregate_fieldsPromiseChain{
    avg: (proxy_documents_view_avg_fieldsPromiseChain & {get: <R extends proxy_documents_view_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_avg_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_documents_view_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: (proxy_documents_view_max_fieldsPromiseChain & {get: <R extends proxy_documents_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_max_fields, R> | undefined)>}),
    min: (proxy_documents_view_min_fieldsPromiseChain & {get: <R extends proxy_documents_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_min_fields, R> | undefined)>}),
    stddev: (proxy_documents_view_stddev_fieldsPromiseChain & {get: <R extends proxy_documents_view_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_documents_view_stddev_pop_fieldsPromiseChain & {get: <R extends proxy_documents_view_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_documents_view_stddev_samp_fieldsPromiseChain & {get: <R extends proxy_documents_view_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_documents_view_sum_fieldsPromiseChain & {get: <R extends proxy_documents_view_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_sum_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_sum_fields, R> | undefined)>}),
    var_pop: (proxy_documents_view_var_pop_fieldsPromiseChain & {get: <R extends proxy_documents_view_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_documents_view_var_samp_fieldsPromiseChain & {get: <R extends proxy_documents_view_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_var_samp_fields, R> | undefined)>}),
    variance: (proxy_documents_view_variance_fieldsPromiseChain & {get: <R extends proxy_documents_view_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_variance_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_documents_view_variance_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_documents_view" */
export interface proxy_documents_view_aggregate_fieldsObservableChain{
    avg: (proxy_documents_view_avg_fieldsObservableChain & {get: <R extends proxy_documents_view_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_avg_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_documents_view_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: (proxy_documents_view_max_fieldsObservableChain & {get: <R extends proxy_documents_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_max_fields, R> | undefined)>}),
    min: (proxy_documents_view_min_fieldsObservableChain & {get: <R extends proxy_documents_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_min_fields, R> | undefined)>}),
    stddev: (proxy_documents_view_stddev_fieldsObservableChain & {get: <R extends proxy_documents_view_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_documents_view_stddev_pop_fieldsObservableChain & {get: <R extends proxy_documents_view_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_documents_view_stddev_samp_fieldsObservableChain & {get: <R extends proxy_documents_view_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_documents_view_sum_fieldsObservableChain & {get: <R extends proxy_documents_view_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_sum_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_sum_fields, R> | undefined)>}),
    var_pop: (proxy_documents_view_var_pop_fieldsObservableChain & {get: <R extends proxy_documents_view_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_documents_view_var_samp_fieldsObservableChain & {get: <R extends proxy_documents_view_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_var_samp_fields, R> | undefined)>}),
    variance: (proxy_documents_view_variance_fieldsObservableChain & {get: <R extends proxy_documents_view_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_documents_view_variance_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_documents_view_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_documents_view_avg_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_documents_view_avg_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_documents_view_max_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_documents_view_max_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_documents_view_min_fieldsPromiseChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | 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['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_documents_view_min_fieldsObservableChain{
    artifact_parcel_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | 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['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({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)>}),
    op: ({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)>}),
    sds_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    upload_patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>})
}


/** response of any mutation on the table "proxy_documents_view" */
export interface proxy_documents_view_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 proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>})
}


/** response of any mutation on the table "proxy_documents_view" */
export interface proxy_documents_view_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 proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>})
}


/** aggregate stddev on columns */
export interface proxy_documents_view_stddev_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface proxy_documents_view_stddev_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_documents_view_stddev_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_documents_view_stddev_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_documents_view_stddev_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_documents_view_stddev_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_documents_view_sum_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Promise<(Scalars['Int'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_documents_view_sum_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Int'] | undefined)) => Observable<(Scalars['Int'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_documents_view_var_pop_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_documents_view_var_pop_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_documents_view_var_samp_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_documents_view_var_samp_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_documents_view_variance_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_documents_view_variance_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "proxy_queries" */
export interface proxy_queriesPromiseChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Promise<Scalars['Boolean']>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Promise<FieldsSelection<table_metadata, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Promise<Scalars['timestamp']>})
}


/** columns and relationships of "proxy_queries" */
export interface proxy_queriesObservableChain{
    activity_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    customer_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    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']>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    jwt_claims: ((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)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>}),
    patient_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    primary_key_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>}),
    query_uuid: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    show: ({get: (request?: boolean|number, defaultValue?: Scalars['Boolean']) => Observable<Scalars['Boolean']>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    table_metadata_id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An object relationship */
table_metadatum: (table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>) => Observable<FieldsSelection<table_metadata, R>>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    updated_at: ({get: (request?: boolean|number, defaultValue?: Scalars['timestamp']) => Observable<Scalars['timestamp']>})
}


/** aggregated selection of "proxy_queries" */
export interface proxy_queries_aggregatePromiseChain{
    aggregate: (proxy_queries_aggregate_fieldsPromiseChain & {get: <R extends proxy_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})
}


/** aggregated selection of "proxy_queries" */
export interface proxy_queries_aggregateObservableChain{
    aggregate: (proxy_queries_aggregate_fieldsObservableChain & {get: <R extends proxy_queries_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})
}


/** aggregate fields of "proxy_queries" */
export interface proxy_queries_aggregate_fieldsPromiseChain{
    avg: (proxy_queries_avg_fieldsPromiseChain & {get: <R extends proxy_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_avg_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_queries_max_fieldsPromiseChain & {get: <R extends proxy_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_max_fields, R> | undefined)>}),
    min: (proxy_queries_min_fieldsPromiseChain & {get: <R extends proxy_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_min_fields, R> | undefined)>}),
    stddev: (proxy_queries_stddev_fieldsPromiseChain & {get: <R extends proxy_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_queries_stddev_pop_fieldsPromiseChain & {get: <R extends proxy_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_queries_stddev_samp_fieldsPromiseChain & {get: <R extends proxy_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_queries_sum_fieldsPromiseChain & {get: <R extends proxy_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_sum_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_sum_fields, R> | undefined)>}),
    var_pop: (proxy_queries_var_pop_fieldsPromiseChain & {get: <R extends proxy_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_var_pop_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_queries_var_samp_fieldsPromiseChain & {get: <R extends proxy_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_var_samp_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_var_samp_fields, R> | undefined)>}),
    variance: (proxy_queries_variance_fieldsPromiseChain & {get: <R extends proxy_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_variance_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_variance_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_queries" */
export interface proxy_queries_aggregate_fieldsObservableChain{
    avg: (proxy_queries_avg_fieldsObservableChain & {get: <R extends proxy_queries_avg_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_avg_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_avg_fields, R> | undefined)>}),
    count: ((args?: {columns?: (proxy_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: (proxy_queries_max_fieldsObservableChain & {get: <R extends proxy_queries_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_max_fields, R> | undefined)>}),
    min: (proxy_queries_min_fieldsObservableChain & {get: <R extends proxy_queries_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_min_fields, R> | undefined)>}),
    stddev: (proxy_queries_stddev_fieldsObservableChain & {get: <R extends proxy_queries_stddev_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_stddev_fields, R> | undefined)>}),
    stddev_pop: (proxy_queries_stddev_pop_fieldsObservableChain & {get: <R extends proxy_queries_stddev_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_stddev_pop_fields, R> | undefined)>}),
    stddev_samp: (proxy_queries_stddev_samp_fieldsObservableChain & {get: <R extends proxy_queries_stddev_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_stddev_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_stddev_samp_fields, R> | undefined)>}),
    sum: (proxy_queries_sum_fieldsObservableChain & {get: <R extends proxy_queries_sum_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_sum_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_sum_fields, R> | undefined)>}),
    var_pop: (proxy_queries_var_pop_fieldsObservableChain & {get: <R extends proxy_queries_var_pop_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_var_pop_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_var_pop_fields, R> | undefined)>}),
    var_samp: (proxy_queries_var_samp_fieldsObservableChain & {get: <R extends proxy_queries_var_samp_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_var_samp_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_var_samp_fields, R> | undefined)>}),
    variance: (proxy_queries_variance_fieldsObservableChain & {get: <R extends proxy_queries_variance_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_variance_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_variance_fields, R> | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_queries_avg_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate avg on columns */
export interface proxy_queries_avg_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_queries_max_fieldsPromiseChain{
    activity_id: ({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)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_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)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate max on columns */
export interface proxy_queries_max_fieldsObservableChain{
    activity_id: ({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)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_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)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_queries_min_fieldsPromiseChain{
    activity_id: ({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)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_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)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>})
}


/** aggregate min on columns */
export interface proxy_queries_min_fieldsObservableChain{
    activity_id: ({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)>}),
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>}),
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    primary_key_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)>}),
    status: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    table_metadata_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['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>})
}


/** response of any mutation on the table "proxy_queries" */
export interface proxy_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 proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})
}


/** response of any mutation on the table "proxy_queries" */
export interface proxy_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 proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})
}


/** aggregate stddev on columns */
export interface proxy_queries_stddev_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev on columns */
export interface proxy_queries_stddev_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_queries_stddev_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_pop on columns */
export interface proxy_queries_stddev_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_queries_stddev_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate stddev_samp on columns */
export interface proxy_queries_stddev_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_queries_sum_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Promise<(Scalars['bigint'] | undefined)>})
}


/** aggregate sum on columns */
export interface proxy_queries_sum_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['bigint'] | undefined)) => Observable<(Scalars['bigint'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_queries_var_pop_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_pop on columns */
export interface proxy_queries_var_pop_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_queries_var_samp_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate var_samp on columns */
export interface proxy_queries_var_samp_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_queries_variance_fieldsPromiseChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Promise<(Scalars['Float'] | undefined)>})
}


/** aggregate variance on columns */
export interface proxy_queries_variance_fieldsObservableChain{
    document_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['Float'] | undefined)) => Observable<(Scalars['Float'] | undefined)>})
}


/** columns and relationships of "proxy_queries_view" */
export interface proxy_queries_viewPromiseChain{
    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)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Promise<(Scalars['Boolean'] | undefined)>}),
    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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | 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)>})
}


/** columns and relationships of "proxy_queries_view" */
export interface proxy_queries_viewObservableChain{
    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)>}),
    hide_for_patient: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    initiator: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    seen: ({get: (request?: boolean|number, defaultValue?: (Scalars['Boolean'] | undefined)) => Observable<(Scalars['Boolean'] | undefined)>}),
    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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | 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)>})
}


/** aggregated selection of "proxy_queries_view" */
export interface proxy_queries_view_aggregatePromiseChain{
    aggregate: (proxy_queries_view_aggregate_fieldsPromiseChain & {get: <R extends proxy_queries_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>})
}


/** aggregated selection of "proxy_queries_view" */
export interface proxy_queries_view_aggregateObservableChain{
    aggregate: (proxy_queries_view_aggregate_fieldsObservableChain & {get: <R extends proxy_queries_view_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>})
}


/** aggregate fields of "proxy_queries_view" */
export interface proxy_queries_view_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (proxy_queries_view_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: (proxy_queries_view_max_fieldsPromiseChain & {get: <R extends proxy_queries_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_max_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_max_fields, R> | undefined)>}),
    min: (proxy_queries_view_min_fieldsPromiseChain & {get: <R extends proxy_queries_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_min_fields, R> | undefined)) => Promise<(FieldsSelection<proxy_queries_view_min_fields, R> | undefined)>})
}


/** aggregate fields of "proxy_queries_view" */
export interface proxy_queries_view_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (proxy_queries_view_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: (proxy_queries_view_max_fieldsObservableChain & {get: <R extends proxy_queries_view_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_max_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_max_fields, R> | undefined)>}),
    min: (proxy_queries_view_min_fieldsObservableChain & {get: <R extends proxy_queries_view_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<proxy_queries_view_min_fields, R> | undefined)) => Observable<(FieldsSelection<proxy_queries_view_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface proxy_queries_view_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | 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 proxy_queries_view_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | 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 proxy_queries_view_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Promise<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | 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 proxy_queries_view_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)>}),
    log_id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_at: ({get: (request?: boolean|number, defaultValue?: (Scalars['timestamp'] | undefined)) => Observable<(Scalars['timestamp'] | undefined)>}),
    log_updated_by: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    log_updated_by_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>}),
    op: ({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)>}),
    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)>}),
    title: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | 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 "proxy_queries_view" */
export interface proxy_queries_view_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 proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>})
}


/** response of any mutation on the table "proxy_queries_view" */
export interface proxy_queries_view_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 proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>})
}

export interface query_rootPromiseChain{
    
/** fetch data from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
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: "base_table" */
base_table: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>}),
    
/** fetch aggregated fields from the table: "base_table" */
base_table_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>}),
    
/** fetch data from the table: "base_table" using primary key columns */
base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tablePromiseChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Promise<(FieldsSelection<base_table, R> | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** fetch data from the table: "basic_table_seen" using primary key columns */
basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenPromiseChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** fetch data from the table: "calendar_events_view" */
calendar_events_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>})&({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_events_view" */
calendar_events_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => calendar_events_view_aggregatePromiseChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Promise<FieldsSelection<calendar_events_view_aggregate, R>>})&(calendar_events_view_aggregatePromiseChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Promise<FieldsSelection<calendar_events_view_aggregate, R>>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** fetch data from the table: "calendar_tasks_view" */
calendar_tasks_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>})&({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_tasks_view" */
calendar_tasks_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => calendar_tasks_view_aggregatePromiseChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_view_aggregate, R>>})&(calendar_tasks_view_aggregatePromiseChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_view_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" */
chat_attachments: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>})&({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_attachments" */
chat_attachments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => chat_attachments_aggregatePromiseChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Promise<FieldsSelection<chat_attachments_aggregate, R>>})&(chat_attachments_aggregatePromiseChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Promise<FieldsSelection<chat_attachments_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" using primary key columns */
chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsPromiseChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Promise<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>})&({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => chat_ticket_messages_view_aggregatePromiseChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_view_aggregate, R>>})&(chat_ticket_messages_view_aggregatePromiseChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_view_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_user" */
chat_ticket_user: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user" */
chat_ticket_user_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_user_view" */
chat_ticket_user_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user_view" */
chat_ticket_user_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** fetch data from the table: "chat_tickets_view" */
chat_tickets_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>})&({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_tickets_view" */
chat_tickets_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => chat_tickets_view_aggregatePromiseChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Promise<FieldsSelection<chat_tickets_view_aggregate, R>>})&(chat_tickets_view_aggregatePromiseChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Promise<FieldsSelection<chat_tickets_view_aggregate, 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: "directory_user_basic_data" */
directory_user_basic_data: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>})&({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_basic_data" */
directory_user_basic_data_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => directory_user_basic_data_aggregatePromiseChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Promise<FieldsSelection<directory_user_basic_data_aggregate, R>>})&(directory_user_basic_data_aggregatePromiseChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Promise<FieldsSelection<directory_user_basic_data_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_basic_data" using primary key columns */
directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
directory_users: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>})&({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users" */
directory_users_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => directory_users_aggregatePromiseChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Promise<FieldsSelection<directory_users_aggregate, R>>})&(directory_users_aggregatePromiseChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Promise<FieldsSelection<directory_users_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    
/** fetch data from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>})&({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => directory_users_auth_logs_view_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>})&(directory_users_auth_logs_view_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>}),
    
/** fetch data from the table: "directory_users" using primary key columns */
directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** fetch data from the table: "proxy_document_patient" */
proxy_document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient" */
proxy_document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** fetch data from the table: "proxy_document_patient_view" */
proxy_document_patient_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>})&({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient_view" */
proxy_document_patient_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => proxy_document_patient_view_aggregatePromiseChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_view_aggregate, R>>})&(proxy_document_patient_view_aggregatePromiseChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_view_aggregate, R>>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** fetch data from the table: "proxy_documents_view" */
proxy_documents_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_documents_view" */
proxy_documents_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>}),
    
/** fetch data from the table: "proxy_queries_view" */
proxy_queries_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>})&({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_queries_view" */
proxy_queries_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => proxy_queries_view_aggregatePromiseChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Promise<FieldsSelection<proxy_queries_view_aggregate, R>>})&(proxy_queries_view_aggregatePromiseChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Promise<FieldsSelection<proxy_queries_view_aggregate, R>>}),
    
/** fetch data from the table: "services" */
services: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>})&({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>}),
    
/** fetch aggregated fields from the table: "services" */
services_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => services_aggregatePromiseChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Promise<FieldsSelection<services_aggregate, R>>})&(services_aggregatePromiseChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Promise<FieldsSelection<services_aggregate, R>>}),
    
/** fetch data from the table: "services" using primary key columns */
services_by_pk: ((args: {name: Scalars['String']}) => servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Promise<(FieldsSelection<services, R> | undefined)>}),
    
/** An array relationship */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>}),
    
/** fetch data from the table: "table_metadata" using primary key columns */
table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** fetch data from the table: "tables" */
tables: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>})&({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>}),
    
/** fetch aggregated fields from the table: "tables" */
tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => tables_aggregatePromiseChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Promise<FieldsSelection<tables_aggregate, R>>})&(tables_aggregatePromiseChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Promise<FieldsSelection<tables_aggregate, R>>}),
    
/** fetch data from the table: "tables" using primary key columns */
tables_by_pk: ((args: {name: Scalars['String']}) => tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Promise<(FieldsSelection<tables, R> | undefined)>})
}

export interface query_rootObservableChain{
    
/** fetch data from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
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: "base_table" */
base_table: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>}),
    
/** fetch aggregated fields from the table: "base_table" */
base_table_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>}),
    
/** fetch data from the table: "base_table" using primary key columns */
base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tableObservableChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Observable<(FieldsSelection<base_table, R> | undefined)>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** fetch data from the table: "basic_table_seen" using primary key columns */
basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenObservableChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** fetch data from the table: "calendar_events_view" */
calendar_events_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>})&({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_events_view" */
calendar_events_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => calendar_events_view_aggregateObservableChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Observable<FieldsSelection<calendar_events_view_aggregate, R>>})&(calendar_events_view_aggregateObservableChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Observable<FieldsSelection<calendar_events_view_aggregate, R>>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** fetch data from the table: "calendar_tasks_view" */
calendar_tasks_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>})&({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_tasks_view" */
calendar_tasks_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => calendar_tasks_view_aggregateObservableChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_view_aggregate, R>>})&(calendar_tasks_view_aggregateObservableChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_view_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" */
chat_attachments: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>})&({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_attachments" */
chat_attachments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => chat_attachments_aggregateObservableChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Observable<FieldsSelection<chat_attachments_aggregate, R>>})&(chat_attachments_aggregateObservableChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Observable<FieldsSelection<chat_attachments_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" using primary key columns */
chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsObservableChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Observable<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>})&({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => chat_ticket_messages_view_aggregateObservableChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_view_aggregate, R>>})&(chat_ticket_messages_view_aggregateObservableChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_view_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_user" */
chat_ticket_user: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user" */
chat_ticket_user_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** fetch data from the table: "chat_ticket_user_view" */
chat_ticket_user_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user_view" */
chat_ticket_user_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** fetch data from the table: "chat_tickets_view" */
chat_tickets_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>})&({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_tickets_view" */
chat_tickets_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => chat_tickets_view_aggregateObservableChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Observable<FieldsSelection<chat_tickets_view_aggregate, R>>})&(chat_tickets_view_aggregateObservableChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Observable<FieldsSelection<chat_tickets_view_aggregate, 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: "directory_user_basic_data" */
directory_user_basic_data: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>})&({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_basic_data" */
directory_user_basic_data_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => directory_user_basic_data_aggregateObservableChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Observable<FieldsSelection<directory_user_basic_data_aggregate, R>>})&(directory_user_basic_data_aggregateObservableChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Observable<FieldsSelection<directory_user_basic_data_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_basic_data" using primary key columns */
directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, 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: "directory_users" */
directory_users: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>})&({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users" */
directory_users_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => directory_users_aggregateObservableChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Observable<FieldsSelection<directory_users_aggregate, R>>})&(directory_users_aggregateObservableChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Observable<FieldsSelection<directory_users_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    
/** fetch data from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>})&({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => directory_users_auth_logs_view_aggregateObservableChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>})&(directory_users_auth_logs_view_aggregateObservableChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>}),
    
/** fetch data from the table: "directory_users" using primary key columns */
directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** fetch data from the table: "proxy_document_patient" */
proxy_document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient" */
proxy_document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** fetch data from the table: "proxy_document_patient_view" */
proxy_document_patient_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>})&({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient_view" */
proxy_document_patient_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => proxy_document_patient_view_aggregateObservableChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_view_aggregate, R>>})&(proxy_document_patient_view_aggregateObservableChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_view_aggregate, R>>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** fetch data from the table: "proxy_documents_view" */
proxy_documents_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_documents_view" */
proxy_documents_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>}),
    
/** fetch data from the table: "proxy_queries_view" */
proxy_queries_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>})&({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_queries_view" */
proxy_queries_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => proxy_queries_view_aggregateObservableChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Observable<FieldsSelection<proxy_queries_view_aggregate, R>>})&(proxy_queries_view_aggregateObservableChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Observable<FieldsSelection<proxy_queries_view_aggregate, R>>}),
    
/** fetch data from the table: "services" */
services: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>})&({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>}),
    
/** fetch aggregated fields from the table: "services" */
services_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => services_aggregateObservableChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Observable<FieldsSelection<services_aggregate, R>>})&(services_aggregateObservableChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Observable<FieldsSelection<services_aggregate, R>>}),
    
/** fetch data from the table: "services" using primary key columns */
services_by_pk: ((args: {name: Scalars['String']}) => servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Observable<(FieldsSelection<services, R> | undefined)>}),
    
/** An array relationship */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>}),
    
/** fetch data from the table: "table_metadata" using primary key columns */
table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** fetch data from the table: "tables" */
tables: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>})&({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>}),
    
/** fetch aggregated fields from the table: "tables" */
tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => tables_aggregateObservableChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Observable<FieldsSelection<tables_aggregate, R>>})&(tables_aggregateObservableChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Observable<FieldsSelection<tables_aggregate, R>>}),
    
/** fetch data from the table: "tables" using primary key columns */
tables_by_pk: ((args: {name: Scalars['String']}) => tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Observable<(FieldsSelection<tables, R> | undefined)>})
}


/** columns and relationships of "services" */
export interface servicesPromiseChain{
    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 */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})
}


/** columns and relationships of "services" */
export interface servicesObservableChain{
    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 */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})
}


/** aggregated selection of "services" */
export interface services_aggregatePromiseChain{
    aggregate: (services_aggregate_fieldsPromiseChain & {get: <R extends services_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<services_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>})
}


/** aggregated selection of "services" */
export interface services_aggregateObservableChain{
    aggregate: (services_aggregate_fieldsObservableChain & {get: <R extends services_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<services_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>})
}


/** aggregate fields of "services" */
export interface services_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (services_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: (services_max_fieldsPromiseChain & {get: <R extends services_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_max_fields, R> | undefined)) => Promise<(FieldsSelection<services_max_fields, R> | undefined)>}),
    min: (services_min_fieldsPromiseChain & {get: <R extends services_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_min_fields, R> | undefined)) => Promise<(FieldsSelection<services_min_fields, R> | undefined)>})
}


/** aggregate fields of "services" */
export interface services_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (services_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: (services_max_fieldsObservableChain & {get: <R extends services_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_max_fields, R> | undefined)) => Observable<(FieldsSelection<services_max_fields, R> | undefined)>}),
    min: (services_min_fieldsObservableChain & {get: <R extends services_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<services_min_fields, R> | undefined)) => Observable<(FieldsSelection<services_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface services_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 services_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 services_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 services_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 "services" */
export interface services_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 servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>})
}


/** response of any mutation on the table "services" */
export interface services_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 servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>})
}

export interface subscription_rootPromiseChain{
    
/** fetch data from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch data from the table: "base_table" */
base_table: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>}),
    
/** fetch aggregated fields from the table: "base_table" */
base_table_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>}),
    
/** fetch data from the table: "base_table" using primary key columns */
base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tablePromiseChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Promise<(FieldsSelection<base_table, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "base_table" */
base_table_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: (base_table_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregatePromiseChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Promise<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** fetch data from the table: "basic_table_seen" using primary key columns */
basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenPromiseChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Promise<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "basic_table_seen" */
basic_table_seen_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: (basic_table_seen_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Promise<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_attendees" */
calendar_events_attendees_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: (calendar_events_attendees_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_organizers" */
calendar_events_organizers_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: (calendar_events_organizers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** fetch data from the table in a streaming manner: "calendar_events" */
calendar_events_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: (calendar_events_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>}),
    
/** fetch data from the table: "calendar_events_view" */
calendar_events_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>})&({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_events_view" */
calendar_events_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => calendar_events_view_aggregatePromiseChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Promise<FieldsSelection<calendar_events_view_aggregate, R>>})&(calendar_events_view_aggregatePromiseChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Promise<FieldsSelection<calendar_events_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_view" */
calendar_events_view_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: (calendar_events_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Promise<FieldsSelection<calendar_events_view, R>[]>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_tasks" */
calendar_tasks_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: (calendar_tasks_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>}),
    
/** fetch data from the table: "calendar_tasks_view" */
calendar_tasks_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>})&({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_tasks_view" */
calendar_tasks_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => calendar_tasks_view_aggregatePromiseChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_view_aggregate, R>>})&(calendar_tasks_view_aggregatePromiseChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_tasks_view" */
calendar_tasks_view_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: (calendar_tasks_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Promise<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch data from the table: "chat_attachments" */
chat_attachments: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>})&({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_attachments" */
chat_attachments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => chat_attachments_aggregatePromiseChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Promise<FieldsSelection<chat_attachments_aggregate, R>>})&(chat_attachments_aggregatePromiseChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Promise<FieldsSelection<chat_attachments_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" using primary key columns */
chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsPromiseChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Promise<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "chat_attachments" */
chat_attachments_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: (chat_attachments_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Promise<FieldsSelection<chat_attachments, R>[]>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_messages" */
chat_ticket_messages_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: (chat_ticket_messages_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** fetch data from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>})&({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => chat_ticket_messages_view_aggregatePromiseChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_view_aggregate, R>>})&(chat_ticket_messages_view_aggregatePromiseChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_messages_view" */
chat_ticket_messages_view_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: (chat_ticket_messages_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Promise<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch data from the table: "chat_ticket_user" */
chat_ticket_user: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user" */
chat_ticket_user_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregatePromiseChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_user" */
chat_ticket_user_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: (chat_ticket_user_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Promise<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch data from the table: "chat_ticket_user_view" */
chat_ticket_user_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user_view" */
chat_ticket_user_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregatePromiseChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Promise<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_user_view" */
chat_ticket_user_view_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: (chat_ticket_user_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Promise<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_tickets" */
chat_tickets_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: (chat_tickets_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>}),
    
/** fetch data from the table: "chat_tickets_view" */
chat_tickets_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>})&({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_tickets_view" */
chat_tickets_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => chat_tickets_view_aggregatePromiseChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Promise<FieldsSelection<chat_tickets_view_aggregate, R>>})&(chat_tickets_view_aggregatePromiseChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Promise<FieldsSelection<chat_tickets_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_tickets_view" */
chat_tickets_view_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: (chat_tickets_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Promise<FieldsSelection<chat_tickets_view, 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_basic_data" */
directory_user_basic_data: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>})&({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_basic_data" */
directory_user_basic_data_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => directory_user_basic_data_aggregatePromiseChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Promise<FieldsSelection<directory_user_basic_data_aggregate, R>>})&(directory_user_basic_data_aggregatePromiseChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Promise<FieldsSelection<directory_user_basic_data_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_basic_data" using primary key columns */
directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataPromiseChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Promise<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_user_basic_data" */
directory_user_basic_data_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_basic_data_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Promise<FieldsSelection<directory_user_basic_data, 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: "directory_users" */
directory_users: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>})&({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users" */
directory_users_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => directory_users_aggregatePromiseChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Promise<FieldsSelection<directory_users_aggregate, R>>})&(directory_users_aggregatePromiseChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Promise<FieldsSelection<directory_users_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "directory_users_auth_logs" */
directory_users_auth_logs_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_users_auth_logs_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** fetch data from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>})&({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => directory_users_auth_logs_view_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>})&(directory_users_auth_logs_view_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_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_users_auth_logs_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Promise<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch data from the table: "directory_users" using primary key columns */
directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersPromiseChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Promise<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_users" */
directory_users_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_users_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Promise<FieldsSelection<directory_users, R>[]>}),
    
/** fetch data from the table: "proxy_document_patient" */
proxy_document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient" */
proxy_document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_document_patient" */
proxy_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: (proxy_document_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch data from the table: "proxy_document_patient_view" */
proxy_document_patient_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>})&({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient_view" */
proxy_document_patient_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => proxy_document_patient_view_aggregatePromiseChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_view_aggregate, R>>})&(proxy_document_patient_view_aggregatePromiseChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_document_patient_view" */
proxy_document_patient_view_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: (proxy_document_patient_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Promise<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregatePromiseChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Promise<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_documents" */
proxy_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: (proxy_documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Promise<FieldsSelection<proxy_documents, R>[]>}),
    
/** fetch data from the table: "proxy_documents_view" */
proxy_documents_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_documents_view" */
proxy_documents_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregatePromiseChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Promise<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_documents_view" */
proxy_documents_view_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: (proxy_documents_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Promise<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_queries" */
proxy_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: (proxy_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** fetch data from the table: "proxy_queries_view" */
proxy_queries_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>})&({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_queries_view" */
proxy_queries_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => proxy_queries_view_aggregatePromiseChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Promise<FieldsSelection<proxy_queries_view_aggregate, R>>})&(proxy_queries_view_aggregatePromiseChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Promise<FieldsSelection<proxy_queries_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_queries_view" */
proxy_queries_view_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: (proxy_queries_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Promise<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch data from the table: "services" */
services: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>})&({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>}),
    
/** fetch aggregated fields from the table: "services" */
services_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => services_aggregatePromiseChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Promise<FieldsSelection<services_aggregate, R>>})&(services_aggregatePromiseChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Promise<FieldsSelection<services_aggregate, R>>}),
    
/** fetch data from the table: "services" using primary key columns */
services_by_pk: ((args: {name: Scalars['String']}) => servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Promise<(FieldsSelection<services, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "services" */
services_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: (services_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Promise<FieldsSelection<services, R>[]>}),
    
/** An array relationship */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>}),
    
/** fetch data from the table: "table_metadata" using primary key columns */
table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataPromiseChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Promise<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "table_metadata" */
table_metadata_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_metadata_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>}),
    
/** fetch data from the table: "tables" */
tables: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>})&({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>}),
    
/** fetch aggregated fields from the table: "tables" */
tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => tables_aggregatePromiseChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Promise<FieldsSelection<tables_aggregate, R>>})&(tables_aggregatePromiseChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Promise<FieldsSelection<tables_aggregate, R>>}),
    
/** fetch data from the table: "tables" using primary key columns */
tables_by_pk: ((args: {name: Scalars['String']}) => tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Promise<(FieldsSelection<tables, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "tables" */
tables_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: (tables_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>})
}

export interface subscription_rootObservableChain{
    
/** fetch data from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch aggregated fields from the table: "adopus_AdgangLinjer" */
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>[]>}),
    
/** fetch data from the table: "base_table" */
base_table: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>}),
    
/** fetch aggregated fields from the table: "base_table" */
base_table_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>}),
    
/** fetch data from the table: "base_table" using primary key columns */
base_table_by_pk: ((args: {id: Scalars['uuid']}) => base_tableObservableChain & {get: <R extends base_tableRequest>(request: R, defaultValue?: (FieldsSelection<base_table, R> | undefined)) => Observable<(FieldsSelection<base_table, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "base_table" */
base_table_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: (base_table_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>}),
    
/** An array relationship */
basic_table_seen: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>})&({get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An aggregate relationship */
basic_table_seen_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (basic_table_seen_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (basic_table_seen_order_by[] | null),
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>})&(basic_table_seen_aggregateObservableChain & {get: <R extends basic_table_seen_aggregateRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen_aggregate, R>) => Observable<FieldsSelection<basic_table_seen_aggregate, R>>}),
    
/** fetch data from the table: "basic_table_seen" using primary key columns */
basic_table_seen_by_pk: ((args: {id: Scalars['uuid'],user_id: Scalars['uuid']}) => basic_table_seenObservableChain & {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: (FieldsSelection<basic_table_seen, R> | undefined)) => Observable<(FieldsSelection<basic_table_seen, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "basic_table_seen" */
basic_table_seen_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: (basic_table_seen_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (basic_table_seen_bool_exp | null)}) => {get: <R extends basic_table_seenRequest>(request: R, defaultValue?: FieldsSelection<basic_table_seen, R>[]) => Observable<FieldsSelection<basic_table_seen, R>[]>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_attendees" */
calendar_events_attendees_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: (calendar_events_attendees_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_organizers" */
calendar_events_organizers_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: (calendar_events_organizers_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** fetch data from the table in a streaming manner: "calendar_events" */
calendar_events_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: (calendar_events_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>}),
    
/** fetch data from the table: "calendar_events_view" */
calendar_events_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>})&({get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_events_view" */
calendar_events_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => calendar_events_view_aggregateObservableChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Observable<FieldsSelection<calendar_events_view_aggregate, R>>})&(calendar_events_view_aggregateObservableChain & {get: <R extends calendar_events_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view_aggregate, R>) => Observable<FieldsSelection<calendar_events_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_events_view" */
calendar_events_view_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: (calendar_events_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_events_view_bool_exp | null)}) => {get: <R extends calendar_events_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_view, R>[]) => Observable<FieldsSelection<calendar_events_view, R>[]>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_tasks" */
calendar_tasks_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: (calendar_tasks_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>}),
    
/** fetch data from the table: "calendar_tasks_view" */
calendar_tasks_view: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>})&({get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch aggregated fields from the table: "calendar_tasks_view" */
calendar_tasks_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_view_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => calendar_tasks_view_aggregateObservableChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_view_aggregate, R>>})&(calendar_tasks_view_aggregateObservableChain & {get: <R extends calendar_tasks_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "calendar_tasks_view" */
calendar_tasks_view_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: (calendar_tasks_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (calendar_tasks_view_bool_exp | null)}) => {get: <R extends calendar_tasks_viewRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_view, R>[]) => Observable<FieldsSelection<calendar_tasks_view, R>[]>}),
    
/** fetch data from the table: "chat_attachments" */
chat_attachments: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>})&({get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_attachments" */
chat_attachments_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_attachments_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_attachments_order_by[] | null),
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => chat_attachments_aggregateObservableChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Observable<FieldsSelection<chat_attachments_aggregate, R>>})&(chat_attachments_aggregateObservableChain & {get: <R extends chat_attachments_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments_aggregate, R>) => Observable<FieldsSelection<chat_attachments_aggregate, R>>}),
    
/** fetch data from the table: "chat_attachments" using primary key columns */
chat_attachments_by_pk: ((args: {id: Scalars['uuid']}) => chat_attachmentsObservableChain & {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: (FieldsSelection<chat_attachments, R> | undefined)) => Observable<(FieldsSelection<chat_attachments, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "chat_attachments" */
chat_attachments_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: (chat_attachments_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_attachments_bool_exp | null)}) => {get: <R extends chat_attachmentsRequest>(request: R, defaultValue?: FieldsSelection<chat_attachments, R>[]) => Observable<FieldsSelection<chat_attachments, R>[]>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_messages" */
chat_ticket_messages_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: (chat_ticket_messages_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** fetch data from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>})&({get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_messages_view" */
chat_ticket_messages_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => chat_ticket_messages_view_aggregateObservableChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_view_aggregate, R>>})&(chat_ticket_messages_view_aggregateObservableChain & {get: <R extends chat_ticket_messages_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_messages_view" */
chat_ticket_messages_view_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: (chat_ticket_messages_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_messages_view_bool_exp | null)}) => {get: <R extends chat_ticket_messages_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_view, R>[]) => Observable<FieldsSelection<chat_ticket_messages_view, R>[]>}),
    
/** fetch data from the table: "chat_ticket_user" */
chat_ticket_user: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>})&({get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user" */
chat_ticket_user_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>})&(chat_ticket_user_aggregateObservableChain & {get: <R extends chat_ticket_user_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_user" */
chat_ticket_user_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: (chat_ticket_user_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_user_bool_exp | null)}) => {get: <R extends chat_ticket_userRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user, R>[]) => Observable<FieldsSelection<chat_ticket_user, R>[]>}),
    
/** fetch data from the table: "chat_ticket_user_view" */
chat_ticket_user_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>})&({get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_ticket_user_view" */
chat_ticket_user_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_user_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_user_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>})&(chat_ticket_user_view_aggregateObservableChain & {get: <R extends chat_ticket_user_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view_aggregate, R>) => Observable<FieldsSelection<chat_ticket_user_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_ticket_user_view" */
chat_ticket_user_view_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: (chat_ticket_user_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_ticket_user_view_bool_exp | null)}) => {get: <R extends chat_ticket_user_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_user_view, R>[]) => Observable<FieldsSelection<chat_ticket_user_view, R>[]>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_tickets" */
chat_tickets_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: (chat_tickets_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>}),
    
/** fetch data from the table: "chat_tickets_view" */
chat_tickets_view: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>})&({get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, R>[]>}),
    
/** fetch aggregated fields from the table: "chat_tickets_view" */
chat_tickets_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_view_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => chat_tickets_view_aggregateObservableChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Observable<FieldsSelection<chat_tickets_view_aggregate, R>>})&(chat_tickets_view_aggregateObservableChain & {get: <R extends chat_tickets_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view_aggregate, R>) => Observable<FieldsSelection<chat_tickets_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "chat_tickets_view" */
chat_tickets_view_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: (chat_tickets_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (chat_tickets_view_bool_exp | null)}) => {get: <R extends chat_tickets_viewRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_view, R>[]) => Observable<FieldsSelection<chat_tickets_view, 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_basic_data" */
directory_user_basic_data: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>})&({get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_user_basic_data" */
directory_user_basic_data_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_user_basic_data_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_basic_data_order_by[] | null),
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => directory_user_basic_data_aggregateObservableChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Observable<FieldsSelection<directory_user_basic_data_aggregate, R>>})&(directory_user_basic_data_aggregateObservableChain & {get: <R extends directory_user_basic_data_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data_aggregate, R>) => Observable<FieldsSelection<directory_user_basic_data_aggregate, R>>}),
    
/** fetch data from the table: "directory_user_basic_data" using primary key columns */
directory_user_basic_data_by_pk: ((args: {user_id: Scalars['uuid']}) => directory_user_basic_dataObservableChain & {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: (FieldsSelection<directory_user_basic_data, R> | undefined)) => Observable<(FieldsSelection<directory_user_basic_data, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_user_basic_data" */
directory_user_basic_data_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_basic_data_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_user_basic_data_bool_exp | null)}) => {get: <R extends directory_user_basic_dataRequest>(request: R, defaultValue?: FieldsSelection<directory_user_basic_data, R>[]) => Observable<FieldsSelection<directory_user_basic_data, 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: "directory_users" */
directory_users: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>})&({get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users" */
directory_users_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => directory_users_aggregateObservableChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Observable<FieldsSelection<directory_users_aggregate, R>>})&(directory_users_aggregateObservableChain & {get: <R extends directory_users_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_aggregate, R>) => Observable<FieldsSelection<directory_users_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "directory_users_auth_logs" */
directory_users_auth_logs_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_users_auth_logs_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** fetch data from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>})&({get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch aggregated fields from the table: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_view_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => directory_users_auth_logs_view_aggregateObservableChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>})&(directory_users_auth_logs_view_aggregateObservableChain & {get: <R extends directory_users_auth_logs_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "directory_users_auth_logs_view" */
directory_users_auth_logs_view_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_users_auth_logs_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_auth_logs_view_bool_exp | null)}) => {get: <R extends directory_users_auth_logs_viewRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_view, R>[]) => Observable<FieldsSelection<directory_users_auth_logs_view, R>[]>}),
    
/** fetch data from the table: "directory_users" using primary key columns */
directory_users_by_pk: ((args: {id: Scalars['uuid']}) => directory_usersObservableChain & {get: <R extends directory_usersRequest>(request: R, defaultValue?: (FieldsSelection<directory_users, R> | undefined)) => Observable<(FieldsSelection<directory_users, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "directory_users" */
directory_users_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_users_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (directory_users_bool_exp | null)}) => {get: <R extends directory_usersRequest>(request: R, defaultValue?: FieldsSelection<directory_users, R>[]) => Observable<FieldsSelection<directory_users, R>[]>}),
    
/** fetch data from the table: "proxy_document_patient" */
proxy_document_patient: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient" */
proxy_document_patient_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_document_patient" */
proxy_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: (proxy_document_patient_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** fetch data from the table: "proxy_document_patient_view" */
proxy_document_patient_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>})&({get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_document_patient_view" */
proxy_document_patient_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_document_patient_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_document_patient_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => proxy_document_patient_view_aggregateObservableChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_view_aggregate, R>>})&(proxy_document_patient_view_aggregateObservableChain & {get: <R extends proxy_document_patient_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_document_patient_view" */
proxy_document_patient_view_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: (proxy_document_patient_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_document_patient_view_bool_exp | null)}) => {get: <R extends proxy_document_patient_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_view, R>[]) => Observable<FieldsSelection<proxy_document_patient_view, R>[]>}),
    
/** An array relationship */
proxy_documents: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>})&({get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>}),
    
/** An aggregate relationship */
proxy_documents_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_documents_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>})&(proxy_documents_aggregateObservableChain & {get: <R extends proxy_documents_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_aggregate, R>) => Observable<FieldsSelection<proxy_documents_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_documents" */
proxy_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: (proxy_documents_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_documents_bool_exp | null)}) => {get: <R extends proxy_documentsRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents, R>[]) => Observable<FieldsSelection<proxy_documents, R>[]>}),
    
/** fetch data from the table: "proxy_documents_view" */
proxy_documents_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>})&({get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_documents_view" */
proxy_documents_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_documents_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_documents_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>})&(proxy_documents_view_aggregateObservableChain & {get: <R extends proxy_documents_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view_aggregate, R>) => Observable<FieldsSelection<proxy_documents_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_documents_view" */
proxy_documents_view_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: (proxy_documents_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_documents_view_bool_exp | null)}) => {get: <R extends proxy_documents_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_documents_view, R>[]) => Observable<FieldsSelection<proxy_documents_view, R>[]>}),
    
/** An array relationship */
proxy_queries: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_queries" */
proxy_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: (proxy_queries_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** fetch data from the table: "proxy_queries_view" */
proxy_queries_view: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>})&({get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch aggregated fields from the table: "proxy_queries_view" */
proxy_queries_view_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_queries_view_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (proxy_queries_view_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => proxy_queries_view_aggregateObservableChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Observable<FieldsSelection<proxy_queries_view_aggregate, R>>})&(proxy_queries_view_aggregateObservableChain & {get: <R extends proxy_queries_view_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view_aggregate, R>) => Observable<FieldsSelection<proxy_queries_view_aggregate, R>>}),
    
/** fetch data from the table in a streaming manner: "proxy_queries_view" */
proxy_queries_view_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: (proxy_queries_view_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (proxy_queries_view_bool_exp | null)}) => {get: <R extends proxy_queries_viewRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_view, R>[]) => Observable<FieldsSelection<proxy_queries_view, R>[]>}),
    
/** fetch data from the table: "services" */
services: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>})&({get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>}),
    
/** fetch aggregated fields from the table: "services" */
services_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (services_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (services_order_by[] | null),
/** filter the rows returned */
where?: (services_bool_exp | null)}) => services_aggregateObservableChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Observable<FieldsSelection<services_aggregate, R>>})&(services_aggregateObservableChain & {get: <R extends services_aggregateRequest>(request: R, defaultValue?: FieldsSelection<services_aggregate, R>) => Observable<FieldsSelection<services_aggregate, R>>}),
    
/** fetch data from the table: "services" using primary key columns */
services_by_pk: ((args: {name: Scalars['String']}) => servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: (FieldsSelection<services, R> | undefined)) => Observable<(FieldsSelection<services, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "services" */
services_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: (services_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (services_bool_exp | null)}) => {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>[]) => Observable<FieldsSelection<services, R>[]>}),
    
/** An array relationship */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>}),
    
/** fetch data from the table: "table_metadata" using primary key columns */
table_metadata_by_pk: ((args: {id: Scalars['uuid']}) => table_metadataObservableChain & {get: <R extends table_metadataRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata, R> | undefined)) => Observable<(FieldsSelection<table_metadata, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "table_metadata" */
table_metadata_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_metadata_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>}),
    
/** fetch data from the table: "tables" */
tables: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>})&({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>}),
    
/** fetch aggregated fields from the table: "tables" */
tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (tables_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (tables_order_by[] | null),
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => tables_aggregateObservableChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Observable<FieldsSelection<tables_aggregate, R>>})&(tables_aggregateObservableChain & {get: <R extends tables_aggregateRequest>(request: R, defaultValue?: FieldsSelection<tables_aggregate, R>) => Observable<FieldsSelection<tables_aggregate, R>>}),
    
/** fetch data from the table: "tables" using primary key columns */
tables_by_pk: ((args: {name: Scalars['String']}) => tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: (FieldsSelection<tables, R> | undefined)) => Observable<(FieldsSelection<tables, R> | undefined)>}),
    
/** fetch data from the table in a streaming manner: "tables" */
tables_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: (tables_stream_cursor_input | null)[],
/** filter the rows returned */
where?: (tables_bool_exp | null)}) => {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>})
}


/** columns and relationships of "table_metadata" */
export interface table_metadataPromiseChain{
    
/** An array relationship */
base_tables: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Promise<FieldsSelection<base_table, R>[]>}),
    
/** An aggregate relationship */
base_tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregatePromiseChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Promise<FieldsSelection<base_table_aggregate, R>>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Promise<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregatePromiseChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Promise<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Promise<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregatePromiseChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Promise<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Promise<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregatePromiseChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Promise<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Promise<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregatePromiseChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Promise<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Promise<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregatePromiseChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Promise<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Promise<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregatePromiseChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Promise<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Promise<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregatePromiseChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Promise<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Promise<Scalars['uuid']>}),
    
/** An array relationship */
proxy_document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Promise<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** An aggregate relationship */
proxy_document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregatePromiseChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Promise<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** An array relationship */
proxy_queries_bases: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Promise<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_bases_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregatePromiseChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Promise<FieldsSelection<proxy_queries_aggregate, R>>}),
    service: ({get: (request?: boolean|number, defaultValue?: services_enum) => Promise<services_enum>}),
    
/** An object relationship */
serviceByService: (servicesPromiseChain & {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>) => Promise<FieldsSelection<services, R>>}),
    
/** An object relationship */
table: (tablesPromiseChain & {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>) => Promise<FieldsSelection<tables, R>>}),
    table_name: ({get: (request?: boolean|number, defaultValue?: tables_enum) => Promise<tables_enum>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Promise<Scalars['String']>})
}


/** columns and relationships of "table_metadata" */
export interface table_metadataObservableChain{
    
/** An array relationship */
base_tables: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => {get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>})&({get: <R extends base_tableRequest>(request: R, defaultValue?: FieldsSelection<base_table, R>[]) => Observable<FieldsSelection<base_table, R>[]>}),
    
/** An aggregate relationship */
base_tables_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (base_table_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (base_table_order_by[] | null),
/** filter the rows returned */
where?: (base_table_bool_exp | null)}) => base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>})&(base_table_aggregateObservableChain & {get: <R extends base_table_aggregateRequest>(request: R, defaultValue?: FieldsSelection<base_table_aggregate, R>) => Observable<FieldsSelection<base_table_aggregate, R>>}),
    
/** An array relationship */
calendar_events: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => {get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>})&({get: <R extends calendar_eventsRequest>(request: R, defaultValue?: FieldsSelection<calendar_events, R>[]) => Observable<FieldsSelection<calendar_events, R>[]>}),
    
/** An aggregate relationship */
calendar_events_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_bool_exp | null)}) => calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>})&(calendar_events_aggregateObservableChain & {get: <R extends calendar_events_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_aggregate, R>) => Observable<FieldsSelection<calendar_events_aggregate, R>>}),
    
/** An array relationship */
calendar_events_attendees: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => {get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>})&({get: <R extends calendar_events_attendeesRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees, R>[]) => Observable<FieldsSelection<calendar_events_attendees, R>[]>}),
    
/** An aggregate relationship */
calendar_events_attendees_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_attendees_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_attendees_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_attendees_bool_exp | null)}) => calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>})&(calendar_events_attendees_aggregateObservableChain & {get: <R extends calendar_events_attendees_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_attendees_aggregate, R>) => Observable<FieldsSelection<calendar_events_attendees_aggregate, R>>}),
    
/** An array relationship */
calendar_events_organizers: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => {get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>})&({get: <R extends calendar_events_organizersRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers, R>[]) => Observable<FieldsSelection<calendar_events_organizers, R>[]>}),
    
/** An aggregate relationship */
calendar_events_organizers_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_events_organizers_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_events_organizers_order_by[] | null),
/** filter the rows returned */
where?: (calendar_events_organizers_bool_exp | null)}) => calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>})&(calendar_events_organizers_aggregateObservableChain & {get: <R extends calendar_events_organizers_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_events_organizers_aggregate, R>) => Observable<FieldsSelection<calendar_events_organizers_aggregate, R>>}),
    
/** An array relationship */
calendar_tasks: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => {get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>})&({get: <R extends calendar_tasksRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks, R>[]) => Observable<FieldsSelection<calendar_tasks, R>[]>}),
    
/** An aggregate relationship */
calendar_tasks_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (calendar_tasks_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (calendar_tasks_order_by[] | null),
/** filter the rows returned */
where?: (calendar_tasks_bool_exp | null)}) => calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>})&(calendar_tasks_aggregateObservableChain & {get: <R extends calendar_tasks_aggregateRequest>(request: R, defaultValue?: FieldsSelection<calendar_tasks_aggregate, R>) => Observable<FieldsSelection<calendar_tasks_aggregate, R>>}),
    
/** An array relationship */
chat_ticket_messages: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => {get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>})&({get: <R extends chat_ticket_messagesRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages, R>[]) => Observable<FieldsSelection<chat_ticket_messages, R>[]>}),
    
/** An aggregate relationship */
chat_ticket_messages_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_ticket_messages_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_ticket_messages_order_by[] | null),
/** filter the rows returned */
where?: (chat_ticket_messages_bool_exp | null)}) => chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>})&(chat_ticket_messages_aggregateObservableChain & {get: <R extends chat_ticket_messages_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_ticket_messages_aggregate, R>) => Observable<FieldsSelection<chat_ticket_messages_aggregate, R>>}),
    
/** An array relationship */
chat_tickets: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => {get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>})&({get: <R extends chat_ticketsRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets, R>[]) => Observable<FieldsSelection<chat_tickets, R>[]>}),
    
/** An aggregate relationship */
chat_tickets_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (chat_tickets_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** skip the first n rows. Use only with order_by */
offset?: (Scalars['Int'] | null),
/** sort the rows by one or more columns */
order_by?: (chat_tickets_order_by[] | null),
/** filter the rows returned */
where?: (chat_tickets_bool_exp | null)}) => chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>})&(chat_tickets_aggregateObservableChain & {get: <R extends chat_tickets_aggregateRequest>(request: R, defaultValue?: FieldsSelection<chat_tickets_aggregate, R>) => Observable<FieldsSelection<chat_tickets_aggregate, R>>}),
    
/** An array relationship */
directory_users_auth_logs: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => {get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>})&({get: <R extends directory_users_auth_logsRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs, R>[]) => Observable<FieldsSelection<directory_users_auth_logs, R>[]>}),
    
/** An aggregate relationship */
directory_users_auth_logs_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (directory_users_auth_logs_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_users_auth_logs_order_by[] | null),
/** filter the rows returned */
where?: (directory_users_auth_logs_bool_exp | null)}) => directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>})&(directory_users_auth_logs_aggregateObservableChain & {get: <R extends directory_users_auth_logs_aggregateRequest>(request: R, defaultValue?: FieldsSelection<directory_users_auth_logs_aggregate, R>) => Observable<FieldsSelection<directory_users_auth_logs_aggregate, R>>}),
    id: ({get: (request?: boolean|number, defaultValue?: Scalars['uuid']) => Observable<Scalars['uuid']>}),
    
/** An array relationship */
proxy_document_patients: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => {get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>})&({get: <R extends proxy_document_patientRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient, R>[]) => Observable<FieldsSelection<proxy_document_patient, R>[]>}),
    
/** An aggregate relationship */
proxy_document_patients_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_document_patient_order_by[] | null),
/** filter the rows returned */
where?: (proxy_document_patient_bool_exp | null)}) => proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>})&(proxy_document_patient_aggregateObservableChain & {get: <R extends proxy_document_patient_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_document_patient_aggregate, R>) => Observable<FieldsSelection<proxy_document_patient_aggregate, R>>}),
    
/** An array relationship */
proxy_queries_bases: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => {get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>})&({get: <R extends proxy_queriesRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries, R>[]) => Observable<FieldsSelection<proxy_queries, R>[]>}),
    
/** An aggregate relationship */
proxy_queries_bases_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (proxy_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?: (proxy_queries_order_by[] | null),
/** filter the rows returned */
where?: (proxy_queries_bool_exp | null)}) => proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>})&(proxy_queries_aggregateObservableChain & {get: <R extends proxy_queries_aggregateRequest>(request: R, defaultValue?: FieldsSelection<proxy_queries_aggregate, R>) => Observable<FieldsSelection<proxy_queries_aggregate, R>>}),
    service: ({get: (request?: boolean|number, defaultValue?: services_enum) => Observable<services_enum>}),
    
/** An object relationship */
serviceByService: (servicesObservableChain & {get: <R extends servicesRequest>(request: R, defaultValue?: FieldsSelection<services, R>) => Observable<FieldsSelection<services, R>>}),
    
/** An object relationship */
table: (tablesObservableChain & {get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>) => Observable<FieldsSelection<tables, R>>}),
    table_name: ({get: (request?: boolean|number, defaultValue?: tables_enum) => Observable<tables_enum>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: Scalars['String']) => Observable<Scalars['String']>})
}


/** aggregated selection of "table_metadata" */
export interface table_metadata_aggregatePromiseChain{
    aggregate: (table_metadata_aggregate_fieldsPromiseChain & {get: <R extends table_metadata_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<table_metadata_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})
}


/** aggregated selection of "table_metadata" */
export interface table_metadata_aggregateObservableChain{
    aggregate: (table_metadata_aggregate_fieldsObservableChain & {get: <R extends table_metadata_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<table_metadata_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})
}


/** aggregate fields of "table_metadata" */
export interface table_metadata_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (table_metadata_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_metadata_max_fieldsPromiseChain & {get: <R extends table_metadata_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_max_fields, R> | undefined)) => Promise<(FieldsSelection<table_metadata_max_fields, R> | undefined)>}),
    min: (table_metadata_min_fieldsPromiseChain & {get: <R extends table_metadata_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_min_fields, R> | undefined)) => Promise<(FieldsSelection<table_metadata_min_fields, R> | undefined)>})
}


/** aggregate fields of "table_metadata" */
export interface table_metadata_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (table_metadata_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_metadata_max_fieldsObservableChain & {get: <R extends table_metadata_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_max_fields, R> | undefined)) => Observable<(FieldsSelection<table_metadata_max_fields, R> | undefined)>}),
    min: (table_metadata_min_fieldsObservableChain & {get: <R extends table_metadata_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<table_metadata_min_fields, R> | undefined)) => Observable<(FieldsSelection<table_metadata_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface table_metadata_max_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate max on columns */
export interface table_metadata_max_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface table_metadata_min_fieldsPromiseChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Promise<(Scalars['uuid'] | undefined)>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Promise<(Scalars['String'] | undefined)>})
}


/** aggregate min on columns */
export interface table_metadata_min_fieldsObservableChain{
    id: ({get: (request?: boolean|number, defaultValue?: (Scalars['uuid'] | undefined)) => Observable<(Scalars['uuid'] | undefined)>}),
    trigger_name: ({get: (request?: boolean|number, defaultValue?: (Scalars['String'] | undefined)) => Observable<(Scalars['String'] | undefined)>})
}


/** response of any mutation on the table "table_metadata" */
export interface table_metadata_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_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})
}


/** response of any mutation on the table "table_metadata" */
export interface table_metadata_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_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})
}


/** columns and relationships of "tables" */
export interface tablesPromiseChain{
    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 */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Promise<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregatePromiseChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Promise<FieldsSelection<table_metadata_aggregate, R>>})
}


/** columns and relationships of "tables" */
export interface tablesObservableChain{
    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 */
table_metadata: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => {get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>})&({get: <R extends table_metadataRequest>(request: R, defaultValue?: FieldsSelection<table_metadata, R>[]) => Observable<FieldsSelection<table_metadata, R>[]>}),
    
/** An aggregate relationship */
table_metadata_aggregate: ((args?: {
/** distinct select on columns */
distinct_on?: (table_metadata_select_column[] | null),
/** limit the number of rows returned */
limit?: (Scalars['Int'] | null),
/** 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_metadata_order_by[] | null),
/** filter the rows returned */
where?: (table_metadata_bool_exp | null)}) => table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})&(table_metadata_aggregateObservableChain & {get: <R extends table_metadata_aggregateRequest>(request: R, defaultValue?: FieldsSelection<table_metadata_aggregate, R>) => Observable<FieldsSelection<table_metadata_aggregate, R>>})
}


/** aggregated selection of "tables" */
export interface tables_aggregatePromiseChain{
    aggregate: (tables_aggregate_fieldsPromiseChain & {get: <R extends tables_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_aggregate_fields, R> | undefined)) => Promise<(FieldsSelection<tables_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>})
}


/** aggregated selection of "tables" */
export interface tables_aggregateObservableChain{
    aggregate: (tables_aggregate_fieldsObservableChain & {get: <R extends tables_aggregate_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_aggregate_fields, R> | undefined)) => Observable<(FieldsSelection<tables_aggregate_fields, R> | undefined)>}),
    nodes: ({get: <R extends tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>})
}


/** aggregate fields of "tables" */
export interface tables_aggregate_fieldsPromiseChain{
    count: ((args?: {columns?: (tables_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: (tables_max_fieldsPromiseChain & {get: <R extends tables_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_max_fields, R> | undefined)) => Promise<(FieldsSelection<tables_max_fields, R> | undefined)>}),
    min: (tables_min_fieldsPromiseChain & {get: <R extends tables_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_min_fields, R> | undefined)) => Promise<(FieldsSelection<tables_min_fields, R> | undefined)>})
}


/** aggregate fields of "tables" */
export interface tables_aggregate_fieldsObservableChain{
    count: ((args?: {columns?: (tables_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: (tables_max_fieldsObservableChain & {get: <R extends tables_max_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_max_fields, R> | undefined)) => Observable<(FieldsSelection<tables_max_fields, R> | undefined)>}),
    min: (tables_min_fieldsObservableChain & {get: <R extends tables_min_fieldsRequest>(request: R, defaultValue?: (FieldsSelection<tables_min_fields, R> | undefined)) => Observable<(FieldsSelection<tables_min_fields, R> | undefined)>})
}


/** aggregate max on columns */
export interface tables_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 tables_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 tables_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 tables_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 "tables" */
export interface tables_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 tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Promise<FieldsSelection<tables, R>[]>})
}


/** response of any mutation on the table "tables" */
export interface tables_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 tablesRequest>(request: R, defaultValue?: FieldsSelection<tables, R>[]) => Observable<FieldsSelection<tables, R>[]>})
}