import type * as runtime from "@prisma/client/runtime/client";
import type * as $Enums from "../enums";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model flow_state
 * This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type flow_stateModel = runtime.Types.Result.DefaultSelection<Prisma.$flow_statePayload>;
export type AggregateFlow_state = {
    _count: Flow_stateCountAggregateOutputType | null;
    _min: Flow_stateMinAggregateOutputType | null;
    _max: Flow_stateMaxAggregateOutputType | null;
};
export type Flow_stateMinAggregateOutputType = {
    id: string | null;
    user_id: string | null;
    auth_code: string | null;
    code_challenge_method: $Enums.code_challenge_method | null;
    code_challenge: string | null;
    provider_type: string | null;
    provider_access_token: string | null;
    provider_refresh_token: string | null;
    created_at: Date | null;
    updated_at: Date | null;
    authentication_method: string | null;
    auth_code_issued_at: Date | null;
    invite_token: string | null;
    referrer: string | null;
    oauth_client_state_id: string | null;
    linking_target_id: string | null;
    email_optional: boolean | null;
};
export type Flow_stateMaxAggregateOutputType = {
    id: string | null;
    user_id: string | null;
    auth_code: string | null;
    code_challenge_method: $Enums.code_challenge_method | null;
    code_challenge: string | null;
    provider_type: string | null;
    provider_access_token: string | null;
    provider_refresh_token: string | null;
    created_at: Date | null;
    updated_at: Date | null;
    authentication_method: string | null;
    auth_code_issued_at: Date | null;
    invite_token: string | null;
    referrer: string | null;
    oauth_client_state_id: string | null;
    linking_target_id: string | null;
    email_optional: boolean | null;
};
export type Flow_stateCountAggregateOutputType = {
    id: number;
    user_id: number;
    auth_code: number;
    code_challenge_method: number;
    code_challenge: number;
    provider_type: number;
    provider_access_token: number;
    provider_refresh_token: number;
    created_at: number;
    updated_at: number;
    authentication_method: number;
    auth_code_issued_at: number;
    invite_token: number;
    referrer: number;
    oauth_client_state_id: number;
    linking_target_id: number;
    email_optional: number;
    _all: number;
};
export type Flow_stateMinAggregateInputType = {
    id?: true;
    user_id?: true;
    auth_code?: true;
    code_challenge_method?: true;
    code_challenge?: true;
    provider_type?: true;
    provider_access_token?: true;
    provider_refresh_token?: true;
    created_at?: true;
    updated_at?: true;
    authentication_method?: true;
    auth_code_issued_at?: true;
    invite_token?: true;
    referrer?: true;
    oauth_client_state_id?: true;
    linking_target_id?: true;
    email_optional?: true;
};
export type Flow_stateMaxAggregateInputType = {
    id?: true;
    user_id?: true;
    auth_code?: true;
    code_challenge_method?: true;
    code_challenge?: true;
    provider_type?: true;
    provider_access_token?: true;
    provider_refresh_token?: true;
    created_at?: true;
    updated_at?: true;
    authentication_method?: true;
    auth_code_issued_at?: true;
    invite_token?: true;
    referrer?: true;
    oauth_client_state_id?: true;
    linking_target_id?: true;
    email_optional?: true;
};
export type Flow_stateCountAggregateInputType = {
    id?: true;
    user_id?: true;
    auth_code?: true;
    code_challenge_method?: true;
    code_challenge?: true;
    provider_type?: true;
    provider_access_token?: true;
    provider_refresh_token?: true;
    created_at?: true;
    updated_at?: true;
    authentication_method?: true;
    auth_code_issued_at?: true;
    invite_token?: true;
    referrer?: true;
    oauth_client_state_id?: true;
    linking_target_id?: true;
    email_optional?: true;
    _all?: true;
};
export type Flow_stateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which flow_state to aggregate.
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of flow_states to fetch.
     */
    orderBy?: Prisma.flow_stateOrderByWithRelationInput | Prisma.flow_stateOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.flow_stateWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` flow_states from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` flow_states.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned flow_states
    **/
    _count?: true | Flow_stateCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Flow_stateMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Flow_stateMaxAggregateInputType;
};
export type GetFlow_stateAggregateType<T extends Flow_stateAggregateArgs> = {
    [P in keyof T & keyof AggregateFlow_state]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFlow_state[P]> : Prisma.GetScalarType<T[P], AggregateFlow_state[P]>;
};
export type flow_stateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.flow_stateWhereInput;
    orderBy?: Prisma.flow_stateOrderByWithAggregationInput | Prisma.flow_stateOrderByWithAggregationInput[];
    by: Prisma.Flow_stateScalarFieldEnum[] | Prisma.Flow_stateScalarFieldEnum;
    having?: Prisma.flow_stateScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Flow_stateCountAggregateInputType | true;
    _min?: Flow_stateMinAggregateInputType;
    _max?: Flow_stateMaxAggregateInputType;
};
export type Flow_stateGroupByOutputType = {
    id: string;
    user_id: string | null;
    auth_code: string | null;
    code_challenge_method: $Enums.code_challenge_method | null;
    code_challenge: string | null;
    provider_type: string;
    provider_access_token: string | null;
    provider_refresh_token: string | null;
    created_at: Date | null;
    updated_at: Date | null;
    authentication_method: string;
    auth_code_issued_at: Date | null;
    invite_token: string | null;
    referrer: string | null;
    oauth_client_state_id: string | null;
    linking_target_id: string | null;
    email_optional: boolean;
    _count: Flow_stateCountAggregateOutputType | null;
    _min: Flow_stateMinAggregateOutputType | null;
    _max: Flow_stateMaxAggregateOutputType | null;
};
type GetFlow_stateGroupByPayload<T extends flow_stateGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Flow_stateGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Flow_stateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Flow_stateGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Flow_stateGroupByOutputType[P]>;
}>>;
export type flow_stateWhereInput = {
    AND?: Prisma.flow_stateWhereInput | Prisma.flow_stateWhereInput[];
    OR?: Prisma.flow_stateWhereInput[];
    NOT?: Prisma.flow_stateWhereInput | Prisma.flow_stateWhereInput[];
    id?: Prisma.UuidFilter<"flow_state"> | string;
    user_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    auth_code?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    code_challenge_method?: Prisma.Enumcode_challenge_methodNullableFilter<"flow_state"> | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    provider_type?: Prisma.StringFilter<"flow_state"> | string;
    provider_access_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    provider_refresh_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    authentication_method?: Prisma.StringFilter<"flow_state"> | string;
    auth_code_issued_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    invite_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    referrer?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    oauth_client_state_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    linking_target_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    email_optional?: Prisma.BoolFilter<"flow_state"> | boolean;
    saml_relay_states?: Prisma.Saml_relay_statesListRelationFilter;
};
export type flow_stateOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    auth_code?: Prisma.SortOrderInput | Prisma.SortOrder;
    code_challenge_method?: Prisma.SortOrderInput | Prisma.SortOrder;
    code_challenge?: Prisma.SortOrderInput | Prisma.SortOrder;
    provider_type?: Prisma.SortOrder;
    provider_access_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    provider_refresh_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    authentication_method?: Prisma.SortOrder;
    auth_code_issued_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    invite_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    referrer?: Prisma.SortOrderInput | Prisma.SortOrder;
    oauth_client_state_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    linking_target_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    email_optional?: Prisma.SortOrder;
    saml_relay_states?: Prisma.saml_relay_statesOrderByRelationAggregateInput;
};
export type flow_stateWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    AND?: Prisma.flow_stateWhereInput | Prisma.flow_stateWhereInput[];
    OR?: Prisma.flow_stateWhereInput[];
    NOT?: Prisma.flow_stateWhereInput | Prisma.flow_stateWhereInput[];
    user_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    auth_code?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    code_challenge_method?: Prisma.Enumcode_challenge_methodNullableFilter<"flow_state"> | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    provider_type?: Prisma.StringFilter<"flow_state"> | string;
    provider_access_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    provider_refresh_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    authentication_method?: Prisma.StringFilter<"flow_state"> | string;
    auth_code_issued_at?: Prisma.DateTimeNullableFilter<"flow_state"> | Date | string | null;
    invite_token?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    referrer?: Prisma.StringNullableFilter<"flow_state"> | string | null;
    oauth_client_state_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    linking_target_id?: Prisma.UuidNullableFilter<"flow_state"> | string | null;
    email_optional?: Prisma.BoolFilter<"flow_state"> | boolean;
    saml_relay_states?: Prisma.Saml_relay_statesListRelationFilter;
}, "id">;
export type flow_stateOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    auth_code?: Prisma.SortOrderInput | Prisma.SortOrder;
    code_challenge_method?: Prisma.SortOrderInput | Prisma.SortOrder;
    code_challenge?: Prisma.SortOrderInput | Prisma.SortOrder;
    provider_type?: Prisma.SortOrder;
    provider_access_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    provider_refresh_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    authentication_method?: Prisma.SortOrder;
    auth_code_issued_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    invite_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    referrer?: Prisma.SortOrderInput | Prisma.SortOrder;
    oauth_client_state_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    linking_target_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    email_optional?: Prisma.SortOrder;
    _count?: Prisma.flow_stateCountOrderByAggregateInput;
    _max?: Prisma.flow_stateMaxOrderByAggregateInput;
    _min?: Prisma.flow_stateMinOrderByAggregateInput;
};
export type flow_stateScalarWhereWithAggregatesInput = {
    AND?: Prisma.flow_stateScalarWhereWithAggregatesInput | Prisma.flow_stateScalarWhereWithAggregatesInput[];
    OR?: Prisma.flow_stateScalarWhereWithAggregatesInput[];
    NOT?: Prisma.flow_stateScalarWhereWithAggregatesInput | Prisma.flow_stateScalarWhereWithAggregatesInput[];
    id?: Prisma.UuidWithAggregatesFilter<"flow_state"> | string;
    user_id?: Prisma.UuidNullableWithAggregatesFilter<"flow_state"> | string | null;
    auth_code?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    code_challenge_method?: Prisma.Enumcode_challenge_methodNullableWithAggregatesFilter<"flow_state"> | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    provider_type?: Prisma.StringWithAggregatesFilter<"flow_state"> | string;
    provider_access_token?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    provider_refresh_token?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"flow_state"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"flow_state"> | Date | string | null;
    authentication_method?: Prisma.StringWithAggregatesFilter<"flow_state"> | string;
    auth_code_issued_at?: Prisma.DateTimeNullableWithAggregatesFilter<"flow_state"> | Date | string | null;
    invite_token?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    referrer?: Prisma.StringNullableWithAggregatesFilter<"flow_state"> | string | null;
    oauth_client_state_id?: Prisma.UuidNullableWithAggregatesFilter<"flow_state"> | string | null;
    linking_target_id?: Prisma.UuidNullableWithAggregatesFilter<"flow_state"> | string | null;
    email_optional?: Prisma.BoolWithAggregatesFilter<"flow_state"> | boolean;
};
export type flow_stateCreateInput = {
    id: string;
    user_id?: string | null;
    auth_code?: string | null;
    code_challenge_method?: $Enums.code_challenge_method | null;
    code_challenge?: string | null;
    provider_type: string;
    provider_access_token?: string | null;
    provider_refresh_token?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    authentication_method: string;
    auth_code_issued_at?: Date | string | null;
    invite_token?: string | null;
    referrer?: string | null;
    oauth_client_state_id?: string | null;
    linking_target_id?: string | null;
    email_optional?: boolean;
    saml_relay_states?: Prisma.saml_relay_statesCreateNestedManyWithoutFlow_stateInput;
};
export type flow_stateUncheckedCreateInput = {
    id: string;
    user_id?: string | null;
    auth_code?: string | null;
    code_challenge_method?: $Enums.code_challenge_method | null;
    code_challenge?: string | null;
    provider_type: string;
    provider_access_token?: string | null;
    provider_refresh_token?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    authentication_method: string;
    auth_code_issued_at?: Date | string | null;
    invite_token?: string | null;
    referrer?: string | null;
    oauth_client_state_id?: string | null;
    linking_target_id?: string | null;
    email_optional?: boolean;
    saml_relay_states?: Prisma.saml_relay_statesUncheckedCreateNestedManyWithoutFlow_stateInput;
};
export type flow_stateUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    saml_relay_states?: Prisma.saml_relay_statesUpdateManyWithoutFlow_stateNestedInput;
};
export type flow_stateUncheckedUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    saml_relay_states?: Prisma.saml_relay_statesUncheckedUpdateManyWithoutFlow_stateNestedInput;
};
export type flow_stateCreateManyInput = {
    id: string;
    user_id?: string | null;
    auth_code?: string | null;
    code_challenge_method?: $Enums.code_challenge_method | null;
    code_challenge?: string | null;
    provider_type: string;
    provider_access_token?: string | null;
    provider_refresh_token?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    authentication_method: string;
    auth_code_issued_at?: Date | string | null;
    invite_token?: string | null;
    referrer?: string | null;
    oauth_client_state_id?: string | null;
    linking_target_id?: string | null;
    email_optional?: boolean;
};
export type flow_stateUpdateManyMutationInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type flow_stateUncheckedUpdateManyInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type flow_stateCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    auth_code?: Prisma.SortOrder;
    code_challenge_method?: Prisma.SortOrder;
    code_challenge?: Prisma.SortOrder;
    provider_type?: Prisma.SortOrder;
    provider_access_token?: Prisma.SortOrder;
    provider_refresh_token?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    authentication_method?: Prisma.SortOrder;
    auth_code_issued_at?: Prisma.SortOrder;
    invite_token?: Prisma.SortOrder;
    referrer?: Prisma.SortOrder;
    oauth_client_state_id?: Prisma.SortOrder;
    linking_target_id?: Prisma.SortOrder;
    email_optional?: Prisma.SortOrder;
};
export type flow_stateMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    auth_code?: Prisma.SortOrder;
    code_challenge_method?: Prisma.SortOrder;
    code_challenge?: Prisma.SortOrder;
    provider_type?: Prisma.SortOrder;
    provider_access_token?: Prisma.SortOrder;
    provider_refresh_token?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    authentication_method?: Prisma.SortOrder;
    auth_code_issued_at?: Prisma.SortOrder;
    invite_token?: Prisma.SortOrder;
    referrer?: Prisma.SortOrder;
    oauth_client_state_id?: Prisma.SortOrder;
    linking_target_id?: Prisma.SortOrder;
    email_optional?: Prisma.SortOrder;
};
export type flow_stateMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    auth_code?: Prisma.SortOrder;
    code_challenge_method?: Prisma.SortOrder;
    code_challenge?: Prisma.SortOrder;
    provider_type?: Prisma.SortOrder;
    provider_access_token?: Prisma.SortOrder;
    provider_refresh_token?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    authentication_method?: Prisma.SortOrder;
    auth_code_issued_at?: Prisma.SortOrder;
    invite_token?: Prisma.SortOrder;
    referrer?: Prisma.SortOrder;
    oauth_client_state_id?: Prisma.SortOrder;
    linking_target_id?: Prisma.SortOrder;
    email_optional?: Prisma.SortOrder;
};
export type Flow_stateNullableScalarRelationFilter = {
    is?: Prisma.flow_stateWhereInput | null;
    isNot?: Prisma.flow_stateWhereInput | null;
};
export type NullableEnumcode_challenge_methodFieldUpdateOperationsInput = {
    set?: $Enums.code_challenge_method | null;
};
export type BoolFieldUpdateOperationsInput = {
    set?: boolean;
};
export type flow_stateCreateNestedOneWithoutSaml_relay_statesInput = {
    create?: Prisma.XOR<Prisma.flow_stateCreateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedCreateWithoutSaml_relay_statesInput>;
    connectOrCreate?: Prisma.flow_stateCreateOrConnectWithoutSaml_relay_statesInput;
    connect?: Prisma.flow_stateWhereUniqueInput;
};
export type flow_stateUpdateOneWithoutSaml_relay_statesNestedInput = {
    create?: Prisma.XOR<Prisma.flow_stateCreateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedCreateWithoutSaml_relay_statesInput>;
    connectOrCreate?: Prisma.flow_stateCreateOrConnectWithoutSaml_relay_statesInput;
    upsert?: Prisma.flow_stateUpsertWithoutSaml_relay_statesInput;
    disconnect?: Prisma.flow_stateWhereInput | boolean;
    delete?: Prisma.flow_stateWhereInput | boolean;
    connect?: Prisma.flow_stateWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.flow_stateUpdateToOneWithWhereWithoutSaml_relay_statesInput, Prisma.flow_stateUpdateWithoutSaml_relay_statesInput>, Prisma.flow_stateUncheckedUpdateWithoutSaml_relay_statesInput>;
};
export type flow_stateCreateWithoutSaml_relay_statesInput = {
    id: string;
    user_id?: string | null;
    auth_code?: string | null;
    code_challenge_method?: $Enums.code_challenge_method | null;
    code_challenge?: string | null;
    provider_type: string;
    provider_access_token?: string | null;
    provider_refresh_token?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    authentication_method: string;
    auth_code_issued_at?: Date | string | null;
    invite_token?: string | null;
    referrer?: string | null;
    oauth_client_state_id?: string | null;
    linking_target_id?: string | null;
    email_optional?: boolean;
};
export type flow_stateUncheckedCreateWithoutSaml_relay_statesInput = {
    id: string;
    user_id?: string | null;
    auth_code?: string | null;
    code_challenge_method?: $Enums.code_challenge_method | null;
    code_challenge?: string | null;
    provider_type: string;
    provider_access_token?: string | null;
    provider_refresh_token?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    authentication_method: string;
    auth_code_issued_at?: Date | string | null;
    invite_token?: string | null;
    referrer?: string | null;
    oauth_client_state_id?: string | null;
    linking_target_id?: string | null;
    email_optional?: boolean;
};
export type flow_stateCreateOrConnectWithoutSaml_relay_statesInput = {
    where: Prisma.flow_stateWhereUniqueInput;
    create: Prisma.XOR<Prisma.flow_stateCreateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedCreateWithoutSaml_relay_statesInput>;
};
export type flow_stateUpsertWithoutSaml_relay_statesInput = {
    update: Prisma.XOR<Prisma.flow_stateUpdateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedUpdateWithoutSaml_relay_statesInput>;
    create: Prisma.XOR<Prisma.flow_stateCreateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedCreateWithoutSaml_relay_statesInput>;
    where?: Prisma.flow_stateWhereInput;
};
export type flow_stateUpdateToOneWithWhereWithoutSaml_relay_statesInput = {
    where?: Prisma.flow_stateWhereInput;
    data: Prisma.XOR<Prisma.flow_stateUpdateWithoutSaml_relay_statesInput, Prisma.flow_stateUncheckedUpdateWithoutSaml_relay_statesInput>;
};
export type flow_stateUpdateWithoutSaml_relay_statesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type flow_stateUncheckedUpdateWithoutSaml_relay_statesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    auth_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    code_challenge_method?: Prisma.NullableEnumcode_challenge_methodFieldUpdateOperationsInput | $Enums.code_challenge_method | null;
    code_challenge?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_type?: Prisma.StringFieldUpdateOperationsInput | string;
    provider_access_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    provider_refresh_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    authentication_method?: Prisma.StringFieldUpdateOperationsInput | string;
    auth_code_issued_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    invite_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    referrer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    oauth_client_state_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    linking_target_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    email_optional?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
