Files
twenty/front/src/generated/graphql.tsx
T
Charles BochetandGitHub 192b89a7b7 Make companies employees type a number (#130)
Make companies employees type a number to be consistent with api
2023-05-19 11:53:50 +02:00

5547 lines
196 KiB
TypeScript

import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
const defaultOptions = {} as const;
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
bigint: any;
bytea: any;
citext: any;
jsonb: any;
numeric: any;
timestamptz: any;
uuid: any;
};
/** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
export type Boolean_Comparison_Exp = {
_eq?: InputMaybe<Scalars['Boolean']>;
_gt?: InputMaybe<Scalars['Boolean']>;
_gte?: InputMaybe<Scalars['Boolean']>;
_in?: InputMaybe<Array<Scalars['Boolean']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['Boolean']>;
_lte?: InputMaybe<Scalars['Boolean']>;
_neq?: InputMaybe<Scalars['Boolean']>;
_nin?: InputMaybe<Array<Scalars['Boolean']>>;
};
/** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */
export type Int_Comparison_Exp = {
_eq?: InputMaybe<Scalars['Int']>;
_gt?: InputMaybe<Scalars['Int']>;
_gte?: InputMaybe<Scalars['Int']>;
_in?: InputMaybe<Array<Scalars['Int']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['Int']>;
_lte?: InputMaybe<Scalars['Int']>;
_neq?: InputMaybe<Scalars['Int']>;
_nin?: InputMaybe<Array<Scalars['Int']>>;
};
/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
export type String_Comparison_Exp = {
_eq?: InputMaybe<Scalars['String']>;
_gt?: InputMaybe<Scalars['String']>;
_gte?: InputMaybe<Scalars['String']>;
/** does the column match the given case-insensitive pattern */
_ilike?: InputMaybe<Scalars['String']>;
_in?: InputMaybe<Array<Scalars['String']>>;
/** does the column match the given POSIX regular expression, case insensitive */
_iregex?: InputMaybe<Scalars['String']>;
_is_null?: InputMaybe<Scalars['Boolean']>;
/** does the column match the given pattern */
_like?: InputMaybe<Scalars['String']>;
_lt?: InputMaybe<Scalars['String']>;
_lte?: InputMaybe<Scalars['String']>;
_neq?: InputMaybe<Scalars['String']>;
/** does the column NOT match the given case-insensitive pattern */
_nilike?: InputMaybe<Scalars['String']>;
_nin?: InputMaybe<Array<Scalars['String']>>;
/** does the column NOT match the given POSIX regular expression, case insensitive */
_niregex?: InputMaybe<Scalars['String']>;
/** does the column NOT match the given pattern */
_nlike?: InputMaybe<Scalars['String']>;
/** does the column NOT match the given POSIX regular expression, case sensitive */
_nregex?: InputMaybe<Scalars['String']>;
/** does the column NOT match the given SQL regular expression */
_nsimilar?: InputMaybe<Scalars['String']>;
/** does the column match the given POSIX regular expression, case sensitive */
_regex?: InputMaybe<Scalars['String']>;
/** does the column match the given SQL regular expression */
_similar?: InputMaybe<Scalars['String']>;
};
/** Oauth requests, inserted before redirecting to the provider's site. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthProviderRequests = {
__typename?: 'authProviderRequests';
id: Scalars['uuid'];
options?: Maybe<Scalars['jsonb']>;
};
/** Oauth requests, inserted before redirecting to the provider's site. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthProviderRequestsOptionsArgs = {
path?: InputMaybe<Scalars['String']>;
};
/** aggregated selection of "auth.provider_requests" */
export type AuthProviderRequests_Aggregate = {
__typename?: 'authProviderRequests_aggregate';
aggregate?: Maybe<AuthProviderRequests_Aggregate_Fields>;
nodes: Array<AuthProviderRequests>;
};
/** aggregate fields of "auth.provider_requests" */
export type AuthProviderRequests_Aggregate_Fields = {
__typename?: 'authProviderRequests_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthProviderRequests_Max_Fields>;
min?: Maybe<AuthProviderRequests_Min_Fields>;
};
/** aggregate fields of "auth.provider_requests" */
export type AuthProviderRequests_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthProviderRequests_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** append existing jsonb value of filtered columns with new jsonb value */
export type AuthProviderRequests_Append_Input = {
options?: InputMaybe<Scalars['jsonb']>;
};
/** Boolean expression to filter rows from the table "auth.provider_requests". All fields are combined with a logical 'AND'. */
export type AuthProviderRequests_Bool_Exp = {
_and?: InputMaybe<Array<AuthProviderRequests_Bool_Exp>>;
_not?: InputMaybe<AuthProviderRequests_Bool_Exp>;
_or?: InputMaybe<Array<AuthProviderRequests_Bool_Exp>>;
id?: InputMaybe<Uuid_Comparison_Exp>;
options?: InputMaybe<Jsonb_Comparison_Exp>;
};
/** unique or primary key constraints on table "auth.provider_requests" */
export enum AuthProviderRequests_Constraint {
/** unique or primary key constraint on columns "id" */
ProviderRequestsPkey = 'provider_requests_pkey'
}
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export type AuthProviderRequests_Delete_At_Path_Input = {
options?: InputMaybe<Array<Scalars['String']>>;
};
/** 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 type AuthProviderRequests_Delete_Elem_Input = {
options?: InputMaybe<Scalars['Int']>;
};
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export type AuthProviderRequests_Delete_Key_Input = {
options?: InputMaybe<Scalars['String']>;
};
/** input type for inserting data into table "auth.provider_requests" */
export type AuthProviderRequests_Insert_Input = {
id?: InputMaybe<Scalars['uuid']>;
options?: InputMaybe<Scalars['jsonb']>;
};
/** aggregate max on columns */
export type AuthProviderRequests_Max_Fields = {
__typename?: 'authProviderRequests_max_fields';
id?: Maybe<Scalars['uuid']>;
};
/** aggregate min on columns */
export type AuthProviderRequests_Min_Fields = {
__typename?: 'authProviderRequests_min_fields';
id?: Maybe<Scalars['uuid']>;
};
/** response of any mutation on the table "auth.provider_requests" */
export type AuthProviderRequests_Mutation_Response = {
__typename?: 'authProviderRequests_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthProviderRequests>;
};
/** on_conflict condition type for table "auth.provider_requests" */
export type AuthProviderRequests_On_Conflict = {
constraint: AuthProviderRequests_Constraint;
update_columns?: Array<AuthProviderRequests_Update_Column>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.provider_requests". */
export type AuthProviderRequests_Order_By = {
id?: InputMaybe<Order_By>;
options?: InputMaybe<Order_By>;
};
/** primary key columns input for table: auth.provider_requests */
export type AuthProviderRequests_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** prepend existing jsonb value of filtered columns with new jsonb value */
export type AuthProviderRequests_Prepend_Input = {
options?: InputMaybe<Scalars['jsonb']>;
};
/** select columns of table "auth.provider_requests" */
export enum AuthProviderRequests_Select_Column {
/** column name */
Id = 'id',
/** column name */
Options = 'options'
}
/** input type for updating data in table "auth.provider_requests" */
export type AuthProviderRequests_Set_Input = {
id?: InputMaybe<Scalars['uuid']>;
options?: InputMaybe<Scalars['jsonb']>;
};
/** Streaming cursor of the table "authProviderRequests" */
export type AuthProviderRequests_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthProviderRequests_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthProviderRequests_Stream_Cursor_Value_Input = {
id?: InputMaybe<Scalars['uuid']>;
options?: InputMaybe<Scalars['jsonb']>;
};
/** update columns of table "auth.provider_requests" */
export enum AuthProviderRequests_Update_Column {
/** column name */
Id = 'id',
/** column name */
Options = 'options'
}
export type AuthProviderRequests_Updates = {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: InputMaybe<AuthProviderRequests_Append_Input>;
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: InputMaybe<AuthProviderRequests_Delete_At_Path_Input>;
/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
_delete_elem?: InputMaybe<AuthProviderRequests_Delete_Elem_Input>;
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: InputMaybe<AuthProviderRequests_Delete_Key_Input>;
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: InputMaybe<AuthProviderRequests_Prepend_Input>;
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthProviderRequests_Set_Input>;
/** filter the rows which have to be updated */
where: AuthProviderRequests_Bool_Exp;
};
/** List of available Oauth providers. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthProviders = {
__typename?: 'authProviders';
id: Scalars['String'];
/** An array relationship */
userProviders: Array<AuthUserProviders>;
/** An aggregate relationship */
userProviders_aggregate: AuthUserProviders_Aggregate;
};
/** List of available Oauth providers. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthProvidersUserProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
/** List of available Oauth providers. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthProvidersUserProviders_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
/** aggregated selection of "auth.providers" */
export type AuthProviders_Aggregate = {
__typename?: 'authProviders_aggregate';
aggregate?: Maybe<AuthProviders_Aggregate_Fields>;
nodes: Array<AuthProviders>;
};
/** aggregate fields of "auth.providers" */
export type AuthProviders_Aggregate_Fields = {
__typename?: 'authProviders_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthProviders_Max_Fields>;
min?: Maybe<AuthProviders_Min_Fields>;
};
/** aggregate fields of "auth.providers" */
export type AuthProviders_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthProviders_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** Boolean expression to filter rows from the table "auth.providers". All fields are combined with a logical 'AND'. */
export type AuthProviders_Bool_Exp = {
_and?: InputMaybe<Array<AuthProviders_Bool_Exp>>;
_not?: InputMaybe<AuthProviders_Bool_Exp>;
_or?: InputMaybe<Array<AuthProviders_Bool_Exp>>;
id?: InputMaybe<String_Comparison_Exp>;
userProviders?: InputMaybe<AuthUserProviders_Bool_Exp>;
userProviders_aggregate?: InputMaybe<AuthUserProviders_Aggregate_Bool_Exp>;
};
/** unique or primary key constraints on table "auth.providers" */
export enum AuthProviders_Constraint {
/** unique or primary key constraint on columns "id" */
ProvidersPkey = 'providers_pkey'
}
/** input type for inserting data into table "auth.providers" */
export type AuthProviders_Insert_Input = {
id?: InputMaybe<Scalars['String']>;
userProviders?: InputMaybe<AuthUserProviders_Arr_Rel_Insert_Input>;
};
/** aggregate max on columns */
export type AuthProviders_Max_Fields = {
__typename?: 'authProviders_max_fields';
id?: Maybe<Scalars['String']>;
};
/** aggregate min on columns */
export type AuthProviders_Min_Fields = {
__typename?: 'authProviders_min_fields';
id?: Maybe<Scalars['String']>;
};
/** response of any mutation on the table "auth.providers" */
export type AuthProviders_Mutation_Response = {
__typename?: 'authProviders_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthProviders>;
};
/** input type for inserting object relation for remote table "auth.providers" */
export type AuthProviders_Obj_Rel_Insert_Input = {
data: AuthProviders_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<AuthProviders_On_Conflict>;
};
/** on_conflict condition type for table "auth.providers" */
export type AuthProviders_On_Conflict = {
constraint: AuthProviders_Constraint;
update_columns?: Array<AuthProviders_Update_Column>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.providers". */
export type AuthProviders_Order_By = {
id?: InputMaybe<Order_By>;
userProviders_aggregate?: InputMaybe<AuthUserProviders_Aggregate_Order_By>;
};
/** primary key columns input for table: auth.providers */
export type AuthProviders_Pk_Columns_Input = {
id: Scalars['String'];
};
/** select columns of table "auth.providers" */
export enum AuthProviders_Select_Column {
/** column name */
Id = 'id'
}
/** input type for updating data in table "auth.providers" */
export type AuthProviders_Set_Input = {
id?: InputMaybe<Scalars['String']>;
};
/** Streaming cursor of the table "authProviders" */
export type AuthProviders_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthProviders_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthProviders_Stream_Cursor_Value_Input = {
id?: InputMaybe<Scalars['String']>;
};
/** update columns of table "auth.providers" */
export enum AuthProviders_Update_Column {
/** column name */
Id = 'id'
}
export type AuthProviders_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthProviders_Set_Input>;
/** filter the rows which have to be updated */
where: AuthProviders_Bool_Exp;
};
/** User refresh tokens. Hasura auth uses them to rotate new access tokens as long as the refresh token is not expired. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRefreshTokens = {
__typename?: 'authRefreshTokens';
createdAt: Scalars['timestamptz'];
expiresAt: Scalars['timestamptz'];
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken: Scalars['uuid'];
refreshTokenHash?: Maybe<Scalars['String']>;
/** An object relationship */
user: Users;
userId: Scalars['uuid'];
};
/** aggregated selection of "auth.refresh_tokens" */
export type AuthRefreshTokens_Aggregate = {
__typename?: 'authRefreshTokens_aggregate';
aggregate?: Maybe<AuthRefreshTokens_Aggregate_Fields>;
nodes: Array<AuthRefreshTokens>;
};
export type AuthRefreshTokens_Aggregate_Bool_Exp = {
count?: InputMaybe<AuthRefreshTokens_Aggregate_Bool_Exp_Count>;
};
export type AuthRefreshTokens_Aggregate_Bool_Exp_Count = {
arguments?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
predicate: Int_Comparison_Exp;
};
/** aggregate fields of "auth.refresh_tokens" */
export type AuthRefreshTokens_Aggregate_Fields = {
__typename?: 'authRefreshTokens_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthRefreshTokens_Max_Fields>;
min?: Maybe<AuthRefreshTokens_Min_Fields>;
};
/** aggregate fields of "auth.refresh_tokens" */
export type AuthRefreshTokens_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** order by aggregate values of table "auth.refresh_tokens" */
export type AuthRefreshTokens_Aggregate_Order_By = {
count?: InputMaybe<Order_By>;
max?: InputMaybe<AuthRefreshTokens_Max_Order_By>;
min?: InputMaybe<AuthRefreshTokens_Min_Order_By>;
};
/** input type for inserting array relation for remote table "auth.refresh_tokens" */
export type AuthRefreshTokens_Arr_Rel_Insert_Input = {
data: Array<AuthRefreshTokens_Insert_Input>;
/** upsert condition */
on_conflict?: InputMaybe<AuthRefreshTokens_On_Conflict>;
};
/** Boolean expression to filter rows from the table "auth.refresh_tokens". All fields are combined with a logical 'AND'. */
export type AuthRefreshTokens_Bool_Exp = {
_and?: InputMaybe<Array<AuthRefreshTokens_Bool_Exp>>;
_not?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
_or?: InputMaybe<Array<AuthRefreshTokens_Bool_Exp>>;
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
expiresAt?: InputMaybe<Timestamptz_Comparison_Exp>;
refreshToken?: InputMaybe<Uuid_Comparison_Exp>;
refreshTokenHash?: InputMaybe<String_Comparison_Exp>;
user?: InputMaybe<Users_Bool_Exp>;
userId?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "auth.refresh_tokens" */
export enum AuthRefreshTokens_Constraint {
/** unique or primary key constraint on columns "refresh_token" */
RefreshTokensPkey = 'refresh_tokens_pkey'
}
/** input type for inserting data into table "auth.refresh_tokens" */
export type AuthRefreshTokens_Insert_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
expiresAt?: InputMaybe<Scalars['timestamptz']>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: InputMaybe<Scalars['uuid']>;
user?: InputMaybe<Users_Obj_Rel_Insert_Input>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type AuthRefreshTokens_Max_Fields = {
__typename?: 'authRefreshTokens_max_fields';
createdAt?: Maybe<Scalars['timestamptz']>;
expiresAt?: Maybe<Scalars['timestamptz']>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: Maybe<Scalars['uuid']>;
refreshTokenHash?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by max() on columns of table "auth.refresh_tokens" */
export type AuthRefreshTokens_Max_Order_By = {
createdAt?: InputMaybe<Order_By>;
expiresAt?: InputMaybe<Order_By>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: InputMaybe<Order_By>;
refreshTokenHash?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** aggregate min on columns */
export type AuthRefreshTokens_Min_Fields = {
__typename?: 'authRefreshTokens_min_fields';
createdAt?: Maybe<Scalars['timestamptz']>;
expiresAt?: Maybe<Scalars['timestamptz']>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: Maybe<Scalars['uuid']>;
refreshTokenHash?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by min() on columns of table "auth.refresh_tokens" */
export type AuthRefreshTokens_Min_Order_By = {
createdAt?: InputMaybe<Order_By>;
expiresAt?: InputMaybe<Order_By>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: InputMaybe<Order_By>;
refreshTokenHash?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** response of any mutation on the table "auth.refresh_tokens" */
export type AuthRefreshTokens_Mutation_Response = {
__typename?: 'authRefreshTokens_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthRefreshTokens>;
};
/** on_conflict condition type for table "auth.refresh_tokens" */
export type AuthRefreshTokens_On_Conflict = {
constraint: AuthRefreshTokens_Constraint;
update_columns?: Array<AuthRefreshTokens_Update_Column>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.refresh_tokens". */
export type AuthRefreshTokens_Order_By = {
createdAt?: InputMaybe<Order_By>;
expiresAt?: InputMaybe<Order_By>;
refreshToken?: InputMaybe<Order_By>;
refreshTokenHash?: InputMaybe<Order_By>;
user?: InputMaybe<Users_Order_By>;
userId?: InputMaybe<Order_By>;
};
/** primary key columns input for table: auth.refresh_tokens */
export type AuthRefreshTokens_Pk_Columns_Input = {
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken: Scalars['uuid'];
};
/** select columns of table "auth.refresh_tokens" */
export enum AuthRefreshTokens_Select_Column {
/** column name */
CreatedAt = 'createdAt',
/** column name */
ExpiresAt = 'expiresAt',
/** column name */
RefreshToken = 'refreshToken',
/** column name */
RefreshTokenHash = 'refreshTokenHash',
/** column name */
UserId = 'userId'
}
/** input type for updating data in table "auth.refresh_tokens" */
export type AuthRefreshTokens_Set_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
expiresAt?: InputMaybe<Scalars['timestamptz']>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: InputMaybe<Scalars['uuid']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** Streaming cursor of the table "authRefreshTokens" */
export type AuthRefreshTokens_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthRefreshTokens_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthRefreshTokens_Stream_Cursor_Value_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
expiresAt?: InputMaybe<Scalars['timestamptz']>;
/** DEPRECATED: auto-generated refresh token id. Will be replaced by a genereric id column that will be used as a primary key, not the refresh token itself. Use refresh_token_hash instead. */
refreshToken?: InputMaybe<Scalars['uuid']>;
refreshTokenHash?: InputMaybe<Scalars['String']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** update columns of table "auth.refresh_tokens" */
export enum AuthRefreshTokens_Update_Column {
/** column name */
CreatedAt = 'createdAt',
/** column name */
ExpiresAt = 'expiresAt',
/** column name */
RefreshToken = 'refreshToken',
/** column name */
UserId = 'userId'
}
export type AuthRefreshTokens_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthRefreshTokens_Set_Input>;
/** filter the rows which have to be updated */
where: AuthRefreshTokens_Bool_Exp;
};
/** Persistent Hasura roles for users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRoles = {
__typename?: 'authRoles';
role: Scalars['String'];
/** An array relationship */
userRoles: Array<AuthUserRoles>;
/** An aggregate relationship */
userRoles_aggregate: AuthUserRoles_Aggregate;
/** An array relationship */
usersByDefaultRole: Array<Users>;
/** An aggregate relationship */
usersByDefaultRole_aggregate: Users_Aggregate;
};
/** Persistent Hasura roles for users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRolesUserRolesArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
/** Persistent Hasura roles for users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRolesUserRoles_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
/** Persistent Hasura roles for users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRolesUsersByDefaultRoleArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
/** Persistent Hasura roles for users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthRolesUsersByDefaultRole_AggregateArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
/** aggregated selection of "auth.roles" */
export type AuthRoles_Aggregate = {
__typename?: 'authRoles_aggregate';
aggregate?: Maybe<AuthRoles_Aggregate_Fields>;
nodes: Array<AuthRoles>;
};
/** aggregate fields of "auth.roles" */
export type AuthRoles_Aggregate_Fields = {
__typename?: 'authRoles_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthRoles_Max_Fields>;
min?: Maybe<AuthRoles_Min_Fields>;
};
/** aggregate fields of "auth.roles" */
export type AuthRoles_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthRoles_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** Boolean expression to filter rows from the table "auth.roles". All fields are combined with a logical 'AND'. */
export type AuthRoles_Bool_Exp = {
_and?: InputMaybe<Array<AuthRoles_Bool_Exp>>;
_not?: InputMaybe<AuthRoles_Bool_Exp>;
_or?: InputMaybe<Array<AuthRoles_Bool_Exp>>;
role?: InputMaybe<String_Comparison_Exp>;
userRoles?: InputMaybe<AuthUserRoles_Bool_Exp>;
userRoles_aggregate?: InputMaybe<AuthUserRoles_Aggregate_Bool_Exp>;
usersByDefaultRole?: InputMaybe<Users_Bool_Exp>;
usersByDefaultRole_aggregate?: InputMaybe<Users_Aggregate_Bool_Exp>;
};
/** unique or primary key constraints on table "auth.roles" */
export enum AuthRoles_Constraint {
/** unique or primary key constraint on columns "role" */
RolesPkey = 'roles_pkey'
}
/** input type for inserting data into table "auth.roles" */
export type AuthRoles_Insert_Input = {
role?: InputMaybe<Scalars['String']>;
userRoles?: InputMaybe<AuthUserRoles_Arr_Rel_Insert_Input>;
usersByDefaultRole?: InputMaybe<Users_Arr_Rel_Insert_Input>;
};
/** aggregate max on columns */
export type AuthRoles_Max_Fields = {
__typename?: 'authRoles_max_fields';
role?: Maybe<Scalars['String']>;
};
/** aggregate min on columns */
export type AuthRoles_Min_Fields = {
__typename?: 'authRoles_min_fields';
role?: Maybe<Scalars['String']>;
};
/** response of any mutation on the table "auth.roles" */
export type AuthRoles_Mutation_Response = {
__typename?: 'authRoles_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthRoles>;
};
/** input type for inserting object relation for remote table "auth.roles" */
export type AuthRoles_Obj_Rel_Insert_Input = {
data: AuthRoles_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<AuthRoles_On_Conflict>;
};
/** on_conflict condition type for table "auth.roles" */
export type AuthRoles_On_Conflict = {
constraint: AuthRoles_Constraint;
update_columns?: Array<AuthRoles_Update_Column>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.roles". */
export type AuthRoles_Order_By = {
role?: InputMaybe<Order_By>;
userRoles_aggregate?: InputMaybe<AuthUserRoles_Aggregate_Order_By>;
usersByDefaultRole_aggregate?: InputMaybe<Users_Aggregate_Order_By>;
};
/** primary key columns input for table: auth.roles */
export type AuthRoles_Pk_Columns_Input = {
role: Scalars['String'];
};
/** select columns of table "auth.roles" */
export enum AuthRoles_Select_Column {
/** column name */
Role = 'role'
}
/** input type for updating data in table "auth.roles" */
export type AuthRoles_Set_Input = {
role?: InputMaybe<Scalars['String']>;
};
/** Streaming cursor of the table "authRoles" */
export type AuthRoles_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthRoles_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthRoles_Stream_Cursor_Value_Input = {
role?: InputMaybe<Scalars['String']>;
};
/** update columns of table "auth.roles" */
export enum AuthRoles_Update_Column {
/** column name */
Role = 'role'
}
export type AuthRoles_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthRoles_Set_Input>;
/** filter the rows which have to be updated */
where: AuthRoles_Bool_Exp;
};
/** Active providers for a given user. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthUserProviders = {
__typename?: 'authUserProviders';
accessToken: Scalars['String'];
createdAt: Scalars['timestamptz'];
id: Scalars['uuid'];
/** An object relationship */
provider: AuthProviders;
providerId: Scalars['String'];
providerUserId: Scalars['String'];
refreshToken?: Maybe<Scalars['String']>;
updatedAt: Scalars['timestamptz'];
/** An object relationship */
user: Users;
userId: Scalars['uuid'];
};
/** aggregated selection of "auth.user_providers" */
export type AuthUserProviders_Aggregate = {
__typename?: 'authUserProviders_aggregate';
aggregate?: Maybe<AuthUserProviders_Aggregate_Fields>;
nodes: Array<AuthUserProviders>;
};
export type AuthUserProviders_Aggregate_Bool_Exp = {
count?: InputMaybe<AuthUserProviders_Aggregate_Bool_Exp_Count>;
};
export type AuthUserProviders_Aggregate_Bool_Exp_Count = {
arguments?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<AuthUserProviders_Bool_Exp>;
predicate: Int_Comparison_Exp;
};
/** aggregate fields of "auth.user_providers" */
export type AuthUserProviders_Aggregate_Fields = {
__typename?: 'authUserProviders_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthUserProviders_Max_Fields>;
min?: Maybe<AuthUserProviders_Min_Fields>;
};
/** aggregate fields of "auth.user_providers" */
export type AuthUserProviders_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** order by aggregate values of table "auth.user_providers" */
export type AuthUserProviders_Aggregate_Order_By = {
count?: InputMaybe<Order_By>;
max?: InputMaybe<AuthUserProviders_Max_Order_By>;
min?: InputMaybe<AuthUserProviders_Min_Order_By>;
};
/** input type for inserting array relation for remote table "auth.user_providers" */
export type AuthUserProviders_Arr_Rel_Insert_Input = {
data: Array<AuthUserProviders_Insert_Input>;
/** upsert condition */
on_conflict?: InputMaybe<AuthUserProviders_On_Conflict>;
};
/** Boolean expression to filter rows from the table "auth.user_providers". All fields are combined with a logical 'AND'. */
export type AuthUserProviders_Bool_Exp = {
_and?: InputMaybe<Array<AuthUserProviders_Bool_Exp>>;
_not?: InputMaybe<AuthUserProviders_Bool_Exp>;
_or?: InputMaybe<Array<AuthUserProviders_Bool_Exp>>;
accessToken?: InputMaybe<String_Comparison_Exp>;
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
provider?: InputMaybe<AuthProviders_Bool_Exp>;
providerId?: InputMaybe<String_Comparison_Exp>;
providerUserId?: InputMaybe<String_Comparison_Exp>;
refreshToken?: InputMaybe<String_Comparison_Exp>;
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
user?: InputMaybe<Users_Bool_Exp>;
userId?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "auth.user_providers" */
export enum AuthUserProviders_Constraint {
/** unique or primary key constraint on columns "id" */
UserProvidersPkey = 'user_providers_pkey',
/** unique or primary key constraint on columns "provider_id", "provider_user_id" */
UserProvidersProviderIdProviderUserIdKey = 'user_providers_provider_id_provider_user_id_key',
/** unique or primary key constraint on columns "provider_id", "user_id" */
UserProvidersUserIdProviderIdKey = 'user_providers_user_id_provider_id_key'
}
/** input type for inserting data into table "auth.user_providers" */
export type AuthUserProviders_Insert_Input = {
accessToken?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
provider?: InputMaybe<AuthProviders_Obj_Rel_Insert_Input>;
providerId?: InputMaybe<Scalars['String']>;
providerUserId?: InputMaybe<Scalars['String']>;
refreshToken?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
user?: InputMaybe<Users_Obj_Rel_Insert_Input>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type AuthUserProviders_Max_Fields = {
__typename?: 'authUserProviders_max_fields';
accessToken?: Maybe<Scalars['String']>;
createdAt?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
providerId?: Maybe<Scalars['String']>;
providerUserId?: Maybe<Scalars['String']>;
refreshToken?: Maybe<Scalars['String']>;
updatedAt?: Maybe<Scalars['timestamptz']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by max() on columns of table "auth.user_providers" */
export type AuthUserProviders_Max_Order_By = {
accessToken?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
providerId?: InputMaybe<Order_By>;
providerUserId?: InputMaybe<Order_By>;
refreshToken?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** aggregate min on columns */
export type AuthUserProviders_Min_Fields = {
__typename?: 'authUserProviders_min_fields';
accessToken?: Maybe<Scalars['String']>;
createdAt?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
providerId?: Maybe<Scalars['String']>;
providerUserId?: Maybe<Scalars['String']>;
refreshToken?: Maybe<Scalars['String']>;
updatedAt?: Maybe<Scalars['timestamptz']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by min() on columns of table "auth.user_providers" */
export type AuthUserProviders_Min_Order_By = {
accessToken?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
providerId?: InputMaybe<Order_By>;
providerUserId?: InputMaybe<Order_By>;
refreshToken?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** response of any mutation on the table "auth.user_providers" */
export type AuthUserProviders_Mutation_Response = {
__typename?: 'authUserProviders_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthUserProviders>;
};
/** on_conflict condition type for table "auth.user_providers" */
export type AuthUserProviders_On_Conflict = {
constraint: AuthUserProviders_Constraint;
update_columns?: Array<AuthUserProviders_Update_Column>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.user_providers". */
export type AuthUserProviders_Order_By = {
accessToken?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
provider?: InputMaybe<AuthProviders_Order_By>;
providerId?: InputMaybe<Order_By>;
providerUserId?: InputMaybe<Order_By>;
refreshToken?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
user?: InputMaybe<Users_Order_By>;
userId?: InputMaybe<Order_By>;
};
/** primary key columns input for table: auth.user_providers */
export type AuthUserProviders_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "auth.user_providers" */
export enum AuthUserProviders_Select_Column {
/** column name */
AccessToken = 'accessToken',
/** column name */
CreatedAt = 'createdAt',
/** column name */
Id = 'id',
/** column name */
ProviderId = 'providerId',
/** column name */
ProviderUserId = 'providerUserId',
/** column name */
RefreshToken = 'refreshToken',
/** column name */
UpdatedAt = 'updatedAt',
/** column name */
UserId = 'userId'
}
/** input type for updating data in table "auth.user_providers" */
export type AuthUserProviders_Set_Input = {
accessToken?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
providerId?: InputMaybe<Scalars['String']>;
providerUserId?: InputMaybe<Scalars['String']>;
refreshToken?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** Streaming cursor of the table "authUserProviders" */
export type AuthUserProviders_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthUserProviders_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthUserProviders_Stream_Cursor_Value_Input = {
accessToken?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
providerId?: InputMaybe<Scalars['String']>;
providerUserId?: InputMaybe<Scalars['String']>;
refreshToken?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** update columns of table "auth.user_providers" */
export enum AuthUserProviders_Update_Column {
/** column name */
AccessToken = 'accessToken',
/** column name */
CreatedAt = 'createdAt',
/** column name */
Id = 'id',
/** column name */
ProviderId = 'providerId',
/** column name */
ProviderUserId = 'providerUserId',
/** column name */
RefreshToken = 'refreshToken',
/** column name */
UpdatedAt = 'updatedAt',
/** column name */
UserId = 'userId'
}
export type AuthUserProviders_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthUserProviders_Set_Input>;
/** filter the rows which have to be updated */
where: AuthUserProviders_Bool_Exp;
};
/** Roles of users. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthUserRoles = {
__typename?: 'authUserRoles';
createdAt: Scalars['timestamptz'];
id: Scalars['uuid'];
role: Scalars['String'];
/** An object relationship */
roleByRole: AuthRoles;
/** An object relationship */
user: Users;
userId: Scalars['uuid'];
};
/** aggregated selection of "auth.user_roles" */
export type AuthUserRoles_Aggregate = {
__typename?: 'authUserRoles_aggregate';
aggregate?: Maybe<AuthUserRoles_Aggregate_Fields>;
nodes: Array<AuthUserRoles>;
};
export type AuthUserRoles_Aggregate_Bool_Exp = {
count?: InputMaybe<AuthUserRoles_Aggregate_Bool_Exp_Count>;
};
export type AuthUserRoles_Aggregate_Bool_Exp_Count = {
arguments?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<AuthUserRoles_Bool_Exp>;
predicate: Int_Comparison_Exp;
};
/** aggregate fields of "auth.user_roles" */
export type AuthUserRoles_Aggregate_Fields = {
__typename?: 'authUserRoles_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<AuthUserRoles_Max_Fields>;
min?: Maybe<AuthUserRoles_Min_Fields>;
};
/** aggregate fields of "auth.user_roles" */
export type AuthUserRoles_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** order by aggregate values of table "auth.user_roles" */
export type AuthUserRoles_Aggregate_Order_By = {
count?: InputMaybe<Order_By>;
max?: InputMaybe<AuthUserRoles_Max_Order_By>;
min?: InputMaybe<AuthUserRoles_Min_Order_By>;
};
/** input type for inserting array relation for remote table "auth.user_roles" */
export type AuthUserRoles_Arr_Rel_Insert_Input = {
data: Array<AuthUserRoles_Insert_Input>;
/** upsert condition */
on_conflict?: InputMaybe<AuthUserRoles_On_Conflict>;
};
/** Boolean expression to filter rows from the table "auth.user_roles". All fields are combined with a logical 'AND'. */
export type AuthUserRoles_Bool_Exp = {
_and?: InputMaybe<Array<AuthUserRoles_Bool_Exp>>;
_not?: InputMaybe<AuthUserRoles_Bool_Exp>;
_or?: InputMaybe<Array<AuthUserRoles_Bool_Exp>>;
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
role?: InputMaybe<String_Comparison_Exp>;
roleByRole?: InputMaybe<AuthRoles_Bool_Exp>;
user?: InputMaybe<Users_Bool_Exp>;
userId?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "auth.user_roles" */
export enum AuthUserRoles_Constraint {
/** unique or primary key constraint on columns "id" */
UserRolesPkey = 'user_roles_pkey',
/** unique or primary key constraint on columns "user_id", "role" */
UserRolesUserIdRoleKey = 'user_roles_user_id_role_key'
}
/** input type for inserting data into table "auth.user_roles" */
export type AuthUserRoles_Insert_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
role?: InputMaybe<Scalars['String']>;
roleByRole?: InputMaybe<AuthRoles_Obj_Rel_Insert_Input>;
user?: InputMaybe<Users_Obj_Rel_Insert_Input>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type AuthUserRoles_Max_Fields = {
__typename?: 'authUserRoles_max_fields';
createdAt?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
role?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by max() on columns of table "auth.user_roles" */
export type AuthUserRoles_Max_Order_By = {
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
role?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** aggregate min on columns */
export type AuthUserRoles_Min_Fields = {
__typename?: 'authUserRoles_min_fields';
createdAt?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
role?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by min() on columns of table "auth.user_roles" */
export type AuthUserRoles_Min_Order_By = {
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
role?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** response of any mutation on the table "auth.user_roles" */
export type AuthUserRoles_Mutation_Response = {
__typename?: 'authUserRoles_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthUserRoles>;
};
/** on_conflict condition type for table "auth.user_roles" */
export type AuthUserRoles_On_Conflict = {
constraint: AuthUserRoles_Constraint;
update_columns?: Array<AuthUserRoles_Update_Column>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.user_roles". */
export type AuthUserRoles_Order_By = {
createdAt?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
role?: InputMaybe<Order_By>;
roleByRole?: InputMaybe<AuthRoles_Order_By>;
user?: InputMaybe<Users_Order_By>;
userId?: InputMaybe<Order_By>;
};
/** primary key columns input for table: auth.user_roles */
export type AuthUserRoles_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "auth.user_roles" */
export enum AuthUserRoles_Select_Column {
/** column name */
CreatedAt = 'createdAt',
/** column name */
Id = 'id',
/** column name */
Role = 'role',
/** column name */
UserId = 'userId'
}
/** input type for updating data in table "auth.user_roles" */
export type AuthUserRoles_Set_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
role?: InputMaybe<Scalars['String']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** Streaming cursor of the table "authUserRoles" */
export type AuthUserRoles_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthUserRoles_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthUserRoles_Stream_Cursor_Value_Input = {
createdAt?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
role?: InputMaybe<Scalars['String']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** update columns of table "auth.user_roles" */
export enum AuthUserRoles_Update_Column {
/** column name */
CreatedAt = 'createdAt',
/** column name */
Id = 'id',
/** column name */
Role = 'role',
/** column name */
UserId = 'userId'
}
export type AuthUserRoles_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthUserRoles_Set_Input>;
/** filter the rows which have to be updated */
where: AuthUserRoles_Bool_Exp;
};
/** User webauthn security keys. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type AuthUserSecurityKeys = {
__typename?: 'authUserSecurityKeys';
counter: Scalars['bigint'];
credentialId: Scalars['String'];
credentialPublicKey?: Maybe<Scalars['bytea']>;
id: Scalars['uuid'];
nickname?: Maybe<Scalars['String']>;
transports: Scalars['String'];
/** An object relationship */
user: Users;
userId: Scalars['uuid'];
};
/** aggregated selection of "auth.user_security_keys" */
export type AuthUserSecurityKeys_Aggregate = {
__typename?: 'authUserSecurityKeys_aggregate';
aggregate?: Maybe<AuthUserSecurityKeys_Aggregate_Fields>;
nodes: Array<AuthUserSecurityKeys>;
};
export type AuthUserSecurityKeys_Aggregate_Bool_Exp = {
count?: InputMaybe<AuthUserSecurityKeys_Aggregate_Bool_Exp_Count>;
};
export type AuthUserSecurityKeys_Aggregate_Bool_Exp_Count = {
arguments?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
predicate: Int_Comparison_Exp;
};
/** aggregate fields of "auth.user_security_keys" */
export type AuthUserSecurityKeys_Aggregate_Fields = {
__typename?: 'authUserSecurityKeys_aggregate_fields';
avg?: Maybe<AuthUserSecurityKeys_Avg_Fields>;
count: Scalars['Int'];
max?: Maybe<AuthUserSecurityKeys_Max_Fields>;
min?: Maybe<AuthUserSecurityKeys_Min_Fields>;
stddev?: Maybe<AuthUserSecurityKeys_Stddev_Fields>;
stddev_pop?: Maybe<AuthUserSecurityKeys_Stddev_Pop_Fields>;
stddev_samp?: Maybe<AuthUserSecurityKeys_Stddev_Samp_Fields>;
sum?: Maybe<AuthUserSecurityKeys_Sum_Fields>;
var_pop?: Maybe<AuthUserSecurityKeys_Var_Pop_Fields>;
var_samp?: Maybe<AuthUserSecurityKeys_Var_Samp_Fields>;
variance?: Maybe<AuthUserSecurityKeys_Variance_Fields>;
};
/** aggregate fields of "auth.user_security_keys" */
export type AuthUserSecurityKeys_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** order by aggregate values of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Aggregate_Order_By = {
avg?: InputMaybe<AuthUserSecurityKeys_Avg_Order_By>;
count?: InputMaybe<Order_By>;
max?: InputMaybe<AuthUserSecurityKeys_Max_Order_By>;
min?: InputMaybe<AuthUserSecurityKeys_Min_Order_By>;
stddev?: InputMaybe<AuthUserSecurityKeys_Stddev_Order_By>;
stddev_pop?: InputMaybe<AuthUserSecurityKeys_Stddev_Pop_Order_By>;
stddev_samp?: InputMaybe<AuthUserSecurityKeys_Stddev_Samp_Order_By>;
sum?: InputMaybe<AuthUserSecurityKeys_Sum_Order_By>;
var_pop?: InputMaybe<AuthUserSecurityKeys_Var_Pop_Order_By>;
var_samp?: InputMaybe<AuthUserSecurityKeys_Var_Samp_Order_By>;
variance?: InputMaybe<AuthUserSecurityKeys_Variance_Order_By>;
};
/** input type for inserting array relation for remote table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Arr_Rel_Insert_Input = {
data: Array<AuthUserSecurityKeys_Insert_Input>;
/** upsert condition */
on_conflict?: InputMaybe<AuthUserSecurityKeys_On_Conflict>;
};
/** aggregate avg on columns */
export type AuthUserSecurityKeys_Avg_Fields = {
__typename?: 'authUserSecurityKeys_avg_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by avg() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Avg_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** Boolean expression to filter rows from the table "auth.user_security_keys". All fields are combined with a logical 'AND'. */
export type AuthUserSecurityKeys_Bool_Exp = {
_and?: InputMaybe<Array<AuthUserSecurityKeys_Bool_Exp>>;
_not?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
_or?: InputMaybe<Array<AuthUserSecurityKeys_Bool_Exp>>;
counter?: InputMaybe<Bigint_Comparison_Exp>;
credentialId?: InputMaybe<String_Comparison_Exp>;
credentialPublicKey?: InputMaybe<Bytea_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
nickname?: InputMaybe<String_Comparison_Exp>;
transports?: InputMaybe<String_Comparison_Exp>;
user?: InputMaybe<Users_Bool_Exp>;
userId?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "auth.user_security_keys" */
export enum AuthUserSecurityKeys_Constraint {
/** unique or primary key constraint on columns "credential_id" */
UserSecurityKeyCredentialIdKey = 'user_security_key_credential_id_key',
/** unique or primary key constraint on columns "id" */
UserSecurityKeysPkey = 'user_security_keys_pkey'
}
/** input type for incrementing numeric columns in table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Inc_Input = {
counter?: InputMaybe<Scalars['bigint']>;
};
/** input type for inserting data into table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Insert_Input = {
counter?: InputMaybe<Scalars['bigint']>;
credentialId?: InputMaybe<Scalars['String']>;
credentialPublicKey?: InputMaybe<Scalars['bytea']>;
id?: InputMaybe<Scalars['uuid']>;
nickname?: InputMaybe<Scalars['String']>;
transports?: InputMaybe<Scalars['String']>;
user?: InputMaybe<Users_Obj_Rel_Insert_Input>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type AuthUserSecurityKeys_Max_Fields = {
__typename?: 'authUserSecurityKeys_max_fields';
counter?: Maybe<Scalars['bigint']>;
credentialId?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
nickname?: Maybe<Scalars['String']>;
transports?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by max() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Max_Order_By = {
counter?: InputMaybe<Order_By>;
credentialId?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
nickname?: InputMaybe<Order_By>;
transports?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** aggregate min on columns */
export type AuthUserSecurityKeys_Min_Fields = {
__typename?: 'authUserSecurityKeys_min_fields';
counter?: Maybe<Scalars['bigint']>;
credentialId?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
nickname?: Maybe<Scalars['String']>;
transports?: Maybe<Scalars['String']>;
userId?: Maybe<Scalars['uuid']>;
};
/** order by min() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Min_Order_By = {
counter?: InputMaybe<Order_By>;
credentialId?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
nickname?: InputMaybe<Order_By>;
transports?: InputMaybe<Order_By>;
userId?: InputMaybe<Order_By>;
};
/** response of any mutation on the table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Mutation_Response = {
__typename?: 'authUserSecurityKeys_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<AuthUserSecurityKeys>;
};
/** on_conflict condition type for table "auth.user_security_keys" */
export type AuthUserSecurityKeys_On_Conflict = {
constraint: AuthUserSecurityKeys_Constraint;
update_columns?: Array<AuthUserSecurityKeys_Update_Column>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.user_security_keys". */
export type AuthUserSecurityKeys_Order_By = {
counter?: InputMaybe<Order_By>;
credentialId?: InputMaybe<Order_By>;
credentialPublicKey?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
nickname?: InputMaybe<Order_By>;
transports?: InputMaybe<Order_By>;
user?: InputMaybe<Users_Order_By>;
userId?: InputMaybe<Order_By>;
};
/** primary key columns input for table: auth.user_security_keys */
export type AuthUserSecurityKeys_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "auth.user_security_keys" */
export enum AuthUserSecurityKeys_Select_Column {
/** column name */
Counter = 'counter',
/** column name */
CredentialId = 'credentialId',
/** column name */
CredentialPublicKey = 'credentialPublicKey',
/** column name */
Id = 'id',
/** column name */
Nickname = 'nickname',
/** column name */
Transports = 'transports',
/** column name */
UserId = 'userId'
}
/** input type for updating data in table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Set_Input = {
counter?: InputMaybe<Scalars['bigint']>;
credentialId?: InputMaybe<Scalars['String']>;
credentialPublicKey?: InputMaybe<Scalars['bytea']>;
id?: InputMaybe<Scalars['uuid']>;
nickname?: InputMaybe<Scalars['String']>;
transports?: InputMaybe<Scalars['String']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate stddev on columns */
export type AuthUserSecurityKeys_Stddev_Fields = {
__typename?: 'authUserSecurityKeys_stddev_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by stddev() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Stddev_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** aggregate stddev_pop on columns */
export type AuthUserSecurityKeys_Stddev_Pop_Fields = {
__typename?: 'authUserSecurityKeys_stddev_pop_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by stddev_pop() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Stddev_Pop_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** aggregate stddev_samp on columns */
export type AuthUserSecurityKeys_Stddev_Samp_Fields = {
__typename?: 'authUserSecurityKeys_stddev_samp_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by stddev_samp() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Stddev_Samp_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** Streaming cursor of the table "authUserSecurityKeys" */
export type AuthUserSecurityKeys_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: AuthUserSecurityKeys_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type AuthUserSecurityKeys_Stream_Cursor_Value_Input = {
counter?: InputMaybe<Scalars['bigint']>;
credentialId?: InputMaybe<Scalars['String']>;
credentialPublicKey?: InputMaybe<Scalars['bytea']>;
id?: InputMaybe<Scalars['uuid']>;
nickname?: InputMaybe<Scalars['String']>;
transports?: InputMaybe<Scalars['String']>;
userId?: InputMaybe<Scalars['uuid']>;
};
/** aggregate sum on columns */
export type AuthUserSecurityKeys_Sum_Fields = {
__typename?: 'authUserSecurityKeys_sum_fields';
counter?: Maybe<Scalars['bigint']>;
};
/** order by sum() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Sum_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** update columns of table "auth.user_security_keys" */
export enum AuthUserSecurityKeys_Update_Column {
/** column name */
Counter = 'counter',
/** column name */
CredentialId = 'credentialId',
/** column name */
CredentialPublicKey = 'credentialPublicKey',
/** column name */
Id = 'id',
/** column name */
Nickname = 'nickname',
/** column name */
Transports = 'transports',
/** column name */
UserId = 'userId'
}
export type AuthUserSecurityKeys_Updates = {
/** increments the numeric columns with given value of the filtered values */
_inc?: InputMaybe<AuthUserSecurityKeys_Inc_Input>;
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<AuthUserSecurityKeys_Set_Input>;
/** filter the rows which have to be updated */
where: AuthUserSecurityKeys_Bool_Exp;
};
/** aggregate var_pop on columns */
export type AuthUserSecurityKeys_Var_Pop_Fields = {
__typename?: 'authUserSecurityKeys_var_pop_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by var_pop() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Var_Pop_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** aggregate var_samp on columns */
export type AuthUserSecurityKeys_Var_Samp_Fields = {
__typename?: 'authUserSecurityKeys_var_samp_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by var_samp() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Var_Samp_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** aggregate variance on columns */
export type AuthUserSecurityKeys_Variance_Fields = {
__typename?: 'authUserSecurityKeys_variance_fields';
counter?: Maybe<Scalars['Float']>;
};
/** order by variance() on columns of table "auth.user_security_keys" */
export type AuthUserSecurityKeys_Variance_Order_By = {
counter?: InputMaybe<Order_By>;
};
/** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
export type Bigint_Comparison_Exp = {
_eq?: InputMaybe<Scalars['bigint']>;
_gt?: InputMaybe<Scalars['bigint']>;
_gte?: InputMaybe<Scalars['bigint']>;
_in?: InputMaybe<Array<Scalars['bigint']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['bigint']>;
_lte?: InputMaybe<Scalars['bigint']>;
_neq?: InputMaybe<Scalars['bigint']>;
_nin?: InputMaybe<Array<Scalars['bigint']>>;
};
/** Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'. */
export type Bytea_Comparison_Exp = {
_eq?: InputMaybe<Scalars['bytea']>;
_gt?: InputMaybe<Scalars['bytea']>;
_gte?: InputMaybe<Scalars['bytea']>;
_in?: InputMaybe<Array<Scalars['bytea']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['bytea']>;
_lte?: InputMaybe<Scalars['bytea']>;
_neq?: InputMaybe<Scalars['bytea']>;
_nin?: InputMaybe<Array<Scalars['bytea']>>;
};
/** Boolean expression to compare columns of type "citext". All fields are combined with logical 'AND'. */
export type Citext_Comparison_Exp = {
_eq?: InputMaybe<Scalars['citext']>;
_gt?: InputMaybe<Scalars['citext']>;
_gte?: InputMaybe<Scalars['citext']>;
/** does the column match the given case-insensitive pattern */
_ilike?: InputMaybe<Scalars['citext']>;
_in?: InputMaybe<Array<Scalars['citext']>>;
/** does the column match the given POSIX regular expression, case insensitive */
_iregex?: InputMaybe<Scalars['citext']>;
_is_null?: InputMaybe<Scalars['Boolean']>;
/** does the column match the given pattern */
_like?: InputMaybe<Scalars['citext']>;
_lt?: InputMaybe<Scalars['citext']>;
_lte?: InputMaybe<Scalars['citext']>;
_neq?: InputMaybe<Scalars['citext']>;
/** does the column NOT match the given case-insensitive pattern */
_nilike?: InputMaybe<Scalars['citext']>;
_nin?: InputMaybe<Array<Scalars['citext']>>;
/** does the column NOT match the given POSIX regular expression, case insensitive */
_niregex?: InputMaybe<Scalars['citext']>;
/** does the column NOT match the given pattern */
_nlike?: InputMaybe<Scalars['citext']>;
/** does the column NOT match the given POSIX regular expression, case sensitive */
_nregex?: InputMaybe<Scalars['citext']>;
/** does the column NOT match the given SQL regular expression */
_nsimilar?: InputMaybe<Scalars['citext']>;
/** does the column match the given POSIX regular expression, case sensitive */
_regex?: InputMaybe<Scalars['citext']>;
/** does the column match the given SQL regular expression */
_similar?: InputMaybe<Scalars['citext']>;
};
/** columns and relationships of "companies" */
export type Companies = {
__typename?: 'companies';
/** An object relationship */
account_owner?: Maybe<Users>;
account_owner_id?: Maybe<Scalars['uuid']>;
address?: Maybe<Scalars['String']>;
created_at: Scalars['timestamptz'];
deleted_at?: Maybe<Scalars['timestamptz']>;
domain_name?: Maybe<Scalars['String']>;
employees?: Maybe<Scalars['numeric']>;
id: Scalars['uuid'];
name?: Maybe<Scalars['String']>;
updated_at: Scalars['timestamptz'];
/** An object relationship */
workspace: Workspaces;
workspace_id: Scalars['uuid'];
};
/** aggregated selection of "companies" */
export type Companies_Aggregate = {
__typename?: 'companies_aggregate';
aggregate?: Maybe<Companies_Aggregate_Fields>;
nodes: Array<Companies>;
};
/** aggregate fields of "companies" */
export type Companies_Aggregate_Fields = {
__typename?: 'companies_aggregate_fields';
avg?: Maybe<Companies_Avg_Fields>;
count: Scalars['Int'];
max?: Maybe<Companies_Max_Fields>;
min?: Maybe<Companies_Min_Fields>;
stddev?: Maybe<Companies_Stddev_Fields>;
stddev_pop?: Maybe<Companies_Stddev_Pop_Fields>;
stddev_samp?: Maybe<Companies_Stddev_Samp_Fields>;
sum?: Maybe<Companies_Sum_Fields>;
var_pop?: Maybe<Companies_Var_Pop_Fields>;
var_samp?: Maybe<Companies_Var_Samp_Fields>;
variance?: Maybe<Companies_Variance_Fields>;
};
/** aggregate fields of "companies" */
export type Companies_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<Companies_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** aggregate avg on columns */
export type Companies_Avg_Fields = {
__typename?: 'companies_avg_fields';
employees?: Maybe<Scalars['Float']>;
};
/** Boolean expression to filter rows from the table "companies". All fields are combined with a logical 'AND'. */
export type Companies_Bool_Exp = {
_and?: InputMaybe<Array<Companies_Bool_Exp>>;
_not?: InputMaybe<Companies_Bool_Exp>;
_or?: InputMaybe<Array<Companies_Bool_Exp>>;
account_owner?: InputMaybe<Users_Bool_Exp>;
account_owner_id?: InputMaybe<Uuid_Comparison_Exp>;
address?: InputMaybe<String_Comparison_Exp>;
created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
deleted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
domain_name?: InputMaybe<String_Comparison_Exp>;
employees?: InputMaybe<Numeric_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
name?: InputMaybe<String_Comparison_Exp>;
updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
workspace?: InputMaybe<Workspaces_Bool_Exp>;
workspace_id?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "companies" */
export enum Companies_Constraint {
/** unique or primary key constraint on columns "id" */
CompaniesPkey = 'companies_pkey'
}
/** input type for incrementing numeric columns in table "companies" */
export type Companies_Inc_Input = {
employees?: InputMaybe<Scalars['numeric']>;
};
/** input type for inserting data into table "companies" */
export type Companies_Insert_Input = {
account_owner?: InputMaybe<Users_Obj_Rel_Insert_Input>;
account_owner_id?: InputMaybe<Scalars['uuid']>;
address?: InputMaybe<Scalars['String']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
domain_name?: InputMaybe<Scalars['String']>;
employees?: InputMaybe<Scalars['numeric']>;
id?: InputMaybe<Scalars['uuid']>;
name?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace?: InputMaybe<Workspaces_Obj_Rel_Insert_Input>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type Companies_Max_Fields = {
__typename?: 'companies_max_fields';
account_owner_id?: Maybe<Scalars['uuid']>;
address?: Maybe<Scalars['String']>;
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
domain_name?: Maybe<Scalars['String']>;
employees?: Maybe<Scalars['numeric']>;
id?: Maybe<Scalars['uuid']>;
name?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** aggregate min on columns */
export type Companies_Min_Fields = {
__typename?: 'companies_min_fields';
account_owner_id?: Maybe<Scalars['uuid']>;
address?: Maybe<Scalars['String']>;
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
domain_name?: Maybe<Scalars['String']>;
employees?: Maybe<Scalars['numeric']>;
id?: Maybe<Scalars['uuid']>;
name?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** response of any mutation on the table "companies" */
export type Companies_Mutation_Response = {
__typename?: 'companies_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<Companies>;
};
/** input type for inserting object relation for remote table "companies" */
export type Companies_Obj_Rel_Insert_Input = {
data: Companies_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<Companies_On_Conflict>;
};
/** on_conflict condition type for table "companies" */
export type Companies_On_Conflict = {
constraint: Companies_Constraint;
update_columns?: Array<Companies_Update_Column>;
where?: InputMaybe<Companies_Bool_Exp>;
};
/** Ordering options when selecting data from "companies". */
export type Companies_Order_By = {
account_owner?: InputMaybe<Users_Order_By>;
account_owner_id?: InputMaybe<Order_By>;
address?: InputMaybe<Order_By>;
created_at?: InputMaybe<Order_By>;
deleted_at?: InputMaybe<Order_By>;
domain_name?: InputMaybe<Order_By>;
employees?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
name?: InputMaybe<Order_By>;
updated_at?: InputMaybe<Order_By>;
workspace?: InputMaybe<Workspaces_Order_By>;
workspace_id?: InputMaybe<Order_By>;
};
/** primary key columns input for table: companies */
export type Companies_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "companies" */
export enum Companies_Select_Column {
/** column name */
AccountOwnerId = 'account_owner_id',
/** column name */
Address = 'address',
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
DomainName = 'domain_name',
/** column name */
Employees = 'employees',
/** column name */
Id = 'id',
/** column name */
Name = 'name',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
WorkspaceId = 'workspace_id'
}
/** input type for updating data in table "companies" */
export type Companies_Set_Input = {
account_owner_id?: InputMaybe<Scalars['uuid']>;
address?: InputMaybe<Scalars['String']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
domain_name?: InputMaybe<Scalars['String']>;
employees?: InputMaybe<Scalars['numeric']>;
id?: InputMaybe<Scalars['uuid']>;
name?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** aggregate stddev on columns */
export type Companies_Stddev_Fields = {
__typename?: 'companies_stddev_fields';
employees?: Maybe<Scalars['Float']>;
};
/** aggregate stddev_pop on columns */
export type Companies_Stddev_Pop_Fields = {
__typename?: 'companies_stddev_pop_fields';
employees?: Maybe<Scalars['Float']>;
};
/** aggregate stddev_samp on columns */
export type Companies_Stddev_Samp_Fields = {
__typename?: 'companies_stddev_samp_fields';
employees?: Maybe<Scalars['Float']>;
};
/** Streaming cursor of the table "companies" */
export type Companies_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: Companies_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type Companies_Stream_Cursor_Value_Input = {
account_owner_id?: InputMaybe<Scalars['uuid']>;
address?: InputMaybe<Scalars['String']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
domain_name?: InputMaybe<Scalars['String']>;
employees?: InputMaybe<Scalars['numeric']>;
id?: InputMaybe<Scalars['uuid']>;
name?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** aggregate sum on columns */
export type Companies_Sum_Fields = {
__typename?: 'companies_sum_fields';
employees?: Maybe<Scalars['numeric']>;
};
/** update columns of table "companies" */
export enum Companies_Update_Column {
/** column name */
AccountOwnerId = 'account_owner_id',
/** column name */
Address = 'address',
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
DomainName = 'domain_name',
/** column name */
Employees = 'employees',
/** column name */
Id = 'id',
/** column name */
Name = 'name',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
WorkspaceId = 'workspace_id'
}
export type Companies_Updates = {
/** increments the numeric columns with given value of the filtered values */
_inc?: InputMaybe<Companies_Inc_Input>;
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<Companies_Set_Input>;
/** filter the rows which have to be updated */
where: Companies_Bool_Exp;
};
/** aggregate var_pop on columns */
export type Companies_Var_Pop_Fields = {
__typename?: 'companies_var_pop_fields';
employees?: Maybe<Scalars['Float']>;
};
/** aggregate var_samp on columns */
export type Companies_Var_Samp_Fields = {
__typename?: 'companies_var_samp_fields';
employees?: Maybe<Scalars['Float']>;
};
/** aggregate variance on columns */
export type Companies_Variance_Fields = {
__typename?: 'companies_variance_fields';
employees?: Maybe<Scalars['Float']>;
};
/** ordering argument of a cursor */
export enum Cursor_Ordering {
/** ascending ordering of the cursor */
Asc = 'ASC',
/** descending ordering of the cursor */
Desc = 'DESC'
}
export type Jsonb_Cast_Exp = {
String?: InputMaybe<String_Comparison_Exp>;
};
/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
export type Jsonb_Comparison_Exp = {
_cast?: InputMaybe<Jsonb_Cast_Exp>;
/** is the column contained in the given json value */
_contained_in?: InputMaybe<Scalars['jsonb']>;
/** does the column contain the given json value at the top level */
_contains?: InputMaybe<Scalars['jsonb']>;
_eq?: InputMaybe<Scalars['jsonb']>;
_gt?: InputMaybe<Scalars['jsonb']>;
_gte?: InputMaybe<Scalars['jsonb']>;
/** does the string exist as a top-level key in the column */
_has_key?: InputMaybe<Scalars['String']>;
/** do all of these strings exist as top-level keys in the column */
_has_keys_all?: InputMaybe<Array<Scalars['String']>>;
/** do any of these strings exist as top-level keys in the column */
_has_keys_any?: InputMaybe<Array<Scalars['String']>>;
_in?: InputMaybe<Array<Scalars['jsonb']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['jsonb']>;
_lte?: InputMaybe<Scalars['jsonb']>;
_neq?: InputMaybe<Scalars['jsonb']>;
_nin?: InputMaybe<Array<Scalars['jsonb']>>;
};
/** mutation root */
export type Mutation_Root = {
__typename?: 'mutation_root';
/** delete single row from the table: "auth.providers" */
deleteAuthProvider?: Maybe<AuthProviders>;
/** delete single row from the table: "auth.provider_requests" */
deleteAuthProviderRequest?: Maybe<AuthProviderRequests>;
/** delete data from the table: "auth.provider_requests" */
deleteAuthProviderRequests?: Maybe<AuthProviderRequests_Mutation_Response>;
/** delete data from the table: "auth.providers" */
deleteAuthProviders?: Maybe<AuthProviders_Mutation_Response>;
/** delete single row from the table: "auth.refresh_tokens" */
deleteAuthRefreshToken?: Maybe<AuthRefreshTokens>;
/** delete data from the table: "auth.refresh_tokens" */
deleteAuthRefreshTokens?: Maybe<AuthRefreshTokens_Mutation_Response>;
/** delete single row from the table: "auth.roles" */
deleteAuthRole?: Maybe<AuthRoles>;
/** delete data from the table: "auth.roles" */
deleteAuthRoles?: Maybe<AuthRoles_Mutation_Response>;
/** delete single row from the table: "auth.user_providers" */
deleteAuthUserProvider?: Maybe<AuthUserProviders>;
/** delete data from the table: "auth.user_providers" */
deleteAuthUserProviders?: Maybe<AuthUserProviders_Mutation_Response>;
/** delete single row from the table: "auth.user_roles" */
deleteAuthUserRole?: Maybe<AuthUserRoles>;
/** delete data from the table: "auth.user_roles" */
deleteAuthUserRoles?: Maybe<AuthUserRoles_Mutation_Response>;
/** delete single row from the table: "auth.user_security_keys" */
deleteAuthUserSecurityKey?: Maybe<AuthUserSecurityKeys>;
/** delete data from the table: "auth.user_security_keys" */
deleteAuthUserSecurityKeys?: Maybe<AuthUserSecurityKeys_Mutation_Response>;
/** delete single row from the table: "auth.users" */
deleteUser?: Maybe<Users>;
/** delete data from the table: "auth.users" */
deleteUsers?: Maybe<Users_Mutation_Response>;
/** delete data from the table: "companies" */
delete_companies?: Maybe<Companies_Mutation_Response>;
/** delete single row from the table: "companies" */
delete_companies_by_pk?: Maybe<Companies>;
/** delete data from the table: "people" */
delete_people?: Maybe<People_Mutation_Response>;
/** delete single row from the table: "people" */
delete_people_by_pk?: Maybe<People>;
/** delete data from the table: "workspace_members" */
delete_workspace_members?: Maybe<Workspace_Members_Mutation_Response>;
/** delete single row from the table: "workspace_members" */
delete_workspace_members_by_pk?: Maybe<Workspace_Members>;
/** delete data from the table: "workspaces" */
delete_workspaces?: Maybe<Workspaces_Mutation_Response>;
/** delete single row from the table: "workspaces" */
delete_workspaces_by_pk?: Maybe<Workspaces>;
/** insert a single row into the table: "auth.providers" */
insertAuthProvider?: Maybe<AuthProviders>;
/** insert a single row into the table: "auth.provider_requests" */
insertAuthProviderRequest?: Maybe<AuthProviderRequests>;
/** insert data into the table: "auth.provider_requests" */
insertAuthProviderRequests?: Maybe<AuthProviderRequests_Mutation_Response>;
/** insert data into the table: "auth.providers" */
insertAuthProviders?: Maybe<AuthProviders_Mutation_Response>;
/** insert a single row into the table: "auth.refresh_tokens" */
insertAuthRefreshToken?: Maybe<AuthRefreshTokens>;
/** insert data into the table: "auth.refresh_tokens" */
insertAuthRefreshTokens?: Maybe<AuthRefreshTokens_Mutation_Response>;
/** insert a single row into the table: "auth.roles" */
insertAuthRole?: Maybe<AuthRoles>;
/** insert data into the table: "auth.roles" */
insertAuthRoles?: Maybe<AuthRoles_Mutation_Response>;
/** insert a single row into the table: "auth.user_providers" */
insertAuthUserProvider?: Maybe<AuthUserProviders>;
/** insert data into the table: "auth.user_providers" */
insertAuthUserProviders?: Maybe<AuthUserProviders_Mutation_Response>;
/** insert a single row into the table: "auth.user_roles" */
insertAuthUserRole?: Maybe<AuthUserRoles>;
/** insert data into the table: "auth.user_roles" */
insertAuthUserRoles?: Maybe<AuthUserRoles_Mutation_Response>;
/** insert a single row into the table: "auth.user_security_keys" */
insertAuthUserSecurityKey?: Maybe<AuthUserSecurityKeys>;
/** insert data into the table: "auth.user_security_keys" */
insertAuthUserSecurityKeys?: Maybe<AuthUserSecurityKeys_Mutation_Response>;
/** insert a single row into the table: "auth.users" */
insertUser?: Maybe<Users>;
/** insert data into the table: "auth.users" */
insertUsers?: Maybe<Users_Mutation_Response>;
/** insert data into the table: "companies" */
insert_companies?: Maybe<Companies_Mutation_Response>;
/** insert a single row into the table: "companies" */
insert_companies_one?: Maybe<Companies>;
/** insert data into the table: "people" */
insert_people?: Maybe<People_Mutation_Response>;
/** insert a single row into the table: "people" */
insert_people_one?: Maybe<People>;
/** insert data into the table: "workspace_members" */
insert_workspace_members?: Maybe<Workspace_Members_Mutation_Response>;
/** insert a single row into the table: "workspace_members" */
insert_workspace_members_one?: Maybe<Workspace_Members>;
/** insert data into the table: "workspaces" */
insert_workspaces?: Maybe<Workspaces_Mutation_Response>;
/** insert a single row into the table: "workspaces" */
insert_workspaces_one?: Maybe<Workspaces>;
/** update single row of the table: "auth.providers" */
updateAuthProvider?: Maybe<AuthProviders>;
/** update single row of the table: "auth.provider_requests" */
updateAuthProviderRequest?: Maybe<AuthProviderRequests>;
/** update data of the table: "auth.provider_requests" */
updateAuthProviderRequests?: Maybe<AuthProviderRequests_Mutation_Response>;
/** update data of the table: "auth.providers" */
updateAuthProviders?: Maybe<AuthProviders_Mutation_Response>;
/** update single row of the table: "auth.refresh_tokens" */
updateAuthRefreshToken?: Maybe<AuthRefreshTokens>;
/** update data of the table: "auth.refresh_tokens" */
updateAuthRefreshTokens?: Maybe<AuthRefreshTokens_Mutation_Response>;
/** update single row of the table: "auth.roles" */
updateAuthRole?: Maybe<AuthRoles>;
/** update data of the table: "auth.roles" */
updateAuthRoles?: Maybe<AuthRoles_Mutation_Response>;
/** update single row of the table: "auth.user_providers" */
updateAuthUserProvider?: Maybe<AuthUserProviders>;
/** update data of the table: "auth.user_providers" */
updateAuthUserProviders?: Maybe<AuthUserProviders_Mutation_Response>;
/** update single row of the table: "auth.user_roles" */
updateAuthUserRole?: Maybe<AuthUserRoles>;
/** update data of the table: "auth.user_roles" */
updateAuthUserRoles?: Maybe<AuthUserRoles_Mutation_Response>;
/** update single row of the table: "auth.user_security_keys" */
updateAuthUserSecurityKey?: Maybe<AuthUserSecurityKeys>;
/** update data of the table: "auth.user_security_keys" */
updateAuthUserSecurityKeys?: Maybe<AuthUserSecurityKeys_Mutation_Response>;
/** update single row of the table: "auth.users" */
updateUser?: Maybe<Users>;
/** update data of the table: "auth.users" */
updateUsers?: Maybe<Users_Mutation_Response>;
/** update multiples rows of table: "auth.provider_requests" */
update_authProviderRequests_many?: Maybe<Array<Maybe<AuthProviderRequests_Mutation_Response>>>;
/** update multiples rows of table: "auth.providers" */
update_authProviders_many?: Maybe<Array<Maybe<AuthProviders_Mutation_Response>>>;
/** update multiples rows of table: "auth.refresh_tokens" */
update_authRefreshTokens_many?: Maybe<Array<Maybe<AuthRefreshTokens_Mutation_Response>>>;
/** update multiples rows of table: "auth.roles" */
update_authRoles_many?: Maybe<Array<Maybe<AuthRoles_Mutation_Response>>>;
/** update multiples rows of table: "auth.user_providers" */
update_authUserProviders_many?: Maybe<Array<Maybe<AuthUserProviders_Mutation_Response>>>;
/** update multiples rows of table: "auth.user_roles" */
update_authUserRoles_many?: Maybe<Array<Maybe<AuthUserRoles_Mutation_Response>>>;
/** update multiples rows of table: "auth.user_security_keys" */
update_authUserSecurityKeys_many?: Maybe<Array<Maybe<AuthUserSecurityKeys_Mutation_Response>>>;
/** update data of the table: "companies" */
update_companies?: Maybe<Companies_Mutation_Response>;
/** update single row of the table: "companies" */
update_companies_by_pk?: Maybe<Companies>;
/** update multiples rows of table: "companies" */
update_companies_many?: Maybe<Array<Maybe<Companies_Mutation_Response>>>;
/** update data of the table: "people" */
update_people?: Maybe<People_Mutation_Response>;
/** update single row of the table: "people" */
update_people_by_pk?: Maybe<People>;
/** update multiples rows of table: "people" */
update_people_many?: Maybe<Array<Maybe<People_Mutation_Response>>>;
/** update multiples rows of table: "auth.users" */
update_users_many?: Maybe<Array<Maybe<Users_Mutation_Response>>>;
/** update data of the table: "workspace_members" */
update_workspace_members?: Maybe<Workspace_Members_Mutation_Response>;
/** update single row of the table: "workspace_members" */
update_workspace_members_by_pk?: Maybe<Workspace_Members>;
/** update multiples rows of table: "workspace_members" */
update_workspace_members_many?: Maybe<Array<Maybe<Workspace_Members_Mutation_Response>>>;
/** update data of the table: "workspaces" */
update_workspaces?: Maybe<Workspaces_Mutation_Response>;
/** update single row of the table: "workspaces" */
update_workspaces_by_pk?: Maybe<Workspaces>;
/** update multiples rows of table: "workspaces" */
update_workspaces_many?: Maybe<Array<Maybe<Workspaces_Mutation_Response>>>;
};
/** mutation root */
export type Mutation_RootDeleteAuthProviderArgs = {
id: Scalars['String'];
};
/** mutation root */
export type Mutation_RootDeleteAuthProviderRequestArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteAuthProviderRequestsArgs = {
where: AuthProviderRequests_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthProvidersArgs = {
where: AuthProviders_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthRefreshTokenArgs = {
refreshToken: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteAuthRefreshTokensArgs = {
where: AuthRefreshTokens_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthRoleArgs = {
role: Scalars['String'];
};
/** mutation root */
export type Mutation_RootDeleteAuthRolesArgs = {
where: AuthRoles_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthUserProviderArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteAuthUserProvidersArgs = {
where: AuthUserProviders_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthUserRoleArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteAuthUserRolesArgs = {
where: AuthUserRoles_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteAuthUserSecurityKeyArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteAuthUserSecurityKeysArgs = {
where: AuthUserSecurityKeys_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDeleteUserArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDeleteUsersArgs = {
where: Users_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDelete_CompaniesArgs = {
where: Companies_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDelete_Companies_By_PkArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDelete_PeopleArgs = {
where: People_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDelete_People_By_PkArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDelete_Workspace_MembersArgs = {
where: Workspace_Members_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDelete_Workspace_Members_By_PkArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootDelete_WorkspacesArgs = {
where: Workspaces_Bool_Exp;
};
/** mutation root */
export type Mutation_RootDelete_Workspaces_By_PkArgs = {
id: Scalars['uuid'];
};
/** mutation root */
export type Mutation_RootInsertAuthProviderArgs = {
object: AuthProviders_Insert_Input;
on_conflict?: InputMaybe<AuthProviders_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthProviderRequestArgs = {
object: AuthProviderRequests_Insert_Input;
on_conflict?: InputMaybe<AuthProviderRequests_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthProviderRequestsArgs = {
objects: Array<AuthProviderRequests_Insert_Input>;
on_conflict?: InputMaybe<AuthProviderRequests_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthProvidersArgs = {
objects: Array<AuthProviders_Insert_Input>;
on_conflict?: InputMaybe<AuthProviders_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthRefreshTokenArgs = {
object: AuthRefreshTokens_Insert_Input;
on_conflict?: InputMaybe<AuthRefreshTokens_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthRefreshTokensArgs = {
objects: Array<AuthRefreshTokens_Insert_Input>;
on_conflict?: InputMaybe<AuthRefreshTokens_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthRoleArgs = {
object: AuthRoles_Insert_Input;
on_conflict?: InputMaybe<AuthRoles_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthRolesArgs = {
objects: Array<AuthRoles_Insert_Input>;
on_conflict?: InputMaybe<AuthRoles_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserProviderArgs = {
object: AuthUserProviders_Insert_Input;
on_conflict?: InputMaybe<AuthUserProviders_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserProvidersArgs = {
objects: Array<AuthUserProviders_Insert_Input>;
on_conflict?: InputMaybe<AuthUserProviders_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserRoleArgs = {
object: AuthUserRoles_Insert_Input;
on_conflict?: InputMaybe<AuthUserRoles_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserRolesArgs = {
objects: Array<AuthUserRoles_Insert_Input>;
on_conflict?: InputMaybe<AuthUserRoles_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserSecurityKeyArgs = {
object: AuthUserSecurityKeys_Insert_Input;
on_conflict?: InputMaybe<AuthUserSecurityKeys_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertAuthUserSecurityKeysArgs = {
objects: Array<AuthUserSecurityKeys_Insert_Input>;
on_conflict?: InputMaybe<AuthUserSecurityKeys_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertUserArgs = {
object: Users_Insert_Input;
on_conflict?: InputMaybe<Users_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsertUsersArgs = {
objects: Array<Users_Insert_Input>;
on_conflict?: InputMaybe<Users_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_CompaniesArgs = {
objects: Array<Companies_Insert_Input>;
on_conflict?: InputMaybe<Companies_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_Companies_OneArgs = {
object: Companies_Insert_Input;
on_conflict?: InputMaybe<Companies_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_PeopleArgs = {
objects: Array<People_Insert_Input>;
on_conflict?: InputMaybe<People_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_People_OneArgs = {
object: People_Insert_Input;
on_conflict?: InputMaybe<People_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_Workspace_MembersArgs = {
objects: Array<Workspace_Members_Insert_Input>;
on_conflict?: InputMaybe<Workspace_Members_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_Workspace_Members_OneArgs = {
object: Workspace_Members_Insert_Input;
on_conflict?: InputMaybe<Workspace_Members_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_WorkspacesArgs = {
objects: Array<Workspaces_Insert_Input>;
on_conflict?: InputMaybe<Workspaces_On_Conflict>;
};
/** mutation root */
export type Mutation_RootInsert_Workspaces_OneArgs = {
object: Workspaces_Insert_Input;
on_conflict?: InputMaybe<Workspaces_On_Conflict>;
};
/** mutation root */
export type Mutation_RootUpdateAuthProviderArgs = {
_set?: InputMaybe<AuthProviders_Set_Input>;
pk_columns: AuthProviders_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthProviderRequestArgs = {
_append?: InputMaybe<AuthProviderRequests_Append_Input>;
_delete_at_path?: InputMaybe<AuthProviderRequests_Delete_At_Path_Input>;
_delete_elem?: InputMaybe<AuthProviderRequests_Delete_Elem_Input>;
_delete_key?: InputMaybe<AuthProviderRequests_Delete_Key_Input>;
_prepend?: InputMaybe<AuthProviderRequests_Prepend_Input>;
_set?: InputMaybe<AuthProviderRequests_Set_Input>;
pk_columns: AuthProviderRequests_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthProviderRequestsArgs = {
_append?: InputMaybe<AuthProviderRequests_Append_Input>;
_delete_at_path?: InputMaybe<AuthProviderRequests_Delete_At_Path_Input>;
_delete_elem?: InputMaybe<AuthProviderRequests_Delete_Elem_Input>;
_delete_key?: InputMaybe<AuthProviderRequests_Delete_Key_Input>;
_prepend?: InputMaybe<AuthProviderRequests_Prepend_Input>;
_set?: InputMaybe<AuthProviderRequests_Set_Input>;
where: AuthProviderRequests_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthProvidersArgs = {
_set?: InputMaybe<AuthProviders_Set_Input>;
where: AuthProviders_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthRefreshTokenArgs = {
_set?: InputMaybe<AuthRefreshTokens_Set_Input>;
pk_columns: AuthRefreshTokens_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthRefreshTokensArgs = {
_set?: InputMaybe<AuthRefreshTokens_Set_Input>;
where: AuthRefreshTokens_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthRoleArgs = {
_set?: InputMaybe<AuthRoles_Set_Input>;
pk_columns: AuthRoles_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthRolesArgs = {
_set?: InputMaybe<AuthRoles_Set_Input>;
where: AuthRoles_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserProviderArgs = {
_set?: InputMaybe<AuthUserProviders_Set_Input>;
pk_columns: AuthUserProviders_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserProvidersArgs = {
_set?: InputMaybe<AuthUserProviders_Set_Input>;
where: AuthUserProviders_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserRoleArgs = {
_set?: InputMaybe<AuthUserRoles_Set_Input>;
pk_columns: AuthUserRoles_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserRolesArgs = {
_set?: InputMaybe<AuthUserRoles_Set_Input>;
where: AuthUserRoles_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserSecurityKeyArgs = {
_inc?: InputMaybe<AuthUserSecurityKeys_Inc_Input>;
_set?: InputMaybe<AuthUserSecurityKeys_Set_Input>;
pk_columns: AuthUserSecurityKeys_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateAuthUserSecurityKeysArgs = {
_inc?: InputMaybe<AuthUserSecurityKeys_Inc_Input>;
_set?: InputMaybe<AuthUserSecurityKeys_Set_Input>;
where: AuthUserSecurityKeys_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdateUserArgs = {
_append?: InputMaybe<Users_Append_Input>;
_delete_at_path?: InputMaybe<Users_Delete_At_Path_Input>;
_delete_elem?: InputMaybe<Users_Delete_Elem_Input>;
_delete_key?: InputMaybe<Users_Delete_Key_Input>;
_prepend?: InputMaybe<Users_Prepend_Input>;
_set?: InputMaybe<Users_Set_Input>;
pk_columns: Users_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdateUsersArgs = {
_append?: InputMaybe<Users_Append_Input>;
_delete_at_path?: InputMaybe<Users_Delete_At_Path_Input>;
_delete_elem?: InputMaybe<Users_Delete_Elem_Input>;
_delete_key?: InputMaybe<Users_Delete_Key_Input>;
_prepend?: InputMaybe<Users_Prepend_Input>;
_set?: InputMaybe<Users_Set_Input>;
where: Users_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdate_AuthProviderRequests_ManyArgs = {
updates: Array<AuthProviderRequests_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthProviders_ManyArgs = {
updates: Array<AuthProviders_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthRefreshTokens_ManyArgs = {
updates: Array<AuthRefreshTokens_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthRoles_ManyArgs = {
updates: Array<AuthRoles_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthUserProviders_ManyArgs = {
updates: Array<AuthUserProviders_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthUserRoles_ManyArgs = {
updates: Array<AuthUserRoles_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_AuthUserSecurityKeys_ManyArgs = {
updates: Array<AuthUserSecurityKeys_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_CompaniesArgs = {
_inc?: InputMaybe<Companies_Inc_Input>;
_set?: InputMaybe<Companies_Set_Input>;
where: Companies_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdate_Companies_By_PkArgs = {
_inc?: InputMaybe<Companies_Inc_Input>;
_set?: InputMaybe<Companies_Set_Input>;
pk_columns: Companies_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdate_Companies_ManyArgs = {
updates: Array<Companies_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_PeopleArgs = {
_set?: InputMaybe<People_Set_Input>;
where: People_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdate_People_By_PkArgs = {
_set?: InputMaybe<People_Set_Input>;
pk_columns: People_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdate_People_ManyArgs = {
updates: Array<People_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_Users_ManyArgs = {
updates: Array<Users_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_Workspace_MembersArgs = {
_set?: InputMaybe<Workspace_Members_Set_Input>;
where: Workspace_Members_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdate_Workspace_Members_By_PkArgs = {
_set?: InputMaybe<Workspace_Members_Set_Input>;
pk_columns: Workspace_Members_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdate_Workspace_Members_ManyArgs = {
updates: Array<Workspace_Members_Updates>;
};
/** mutation root */
export type Mutation_RootUpdate_WorkspacesArgs = {
_set?: InputMaybe<Workspaces_Set_Input>;
where: Workspaces_Bool_Exp;
};
/** mutation root */
export type Mutation_RootUpdate_Workspaces_By_PkArgs = {
_set?: InputMaybe<Workspaces_Set_Input>;
pk_columns: Workspaces_Pk_Columns_Input;
};
/** mutation root */
export type Mutation_RootUpdate_Workspaces_ManyArgs = {
updates: Array<Workspaces_Updates>;
};
/** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */
export type Numeric_Comparison_Exp = {
_eq?: InputMaybe<Scalars['numeric']>;
_gt?: InputMaybe<Scalars['numeric']>;
_gte?: InputMaybe<Scalars['numeric']>;
_in?: InputMaybe<Array<Scalars['numeric']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['numeric']>;
_lte?: InputMaybe<Scalars['numeric']>;
_neq?: InputMaybe<Scalars['numeric']>;
_nin?: InputMaybe<Array<Scalars['numeric']>>;
};
/** column ordering options */
export enum Order_By {
/** in ascending order, nulls last */
Asc = 'asc',
/** in ascending order, nulls first */
AscNullsFirst = 'asc_nulls_first',
/** in ascending order, nulls last */
AscNullsLast = 'asc_nulls_last',
/** in descending order, nulls first */
Desc = 'desc',
/** in descending order, nulls first */
DescNullsFirst = 'desc_nulls_first',
/** in descending order, nulls last */
DescNullsLast = 'desc_nulls_last'
}
/** columns and relationships of "people" */
export type People = {
__typename?: 'people';
city?: Maybe<Scalars['String']>;
/** An object relationship */
company?: Maybe<Companies>;
company_id?: Maybe<Scalars['uuid']>;
created_at: Scalars['timestamptz'];
deleted_at?: Maybe<Scalars['timestamptz']>;
email?: Maybe<Scalars['String']>;
firstname?: Maybe<Scalars['String']>;
id: Scalars['uuid'];
lastname?: Maybe<Scalars['String']>;
phone?: Maybe<Scalars['String']>;
updated_at: Scalars['timestamptz'];
/** An object relationship */
workspace: Workspaces;
workspace_id: Scalars['uuid'];
};
/** aggregated selection of "people" */
export type People_Aggregate = {
__typename?: 'people_aggregate';
aggregate?: Maybe<People_Aggregate_Fields>;
nodes: Array<People>;
};
/** aggregate fields of "people" */
export type People_Aggregate_Fields = {
__typename?: 'people_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<People_Max_Fields>;
min?: Maybe<People_Min_Fields>;
};
/** aggregate fields of "people" */
export type People_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<People_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** Boolean expression to filter rows from the table "people". All fields are combined with a logical 'AND'. */
export type People_Bool_Exp = {
_and?: InputMaybe<Array<People_Bool_Exp>>;
_not?: InputMaybe<People_Bool_Exp>;
_or?: InputMaybe<Array<People_Bool_Exp>>;
city?: InputMaybe<String_Comparison_Exp>;
company?: InputMaybe<Companies_Bool_Exp>;
company_id?: InputMaybe<Uuid_Comparison_Exp>;
created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
deleted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
email?: InputMaybe<String_Comparison_Exp>;
firstname?: InputMaybe<String_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
lastname?: InputMaybe<String_Comparison_Exp>;
phone?: InputMaybe<String_Comparison_Exp>;
updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
workspace?: InputMaybe<Workspaces_Bool_Exp>;
workspace_id?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "people" */
export enum People_Constraint {
/** unique or primary key constraint on columns "id" */
PeoplePkey = 'people_pkey'
}
/** input type for inserting data into table "people" */
export type People_Insert_Input = {
city?: InputMaybe<Scalars['String']>;
company?: InputMaybe<Companies_Obj_Rel_Insert_Input>;
company_id?: InputMaybe<Scalars['uuid']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
email?: InputMaybe<Scalars['String']>;
firstname?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
lastname?: InputMaybe<Scalars['String']>;
phone?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace?: InputMaybe<Workspaces_Obj_Rel_Insert_Input>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type People_Max_Fields = {
__typename?: 'people_max_fields';
city?: Maybe<Scalars['String']>;
company_id?: Maybe<Scalars['uuid']>;
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
email?: Maybe<Scalars['String']>;
firstname?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
lastname?: Maybe<Scalars['String']>;
phone?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** aggregate min on columns */
export type People_Min_Fields = {
__typename?: 'people_min_fields';
city?: Maybe<Scalars['String']>;
company_id?: Maybe<Scalars['uuid']>;
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
email?: Maybe<Scalars['String']>;
firstname?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
lastname?: Maybe<Scalars['String']>;
phone?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** response of any mutation on the table "people" */
export type People_Mutation_Response = {
__typename?: 'people_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<People>;
};
/** on_conflict condition type for table "people" */
export type People_On_Conflict = {
constraint: People_Constraint;
update_columns?: Array<People_Update_Column>;
where?: InputMaybe<People_Bool_Exp>;
};
/** Ordering options when selecting data from "people". */
export type People_Order_By = {
city?: InputMaybe<Order_By>;
company?: InputMaybe<Companies_Order_By>;
company_id?: InputMaybe<Order_By>;
created_at?: InputMaybe<Order_By>;
deleted_at?: InputMaybe<Order_By>;
email?: InputMaybe<Order_By>;
firstname?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
lastname?: InputMaybe<Order_By>;
phone?: InputMaybe<Order_By>;
updated_at?: InputMaybe<Order_By>;
workspace?: InputMaybe<Workspaces_Order_By>;
workspace_id?: InputMaybe<Order_By>;
};
/** primary key columns input for table: people */
export type People_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "people" */
export enum People_Select_Column {
/** column name */
City = 'city',
/** column name */
CompanyId = 'company_id',
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
Email = 'email',
/** column name */
Firstname = 'firstname',
/** column name */
Id = 'id',
/** column name */
Lastname = 'lastname',
/** column name */
Phone = 'phone',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
WorkspaceId = 'workspace_id'
}
/** input type for updating data in table "people" */
export type People_Set_Input = {
city?: InputMaybe<Scalars['String']>;
company_id?: InputMaybe<Scalars['uuid']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
email?: InputMaybe<Scalars['String']>;
firstname?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
lastname?: InputMaybe<Scalars['String']>;
phone?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** Streaming cursor of the table "people" */
export type People_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: People_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type People_Stream_Cursor_Value_Input = {
city?: InputMaybe<Scalars['String']>;
company_id?: InputMaybe<Scalars['uuid']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
email?: InputMaybe<Scalars['String']>;
firstname?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
lastname?: InputMaybe<Scalars['String']>;
phone?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** update columns of table "people" */
export enum People_Update_Column {
/** column name */
City = 'city',
/** column name */
CompanyId = 'company_id',
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
Email = 'email',
/** column name */
Firstname = 'firstname',
/** column name */
Id = 'id',
/** column name */
Lastname = 'lastname',
/** column name */
Phone = 'phone',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
WorkspaceId = 'workspace_id'
}
export type People_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<People_Set_Input>;
/** filter the rows which have to be updated */
where: People_Bool_Exp;
};
export type Query_Root = {
__typename?: 'query_root';
/** fetch data from the table: "auth.providers" using primary key columns */
authProvider?: Maybe<AuthProviders>;
/** fetch data from the table: "auth.provider_requests" using primary key columns */
authProviderRequest?: Maybe<AuthProviderRequests>;
/** fetch data from the table: "auth.provider_requests" */
authProviderRequests: Array<AuthProviderRequests>;
/** fetch aggregated fields from the table: "auth.provider_requests" */
authProviderRequestsAggregate: AuthProviderRequests_Aggregate;
/** fetch data from the table: "auth.providers" */
authProviders: Array<AuthProviders>;
/** fetch aggregated fields from the table: "auth.providers" */
authProvidersAggregate: AuthProviders_Aggregate;
/** fetch data from the table: "auth.refresh_tokens" using primary key columns */
authRefreshToken?: Maybe<AuthRefreshTokens>;
/** fetch data from the table: "auth.refresh_tokens" */
authRefreshTokens: Array<AuthRefreshTokens>;
/** fetch aggregated fields from the table: "auth.refresh_tokens" */
authRefreshTokensAggregate: AuthRefreshTokens_Aggregate;
/** fetch data from the table: "auth.roles" using primary key columns */
authRole?: Maybe<AuthRoles>;
/** fetch data from the table: "auth.roles" */
authRoles: Array<AuthRoles>;
/** fetch aggregated fields from the table: "auth.roles" */
authRolesAggregate: AuthRoles_Aggregate;
/** fetch data from the table: "auth.user_providers" using primary key columns */
authUserProvider?: Maybe<AuthUserProviders>;
/** fetch data from the table: "auth.user_providers" */
authUserProviders: Array<AuthUserProviders>;
/** fetch aggregated fields from the table: "auth.user_providers" */
authUserProvidersAggregate: AuthUserProviders_Aggregate;
/** fetch data from the table: "auth.user_roles" using primary key columns */
authUserRole?: Maybe<AuthUserRoles>;
/** fetch data from the table: "auth.user_roles" */
authUserRoles: Array<AuthUserRoles>;
/** fetch aggregated fields from the table: "auth.user_roles" */
authUserRolesAggregate: AuthUserRoles_Aggregate;
/** fetch data from the table: "auth.user_security_keys" using primary key columns */
authUserSecurityKey?: Maybe<AuthUserSecurityKeys>;
/** fetch data from the table: "auth.user_security_keys" */
authUserSecurityKeys: Array<AuthUserSecurityKeys>;
/** fetch aggregated fields from the table: "auth.user_security_keys" */
authUserSecurityKeysAggregate: AuthUserSecurityKeys_Aggregate;
/** fetch data from the table: "companies" */
companies: Array<Companies>;
/** fetch aggregated fields from the table: "companies" */
companies_aggregate: Companies_Aggregate;
/** fetch data from the table: "companies" using primary key columns */
companies_by_pk?: Maybe<Companies>;
/** fetch data from the table: "people" */
people: Array<People>;
/** fetch aggregated fields from the table: "people" */
people_aggregate: People_Aggregate;
/** fetch data from the table: "people" using primary key columns */
people_by_pk?: Maybe<People>;
/** fetch data from the table: "auth.users" using primary key columns */
user?: Maybe<Users>;
/** fetch data from the table: "auth.users" */
users: Array<Users>;
/** fetch aggregated fields from the table: "auth.users" */
usersAggregate: Users_Aggregate;
/** fetch data from the table: "workspace_members" */
workspace_members: Array<Workspace_Members>;
/** fetch aggregated fields from the table: "workspace_members" */
workspace_members_aggregate: Workspace_Members_Aggregate;
/** fetch data from the table: "workspace_members" using primary key columns */
workspace_members_by_pk?: Maybe<Workspace_Members>;
/** fetch data from the table: "workspaces" */
workspaces: Array<Workspaces>;
/** fetch aggregated fields from the table: "workspaces" */
workspaces_aggregate: Workspaces_Aggregate;
/** fetch data from the table: "workspaces" using primary key columns */
workspaces_by_pk?: Maybe<Workspaces>;
};
export type Query_RootAuthProviderArgs = {
id: Scalars['String'];
};
export type Query_RootAuthProviderRequestArgs = {
id: Scalars['uuid'];
};
export type Query_RootAuthProviderRequestsArgs = {
distinct_on?: InputMaybe<Array<AuthProviderRequests_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviderRequests_Order_By>>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
export type Query_RootAuthProviderRequestsAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthProviderRequests_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviderRequests_Order_By>>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
export type Query_RootAuthProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviders_Order_By>>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
export type Query_RootAuthProvidersAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviders_Order_By>>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
export type Query_RootAuthRefreshTokenArgs = {
refreshToken: Scalars['uuid'];
};
export type Query_RootAuthRefreshTokensArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
export type Query_RootAuthRefreshTokensAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
export type Query_RootAuthRoleArgs = {
role: Scalars['String'];
};
export type Query_RootAuthRolesArgs = {
distinct_on?: InputMaybe<Array<AuthRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRoles_Order_By>>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
export type Query_RootAuthRolesAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRoles_Order_By>>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
export type Query_RootAuthUserProviderArgs = {
id: Scalars['uuid'];
};
export type Query_RootAuthUserProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
export type Query_RootAuthUserProvidersAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
export type Query_RootAuthUserRoleArgs = {
id: Scalars['uuid'];
};
export type Query_RootAuthUserRolesArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
export type Query_RootAuthUserRolesAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
export type Query_RootAuthUserSecurityKeyArgs = {
id: Scalars['uuid'];
};
export type Query_RootAuthUserSecurityKeysArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
export type Query_RootAuthUserSecurityKeysAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
export type Query_RootCompaniesArgs = {
distinct_on?: InputMaybe<Array<Companies_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Companies_Order_By>>;
where?: InputMaybe<Companies_Bool_Exp>;
};
export type Query_RootCompanies_AggregateArgs = {
distinct_on?: InputMaybe<Array<Companies_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Companies_Order_By>>;
where?: InputMaybe<Companies_Bool_Exp>;
};
export type Query_RootCompanies_By_PkArgs = {
id: Scalars['uuid'];
};
export type Query_RootPeopleArgs = {
distinct_on?: InputMaybe<Array<People_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<People_Order_By>>;
where?: InputMaybe<People_Bool_Exp>;
};
export type Query_RootPeople_AggregateArgs = {
distinct_on?: InputMaybe<Array<People_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<People_Order_By>>;
where?: InputMaybe<People_Bool_Exp>;
};
export type Query_RootPeople_By_PkArgs = {
id: Scalars['uuid'];
};
export type Query_RootUserArgs = {
id: Scalars['uuid'];
};
export type Query_RootUsersArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
export type Query_RootUsersAggregateArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
export type Query_RootWorkspace_MembersArgs = {
distinct_on?: InputMaybe<Array<Workspace_Members_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspace_Members_Order_By>>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
export type Query_RootWorkspace_Members_AggregateArgs = {
distinct_on?: InputMaybe<Array<Workspace_Members_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspace_Members_Order_By>>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
export type Query_RootWorkspace_Members_By_PkArgs = {
id: Scalars['uuid'];
};
export type Query_RootWorkspacesArgs = {
distinct_on?: InputMaybe<Array<Workspaces_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspaces_Order_By>>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
export type Query_RootWorkspaces_AggregateArgs = {
distinct_on?: InputMaybe<Array<Workspaces_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspaces_Order_By>>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
export type Query_RootWorkspaces_By_PkArgs = {
id: Scalars['uuid'];
};
export type Subscription_Root = {
__typename?: 'subscription_root';
/** fetch data from the table: "auth.providers" using primary key columns */
authProvider?: Maybe<AuthProviders>;
/** fetch data from the table: "auth.provider_requests" using primary key columns */
authProviderRequest?: Maybe<AuthProviderRequests>;
/** fetch data from the table: "auth.provider_requests" */
authProviderRequests: Array<AuthProviderRequests>;
/** fetch aggregated fields from the table: "auth.provider_requests" */
authProviderRequestsAggregate: AuthProviderRequests_Aggregate;
/** fetch data from the table in a streaming manner: "auth.provider_requests" */
authProviderRequests_stream: Array<AuthProviderRequests>;
/** fetch data from the table: "auth.providers" */
authProviders: Array<AuthProviders>;
/** fetch aggregated fields from the table: "auth.providers" */
authProvidersAggregate: AuthProviders_Aggregate;
/** fetch data from the table in a streaming manner: "auth.providers" */
authProviders_stream: Array<AuthProviders>;
/** fetch data from the table: "auth.refresh_tokens" using primary key columns */
authRefreshToken?: Maybe<AuthRefreshTokens>;
/** fetch data from the table: "auth.refresh_tokens" */
authRefreshTokens: Array<AuthRefreshTokens>;
/** fetch aggregated fields from the table: "auth.refresh_tokens" */
authRefreshTokensAggregate: AuthRefreshTokens_Aggregate;
/** fetch data from the table in a streaming manner: "auth.refresh_tokens" */
authRefreshTokens_stream: Array<AuthRefreshTokens>;
/** fetch data from the table: "auth.roles" using primary key columns */
authRole?: Maybe<AuthRoles>;
/** fetch data from the table: "auth.roles" */
authRoles: Array<AuthRoles>;
/** fetch aggregated fields from the table: "auth.roles" */
authRolesAggregate: AuthRoles_Aggregate;
/** fetch data from the table in a streaming manner: "auth.roles" */
authRoles_stream: Array<AuthRoles>;
/** fetch data from the table: "auth.user_providers" using primary key columns */
authUserProvider?: Maybe<AuthUserProviders>;
/** fetch data from the table: "auth.user_providers" */
authUserProviders: Array<AuthUserProviders>;
/** fetch aggregated fields from the table: "auth.user_providers" */
authUserProvidersAggregate: AuthUserProviders_Aggregate;
/** fetch data from the table in a streaming manner: "auth.user_providers" */
authUserProviders_stream: Array<AuthUserProviders>;
/** fetch data from the table: "auth.user_roles" using primary key columns */
authUserRole?: Maybe<AuthUserRoles>;
/** fetch data from the table: "auth.user_roles" */
authUserRoles: Array<AuthUserRoles>;
/** fetch aggregated fields from the table: "auth.user_roles" */
authUserRolesAggregate: AuthUserRoles_Aggregate;
/** fetch data from the table in a streaming manner: "auth.user_roles" */
authUserRoles_stream: Array<AuthUserRoles>;
/** fetch data from the table: "auth.user_security_keys" using primary key columns */
authUserSecurityKey?: Maybe<AuthUserSecurityKeys>;
/** fetch data from the table: "auth.user_security_keys" */
authUserSecurityKeys: Array<AuthUserSecurityKeys>;
/** fetch aggregated fields from the table: "auth.user_security_keys" */
authUserSecurityKeysAggregate: AuthUserSecurityKeys_Aggregate;
/** fetch data from the table in a streaming manner: "auth.user_security_keys" */
authUserSecurityKeys_stream: Array<AuthUserSecurityKeys>;
/** fetch data from the table: "companies" */
companies: Array<Companies>;
/** fetch aggregated fields from the table: "companies" */
companies_aggregate: Companies_Aggregate;
/** fetch data from the table: "companies" using primary key columns */
companies_by_pk?: Maybe<Companies>;
/** fetch data from the table in a streaming manner: "companies" */
companies_stream: Array<Companies>;
/** fetch data from the table: "people" */
people: Array<People>;
/** fetch aggregated fields from the table: "people" */
people_aggregate: People_Aggregate;
/** fetch data from the table: "people" using primary key columns */
people_by_pk?: Maybe<People>;
/** fetch data from the table in a streaming manner: "people" */
people_stream: Array<People>;
/** fetch data from the table: "auth.users" using primary key columns */
user?: Maybe<Users>;
/** fetch data from the table: "auth.users" */
users: Array<Users>;
/** fetch aggregated fields from the table: "auth.users" */
usersAggregate: Users_Aggregate;
/** fetch data from the table in a streaming manner: "auth.users" */
users_stream: Array<Users>;
/** fetch data from the table: "workspace_members" */
workspace_members: Array<Workspace_Members>;
/** fetch aggregated fields from the table: "workspace_members" */
workspace_members_aggregate: Workspace_Members_Aggregate;
/** fetch data from the table: "workspace_members" using primary key columns */
workspace_members_by_pk?: Maybe<Workspace_Members>;
/** fetch data from the table in a streaming manner: "workspace_members" */
workspace_members_stream: Array<Workspace_Members>;
/** fetch data from the table: "workspaces" */
workspaces: Array<Workspaces>;
/** fetch aggregated fields from the table: "workspaces" */
workspaces_aggregate: Workspaces_Aggregate;
/** fetch data from the table: "workspaces" using primary key columns */
workspaces_by_pk?: Maybe<Workspaces>;
/** fetch data from the table in a streaming manner: "workspaces" */
workspaces_stream: Array<Workspaces>;
};
export type Subscription_RootAuthProviderArgs = {
id: Scalars['String'];
};
export type Subscription_RootAuthProviderRequestArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootAuthProviderRequestsArgs = {
distinct_on?: InputMaybe<Array<AuthProviderRequests_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviderRequests_Order_By>>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
export type Subscription_RootAuthProviderRequestsAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthProviderRequests_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviderRequests_Order_By>>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
export type Subscription_RootAuthProviderRequests_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthProviderRequests_Stream_Cursor_Input>>;
where?: InputMaybe<AuthProviderRequests_Bool_Exp>;
};
export type Subscription_RootAuthProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviders_Order_By>>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
export type Subscription_RootAuthProvidersAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthProviders_Order_By>>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
export type Subscription_RootAuthProviders_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthProviders_Stream_Cursor_Input>>;
where?: InputMaybe<AuthProviders_Bool_Exp>;
};
export type Subscription_RootAuthRefreshTokenArgs = {
refreshToken: Scalars['uuid'];
};
export type Subscription_RootAuthRefreshTokensArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
export type Subscription_RootAuthRefreshTokensAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
export type Subscription_RootAuthRefreshTokens_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthRefreshTokens_Stream_Cursor_Input>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
export type Subscription_RootAuthRoleArgs = {
role: Scalars['String'];
};
export type Subscription_RootAuthRolesArgs = {
distinct_on?: InputMaybe<Array<AuthRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRoles_Order_By>>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
export type Subscription_RootAuthRolesAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRoles_Order_By>>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
export type Subscription_RootAuthRoles_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthRoles_Stream_Cursor_Input>>;
where?: InputMaybe<AuthRoles_Bool_Exp>;
};
export type Subscription_RootAuthUserProviderArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootAuthUserProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
export type Subscription_RootAuthUserProvidersAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
export type Subscription_RootAuthUserProviders_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthUserProviders_Stream_Cursor_Input>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
export type Subscription_RootAuthUserRoleArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootAuthUserRolesArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
export type Subscription_RootAuthUserRolesAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
export type Subscription_RootAuthUserRoles_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthUserRoles_Stream_Cursor_Input>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
export type Subscription_RootAuthUserSecurityKeyArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootAuthUserSecurityKeysArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
export type Subscription_RootAuthUserSecurityKeysAggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
export type Subscription_RootAuthUserSecurityKeys_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<AuthUserSecurityKeys_Stream_Cursor_Input>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
export type Subscription_RootCompaniesArgs = {
distinct_on?: InputMaybe<Array<Companies_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Companies_Order_By>>;
where?: InputMaybe<Companies_Bool_Exp>;
};
export type Subscription_RootCompanies_AggregateArgs = {
distinct_on?: InputMaybe<Array<Companies_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Companies_Order_By>>;
where?: InputMaybe<Companies_Bool_Exp>;
};
export type Subscription_RootCompanies_By_PkArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootCompanies_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<Companies_Stream_Cursor_Input>>;
where?: InputMaybe<Companies_Bool_Exp>;
};
export type Subscription_RootPeopleArgs = {
distinct_on?: InputMaybe<Array<People_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<People_Order_By>>;
where?: InputMaybe<People_Bool_Exp>;
};
export type Subscription_RootPeople_AggregateArgs = {
distinct_on?: InputMaybe<Array<People_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<People_Order_By>>;
where?: InputMaybe<People_Bool_Exp>;
};
export type Subscription_RootPeople_By_PkArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootPeople_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<People_Stream_Cursor_Input>>;
where?: InputMaybe<People_Bool_Exp>;
};
export type Subscription_RootUserArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootUsersArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
export type Subscription_RootUsersAggregateArgs = {
distinct_on?: InputMaybe<Array<Users_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Users_Order_By>>;
where?: InputMaybe<Users_Bool_Exp>;
};
export type Subscription_RootUsers_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<Users_Stream_Cursor_Input>>;
where?: InputMaybe<Users_Bool_Exp>;
};
export type Subscription_RootWorkspace_MembersArgs = {
distinct_on?: InputMaybe<Array<Workspace_Members_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspace_Members_Order_By>>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
export type Subscription_RootWorkspace_Members_AggregateArgs = {
distinct_on?: InputMaybe<Array<Workspace_Members_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspace_Members_Order_By>>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
export type Subscription_RootWorkspace_Members_By_PkArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootWorkspace_Members_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<Workspace_Members_Stream_Cursor_Input>>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
export type Subscription_RootWorkspacesArgs = {
distinct_on?: InputMaybe<Array<Workspaces_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspaces_Order_By>>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
export type Subscription_RootWorkspaces_AggregateArgs = {
distinct_on?: InputMaybe<Array<Workspaces_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<Workspaces_Order_By>>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
export type Subscription_RootWorkspaces_By_PkArgs = {
id: Scalars['uuid'];
};
export type Subscription_RootWorkspaces_StreamArgs = {
batch_size: Scalars['Int'];
cursor: Array<InputMaybe<Workspaces_Stream_Cursor_Input>>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */
export type Timestamptz_Comparison_Exp = {
_eq?: InputMaybe<Scalars['timestamptz']>;
_gt?: InputMaybe<Scalars['timestamptz']>;
_gte?: InputMaybe<Scalars['timestamptz']>;
_in?: InputMaybe<Array<Scalars['timestamptz']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['timestamptz']>;
_lte?: InputMaybe<Scalars['timestamptz']>;
_neq?: InputMaybe<Scalars['timestamptz']>;
_nin?: InputMaybe<Array<Scalars['timestamptz']>>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type Users = {
__typename?: 'users';
activeMfaType?: Maybe<Scalars['String']>;
avatarUrl: Scalars['String'];
createdAt: Scalars['timestamptz'];
currentChallenge?: Maybe<Scalars['String']>;
defaultRole: Scalars['String'];
/** An object relationship */
defaultRoleByRole: AuthRoles;
disabled: Scalars['Boolean'];
displayName: Scalars['String'];
email?: Maybe<Scalars['citext']>;
emailVerified: Scalars['Boolean'];
id: Scalars['uuid'];
isAnonymous: Scalars['Boolean'];
lastSeen?: Maybe<Scalars['timestamptz']>;
locale: Scalars['String'];
metadata?: Maybe<Scalars['jsonb']>;
newEmail?: Maybe<Scalars['citext']>;
otpHash?: Maybe<Scalars['String']>;
otpHashExpiresAt: Scalars['timestamptz'];
otpMethodLastUsed?: Maybe<Scalars['String']>;
passwordHash?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
phoneNumberVerified: Scalars['Boolean'];
/** An array relationship */
refreshTokens: Array<AuthRefreshTokens>;
/** An aggregate relationship */
refreshTokens_aggregate: AuthRefreshTokens_Aggregate;
/** An array relationship */
roles: Array<AuthUserRoles>;
/** An aggregate relationship */
roles_aggregate: AuthUserRoles_Aggregate;
/** An array relationship */
securityKeys: Array<AuthUserSecurityKeys>;
/** An aggregate relationship */
securityKeys_aggregate: AuthUserSecurityKeys_Aggregate;
ticket?: Maybe<Scalars['String']>;
ticketExpiresAt: Scalars['timestamptz'];
totpSecret?: Maybe<Scalars['String']>;
updatedAt: Scalars['timestamptz'];
/** An array relationship */
userProviders: Array<AuthUserProviders>;
/** An aggregate relationship */
userProviders_aggregate: AuthUserProviders_Aggregate;
/** An object relationship */
workspace_member?: Maybe<Workspace_Members>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersMetadataArgs = {
path?: InputMaybe<Scalars['String']>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersRefreshTokensArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersRefreshTokens_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthRefreshTokens_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthRefreshTokens_Order_By>>;
where?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersRolesArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersRoles_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserRoles_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserRoles_Order_By>>;
where?: InputMaybe<AuthUserRoles_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersSecurityKeysArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersSecurityKeys_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserSecurityKeys_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserSecurityKeys_Order_By>>;
where?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersUserProvidersArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
/** User account information. Don't modify its structure as Hasura Auth relies on it to function properly. */
export type UsersUserProviders_AggregateArgs = {
distinct_on?: InputMaybe<Array<AuthUserProviders_Select_Column>>;
limit?: InputMaybe<Scalars['Int']>;
offset?: InputMaybe<Scalars['Int']>;
order_by?: InputMaybe<Array<AuthUserProviders_Order_By>>;
where?: InputMaybe<AuthUserProviders_Bool_Exp>;
};
/** aggregated selection of "auth.users" */
export type Users_Aggregate = {
__typename?: 'users_aggregate';
aggregate?: Maybe<Users_Aggregate_Fields>;
nodes: Array<Users>;
};
export type Users_Aggregate_Bool_Exp = {
bool_and?: InputMaybe<Users_Aggregate_Bool_Exp_Bool_And>;
bool_or?: InputMaybe<Users_Aggregate_Bool_Exp_Bool_Or>;
count?: InputMaybe<Users_Aggregate_Bool_Exp_Count>;
};
export type Users_Aggregate_Bool_Exp_Bool_And = {
arguments: Users_Select_Column_Users_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<Users_Bool_Exp>;
predicate: Boolean_Comparison_Exp;
};
export type Users_Aggregate_Bool_Exp_Bool_Or = {
arguments: Users_Select_Column_Users_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<Users_Bool_Exp>;
predicate: Boolean_Comparison_Exp;
};
export type Users_Aggregate_Bool_Exp_Count = {
arguments?: InputMaybe<Array<Users_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
filter?: InputMaybe<Users_Bool_Exp>;
predicate: Int_Comparison_Exp;
};
/** aggregate fields of "auth.users" */
export type Users_Aggregate_Fields = {
__typename?: 'users_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<Users_Max_Fields>;
min?: Maybe<Users_Min_Fields>;
};
/** aggregate fields of "auth.users" */
export type Users_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<Users_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** order by aggregate values of table "auth.users" */
export type Users_Aggregate_Order_By = {
count?: InputMaybe<Order_By>;
max?: InputMaybe<Users_Max_Order_By>;
min?: InputMaybe<Users_Min_Order_By>;
};
/** append existing jsonb value of filtered columns with new jsonb value */
export type Users_Append_Input = {
metadata?: InputMaybe<Scalars['jsonb']>;
};
/** input type for inserting array relation for remote table "auth.users" */
export type Users_Arr_Rel_Insert_Input = {
data: Array<Users_Insert_Input>;
/** upsert condition */
on_conflict?: InputMaybe<Users_On_Conflict>;
};
/** Boolean expression to filter rows from the table "auth.users". All fields are combined with a logical 'AND'. */
export type Users_Bool_Exp = {
_and?: InputMaybe<Array<Users_Bool_Exp>>;
_not?: InputMaybe<Users_Bool_Exp>;
_or?: InputMaybe<Array<Users_Bool_Exp>>;
activeMfaType?: InputMaybe<String_Comparison_Exp>;
avatarUrl?: InputMaybe<String_Comparison_Exp>;
createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
currentChallenge?: InputMaybe<String_Comparison_Exp>;
defaultRole?: InputMaybe<String_Comparison_Exp>;
defaultRoleByRole?: InputMaybe<AuthRoles_Bool_Exp>;
disabled?: InputMaybe<Boolean_Comparison_Exp>;
displayName?: InputMaybe<String_Comparison_Exp>;
email?: InputMaybe<Citext_Comparison_Exp>;
emailVerified?: InputMaybe<Boolean_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
isAnonymous?: InputMaybe<Boolean_Comparison_Exp>;
lastSeen?: InputMaybe<Timestamptz_Comparison_Exp>;
locale?: InputMaybe<String_Comparison_Exp>;
metadata?: InputMaybe<Jsonb_Comparison_Exp>;
newEmail?: InputMaybe<Citext_Comparison_Exp>;
otpHash?: InputMaybe<String_Comparison_Exp>;
otpHashExpiresAt?: InputMaybe<Timestamptz_Comparison_Exp>;
otpMethodLastUsed?: InputMaybe<String_Comparison_Exp>;
passwordHash?: InputMaybe<String_Comparison_Exp>;
phoneNumber?: InputMaybe<String_Comparison_Exp>;
phoneNumberVerified?: InputMaybe<Boolean_Comparison_Exp>;
refreshTokens?: InputMaybe<AuthRefreshTokens_Bool_Exp>;
refreshTokens_aggregate?: InputMaybe<AuthRefreshTokens_Aggregate_Bool_Exp>;
roles?: InputMaybe<AuthUserRoles_Bool_Exp>;
roles_aggregate?: InputMaybe<AuthUserRoles_Aggregate_Bool_Exp>;
securityKeys?: InputMaybe<AuthUserSecurityKeys_Bool_Exp>;
securityKeys_aggregate?: InputMaybe<AuthUserSecurityKeys_Aggregate_Bool_Exp>;
ticket?: InputMaybe<String_Comparison_Exp>;
ticketExpiresAt?: InputMaybe<Timestamptz_Comparison_Exp>;
totpSecret?: InputMaybe<String_Comparison_Exp>;
updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
userProviders?: InputMaybe<AuthUserProviders_Bool_Exp>;
userProviders_aggregate?: InputMaybe<AuthUserProviders_Aggregate_Bool_Exp>;
workspace_member?: InputMaybe<Workspace_Members_Bool_Exp>;
};
/** unique or primary key constraints on table "auth.users" */
export enum Users_Constraint {
/** unique or primary key constraint on columns "email" */
UsersEmailKey = 'users_email_key',
/** unique or primary key constraint on columns "phone_number" */
UsersPhoneNumberKey = 'users_phone_number_key',
/** unique or primary key constraint on columns "id" */
UsersPkey = 'users_pkey'
}
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
export type Users_Delete_At_Path_Input = {
metadata?: InputMaybe<Array<Scalars['String']>>;
};
/** 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 type Users_Delete_Elem_Input = {
metadata?: InputMaybe<Scalars['Int']>;
};
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
export type Users_Delete_Key_Input = {
metadata?: InputMaybe<Scalars['String']>;
};
/** input type for inserting data into table "auth.users" */
export type Users_Insert_Input = {
activeMfaType?: InputMaybe<Scalars['String']>;
avatarUrl?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
currentChallenge?: InputMaybe<Scalars['String']>;
defaultRole?: InputMaybe<Scalars['String']>;
defaultRoleByRole?: InputMaybe<AuthRoles_Obj_Rel_Insert_Input>;
disabled?: InputMaybe<Scalars['Boolean']>;
displayName?: InputMaybe<Scalars['String']>;
email?: InputMaybe<Scalars['citext']>;
emailVerified?: InputMaybe<Scalars['Boolean']>;
id?: InputMaybe<Scalars['uuid']>;
isAnonymous?: InputMaybe<Scalars['Boolean']>;
lastSeen?: InputMaybe<Scalars['timestamptz']>;
locale?: InputMaybe<Scalars['String']>;
metadata?: InputMaybe<Scalars['jsonb']>;
newEmail?: InputMaybe<Scalars['citext']>;
otpHash?: InputMaybe<Scalars['String']>;
otpHashExpiresAt?: InputMaybe<Scalars['timestamptz']>;
otpMethodLastUsed?: InputMaybe<Scalars['String']>;
passwordHash?: InputMaybe<Scalars['String']>;
phoneNumber?: InputMaybe<Scalars['String']>;
phoneNumberVerified?: InputMaybe<Scalars['Boolean']>;
refreshTokens?: InputMaybe<AuthRefreshTokens_Arr_Rel_Insert_Input>;
roles?: InputMaybe<AuthUserRoles_Arr_Rel_Insert_Input>;
securityKeys?: InputMaybe<AuthUserSecurityKeys_Arr_Rel_Insert_Input>;
ticket?: InputMaybe<Scalars['String']>;
ticketExpiresAt?: InputMaybe<Scalars['timestamptz']>;
totpSecret?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
userProviders?: InputMaybe<AuthUserProviders_Arr_Rel_Insert_Input>;
workspace_member?: InputMaybe<Workspace_Members_Obj_Rel_Insert_Input>;
};
/** aggregate max on columns */
export type Users_Max_Fields = {
__typename?: 'users_max_fields';
activeMfaType?: Maybe<Scalars['String']>;
avatarUrl?: Maybe<Scalars['String']>;
createdAt?: Maybe<Scalars['timestamptz']>;
currentChallenge?: Maybe<Scalars['String']>;
defaultRole?: Maybe<Scalars['String']>;
displayName?: Maybe<Scalars['String']>;
email?: Maybe<Scalars['citext']>;
id?: Maybe<Scalars['uuid']>;
lastSeen?: Maybe<Scalars['timestamptz']>;
locale?: Maybe<Scalars['String']>;
newEmail?: Maybe<Scalars['citext']>;
otpHash?: Maybe<Scalars['String']>;
otpHashExpiresAt?: Maybe<Scalars['timestamptz']>;
otpMethodLastUsed?: Maybe<Scalars['String']>;
passwordHash?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
ticket?: Maybe<Scalars['String']>;
ticketExpiresAt?: Maybe<Scalars['timestamptz']>;
totpSecret?: Maybe<Scalars['String']>;
updatedAt?: Maybe<Scalars['timestamptz']>;
};
/** order by max() on columns of table "auth.users" */
export type Users_Max_Order_By = {
activeMfaType?: InputMaybe<Order_By>;
avatarUrl?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
currentChallenge?: InputMaybe<Order_By>;
defaultRole?: InputMaybe<Order_By>;
displayName?: InputMaybe<Order_By>;
email?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
lastSeen?: InputMaybe<Order_By>;
locale?: InputMaybe<Order_By>;
newEmail?: InputMaybe<Order_By>;
otpHash?: InputMaybe<Order_By>;
otpHashExpiresAt?: InputMaybe<Order_By>;
otpMethodLastUsed?: InputMaybe<Order_By>;
passwordHash?: InputMaybe<Order_By>;
phoneNumber?: InputMaybe<Order_By>;
ticket?: InputMaybe<Order_By>;
ticketExpiresAt?: InputMaybe<Order_By>;
totpSecret?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
};
/** aggregate min on columns */
export type Users_Min_Fields = {
__typename?: 'users_min_fields';
activeMfaType?: Maybe<Scalars['String']>;
avatarUrl?: Maybe<Scalars['String']>;
createdAt?: Maybe<Scalars['timestamptz']>;
currentChallenge?: Maybe<Scalars['String']>;
defaultRole?: Maybe<Scalars['String']>;
displayName?: Maybe<Scalars['String']>;
email?: Maybe<Scalars['citext']>;
id?: Maybe<Scalars['uuid']>;
lastSeen?: Maybe<Scalars['timestamptz']>;
locale?: Maybe<Scalars['String']>;
newEmail?: Maybe<Scalars['citext']>;
otpHash?: Maybe<Scalars['String']>;
otpHashExpiresAt?: Maybe<Scalars['timestamptz']>;
otpMethodLastUsed?: Maybe<Scalars['String']>;
passwordHash?: Maybe<Scalars['String']>;
phoneNumber?: Maybe<Scalars['String']>;
ticket?: Maybe<Scalars['String']>;
ticketExpiresAt?: Maybe<Scalars['timestamptz']>;
totpSecret?: Maybe<Scalars['String']>;
updatedAt?: Maybe<Scalars['timestamptz']>;
};
/** order by min() on columns of table "auth.users" */
export type Users_Min_Order_By = {
activeMfaType?: InputMaybe<Order_By>;
avatarUrl?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
currentChallenge?: InputMaybe<Order_By>;
defaultRole?: InputMaybe<Order_By>;
displayName?: InputMaybe<Order_By>;
email?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
lastSeen?: InputMaybe<Order_By>;
locale?: InputMaybe<Order_By>;
newEmail?: InputMaybe<Order_By>;
otpHash?: InputMaybe<Order_By>;
otpHashExpiresAt?: InputMaybe<Order_By>;
otpMethodLastUsed?: InputMaybe<Order_By>;
passwordHash?: InputMaybe<Order_By>;
phoneNumber?: InputMaybe<Order_By>;
ticket?: InputMaybe<Order_By>;
ticketExpiresAt?: InputMaybe<Order_By>;
totpSecret?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
};
/** response of any mutation on the table "auth.users" */
export type Users_Mutation_Response = {
__typename?: 'users_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<Users>;
};
/** input type for inserting object relation for remote table "auth.users" */
export type Users_Obj_Rel_Insert_Input = {
data: Users_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<Users_On_Conflict>;
};
/** on_conflict condition type for table "auth.users" */
export type Users_On_Conflict = {
constraint: Users_Constraint;
update_columns?: Array<Users_Update_Column>;
where?: InputMaybe<Users_Bool_Exp>;
};
/** Ordering options when selecting data from "auth.users". */
export type Users_Order_By = {
activeMfaType?: InputMaybe<Order_By>;
avatarUrl?: InputMaybe<Order_By>;
createdAt?: InputMaybe<Order_By>;
currentChallenge?: InputMaybe<Order_By>;
defaultRole?: InputMaybe<Order_By>;
defaultRoleByRole?: InputMaybe<AuthRoles_Order_By>;
disabled?: InputMaybe<Order_By>;
displayName?: InputMaybe<Order_By>;
email?: InputMaybe<Order_By>;
emailVerified?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
isAnonymous?: InputMaybe<Order_By>;
lastSeen?: InputMaybe<Order_By>;
locale?: InputMaybe<Order_By>;
metadata?: InputMaybe<Order_By>;
newEmail?: InputMaybe<Order_By>;
otpHash?: InputMaybe<Order_By>;
otpHashExpiresAt?: InputMaybe<Order_By>;
otpMethodLastUsed?: InputMaybe<Order_By>;
passwordHash?: InputMaybe<Order_By>;
phoneNumber?: InputMaybe<Order_By>;
phoneNumberVerified?: InputMaybe<Order_By>;
refreshTokens_aggregate?: InputMaybe<AuthRefreshTokens_Aggregate_Order_By>;
roles_aggregate?: InputMaybe<AuthUserRoles_Aggregate_Order_By>;
securityKeys_aggregate?: InputMaybe<AuthUserSecurityKeys_Aggregate_Order_By>;
ticket?: InputMaybe<Order_By>;
ticketExpiresAt?: InputMaybe<Order_By>;
totpSecret?: InputMaybe<Order_By>;
updatedAt?: InputMaybe<Order_By>;
userProviders_aggregate?: InputMaybe<AuthUserProviders_Aggregate_Order_By>;
workspace_member?: InputMaybe<Workspace_Members_Order_By>;
};
/** primary key columns input for table: auth.users */
export type Users_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** prepend existing jsonb value of filtered columns with new jsonb value */
export type Users_Prepend_Input = {
metadata?: InputMaybe<Scalars['jsonb']>;
};
/** select columns of table "auth.users" */
export enum Users_Select_Column {
/** column name */
ActiveMfaType = 'activeMfaType',
/** column name */
AvatarUrl = 'avatarUrl',
/** column name */
CreatedAt = 'createdAt',
/** column name */
CurrentChallenge = 'currentChallenge',
/** column name */
DefaultRole = 'defaultRole',
/** column name */
Disabled = 'disabled',
/** column name */
DisplayName = 'displayName',
/** column name */
Email = 'email',
/** column name */
EmailVerified = 'emailVerified',
/** column name */
Id = 'id',
/** column name */
IsAnonymous = 'isAnonymous',
/** column name */
LastSeen = 'lastSeen',
/** column name */
Locale = 'locale',
/** column name */
Metadata = 'metadata',
/** column name */
NewEmail = 'newEmail',
/** column name */
OtpHash = 'otpHash',
/** column name */
OtpHashExpiresAt = 'otpHashExpiresAt',
/** column name */
OtpMethodLastUsed = 'otpMethodLastUsed',
/** column name */
PasswordHash = 'passwordHash',
/** column name */
PhoneNumber = 'phoneNumber',
/** column name */
PhoneNumberVerified = 'phoneNumberVerified',
/** column name */
Ticket = 'ticket',
/** column name */
TicketExpiresAt = 'ticketExpiresAt',
/** column name */
TotpSecret = 'totpSecret',
/** column name */
UpdatedAt = 'updatedAt'
}
/** select "users_aggregate_bool_exp_bool_and_arguments_columns" columns of table "auth.users" */
export enum Users_Select_Column_Users_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
/** column name */
Disabled = 'disabled',
/** column name */
EmailVerified = 'emailVerified',
/** column name */
IsAnonymous = 'isAnonymous',
/** column name */
PhoneNumberVerified = 'phoneNumberVerified'
}
/** select "users_aggregate_bool_exp_bool_or_arguments_columns" columns of table "auth.users" */
export enum Users_Select_Column_Users_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
/** column name */
Disabled = 'disabled',
/** column name */
EmailVerified = 'emailVerified',
/** column name */
IsAnonymous = 'isAnonymous',
/** column name */
PhoneNumberVerified = 'phoneNumberVerified'
}
/** input type for updating data in table "auth.users" */
export type Users_Set_Input = {
activeMfaType?: InputMaybe<Scalars['String']>;
avatarUrl?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
currentChallenge?: InputMaybe<Scalars['String']>;
defaultRole?: InputMaybe<Scalars['String']>;
disabled?: InputMaybe<Scalars['Boolean']>;
displayName?: InputMaybe<Scalars['String']>;
email?: InputMaybe<Scalars['citext']>;
emailVerified?: InputMaybe<Scalars['Boolean']>;
id?: InputMaybe<Scalars['uuid']>;
isAnonymous?: InputMaybe<Scalars['Boolean']>;
lastSeen?: InputMaybe<Scalars['timestamptz']>;
locale?: InputMaybe<Scalars['String']>;
metadata?: InputMaybe<Scalars['jsonb']>;
newEmail?: InputMaybe<Scalars['citext']>;
otpHash?: InputMaybe<Scalars['String']>;
otpHashExpiresAt?: InputMaybe<Scalars['timestamptz']>;
otpMethodLastUsed?: InputMaybe<Scalars['String']>;
passwordHash?: InputMaybe<Scalars['String']>;
phoneNumber?: InputMaybe<Scalars['String']>;
phoneNumberVerified?: InputMaybe<Scalars['Boolean']>;
ticket?: InputMaybe<Scalars['String']>;
ticketExpiresAt?: InputMaybe<Scalars['timestamptz']>;
totpSecret?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
};
/** Streaming cursor of the table "users" */
export type Users_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: Users_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type Users_Stream_Cursor_Value_Input = {
activeMfaType?: InputMaybe<Scalars['String']>;
avatarUrl?: InputMaybe<Scalars['String']>;
createdAt?: InputMaybe<Scalars['timestamptz']>;
currentChallenge?: InputMaybe<Scalars['String']>;
defaultRole?: InputMaybe<Scalars['String']>;
disabled?: InputMaybe<Scalars['Boolean']>;
displayName?: InputMaybe<Scalars['String']>;
email?: InputMaybe<Scalars['citext']>;
emailVerified?: InputMaybe<Scalars['Boolean']>;
id?: InputMaybe<Scalars['uuid']>;
isAnonymous?: InputMaybe<Scalars['Boolean']>;
lastSeen?: InputMaybe<Scalars['timestamptz']>;
locale?: InputMaybe<Scalars['String']>;
metadata?: InputMaybe<Scalars['jsonb']>;
newEmail?: InputMaybe<Scalars['citext']>;
otpHash?: InputMaybe<Scalars['String']>;
otpHashExpiresAt?: InputMaybe<Scalars['timestamptz']>;
otpMethodLastUsed?: InputMaybe<Scalars['String']>;
passwordHash?: InputMaybe<Scalars['String']>;
phoneNumber?: InputMaybe<Scalars['String']>;
phoneNumberVerified?: InputMaybe<Scalars['Boolean']>;
ticket?: InputMaybe<Scalars['String']>;
ticketExpiresAt?: InputMaybe<Scalars['timestamptz']>;
totpSecret?: InputMaybe<Scalars['String']>;
updatedAt?: InputMaybe<Scalars['timestamptz']>;
};
/** update columns of table "auth.users" */
export enum Users_Update_Column {
/** column name */
ActiveMfaType = 'activeMfaType',
/** column name */
AvatarUrl = 'avatarUrl',
/** column name */
CreatedAt = 'createdAt',
/** column name */
CurrentChallenge = 'currentChallenge',
/** column name */
DefaultRole = 'defaultRole',
/** column name */
Disabled = 'disabled',
/** column name */
DisplayName = 'displayName',
/** column name */
Email = 'email',
/** column name */
EmailVerified = 'emailVerified',
/** column name */
Id = 'id',
/** column name */
IsAnonymous = 'isAnonymous',
/** column name */
LastSeen = 'lastSeen',
/** column name */
Locale = 'locale',
/** column name */
Metadata = 'metadata',
/** column name */
NewEmail = 'newEmail',
/** column name */
OtpHash = 'otpHash',
/** column name */
OtpHashExpiresAt = 'otpHashExpiresAt',
/** column name */
OtpMethodLastUsed = 'otpMethodLastUsed',
/** column name */
PasswordHash = 'passwordHash',
/** column name */
PhoneNumber = 'phoneNumber',
/** column name */
PhoneNumberVerified = 'phoneNumberVerified',
/** column name */
Ticket = 'ticket',
/** column name */
TicketExpiresAt = 'ticketExpiresAt',
/** column name */
TotpSecret = 'totpSecret',
/** column name */
UpdatedAt = 'updatedAt'
}
export type Users_Updates = {
/** append existing jsonb value of filtered columns with new jsonb value */
_append?: InputMaybe<Users_Append_Input>;
/** delete the field or element with specified path (for JSON arrays, negative integers count from the end) */
_delete_at_path?: InputMaybe<Users_Delete_At_Path_Input>;
/** delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array */
_delete_elem?: InputMaybe<Users_Delete_Elem_Input>;
/** delete key/value pair or string element. key/value pairs are matched based on their key value */
_delete_key?: InputMaybe<Users_Delete_Key_Input>;
/** prepend existing jsonb value of filtered columns with new jsonb value */
_prepend?: InputMaybe<Users_Prepend_Input>;
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<Users_Set_Input>;
/** filter the rows which have to be updated */
where: Users_Bool_Exp;
};
/** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
export type Uuid_Comparison_Exp = {
_eq?: InputMaybe<Scalars['uuid']>;
_gt?: InputMaybe<Scalars['uuid']>;
_gte?: InputMaybe<Scalars['uuid']>;
_in?: InputMaybe<Array<Scalars['uuid']>>;
_is_null?: InputMaybe<Scalars['Boolean']>;
_lt?: InputMaybe<Scalars['uuid']>;
_lte?: InputMaybe<Scalars['uuid']>;
_neq?: InputMaybe<Scalars['uuid']>;
_nin?: InputMaybe<Array<Scalars['uuid']>>;
};
/** columns and relationships of "workspace_members" */
export type Workspace_Members = {
__typename?: 'workspace_members';
created_at: Scalars['timestamptz'];
deleted_at?: Maybe<Scalars['timestamptz']>;
id: Scalars['uuid'];
updated_at: Scalars['timestamptz'];
user_id: Scalars['uuid'];
/** An object relationship */
workspace: Workspaces;
workspace_id: Scalars['uuid'];
};
/** aggregated selection of "workspace_members" */
export type Workspace_Members_Aggregate = {
__typename?: 'workspace_members_aggregate';
aggregate?: Maybe<Workspace_Members_Aggregate_Fields>;
nodes: Array<Workspace_Members>;
};
/** aggregate fields of "workspace_members" */
export type Workspace_Members_Aggregate_Fields = {
__typename?: 'workspace_members_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<Workspace_Members_Max_Fields>;
min?: Maybe<Workspace_Members_Min_Fields>;
};
/** aggregate fields of "workspace_members" */
export type Workspace_Members_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<Workspace_Members_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** Boolean expression to filter rows from the table "workspace_members". All fields are combined with a logical 'AND'. */
export type Workspace_Members_Bool_Exp = {
_and?: InputMaybe<Array<Workspace_Members_Bool_Exp>>;
_not?: InputMaybe<Workspace_Members_Bool_Exp>;
_or?: InputMaybe<Array<Workspace_Members_Bool_Exp>>;
created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
deleted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
user_id?: InputMaybe<Uuid_Comparison_Exp>;
workspace?: InputMaybe<Workspaces_Bool_Exp>;
workspace_id?: InputMaybe<Uuid_Comparison_Exp>;
};
/** unique or primary key constraints on table "workspace_members" */
export enum Workspace_Members_Constraint {
/** unique or primary key constraint on columns "id" */
WorkspaceMembersPkey = 'workspace_members_pkey'
}
/** input type for inserting data into table "workspace_members" */
export type Workspace_Members_Insert_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
user_id?: InputMaybe<Scalars['uuid']>;
workspace?: InputMaybe<Workspaces_Obj_Rel_Insert_Input>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** aggregate max on columns */
export type Workspace_Members_Max_Fields = {
__typename?: 'workspace_members_max_fields';
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
updated_at?: Maybe<Scalars['timestamptz']>;
user_id?: Maybe<Scalars['uuid']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** aggregate min on columns */
export type Workspace_Members_Min_Fields = {
__typename?: 'workspace_members_min_fields';
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
id?: Maybe<Scalars['uuid']>;
updated_at?: Maybe<Scalars['timestamptz']>;
user_id?: Maybe<Scalars['uuid']>;
workspace_id?: Maybe<Scalars['uuid']>;
};
/** response of any mutation on the table "workspace_members" */
export type Workspace_Members_Mutation_Response = {
__typename?: 'workspace_members_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<Workspace_Members>;
};
/** input type for inserting object relation for remote table "workspace_members" */
export type Workspace_Members_Obj_Rel_Insert_Input = {
data: Workspace_Members_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<Workspace_Members_On_Conflict>;
};
/** on_conflict condition type for table "workspace_members" */
export type Workspace_Members_On_Conflict = {
constraint: Workspace_Members_Constraint;
update_columns?: Array<Workspace_Members_Update_Column>;
where?: InputMaybe<Workspace_Members_Bool_Exp>;
};
/** Ordering options when selecting data from "workspace_members". */
export type Workspace_Members_Order_By = {
created_at?: InputMaybe<Order_By>;
deleted_at?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
updated_at?: InputMaybe<Order_By>;
user_id?: InputMaybe<Order_By>;
workspace?: InputMaybe<Workspaces_Order_By>;
workspace_id?: InputMaybe<Order_By>;
};
/** primary key columns input for table: workspace_members */
export type Workspace_Members_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "workspace_members" */
export enum Workspace_Members_Select_Column {
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
Id = 'id',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
UserId = 'user_id',
/** column name */
WorkspaceId = 'workspace_id'
}
/** input type for updating data in table "workspace_members" */
export type Workspace_Members_Set_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
user_id?: InputMaybe<Scalars['uuid']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** Streaming cursor of the table "workspace_members" */
export type Workspace_Members_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: Workspace_Members_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type Workspace_Members_Stream_Cursor_Value_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
id?: InputMaybe<Scalars['uuid']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
user_id?: InputMaybe<Scalars['uuid']>;
workspace_id?: InputMaybe<Scalars['uuid']>;
};
/** update columns of table "workspace_members" */
export enum Workspace_Members_Update_Column {
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
Id = 'id',
/** column name */
UpdatedAt = 'updated_at',
/** column name */
UserId = 'user_id',
/** column name */
WorkspaceId = 'workspace_id'
}
export type Workspace_Members_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<Workspace_Members_Set_Input>;
/** filter the rows which have to be updated */
where: Workspace_Members_Bool_Exp;
};
/** columns and relationships of "workspaces" */
export type Workspaces = {
__typename?: 'workspaces';
created_at: Scalars['timestamptz'];
deleted_at?: Maybe<Scalars['timestamptz']>;
display_name: Scalars['String'];
domain_name: Scalars['String'];
id: Scalars['uuid'];
logo?: Maybe<Scalars['String']>;
updated_at: Scalars['timestamptz'];
};
/** aggregated selection of "workspaces" */
export type Workspaces_Aggregate = {
__typename?: 'workspaces_aggregate';
aggregate?: Maybe<Workspaces_Aggregate_Fields>;
nodes: Array<Workspaces>;
};
/** aggregate fields of "workspaces" */
export type Workspaces_Aggregate_Fields = {
__typename?: 'workspaces_aggregate_fields';
count: Scalars['Int'];
max?: Maybe<Workspaces_Max_Fields>;
min?: Maybe<Workspaces_Min_Fields>;
};
/** aggregate fields of "workspaces" */
export type Workspaces_Aggregate_FieldsCountArgs = {
columns?: InputMaybe<Array<Workspaces_Select_Column>>;
distinct?: InputMaybe<Scalars['Boolean']>;
};
/** Boolean expression to filter rows from the table "workspaces". All fields are combined with a logical 'AND'. */
export type Workspaces_Bool_Exp = {
_and?: InputMaybe<Array<Workspaces_Bool_Exp>>;
_not?: InputMaybe<Workspaces_Bool_Exp>;
_or?: InputMaybe<Array<Workspaces_Bool_Exp>>;
created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
deleted_at?: InputMaybe<Timestamptz_Comparison_Exp>;
display_name?: InputMaybe<String_Comparison_Exp>;
domain_name?: InputMaybe<String_Comparison_Exp>;
id?: InputMaybe<Uuid_Comparison_Exp>;
logo?: InputMaybe<String_Comparison_Exp>;
updated_at?: InputMaybe<Timestamptz_Comparison_Exp>;
};
/** unique or primary key constraints on table "workspaces" */
export enum Workspaces_Constraint {
/** unique or primary key constraint on columns "domain_name" */
WorkspacesDomainNameKey = 'workspaces_domain_name_key',
/** unique or primary key constraint on columns "id" */
WorkspacesPkey = 'workspaces_pkey'
}
/** input type for inserting data into table "workspaces" */
export type Workspaces_Insert_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
display_name?: InputMaybe<Scalars['String']>;
domain_name?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
logo?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
};
/** aggregate max on columns */
export type Workspaces_Max_Fields = {
__typename?: 'workspaces_max_fields';
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
display_name?: Maybe<Scalars['String']>;
domain_name?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
logo?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
};
/** aggregate min on columns */
export type Workspaces_Min_Fields = {
__typename?: 'workspaces_min_fields';
created_at?: Maybe<Scalars['timestamptz']>;
deleted_at?: Maybe<Scalars['timestamptz']>;
display_name?: Maybe<Scalars['String']>;
domain_name?: Maybe<Scalars['String']>;
id?: Maybe<Scalars['uuid']>;
logo?: Maybe<Scalars['String']>;
updated_at?: Maybe<Scalars['timestamptz']>;
};
/** response of any mutation on the table "workspaces" */
export type Workspaces_Mutation_Response = {
__typename?: 'workspaces_mutation_response';
/** number of rows affected by the mutation */
affected_rows: Scalars['Int'];
/** data from the rows affected by the mutation */
returning: Array<Workspaces>;
};
/** input type for inserting object relation for remote table "workspaces" */
export type Workspaces_Obj_Rel_Insert_Input = {
data: Workspaces_Insert_Input;
/** upsert condition */
on_conflict?: InputMaybe<Workspaces_On_Conflict>;
};
/** on_conflict condition type for table "workspaces" */
export type Workspaces_On_Conflict = {
constraint: Workspaces_Constraint;
update_columns?: Array<Workspaces_Update_Column>;
where?: InputMaybe<Workspaces_Bool_Exp>;
};
/** Ordering options when selecting data from "workspaces". */
export type Workspaces_Order_By = {
created_at?: InputMaybe<Order_By>;
deleted_at?: InputMaybe<Order_By>;
display_name?: InputMaybe<Order_By>;
domain_name?: InputMaybe<Order_By>;
id?: InputMaybe<Order_By>;
logo?: InputMaybe<Order_By>;
updated_at?: InputMaybe<Order_By>;
};
/** primary key columns input for table: workspaces */
export type Workspaces_Pk_Columns_Input = {
id: Scalars['uuid'];
};
/** select columns of table "workspaces" */
export enum Workspaces_Select_Column {
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
DisplayName = 'display_name',
/** column name */
DomainName = 'domain_name',
/** column name */
Id = 'id',
/** column name */
Logo = 'logo',
/** column name */
UpdatedAt = 'updated_at'
}
/** input type for updating data in table "workspaces" */
export type Workspaces_Set_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
display_name?: InputMaybe<Scalars['String']>;
domain_name?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
logo?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
};
/** Streaming cursor of the table "workspaces" */
export type Workspaces_Stream_Cursor_Input = {
/** Stream column input with initial value */
initial_value: Workspaces_Stream_Cursor_Value_Input;
/** cursor ordering */
ordering?: InputMaybe<Cursor_Ordering>;
};
/** Initial value of the column from where the streaming should start */
export type Workspaces_Stream_Cursor_Value_Input = {
created_at?: InputMaybe<Scalars['timestamptz']>;
deleted_at?: InputMaybe<Scalars['timestamptz']>;
display_name?: InputMaybe<Scalars['String']>;
domain_name?: InputMaybe<Scalars['String']>;
id?: InputMaybe<Scalars['uuid']>;
logo?: InputMaybe<Scalars['String']>;
updated_at?: InputMaybe<Scalars['timestamptz']>;
};
/** update columns of table "workspaces" */
export enum Workspaces_Update_Column {
/** column name */
CreatedAt = 'created_at',
/** column name */
DeletedAt = 'deleted_at',
/** column name */
DisplayName = 'display_name',
/** column name */
DomainName = 'domain_name',
/** column name */
Id = 'id',
/** column name */
Logo = 'logo',
/** column name */
UpdatedAt = 'updated_at'
}
export type Workspaces_Updates = {
/** sets the columns of the filtered rows to the given values */
_set?: InputMaybe<Workspaces_Set_Input>;
/** filter the rows which have to be updated */
where: Workspaces_Bool_Exp;
};
export type GetCompaniesQueryVariables = Exact<{
orderBy?: InputMaybe<Array<Companies_Order_By> | Companies_Order_By>;
where?: InputMaybe<Companies_Bool_Exp>;
}>;
export type GetCompaniesQuery = { __typename?: 'query_root', companies: Array<{ __typename?: 'companies', id: any, domain_name?: string | null, name?: string | null, created_at: any, address?: string | null, employees?: any | null, account_owner?: { __typename?: 'users', id: any, email?: any | null, displayName: string } | null }> };
export type UpdateCompanyMutationVariables = Exact<{
id?: InputMaybe<Scalars['uuid']>;
name?: InputMaybe<Scalars['String']>;
domain_name?: InputMaybe<Scalars['String']>;
account_owner_id?: InputMaybe<Scalars['uuid']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
address?: InputMaybe<Scalars['String']>;
employees?: InputMaybe<Scalars['numeric']>;
}>;
export type UpdateCompanyMutation = { __typename?: 'mutation_root', update_companies?: { __typename?: 'companies_mutation_response', affected_rows: number, returning: Array<{ __typename?: 'companies', address?: string | null, created_at: any, domain_name?: string | null, employees?: any | null, id: any, name?: string | null, account_owner?: { __typename?: 'users', id: any, email?: any | null, displayName: string } | null }> } | null };
export type InsertCompanyMutationVariables = Exact<{
id?: InputMaybe<Scalars['uuid']>;
name?: InputMaybe<Scalars['String']>;
domain_name?: InputMaybe<Scalars['String']>;
account_owner_id?: InputMaybe<Scalars['uuid']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
address?: InputMaybe<Scalars['String']>;
employees?: InputMaybe<Scalars['numeric']>;
}>;
export type InsertCompanyMutation = { __typename?: 'mutation_root', insert_companies?: { __typename?: 'companies_mutation_response', affected_rows: number, returning: Array<{ __typename?: 'companies', address?: string | null, created_at: any, domain_name?: string | null, employees?: any | null, id: any, name?: string | null }> } | null };
export type DeleteCompaniesMutationVariables = Exact<{
ids?: InputMaybe<Array<Scalars['uuid']> | Scalars['uuid']>;
}>;
export type DeleteCompaniesMutation = { __typename?: 'mutation_root', delete_companies?: { __typename?: 'companies_mutation_response', returning: Array<{ __typename?: 'companies', address?: string | null, created_at: any, domain_name?: string | null, employees?: any | null, id: any, name?: string | null }> } | null };
export type GetPeopleQueryVariables = Exact<{
orderBy?: InputMaybe<Array<People_Order_By> | People_Order_By>;
where?: InputMaybe<People_Bool_Exp>;
limit?: InputMaybe<Scalars['Int']>;
}>;
export type GetPeopleQuery = { __typename?: 'query_root', people: Array<{ __typename?: 'people', id: any, phone?: string | null, email?: string | null, city?: string | null, firstname?: string | null, lastname?: string | null, created_at: any, company?: { __typename?: 'companies', id: any, name?: string | null, domain_name?: string | null } | null }> };
export type UpdatePeopleMutationVariables = Exact<{
id?: InputMaybe<Scalars['uuid']>;
firstname?: InputMaybe<Scalars['String']>;
lastname?: InputMaybe<Scalars['String']>;
phone?: InputMaybe<Scalars['String']>;
city?: InputMaybe<Scalars['String']>;
company_id?: InputMaybe<Scalars['uuid']>;
email?: InputMaybe<Scalars['String']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
}>;
export type UpdatePeopleMutation = { __typename?: 'mutation_root', update_people?: { __typename?: 'people_mutation_response', returning: Array<{ __typename?: 'people', city?: string | null, email?: string | null, firstname?: string | null, id: any, lastname?: string | null, phone?: string | null, created_at: any, company?: { __typename?: 'companies', domain_name?: string | null, name?: string | null, id: any } | null }> } | null };
export type InsertPersonMutationVariables = Exact<{
id?: InputMaybe<Scalars['uuid']>;
firstname?: InputMaybe<Scalars['String']>;
lastname?: InputMaybe<Scalars['String']>;
phone?: InputMaybe<Scalars['String']>;
city?: InputMaybe<Scalars['String']>;
company_id?: InputMaybe<Scalars['uuid']>;
email?: InputMaybe<Scalars['String']>;
created_at?: InputMaybe<Scalars['timestamptz']>;
}>;
export type InsertPersonMutation = { __typename?: 'mutation_root', insert_people?: { __typename?: 'people_mutation_response', affected_rows: number, returning: Array<{ __typename?: 'people', city?: string | null, email?: string | null, firstname?: string | null, id: any, lastname?: string | null, phone?: string | null, created_at: any, company?: { __typename?: 'companies', domain_name?: string | null, name?: string | null, id: any } | null }> } | null };
export type DeletePeopleMutationVariables = Exact<{
ids?: InputMaybe<Array<Scalars['uuid']> | Scalars['uuid']>;
}>;
export type DeletePeopleMutation = { __typename?: 'mutation_root', delete_people?: { __typename?: 'people_mutation_response', returning: Array<{ __typename?: 'people', city?: string | null, email?: string | null, firstname?: string | null, id: any, lastname?: string | null, phone?: string | null, created_at: any, company?: { __typename?: 'companies', domain_name?: string | null, name?: string | null, id: any } | null }> } | null };
export type GetCurrentUserQueryVariables = Exact<{
uuid?: InputMaybe<Scalars['uuid']>;
}>;
export type GetCurrentUserQuery = { __typename?: 'query_root', users: Array<{ __typename?: 'users', id: any, email?: any | null, displayName: string, workspace_member?: { __typename?: 'workspace_members', workspace: { __typename?: 'workspaces', id: any, domain_name: string, display_name: string, logo?: string | null } } | null }> };
export const GetCompaniesDocument = gql`
query GetCompanies($orderBy: [companies_order_by!], $where: companies_bool_exp) {
companies(order_by: $orderBy, where: $where) {
id
domain_name
name
created_at
address
employees
account_owner {
id
email
displayName
}
}
}
`;
/**
* __useGetCompaniesQuery__
*
* To run a query within a React component, call `useGetCompaniesQuery` and pass it any options that fit your needs.
* When your component renders, `useGetCompaniesQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useGetCompaniesQuery({
* variables: {
* orderBy: // value for 'orderBy'
* where: // value for 'where'
* },
* });
*/
export function useGetCompaniesQuery(baseOptions?: Apollo.QueryHookOptions<GetCompaniesQuery, GetCompaniesQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useQuery<GetCompaniesQuery, GetCompaniesQueryVariables>(GetCompaniesDocument, options);
}
export function useGetCompaniesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetCompaniesQuery, GetCompaniesQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useLazyQuery<GetCompaniesQuery, GetCompaniesQueryVariables>(GetCompaniesDocument, options);
}
export type GetCompaniesQueryHookResult = ReturnType<typeof useGetCompaniesQuery>;
export type GetCompaniesLazyQueryHookResult = ReturnType<typeof useGetCompaniesLazyQuery>;
export type GetCompaniesQueryResult = Apollo.QueryResult<GetCompaniesQuery, GetCompaniesQueryVariables>;
export const UpdateCompanyDocument = gql`
mutation UpdateCompany($id: uuid, $name: String, $domain_name: String, $account_owner_id: uuid, $created_at: timestamptz, $address: String, $employees: numeric) {
update_companies(
where: {id: {_eq: $id}}
_set: {account_owner_id: $account_owner_id, address: $address, domain_name: $domain_name, employees: $employees, name: $name, created_at: $created_at}
) {
affected_rows
returning {
account_owner {
id
email
displayName
}
address
created_at
domain_name
employees
id
name
}
}
}
`;
export type UpdateCompanyMutationFn = Apollo.MutationFunction<UpdateCompanyMutation, UpdateCompanyMutationVariables>;
/**
* __useUpdateCompanyMutation__
*
* To run a mutation, you first call `useUpdateCompanyMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useUpdateCompanyMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [updateCompanyMutation, { data, loading, error }] = useUpdateCompanyMutation({
* variables: {
* id: // value for 'id'
* name: // value for 'name'
* domain_name: // value for 'domain_name'
* account_owner_id: // value for 'account_owner_id'
* created_at: // value for 'created_at'
* address: // value for 'address'
* employees: // value for 'employees'
* },
* });
*/
export function useUpdateCompanyMutation(baseOptions?: Apollo.MutationHookOptions<UpdateCompanyMutation, UpdateCompanyMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<UpdateCompanyMutation, UpdateCompanyMutationVariables>(UpdateCompanyDocument, options);
}
export type UpdateCompanyMutationHookResult = ReturnType<typeof useUpdateCompanyMutation>;
export type UpdateCompanyMutationResult = Apollo.MutationResult<UpdateCompanyMutation>;
export type UpdateCompanyMutationOptions = Apollo.BaseMutationOptions<UpdateCompanyMutation, UpdateCompanyMutationVariables>;
export const InsertCompanyDocument = gql`
mutation InsertCompany($id: uuid, $name: String, $domain_name: String, $account_owner_id: uuid, $created_at: timestamptz, $address: String, $employees: numeric) {
insert_companies(
objects: {id: $id, name: $name, domain_name: $domain_name, account_owner_id: $account_owner_id, created_at: $created_at, address: $address, employees: $employees}
) {
affected_rows
returning {
address
created_at
domain_name
employees
id
name
}
}
}
`;
export type InsertCompanyMutationFn = Apollo.MutationFunction<InsertCompanyMutation, InsertCompanyMutationVariables>;
/**
* __useInsertCompanyMutation__
*
* To run a mutation, you first call `useInsertCompanyMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useInsertCompanyMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [insertCompanyMutation, { data, loading, error }] = useInsertCompanyMutation({
* variables: {
* id: // value for 'id'
* name: // value for 'name'
* domain_name: // value for 'domain_name'
* account_owner_id: // value for 'account_owner_id'
* created_at: // value for 'created_at'
* address: // value for 'address'
* employees: // value for 'employees'
* },
* });
*/
export function useInsertCompanyMutation(baseOptions?: Apollo.MutationHookOptions<InsertCompanyMutation, InsertCompanyMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<InsertCompanyMutation, InsertCompanyMutationVariables>(InsertCompanyDocument, options);
}
export type InsertCompanyMutationHookResult = ReturnType<typeof useInsertCompanyMutation>;
export type InsertCompanyMutationResult = Apollo.MutationResult<InsertCompanyMutation>;
export type InsertCompanyMutationOptions = Apollo.BaseMutationOptions<InsertCompanyMutation, InsertCompanyMutationVariables>;
export const DeleteCompaniesDocument = gql`
mutation DeleteCompanies($ids: [uuid!]) {
delete_companies(where: {id: {_in: $ids}}) {
returning {
address
created_at
domain_name
employees
id
name
}
}
}
`;
export type DeleteCompaniesMutationFn = Apollo.MutationFunction<DeleteCompaniesMutation, DeleteCompaniesMutationVariables>;
/**
* __useDeleteCompaniesMutation__
*
* To run a mutation, you first call `useDeleteCompaniesMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useDeleteCompaniesMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [deleteCompaniesMutation, { data, loading, error }] = useDeleteCompaniesMutation({
* variables: {
* ids: // value for 'ids'
* },
* });
*/
export function useDeleteCompaniesMutation(baseOptions?: Apollo.MutationHookOptions<DeleteCompaniesMutation, DeleteCompaniesMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<DeleteCompaniesMutation, DeleteCompaniesMutationVariables>(DeleteCompaniesDocument, options);
}
export type DeleteCompaniesMutationHookResult = ReturnType<typeof useDeleteCompaniesMutation>;
export type DeleteCompaniesMutationResult = Apollo.MutationResult<DeleteCompaniesMutation>;
export type DeleteCompaniesMutationOptions = Apollo.BaseMutationOptions<DeleteCompaniesMutation, DeleteCompaniesMutationVariables>;
export const GetPeopleDocument = gql`
query GetPeople($orderBy: [people_order_by!], $where: people_bool_exp, $limit: Int) {
people(order_by: $orderBy, where: $where, limit: $limit) {
id
phone
email
city
firstname
lastname
created_at
company {
id
name
domain_name
}
}
}
`;
/**
* __useGetPeopleQuery__
*
* To run a query within a React component, call `useGetPeopleQuery` and pass it any options that fit your needs.
* When your component renders, `useGetPeopleQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useGetPeopleQuery({
* variables: {
* orderBy: // value for 'orderBy'
* where: // value for 'where'
* limit: // value for 'limit'
* },
* });
*/
export function useGetPeopleQuery(baseOptions?: Apollo.QueryHookOptions<GetPeopleQuery, GetPeopleQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useQuery<GetPeopleQuery, GetPeopleQueryVariables>(GetPeopleDocument, options);
}
export function useGetPeopleLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetPeopleQuery, GetPeopleQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useLazyQuery<GetPeopleQuery, GetPeopleQueryVariables>(GetPeopleDocument, options);
}
export type GetPeopleQueryHookResult = ReturnType<typeof useGetPeopleQuery>;
export type GetPeopleLazyQueryHookResult = ReturnType<typeof useGetPeopleLazyQuery>;
export type GetPeopleQueryResult = Apollo.QueryResult<GetPeopleQuery, GetPeopleQueryVariables>;
export const UpdatePeopleDocument = gql`
mutation UpdatePeople($id: uuid, $firstname: String, $lastname: String, $phone: String, $city: String, $company_id: uuid, $email: String, $created_at: timestamptz) {
update_people(
where: {id: {_eq: $id}}
_set: {city: $city, company_id: $company_id, email: $email, firstname: $firstname, id: $id, lastname: $lastname, phone: $phone, created_at: $created_at}
) {
returning {
city
company {
domain_name
name
id
}
email
firstname
id
lastname
phone
created_at
}
}
}
`;
export type UpdatePeopleMutationFn = Apollo.MutationFunction<UpdatePeopleMutation, UpdatePeopleMutationVariables>;
/**
* __useUpdatePeopleMutation__
*
* To run a mutation, you first call `useUpdatePeopleMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useUpdatePeopleMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [updatePeopleMutation, { data, loading, error }] = useUpdatePeopleMutation({
* variables: {
* id: // value for 'id'
* firstname: // value for 'firstname'
* lastname: // value for 'lastname'
* phone: // value for 'phone'
* city: // value for 'city'
* company_id: // value for 'company_id'
* email: // value for 'email'
* created_at: // value for 'created_at'
* },
* });
*/
export function useUpdatePeopleMutation(baseOptions?: Apollo.MutationHookOptions<UpdatePeopleMutation, UpdatePeopleMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<UpdatePeopleMutation, UpdatePeopleMutationVariables>(UpdatePeopleDocument, options);
}
export type UpdatePeopleMutationHookResult = ReturnType<typeof useUpdatePeopleMutation>;
export type UpdatePeopleMutationResult = Apollo.MutationResult<UpdatePeopleMutation>;
export type UpdatePeopleMutationOptions = Apollo.BaseMutationOptions<UpdatePeopleMutation, UpdatePeopleMutationVariables>;
export const InsertPersonDocument = gql`
mutation InsertPerson($id: uuid, $firstname: String, $lastname: String, $phone: String, $city: String, $company_id: uuid, $email: String, $created_at: timestamptz) {
insert_people(
objects: {id: $id, firstname: $firstname, lastname: $lastname, phone: $phone, city: $city, company_id: $company_id, email: $email, created_at: $created_at}
) {
affected_rows
returning {
city
company {
domain_name
name
id
}
email
firstname
id
lastname
phone
created_at
}
}
}
`;
export type InsertPersonMutationFn = Apollo.MutationFunction<InsertPersonMutation, InsertPersonMutationVariables>;
/**
* __useInsertPersonMutation__
*
* To run a mutation, you first call `useInsertPersonMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useInsertPersonMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [insertPersonMutation, { data, loading, error }] = useInsertPersonMutation({
* variables: {
* id: // value for 'id'
* firstname: // value for 'firstname'
* lastname: // value for 'lastname'
* phone: // value for 'phone'
* city: // value for 'city'
* company_id: // value for 'company_id'
* email: // value for 'email'
* created_at: // value for 'created_at'
* },
* });
*/
export function useInsertPersonMutation(baseOptions?: Apollo.MutationHookOptions<InsertPersonMutation, InsertPersonMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<InsertPersonMutation, InsertPersonMutationVariables>(InsertPersonDocument, options);
}
export type InsertPersonMutationHookResult = ReturnType<typeof useInsertPersonMutation>;
export type InsertPersonMutationResult = Apollo.MutationResult<InsertPersonMutation>;
export type InsertPersonMutationOptions = Apollo.BaseMutationOptions<InsertPersonMutation, InsertPersonMutationVariables>;
export const DeletePeopleDocument = gql`
mutation DeletePeople($ids: [uuid!]) {
delete_people(where: {id: {_in: $ids}}) {
returning {
city
company {
domain_name
name
id
}
email
firstname
id
lastname
phone
created_at
}
}
}
`;
export type DeletePeopleMutationFn = Apollo.MutationFunction<DeletePeopleMutation, DeletePeopleMutationVariables>;
/**
* __useDeletePeopleMutation__
*
* To run a mutation, you first call `useDeletePeopleMutation` within a React component and pass it any options that fit your needs.
* When your component renders, `useDeletePeopleMutation` returns a tuple that includes:
* - A mutate function that you can call at any time to execute the mutation
* - An object with fields that represent the current status of the mutation's execution
*
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
*
* @example
* const [deletePeopleMutation, { data, loading, error }] = useDeletePeopleMutation({
* variables: {
* ids: // value for 'ids'
* },
* });
*/
export function useDeletePeopleMutation(baseOptions?: Apollo.MutationHookOptions<DeletePeopleMutation, DeletePeopleMutationVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useMutation<DeletePeopleMutation, DeletePeopleMutationVariables>(DeletePeopleDocument, options);
}
export type DeletePeopleMutationHookResult = ReturnType<typeof useDeletePeopleMutation>;
export type DeletePeopleMutationResult = Apollo.MutationResult<DeletePeopleMutation>;
export type DeletePeopleMutationOptions = Apollo.BaseMutationOptions<DeletePeopleMutation, DeletePeopleMutationVariables>;
export const GetCurrentUserDocument = gql`
query GetCurrentUser($uuid: uuid) {
users(where: {id: {_eq: $uuid}}) {
id
email
displayName
workspace_member {
workspace {
id
domain_name
display_name
logo
}
}
}
}
`;
/**
* __useGetCurrentUserQuery__
*
* To run a query within a React component, call `useGetCurrentUserQuery` and pass it any options that fit your needs.
* When your component renders, `useGetCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
* you can use to render your UI.
*
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
*
* @example
* const { data, loading, error } = useGetCurrentUserQuery({
* variables: {
* uuid: // value for 'uuid'
* },
* });
*/
export function useGetCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<GetCurrentUserQuery, GetCurrentUserQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useQuery<GetCurrentUserQuery, GetCurrentUserQueryVariables>(GetCurrentUserDocument, options);
}
export function useGetCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetCurrentUserQuery, GetCurrentUserQueryVariables>) {
const options = {...defaultOptions, ...baseOptions}
return Apollo.useLazyQuery<GetCurrentUserQuery, GetCurrentUserQueryVariables>(GetCurrentUserDocument, options);
}
export type GetCurrentUserQueryHookResult = ReturnType<typeof useGetCurrentUserQuery>;
export type GetCurrentUserLazyQueryHookResult = ReturnType<typeof useGetCurrentUserLazyQuery>;
export type GetCurrentUserQueryResult = Apollo.QueryResult<GetCurrentUserQuery, GetCurrentUserQueryVariables>;