import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model connections
 * 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 connectionsModel = runtime.Types.Result.DefaultSelection<Prisma.$connectionsPayload>;
export type AggregateConnections = {
    _count: ConnectionsCountAggregateOutputType | null;
    _avg: ConnectionsAvgAggregateOutputType | null;
    _sum: ConnectionsSumAggregateOutputType | null;
    _min: ConnectionsMinAggregateOutputType | null;
    _max: ConnectionsMaxAggregateOutputType | null;
};
export type ConnectionsAvgAggregateOutputType = {
    id: number | null;
};
export type ConnectionsSumAggregateOutputType = {
    id: number | null;
};
export type ConnectionsMinAggregateOutputType = {
    id: number | null;
    date_created: Date | null;
    name: string | null;
    description: string | null;
    connection_type: string | null;
    user_a: string | null;
    recipient: string | null;
};
export type ConnectionsMaxAggregateOutputType = {
    id: number | null;
    date_created: Date | null;
    name: string | null;
    description: string | null;
    connection_type: string | null;
    user_a: string | null;
    recipient: string | null;
};
export type ConnectionsCountAggregateOutputType = {
    id: number;
    date_created: number;
    name: number;
    description: number;
    connection_type: number;
    user_a: number;
    recipient: number;
    _all: number;
};
export type ConnectionsAvgAggregateInputType = {
    id?: true;
};
export type ConnectionsSumAggregateInputType = {
    id?: true;
};
export type ConnectionsMinAggregateInputType = {
    id?: true;
    date_created?: true;
    name?: true;
    description?: true;
    connection_type?: true;
    user_a?: true;
    recipient?: true;
};
export type ConnectionsMaxAggregateInputType = {
    id?: true;
    date_created?: true;
    name?: true;
    description?: true;
    connection_type?: true;
    user_a?: true;
    recipient?: true;
};
export type ConnectionsCountAggregateInputType = {
    id?: true;
    date_created?: true;
    name?: true;
    description?: true;
    connection_type?: true;
    user_a?: true;
    recipient?: true;
    _all?: true;
};
export type ConnectionsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which connections to aggregate.
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of connections to fetch.
     */
    orderBy?: Prisma.connectionsOrderByWithRelationInput | Prisma.connectionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.connectionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` connections 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` connections.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned connections
    **/
    _count?: true | ConnectionsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: ConnectionsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: ConnectionsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: ConnectionsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: ConnectionsMaxAggregateInputType;
};
export type GetConnectionsAggregateType<T extends ConnectionsAggregateArgs> = {
    [P in keyof T & keyof AggregateConnections]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateConnections[P]> : Prisma.GetScalarType<T[P], AggregateConnections[P]>;
};
export type connectionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.connectionsWhereInput;
    orderBy?: Prisma.connectionsOrderByWithAggregationInput | Prisma.connectionsOrderByWithAggregationInput[];
    by: Prisma.ConnectionsScalarFieldEnum[] | Prisma.ConnectionsScalarFieldEnum;
    having?: Prisma.connectionsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: ConnectionsCountAggregateInputType | true;
    _avg?: ConnectionsAvgAggregateInputType;
    _sum?: ConnectionsSumAggregateInputType;
    _min?: ConnectionsMinAggregateInputType;
    _max?: ConnectionsMaxAggregateInputType;
};
export type ConnectionsGroupByOutputType = {
    id: number;
    date_created: Date | null;
    name: string | null;
    description: string | null;
    connection_type: string | null;
    user_a: string | null;
    recipient: string | null;
    _count: ConnectionsCountAggregateOutputType | null;
    _avg: ConnectionsAvgAggregateOutputType | null;
    _sum: ConnectionsSumAggregateOutputType | null;
    _min: ConnectionsMinAggregateOutputType | null;
    _max: ConnectionsMaxAggregateOutputType | null;
};
type GetConnectionsGroupByPayload<T extends connectionsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ConnectionsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof ConnectionsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ConnectionsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ConnectionsGroupByOutputType[P]>;
}>>;
export type connectionsWhereInput = {
    AND?: Prisma.connectionsWhereInput | Prisma.connectionsWhereInput[];
    OR?: Prisma.connectionsWhereInput[];
    NOT?: Prisma.connectionsWhereInput | Prisma.connectionsWhereInput[];
    id?: Prisma.IntFilter<"connections"> | number;
    date_created?: Prisma.DateTimeNullableFilter<"connections"> | Date | string | null;
    name?: Prisma.StringNullableFilter<"connections"> | string | null;
    description?: Prisma.StringNullableFilter<"connections"> | string | null;
    connection_type?: Prisma.StringNullableFilter<"connections"> | string | null;
    user_a?: Prisma.StringNullableFilter<"connections"> | string | null;
    recipient?: Prisma.StringNullableFilter<"connections"> | string | null;
    connections_directus_users?: Prisma.Connections_directus_usersListRelationFilter;
};
export type connectionsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    date_created?: Prisma.SortOrderInput | Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    connection_type?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_a?: Prisma.SortOrderInput | Prisma.SortOrder;
    recipient?: Prisma.SortOrderInput | Prisma.SortOrder;
    connections_directus_users?: Prisma.connections_directus_usersOrderByRelationAggregateInput;
};
export type connectionsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.connectionsWhereInput | Prisma.connectionsWhereInput[];
    OR?: Prisma.connectionsWhereInput[];
    NOT?: Prisma.connectionsWhereInput | Prisma.connectionsWhereInput[];
    date_created?: Prisma.DateTimeNullableFilter<"connections"> | Date | string | null;
    name?: Prisma.StringNullableFilter<"connections"> | string | null;
    description?: Prisma.StringNullableFilter<"connections"> | string | null;
    connection_type?: Prisma.StringNullableFilter<"connections"> | string | null;
    user_a?: Prisma.StringNullableFilter<"connections"> | string | null;
    recipient?: Prisma.StringNullableFilter<"connections"> | string | null;
    connections_directus_users?: Prisma.Connections_directus_usersListRelationFilter;
}, "id">;
export type connectionsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    date_created?: Prisma.SortOrderInput | Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    connection_type?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_a?: Prisma.SortOrderInput | Prisma.SortOrder;
    recipient?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.connectionsCountOrderByAggregateInput;
    _avg?: Prisma.connectionsAvgOrderByAggregateInput;
    _max?: Prisma.connectionsMaxOrderByAggregateInput;
    _min?: Prisma.connectionsMinOrderByAggregateInput;
    _sum?: Prisma.connectionsSumOrderByAggregateInput;
};
export type connectionsScalarWhereWithAggregatesInput = {
    AND?: Prisma.connectionsScalarWhereWithAggregatesInput | Prisma.connectionsScalarWhereWithAggregatesInput[];
    OR?: Prisma.connectionsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.connectionsScalarWhereWithAggregatesInput | Prisma.connectionsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"connections"> | number;
    date_created?: Prisma.DateTimeNullableWithAggregatesFilter<"connections"> | Date | string | null;
    name?: Prisma.StringNullableWithAggregatesFilter<"connections"> | string | null;
    description?: Prisma.StringNullableWithAggregatesFilter<"connections"> | string | null;
    connection_type?: Prisma.StringNullableWithAggregatesFilter<"connections"> | string | null;
    user_a?: Prisma.StringNullableWithAggregatesFilter<"connections"> | string | null;
    recipient?: Prisma.StringNullableWithAggregatesFilter<"connections"> | string | null;
};
export type connectionsCreateInput = {
    date_created?: Date | string | null;
    name?: string | null;
    description?: string | null;
    connection_type?: string | null;
    user_a?: string | null;
    recipient?: string | null;
    connections_directus_users?: Prisma.connections_directus_usersCreateNestedManyWithoutConnectionsInput;
};
export type connectionsUncheckedCreateInput = {
    id?: number;
    date_created?: Date | string | null;
    name?: string | null;
    description?: string | null;
    connection_type?: string | null;
    user_a?: string | null;
    recipient?: string | null;
    connections_directus_users?: Prisma.connections_directus_usersUncheckedCreateNestedManyWithoutConnectionsInput;
};
export type connectionsUpdateInput = {
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connections_directus_users?: Prisma.connections_directus_usersUpdateManyWithoutConnectionsNestedInput;
};
export type connectionsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connections_directus_users?: Prisma.connections_directus_usersUncheckedUpdateManyWithoutConnectionsNestedInput;
};
export type connectionsCreateManyInput = {
    id?: number;
    date_created?: Date | string | null;
    name?: string | null;
    description?: string | null;
    connection_type?: string | null;
    user_a?: string | null;
    recipient?: string | null;
};
export type connectionsUpdateManyMutationInput = {
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type connectionsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type connectionsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    connection_type?: Prisma.SortOrder;
    user_a?: Prisma.SortOrder;
    recipient?: Prisma.SortOrder;
};
export type connectionsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type connectionsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    connection_type?: Prisma.SortOrder;
    user_a?: Prisma.SortOrder;
    recipient?: Prisma.SortOrder;
};
export type connectionsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    date_created?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    connection_type?: Prisma.SortOrder;
    user_a?: Prisma.SortOrder;
    recipient?: Prisma.SortOrder;
};
export type connectionsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type ConnectionsNullableScalarRelationFilter = {
    is?: Prisma.connectionsWhereInput | null;
    isNot?: Prisma.connectionsWhereInput | null;
};
export type connectionsCreateNestedOneWithoutConnections_directus_usersInput = {
    create?: Prisma.XOR<Prisma.connectionsCreateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedCreateWithoutConnections_directus_usersInput>;
    connectOrCreate?: Prisma.connectionsCreateOrConnectWithoutConnections_directus_usersInput;
    connect?: Prisma.connectionsWhereUniqueInput;
};
export type connectionsUpdateOneWithoutConnections_directus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.connectionsCreateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedCreateWithoutConnections_directus_usersInput>;
    connectOrCreate?: Prisma.connectionsCreateOrConnectWithoutConnections_directus_usersInput;
    upsert?: Prisma.connectionsUpsertWithoutConnections_directus_usersInput;
    disconnect?: Prisma.connectionsWhereInput | boolean;
    delete?: Prisma.connectionsWhereInput | boolean;
    connect?: Prisma.connectionsWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.connectionsUpdateToOneWithWhereWithoutConnections_directus_usersInput, Prisma.connectionsUpdateWithoutConnections_directus_usersInput>, Prisma.connectionsUncheckedUpdateWithoutConnections_directus_usersInput>;
};
export type connectionsCreateWithoutConnections_directus_usersInput = {
    date_created?: Date | string | null;
    name?: string | null;
    description?: string | null;
    connection_type?: string | null;
    user_a?: string | null;
    recipient?: string | null;
};
export type connectionsUncheckedCreateWithoutConnections_directus_usersInput = {
    id?: number;
    date_created?: Date | string | null;
    name?: string | null;
    description?: string | null;
    connection_type?: string | null;
    user_a?: string | null;
    recipient?: string | null;
};
export type connectionsCreateOrConnectWithoutConnections_directus_usersInput = {
    where: Prisma.connectionsWhereUniqueInput;
    create: Prisma.XOR<Prisma.connectionsCreateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedCreateWithoutConnections_directus_usersInput>;
};
export type connectionsUpsertWithoutConnections_directus_usersInput = {
    update: Prisma.XOR<Prisma.connectionsUpdateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedUpdateWithoutConnections_directus_usersInput>;
    create: Prisma.XOR<Prisma.connectionsCreateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedCreateWithoutConnections_directus_usersInput>;
    where?: Prisma.connectionsWhereInput;
};
export type connectionsUpdateToOneWithWhereWithoutConnections_directus_usersInput = {
    where?: Prisma.connectionsWhereInput;
    data: Prisma.XOR<Prisma.connectionsUpdateWithoutConnections_directus_usersInput, Prisma.connectionsUncheckedUpdateWithoutConnections_directus_usersInput>;
};
export type connectionsUpdateWithoutConnections_directus_usersInput = {
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type connectionsUncheckedUpdateWithoutConnections_directus_usersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    date_created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    connection_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_a?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    recipient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
/**
 * Count Type ConnectionsCountOutputType
 */
export type ConnectionsCountOutputType = {
    connections_directus_users: number;
};
export type ConnectionsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    connections_directus_users?: boolean | ConnectionsCountOutputTypeCountConnections_directus_usersArgs;
};
/**
 * ConnectionsCountOutputType without action
 */