/**
 * Count Type Flow_stateCountOutputType
 */
export type Flow_stateCountOutputType = {
    saml_relay_states: number;
};
export type Flow_stateCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    saml_relay_states?: boolean | Flow_stateCountOutputTypeCountSaml_relay_statesArgs;
};
/**
 * Flow_stateCountOutputType without action
 */
export type Flow_stateCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Flow_stateCountOutputType
     */
    select?: Prisma.Flow_stateCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * Flow_stateCountOutputType without action
 */
export type Flow_stateCountOutputTypeCountSaml_relay_statesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.saml_relay_statesWhereInput;
};
export type flow_stateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
    auth_code?: boolean;
    code_challenge_method?: boolean;
    code_challenge?: boolean;
    provider_type?: boolean;
    provider_access_token?: boolean;
    provider_refresh_token?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    authentication_method?: boolean;
    auth_code_issued_at?: boolean;
    invite_token?: boolean;
    referrer?: boolean;
    oauth_client_state_id?: boolean;
    linking_target_id?: boolean;
    email_optional?: boolean;
    saml_relay_states?: boolean | Prisma.flow_state$saml_relay_statesArgs<ExtArgs>;
    _count?: boolean | Prisma.Flow_stateCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["flow_state"]>;
export type flow_stateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
    auth_code?: boolean;
    code_challenge_method?: boolean;
    code_challenge?: boolean;
    provider_type?: boolean;
    provider_access_token?: boolean;
    provider_refresh_token?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    authentication_method?: boolean;
    auth_code_issued_at?: boolean;
    invite_token?: boolean;
    referrer?: boolean;
    oauth_client_state_id?: boolean;
    linking_target_id?: boolean;
    email_optional?: boolean;
}, ExtArgs["result"]["flow_state"]>;
export type flow_stateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
    auth_code?: boolean;
    code_challenge_method?: boolean;
    code_challenge?: boolean;
    provider_type?: boolean;
    provider_access_token?: boolean;
    provider_refresh_token?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    authentication_method?: boolean;
    auth_code_issued_at?: boolean;
    invite_token?: boolean;
    referrer?: boolean;
    oauth_client_state_id?: boolean;
    linking_target_id?: boolean;
    email_optional?: boolean;
}, ExtArgs["result"]["flow_state"]>;
export type flow_stateSelectScalar = {
    id?: boolean;
    user_id?: boolean;
    auth_code?: boolean;
    code_challenge_method?: boolean;
    code_challenge?: boolean;
    provider_type?: boolean;
    provider_access_token?: boolean;
    provider_refresh_token?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    authentication_method?: boolean;
    auth_code_issued_at?: boolean;
    invite_token?: boolean;
    referrer?: boolean;
    oauth_client_state_id?: boolean;
    linking_target_id?: boolean;
    email_optional?: boolean;
};
export type flow_stateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "auth_code" | "code_challenge_method" | "code_challenge" | "provider_type" | "provider_access_token" | "provider_refresh_token" | "created_at" | "updated_at" | "authentication_method" | "auth_code_issued_at" | "invite_token" | "referrer" | "oauth_client_state_id" | "linking_target_id" | "email_optional", ExtArgs["result"]["flow_state"]>;
export type flow_stateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    saml_relay_states?: boolean | Prisma.flow_state$saml_relay_statesArgs<ExtArgs>;
    _count?: boolean | Prisma.Flow_stateCountOutputTypeDefaultArgs<ExtArgs>;
};
export type flow_stateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type flow_stateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type $flow_statePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "flow_state";
    objects: {
        saml_relay_states: Prisma.$saml_relay_statesPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: string;
        user_id: string | null;
        auth_code: string | null;
        code_challenge_method: $Enums.code_challenge_method | null;
        code_challenge: string | null;
        provider_type: string;
        provider_access_token: string | null;
        provider_refresh_token: string | null;
        created_at: Date | null;
        updated_at: Date | null;
        authentication_method: string;
        auth_code_issued_at: Date | null;
        invite_token: string | null;
        referrer: string | null;
        oauth_client_state_id: string | null;
        linking_target_id: string | null;
        email_optional: boolean;
    }, ExtArgs["result"]["flow_state"]>;
    composites: {};
};
export type flow_stateGetPayload<S extends boolean | null | undefined | flow_stateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$flow_statePayload, S>;
export type flow_stateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<flow_stateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Flow_stateCountAggregateInputType | true;
};
export interface flow_stateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['flow_state'];
        meta: {
            name: 'flow_state';
        };
    };
    /**
     * Find zero or one Flow_state that matches the filter.
     * @param {flow_stateFindUniqueArgs} args - Arguments to find a Flow_state
     * @example
     * // Get one Flow_state
     * const flow_state = await prisma.flow_state.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends flow_stateFindUniqueArgs>(args: Prisma.SelectSubset<T, flow_stateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Flow_state that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {flow_stateFindUniqueOrThrowArgs} args - Arguments to find a Flow_state
     * @example
     * // Get one Flow_state
     * const flow_state = await prisma.flow_state.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends flow_stateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, flow_stateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Flow_state that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateFindFirstArgs} args - Arguments to find a Flow_state
     * @example
     * // Get one Flow_state
     * const flow_state = await prisma.flow_state.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends flow_stateFindFirstArgs>(args?: Prisma.SelectSubset<T, flow_stateFindFirstArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Flow_state that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateFindFirstOrThrowArgs} args - Arguments to find a Flow_state
     * @example
     * // Get one Flow_state
     * const flow_state = await prisma.flow_state.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends flow_stateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, flow_stateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Flow_states that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Flow_states
     * const flow_states = await prisma.flow_state.findMany()
     *
     * // Get first 10 Flow_states
     * const flow_states = await prisma.flow_state.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const flow_stateWithIdOnly = await prisma.flow_state.findMany({ select: { id: true } })
     *
     */
    findMany<T extends flow_stateFindManyArgs>(args?: Prisma.SelectSubset<T, flow_stateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Flow_state.
     * @param {flow_stateCreateArgs} args - Arguments to create a Flow_state.
     * @example
     * // Create one Flow_state
     * const Flow_state = await prisma.flow_state.create({
     *   data: {
     *     // ... data to create a Flow_state
     *   }
     * })
     *
     */
    create<T extends flow_stateCreateArgs>(args: Prisma.SelectSubset<T, flow_stateCreateArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Flow_states.
     * @param {flow_stateCreateManyArgs} args - Arguments to create many Flow_states.
     * @example
     * // Create many Flow_states
     * const flow_state = await prisma.flow_state.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends flow_stateCreateManyArgs>(args?: Prisma.SelectSubset<T, flow_stateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Flow_states and returns the data saved in the database.
     * @param {flow_stateCreateManyAndReturnArgs} args - Arguments to create many Flow_states.
     * @example
     * // Create many Flow_states
     * const flow_state = await prisma.flow_state.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Flow_states and only return the `id`
     * const flow_stateWithIdOnly = await prisma.flow_state.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends flow_stateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, flow_stateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Flow_state.
     * @param {flow_stateDeleteArgs} args - Arguments to delete one Flow_state.
     * @example
     * // Delete one Flow_state
     * const Flow_state = await prisma.flow_state.delete({
     *   where: {
     *     // ... filter to delete one Flow_state
     *   }
     * })
     *
     */
    delete<T extends flow_stateDeleteArgs>(args: Prisma.SelectSubset<T, flow_stateDeleteArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Flow_state.
     * @param {flow_stateUpdateArgs} args - Arguments to update one Flow_state.
     * @example
     * // Update one Flow_state
     * const flow_state = await prisma.flow_state.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends flow_stateUpdateArgs>(args: Prisma.SelectSubset<T, flow_stateUpdateArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Flow_states.
     * @param {flow_stateDeleteManyArgs} args - Arguments to filter Flow_states to delete.
     * @example
     * // Delete a few Flow_states
     * const { count } = await prisma.flow_state.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends flow_stateDeleteManyArgs>(args?: Prisma.SelectSubset<T, flow_stateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Flow_states.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Flow_states
     * const flow_state = await prisma.flow_state.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends flow_stateUpdateManyArgs>(args: Prisma.SelectSubset<T, flow_stateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Flow_states and returns the data updated in the database.
     * @param {flow_stateUpdateManyAndReturnArgs} args - Arguments to update many Flow_states.
     * @example
     * // Update many Flow_states
     * const flow_state = await prisma.flow_state.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Flow_states and only return the `id`
     * const flow_stateWithIdOnly = await prisma.flow_state.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends flow_stateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, flow_stateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Flow_state.
     * @param {flow_stateUpsertArgs} args - Arguments to update or create a Flow_state.
     * @example
     * // Update or create a Flow_state
     * const flow_state = await prisma.flow_state.upsert({
     *   create: {
     *     // ... data to create a Flow_state
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Flow_state we want to update
     *   }
     * })
     */
    upsert<T extends flow_stateUpsertArgs>(args: Prisma.SelectSubset<T, flow_stateUpsertArgs<ExtArgs>>): Prisma.Prisma__flow_stateClient<runtime.Types.Result.GetResult<Prisma.$flow_statePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Flow_states.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateCountArgs} args - Arguments to filter Flow_states to count.
     * @example
     * // Count the number of Flow_states
     * const count = await prisma.flow_state.count({
     *   where: {
     *     // ... the filter for the Flow_states we want to count
     *   }
     * })
    **/
    count<T extends flow_stateCountArgs>(args?: Prisma.Subset<T, flow_stateCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Flow_stateCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Flow_state.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Flow_stateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Flow_stateAggregateArgs>(args: Prisma.Subset<T, Flow_stateAggregateArgs>): Prisma.PrismaPromise<GetFlow_stateAggregateType<T>>;
    /**
     * Group by Flow_state.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {flow_stateGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     *
    **/
    groupBy<T extends flow_stateGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: flow_stateGroupByArgs['orderBy'];
    } : {
        orderBy?: flow_stateGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, flow_stateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFlow_stateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the flow_state model
     */
    readonly fields: flow_stateFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for flow_state.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__flow_stateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    saml_relay_states<T extends Prisma.flow_state$saml_relay_statesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.flow_state$saml_relay_statesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$saml_relay_statesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the flow_state model
 */
export interface flow_stateFieldRefs {
    readonly id: Prisma.FieldRef<"flow_state", 'String'>;
    readonly user_id: Prisma.FieldRef<"flow_state", 'String'>;
    readonly auth_code: Prisma.FieldRef<"flow_state", 'String'>;
    readonly code_challenge_method: Prisma.FieldRef<"flow_state", 'code_challenge_method'>;
    readonly code_challenge: Prisma.FieldRef<"flow_state", 'String'>;
    readonly provider_type: Prisma.FieldRef<"flow_state", 'String'>;
    readonly provider_access_token: Prisma.FieldRef<"flow_state", 'String'>;
    readonly provider_refresh_token: Prisma.FieldRef<"flow_state", 'String'>;
    readonly created_at: Prisma.FieldRef<"flow_state", 'DateTime'>;
    readonly updated_at: Prisma.FieldRef<"flow_state", 'DateTime'>;
    readonly authentication_method: Prisma.FieldRef<"flow_state", 'String'>;
    readonly auth_code_issued_at: Prisma.FieldRef<"flow_state", 'DateTime'>;
    readonly invite_token: Prisma.FieldRef<"flow_state", 'String'>;
    readonly referrer: Prisma.FieldRef<"flow_state", 'String'>;
    readonly oauth_client_state_id: Prisma.FieldRef<"flow_state", 'String'>;
    readonly linking_target_id: Prisma.FieldRef<"flow_state", 'String'>;
    readonly email_optional: Prisma.FieldRef<"flow_state", 'Boolean'>;
}
/**
 * flow_state findUnique
 */
export type flow_stateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter, which flow_state to fetch.
     */
    where: Prisma.flow_stateWhereUniqueInput;
};
/**
 * flow_state findUniqueOrThrow
 */
export type flow_stateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter, which flow_state to fetch.
     */
    where: Prisma.flow_stateWhereUniqueInput;
};
/**
 * flow_state findFirst
 */
export type flow_stateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter, which flow_state to fetch.
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of flow_states to fetch.
     */
    orderBy?: Prisma.flow_stateOrderByWithRelationInput | Prisma.flow_stateOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for flow_states.
     */
    cursor?: Prisma.flow_stateWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` flow_states from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` flow_states.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of flow_states.
     */
    distinct?: Prisma.Flow_stateScalarFieldEnum | Prisma.Flow_stateScalarFieldEnum[];
};
/**
 * flow_state findFirstOrThrow
 */
export type flow_stateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter, which flow_state to fetch.
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of flow_states to fetch.
     */
    orderBy?: Prisma.flow_stateOrderByWithRelationInput | Prisma.flow_stateOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for flow_states.
     */
    cursor?: Prisma.flow_stateWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` flow_states from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` flow_states.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of flow_states.
     */
    distinct?: Prisma.Flow_stateScalarFieldEnum | Prisma.Flow_stateScalarFieldEnum[];
};
/**
 * flow_state findMany
 */
export type flow_stateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter, which flow_states to fetch.
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of flow_states to fetch.
     */
    orderBy?: Prisma.flow_stateOrderByWithRelationInput | Prisma.flow_stateOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing flow_states.
     */
    cursor?: Prisma.flow_stateWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` flow_states from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` flow_states.
     */
    skip?: number;
    distinct?: Prisma.Flow_stateScalarFieldEnum | Prisma.Flow_stateScalarFieldEnum[];
};
/**
 * flow_state create
 */
export type flow_stateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * The data needed to create a flow_state.
     */
    data: Prisma.XOR<Prisma.flow_stateCreateInput, Prisma.flow_stateUncheckedCreateInput>;
};
/**
 * flow_state createMany
 */
export type flow_stateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many flow_states.
     */
    data: Prisma.flow_stateCreateManyInput | Prisma.flow_stateCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * flow_state createManyAndReturn
 */
export type flow_stateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * The data used to create many flow_states.
     */
    data: Prisma.flow_stateCreateManyInput | Prisma.flow_stateCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * flow_state update
 */
export type flow_stateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * The data needed to update a flow_state.
     */
    data: Prisma.XOR<Prisma.flow_stateUpdateInput, Prisma.flow_stateUncheckedUpdateInput>;
    /**
     * Choose, which flow_state to update.
     */
    where: Prisma.flow_stateWhereUniqueInput;
};
/**
 * flow_state updateMany
 */
export type flow_stateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update flow_states.
     */
    data: Prisma.XOR<Prisma.flow_stateUpdateManyMutationInput, Prisma.flow_stateUncheckedUpdateManyInput>;
    /**
     * Filter which flow_states to update
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * Limit how many flow_states to update.
     */
    limit?: number;
};
/**
 * flow_state updateManyAndReturn
 */
export type flow_stateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * The data used to update flow_states.
     */
    data: Prisma.XOR<Prisma.flow_stateUpdateManyMutationInput, Prisma.flow_stateUncheckedUpdateManyInput>;
    /**
     * Filter which flow_states to update
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * Limit how many flow_states to update.
     */
    limit?: number;
};
/**
 * flow_state upsert
 */
export type flow_stateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * The filter to search for the flow_state to update in case it exists.
     */
    where: Prisma.flow_stateWhereUniqueInput;
    /**
     * In case the flow_state found by the `where` argument doesn't exist, create a new flow_state with this data.
     */
    create: Prisma.XOR<Prisma.flow_stateCreateInput, Prisma.flow_stateUncheckedCreateInput>;
    /**
     * In case the flow_state was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.flow_stateUpdateInput, Prisma.flow_stateUncheckedUpdateInput>;
};
/**
 * flow_state delete
 */
export type flow_stateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
    /**
     * Filter which flow_state to delete.
     */
    where: Prisma.flow_stateWhereUniqueInput;
};
/**
 * flow_state deleteMany
 */
export type flow_stateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which flow_states to delete
     */
    where?: Prisma.flow_stateWhereInput;
    /**
     * Limit how many flow_states to delete.
     */
    limit?: number;
};
/**
 * flow_state.saml_relay_states
 */
export type flow_state$saml_relay_statesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the saml_relay_states
     */
    select?: Prisma.saml_relay_statesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the saml_relay_states
     */
    omit?: Prisma.saml_relay_statesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.saml_relay_statesInclude<ExtArgs> | null;
    where?: Prisma.saml_relay_statesWhereInput;
    orderBy?: Prisma.saml_relay_statesOrderByWithRelationInput | Prisma.saml_relay_statesOrderByWithRelationInput[];
    cursor?: Prisma.saml_relay_statesWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Saml_relay_statesScalarFieldEnum | Prisma.Saml_relay_statesScalarFieldEnum[];
};
/**
 * flow_state without action
 */
export type flow_stateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the flow_state
     */
    select?: Prisma.flow_stateSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the flow_state
     */
    omit?: Prisma.flow_stateOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.flow_stateInclude<ExtArgs> | null;
};
export {};