export type ConnectionsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ConnectionsCountOutputType
     */
    select?: Prisma.ConnectionsCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * ConnectionsCountOutputType without action
 */
export type ConnectionsCountOutputTypeCountConnections_directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.connections_directus_usersWhereInput;
};
export type connectionsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    date_created?: boolean;
    name?: boolean;
    description?: boolean;
    connection_type?: boolean;
    user_a?: boolean;
    recipient?: boolean;
    connections_directus_users?: boolean | Prisma.connections$connections_directus_usersArgs<ExtArgs>;
    _count?: boolean | Prisma.ConnectionsCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["connections"]>;
export type connectionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    date_created?: boolean;
    name?: boolean;
    description?: boolean;
    connection_type?: boolean;
    user_a?: boolean;
    recipient?: boolean;
}, ExtArgs["result"]["connections"]>;
export type connectionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    date_created?: boolean;
    name?: boolean;
    description?: boolean;
    connection_type?: boolean;
    user_a?: boolean;
    recipient?: boolean;
}, ExtArgs["result"]["connections"]>;
export type connectionsSelectScalar = {
    id?: boolean;
    date_created?: boolean;
    name?: boolean;
    description?: boolean;
    connection_type?: boolean;
    user_a?: boolean;
    recipient?: boolean;
};
export type connectionsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "date_created" | "name" | "description" | "connection_type" | "user_a" | "recipient", ExtArgs["result"]["connections"]>;
export type connectionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    connections_directus_users?: boolean | Prisma.connections$connections_directus_usersArgs<ExtArgs>;
    _count?: boolean | Prisma.ConnectionsCountOutputTypeDefaultArgs<ExtArgs>;
};
export type connectionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type connectionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type $connectionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "connections";
    objects: {
        connections_directus_users: Prisma.$connections_directus_usersPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        date_created: Date | null;
        name: string | null;
        description: string | null;
        connection_type: string | null;
        user_a: string | null;
        recipient: string | null;
    }, ExtArgs["result"]["connections"]>;
    composites: {};
};
export type connectionsGetPayload<S extends boolean | null | undefined | connectionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$connectionsPayload, S>;
export type connectionsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<connectionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: ConnectionsCountAggregateInputType | true;
};
export interface connectionsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['connections'];
        meta: {
            name: 'connections';
        };
    };
    /**
     * Find zero or one Connections that matches the filter.
     * @param {connectionsFindUniqueArgs} args - Arguments to find a Connections
     * @example
     * // Get one Connections
     * const connections = await prisma.connections.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends connectionsFindUniqueArgs>(args: Prisma.SelectSubset<T, connectionsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Connections that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {connectionsFindUniqueOrThrowArgs} args - Arguments to find a Connections
     * @example
     * // Get one Connections
     * const connections = await prisma.connections.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends connectionsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, connectionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Connections 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 {connectionsFindFirstArgs} args - Arguments to find a Connections
     * @example
     * // Get one Connections
     * const connections = await prisma.connections.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends connectionsFindFirstArgs>(args?: Prisma.SelectSubset<T, connectionsFindFirstArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Connections 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 {connectionsFindFirstOrThrowArgs} args - Arguments to find a Connections
     * @example
     * // Get one Connections
     * const connections = await prisma.connections.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends connectionsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, connectionsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Connections 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 {connectionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Connections
     * const connections = await prisma.connections.findMany()
     *
     * // Get first 10 Connections
     * const connections = await prisma.connections.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const connectionsWithIdOnly = await prisma.connections.findMany({ select: { id: true } })
     *
     */
    findMany<T extends connectionsFindManyArgs>(args?: Prisma.SelectSubset<T, connectionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Connections.
     * @param {connectionsCreateArgs} args - Arguments to create a Connections.
     * @example
     * // Create one Connections
     * const Connections = await prisma.connections.create({
     *   data: {
     *     // ... data to create a Connections
     *   }
     * })
     *
     */
    create<T extends connectionsCreateArgs>(args: Prisma.SelectSubset<T, connectionsCreateArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Connections.
     * @param {connectionsCreateManyArgs} args - Arguments to create many Connections.
     * @example
     * // Create many Connections
     * const connections = await prisma.connections.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends connectionsCreateManyArgs>(args?: Prisma.SelectSubset<T, connectionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Connections and returns the data saved in the database.
     * @param {connectionsCreateManyAndReturnArgs} args - Arguments to create many Connections.
     * @example
     * // Create many Connections
     * const connections = await prisma.connections.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Connections and only return the `id`
     * const connectionsWithIdOnly = await prisma.connections.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 connectionsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, connectionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Connections.
     * @param {connectionsDeleteArgs} args - Arguments to delete one Connections.
     * @example
     * // Delete one Connections
     * const Connections = await prisma.connections.delete({
     *   where: {
     *     // ... filter to delete one Connections
     *   }
     * })
     *
     */
    delete<T extends connectionsDeleteArgs>(args: Prisma.SelectSubset<T, connectionsDeleteArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Connections.
     * @param {connectionsUpdateArgs} args - Arguments to update one Connections.
     * @example
     * // Update one Connections
     * const connections = await prisma.connections.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends connectionsUpdateArgs>(args: Prisma.SelectSubset<T, connectionsUpdateArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Connections.
     * @param {connectionsDeleteManyArgs} args - Arguments to filter Connections to delete.
     * @example
     * // Delete a few Connections
     * const { count } = await prisma.connections.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends connectionsDeleteManyArgs>(args?: Prisma.SelectSubset<T, connectionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Connections.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {connectionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Connections
     * const connections = await prisma.connections.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends connectionsUpdateManyArgs>(args: Prisma.SelectSubset<T, connectionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Connections and returns the data updated in the database.
     * @param {connectionsUpdateManyAndReturnArgs} args - Arguments to update many Connections.
     * @example
     * // Update many Connections
     * const connections = await prisma.connections.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Connections and only return the `id`
     * const connectionsWithIdOnly = await prisma.connections.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 connectionsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, connectionsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Connections.
     * @param {connectionsUpsertArgs} args - Arguments to update or create a Connections.
     * @example
     * // Update or create a Connections
     * const connections = await prisma.connections.upsert({
     *   create: {
     *     // ... data to create a Connections
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Connections we want to update
     *   }
     * })
     */
    upsert<T extends connectionsUpsertArgs>(args: Prisma.SelectSubset<T, connectionsUpsertArgs<ExtArgs>>): Prisma.Prisma__connectionsClient<runtime.Types.Result.GetResult<Prisma.$connectionsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Connections.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {connectionsCountArgs} args - Arguments to filter Connections to count.
     * @example
     * // Count the number of Connections
     * const count = await prisma.connections.count({
     *   where: {
     *     // ... the filter for the Connections we want to count
     *   }
     * })
    **/
    count<T extends connectionsCountArgs>(args?: Prisma.Subset<T, connectionsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ConnectionsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Connections.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {ConnectionsAggregateArgs} 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 ConnectionsAggregateArgs>(args: Prisma.Subset<T, ConnectionsAggregateArgs>): Prisma.PrismaPromise<GetConnectionsAggregateType<T>>;
    /**
     * Group by Connections.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {connectionsGroupByArgs} 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 connectionsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: connectionsGroupByArgs['orderBy'];
    } : {
        orderBy?: connectionsGroupByArgs['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, connectionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConnectionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the connections model
     */
    readonly fields: connectionsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for connections.
 * 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__connectionsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    connections_directus_users<T extends Prisma.connections$connections_directus_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.connections$connections_directus_usersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$connections_directus_usersPayload<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 connections model
 */
export interface connectionsFieldRefs {
    readonly id: Prisma.FieldRef<"connections", 'Int'>;
    readonly date_created: Prisma.FieldRef<"connections", 'DateTime'>;
    readonly name: Prisma.FieldRef<"connections", 'String'>;
    readonly description: Prisma.FieldRef<"connections", 'String'>;
    readonly connection_type: Prisma.FieldRef<"connections", 'String'>;
    readonly user_a: Prisma.FieldRef<"connections", 'String'>;
    readonly recipient: Prisma.FieldRef<"connections", 'String'>;
}
/**
 * connections findUnique
 */
export type connectionsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter, which connections to fetch.
     */
    where: Prisma.connectionsWhereUniqueInput;
};
/**
 * connections findUniqueOrThrow
 */
export type connectionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter, which connections to fetch.
     */
    where: Prisma.connectionsWhereUniqueInput;
};
/**
 * connections findFirst
 */
export type connectionsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter, which connections to fetch.
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of connections to fetch.
     */
    orderBy?: Prisma.connectionsOrderByWithRelationInput | Prisma.connectionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for connections.
     */
    cursor?: Prisma.connectionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` connections 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` connections.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of connections.
     */
    distinct?: Prisma.ConnectionsScalarFieldEnum | Prisma.ConnectionsScalarFieldEnum[];
};
/**
 * connections findFirstOrThrow
 */
export type connectionsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter, which connections to fetch.
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of connections to fetch.
     */
    orderBy?: Prisma.connectionsOrderByWithRelationInput | Prisma.connectionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for connections.
     */
    cursor?: Prisma.connectionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` connections 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` connections.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of connections.
     */
    distinct?: Prisma.ConnectionsScalarFieldEnum | Prisma.ConnectionsScalarFieldEnum[];
};
/**
 * connections findMany
 */
export type connectionsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter, which connections to fetch.
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of connections to fetch.
     */
    orderBy?: Prisma.connectionsOrderByWithRelationInput | Prisma.connectionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing connections.
     */
    cursor?: Prisma.connectionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` connections 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` connections.
     */
    skip?: number;
    distinct?: Prisma.ConnectionsScalarFieldEnum | Prisma.ConnectionsScalarFieldEnum[];
};
/**
 * connections create
 */
export type connectionsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * The data needed to create a connections.
     */
    data?: Prisma.XOR<Prisma.connectionsCreateInput, Prisma.connectionsUncheckedCreateInput>;
};
/**
 * connections createMany
 */
export type connectionsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many connections.
     */
    data: Prisma.connectionsCreateManyInput | Prisma.connectionsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * connections createManyAndReturn
 */
export type connectionsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * The data used to create many connections.
     */
    data: Prisma.connectionsCreateManyInput | Prisma.connectionsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * connections update
 */
export type connectionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * The data needed to update a connections.
     */
    data: Prisma.XOR<Prisma.connectionsUpdateInput, Prisma.connectionsUncheckedUpdateInput>;
    /**
     * Choose, which connections to update.
     */
    where: Prisma.connectionsWhereUniqueInput;
};
/**
 * connections updateMany
 */
export type connectionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update connections.
     */
    data: Prisma.XOR<Prisma.connectionsUpdateManyMutationInput, Prisma.connectionsUncheckedUpdateManyInput>;
    /**
     * Filter which connections to update
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * Limit how many connections to update.
     */
    limit?: number;
};
/**
 * connections updateManyAndReturn
 */
export type connectionsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * The data used to update connections.
     */
    data: Prisma.XOR<Prisma.connectionsUpdateManyMutationInput, Prisma.connectionsUncheckedUpdateManyInput>;
    /**
     * Filter which connections to update
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * Limit how many connections to update.
     */
    limit?: number;
};
/**
 * connections upsert
 */
export type connectionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * The filter to search for the connections to update in case it exists.
     */
    where: Prisma.connectionsWhereUniqueInput;
    /**
     * In case the connections found by the `where` argument doesn't exist, create a new connections with this data.
     */
    create: Prisma.XOR<Prisma.connectionsCreateInput, Prisma.connectionsUncheckedCreateInput>;
    /**
     * In case the connections was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.connectionsUpdateInput, Prisma.connectionsUncheckedUpdateInput>;
};
/**
 * connections delete
 */
export type connectionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
    /**
     * Filter which connections to delete.
     */
    where: Prisma.connectionsWhereUniqueInput;
};
/**
 * connections deleteMany
 */
export type connectionsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which connections to delete
     */
    where?: Prisma.connectionsWhereInput;
    /**
     * Limit how many connections to delete.
     */
    limit?: number;
};
/**
 * connections.connections_directus_users
 */
export type connections$connections_directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections_directus_users
     */
    select?: Prisma.connections_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections_directus_users
     */
    omit?: Prisma.connections_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connections_directus_usersInclude<ExtArgs> | null;
    where?: Prisma.connections_directus_usersWhereInput;
    orderBy?: Prisma.connections_directus_usersOrderByWithRelationInput | Prisma.connections_directus_usersOrderByWithRelationInput[];
    cursor?: Prisma.connections_directus_usersWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Connections_directus_usersScalarFieldEnum | Prisma.Connections_directus_usersScalarFieldEnum[];
};
/**
 * connections without action
 */
export type connectionsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the connections
     */
    select?: Prisma.connectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the connections
     */
    omit?: Prisma.connectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.connectionsInclude<ExtArgs> | null;
};
export {};
