import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model radios_departments
 * 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 radios_departmentsModel = runtime.Types.Result.DefaultSelection<Prisma.$radios_departmentsPayload>;
export type AggregateRadios_departments = {
    _count: Radios_departmentsCountAggregateOutputType | null;
    _avg: Radios_departmentsAvgAggregateOutputType | null;
    _sum: Radios_departmentsSumAggregateOutputType | null;
    _min: Radios_departmentsMinAggregateOutputType | null;
    _max: Radios_departmentsMaxAggregateOutputType | null;
};
export type Radios_departmentsAvgAggregateOutputType = {
    id: number | null;
    radios_id: number | null;
    departments_id: number | null;
};
export type Radios_departmentsSumAggregateOutputType = {
    id: number | null;
    radios_id: number | null;
    departments_id: number | null;
};
export type Radios_departmentsMinAggregateOutputType = {
    id: number | null;
    radios_id: number | null;
    departments_id: number | null;
};
export type Radios_departmentsMaxAggregateOutputType = {
    id: number | null;
    radios_id: number | null;
    departments_id: number | null;
};
export type Radios_departmentsCountAggregateOutputType = {
    id: number;
    radios_id: number;
    departments_id: number;
    _all: number;
};
export type Radios_departmentsAvgAggregateInputType = {
    id?: true;
    radios_id?: true;
    departments_id?: true;
};
export type Radios_departmentsSumAggregateInputType = {
    id?: true;
    radios_id?: true;
    departments_id?: true;
};
export type Radios_departmentsMinAggregateInputType = {
    id?: true;
    radios_id?: true;
    departments_id?: true;
};
export type Radios_departmentsMaxAggregateInputType = {
    id?: true;
    radios_id?: true;
    departments_id?: true;
};
export type Radios_departmentsCountAggregateInputType = {
    id?: true;
    radios_id?: true;
    departments_id?: true;
    _all?: true;
};
export type Radios_departmentsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which radios_departments to aggregate.
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of radios_departments to fetch.
     */
    orderBy?: Prisma.radios_departmentsOrderByWithRelationInput | Prisma.radios_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.radios_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` radios_departments 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` radios_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned radios_departments
    **/
    _count?: true | Radios_departmentsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Radios_departmentsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Radios_departmentsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Radios_departmentsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Radios_departmentsMaxAggregateInputType;
};
export type GetRadios_departmentsAggregateType<T extends Radios_departmentsAggregateArgs> = {
    [P in keyof T & keyof AggregateRadios_departments]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRadios_departments[P]> : Prisma.GetScalarType<T[P], AggregateRadios_departments[P]>;
};
export type radios_departmentsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.radios_departmentsWhereInput;
    orderBy?: Prisma.radios_departmentsOrderByWithAggregationInput | Prisma.radios_departmentsOrderByWithAggregationInput[];
    by: Prisma.Radios_departmentsScalarFieldEnum[] | Prisma.Radios_departmentsScalarFieldEnum;
    having?: Prisma.radios_departmentsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Radios_departmentsCountAggregateInputType | true;
    _avg?: Radios_departmentsAvgAggregateInputType;
    _sum?: Radios_departmentsSumAggregateInputType;
    _min?: Radios_departmentsMinAggregateInputType;
    _max?: Radios_departmentsMaxAggregateInputType;
};
export type Radios_departmentsGroupByOutputType = {
    id: number;
    radios_id: number | null;
    departments_id: number | null;
    _count: Radios_departmentsCountAggregateOutputType | null;
    _avg: Radios_departmentsAvgAggregateOutputType | null;
    _sum: Radios_departmentsSumAggregateOutputType | null;
    _min: Radios_departmentsMinAggregateOutputType | null;
    _max: Radios_departmentsMaxAggregateOutputType | null;
};
type GetRadios_departmentsGroupByPayload<T extends radios_departmentsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Radios_departmentsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Radios_departmentsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Radios_departmentsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Radios_departmentsGroupByOutputType[P]>;
}>>;
export type radios_departmentsWhereInput = {
    AND?: Prisma.radios_departmentsWhereInput | Prisma.radios_departmentsWhereInput[];
    OR?: Prisma.radios_departmentsWhereInput[];
    NOT?: Prisma.radios_departmentsWhereInput | Prisma.radios_departmentsWhereInput[];
    id?: Prisma.IntFilter<"radios_departments"> | number;
    radios_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
    departments_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
    radios?: Prisma.XOR<Prisma.RadiosNullableScalarRelationFilter, Prisma.radiosWhereInput> | null;
};
export type radios_departmentsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments?: Prisma.departmentsOrderByWithRelationInput;
    radios?: Prisma.radiosOrderByWithRelationInput;
};
export type radios_departmentsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.radios_departmentsWhereInput | Prisma.radios_departmentsWhereInput[];
    OR?: Prisma.radios_departmentsWhereInput[];
    NOT?: Prisma.radios_departmentsWhereInput | Prisma.radios_departmentsWhereInput[];
    radios_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
    departments_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
    radios?: Prisma.XOR<Prisma.RadiosNullableScalarRelationFilter, Prisma.radiosWhereInput> | null;
}, "id">;
export type radios_departmentsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.radios_departmentsCountOrderByAggregateInput;
    _avg?: Prisma.radios_departmentsAvgOrderByAggregateInput;
    _max?: Prisma.radios_departmentsMaxOrderByAggregateInput;
    _min?: Prisma.radios_departmentsMinOrderByAggregateInput;
    _sum?: Prisma.radios_departmentsSumOrderByAggregateInput;
};
export type radios_departmentsScalarWhereWithAggregatesInput = {
    AND?: Prisma.radios_departmentsScalarWhereWithAggregatesInput | Prisma.radios_departmentsScalarWhereWithAggregatesInput[];
    OR?: Prisma.radios_departmentsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.radios_departmentsScalarWhereWithAggregatesInput | Prisma.radios_departmentsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"radios_departments"> | number;
    radios_id?: Prisma.IntNullableWithAggregatesFilter<"radios_departments"> | number | null;
    departments_id?: Prisma.IntNullableWithAggregatesFilter<"radios_departments"> | number | null;
};
export type radios_departmentsCreateInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutRadios_departmentsInput;
    radios?: Prisma.radiosCreateNestedOneWithoutRadios_departmentsInput;
};
export type radios_departmentsUncheckedCreateInput = {
    id?: number;
    radios_id?: number | null;
    departments_id?: number | null;
};
export type radios_departmentsUpdateInput = {
    departments?: Prisma.departmentsUpdateOneWithoutRadios_departmentsNestedInput;
    radios?: Prisma.radiosUpdateOneWithoutRadios_departmentsNestedInput;
};
export type radios_departmentsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    radios_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type radios_departmentsCreateManyInput = {
    id?: number;
    radios_id?: number | null;
    departments_id?: number | null;
};
export type radios_departmentsUpdateManyMutationInput = {};
export type radios_departmentsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    radios_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Radios_departmentsListRelationFilter = {
    every?: Prisma.radios_departmentsWhereInput;
    some?: Prisma.radios_departmentsWhereInput;
    none?: Prisma.radios_departmentsWhereInput;
};
export type radios_departmentsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type radios_departmentsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type radios_departmentsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type radios_departmentsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type radios_departmentsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type radios_departmentsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    radios_id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type radios_departmentsCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.radios_departmentsCreateWithoutDepartmentsInput[] | Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.radios_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
};
export type radios_departmentsUncheckedCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.radios_departmentsCreateWithoutDepartmentsInput[] | Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.radios_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
};
export type radios_departmentsUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.radios_departmentsCreateWithoutDepartmentsInput[] | Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.radios_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.radios_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.radios_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    disconnect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    delete?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    update?: Prisma.radios_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.radios_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.radios_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.radios_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
};
export type radios_departmentsUncheckedUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.radios_departmentsCreateWithoutDepartmentsInput[] | Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.radios_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.radios_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.radios_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.radios_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    disconnect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    delete?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    update?: Prisma.radios_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.radios_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.radios_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.radios_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
};
export type radios_departmentsCreateNestedManyWithoutRadiosInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput> | Prisma.radios_departmentsCreateWithoutRadiosInput[] | Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput | Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput[];
    createMany?: Prisma.radios_departmentsCreateManyRadiosInputEnvelope;
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
};
export type radios_departmentsUncheckedCreateNestedManyWithoutRadiosInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput> | Prisma.radios_departmentsCreateWithoutRadiosInput[] | Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput | Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput[];
    createMany?: Prisma.radios_departmentsCreateManyRadiosInputEnvelope;
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
};
export type radios_departmentsUpdateManyWithoutRadiosNestedInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput> | Prisma.radios_departmentsCreateWithoutRadiosInput[] | Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput | Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput[];
    upsert?: Prisma.radios_departmentsUpsertWithWhereUniqueWithoutRadiosInput | Prisma.radios_departmentsUpsertWithWhereUniqueWithoutRadiosInput[];
    createMany?: Prisma.radios_departmentsCreateManyRadiosInputEnvelope;
    set?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    disconnect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    delete?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    update?: Prisma.radios_departmentsUpdateWithWhereUniqueWithoutRadiosInput | Prisma.radios_departmentsUpdateWithWhereUniqueWithoutRadiosInput[];
    updateMany?: Prisma.radios_departmentsUpdateManyWithWhereWithoutRadiosInput | Prisma.radios_departmentsUpdateManyWithWhereWithoutRadiosInput[];
    deleteMany?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
};
export type radios_departmentsUncheckedUpdateManyWithoutRadiosNestedInput = {
    create?: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput> | Prisma.radios_departmentsCreateWithoutRadiosInput[] | Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput[];
    connectOrCreate?: Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput | Prisma.radios_departmentsCreateOrConnectWithoutRadiosInput[];
    upsert?: Prisma.radios_departmentsUpsertWithWhereUniqueWithoutRadiosInput | Prisma.radios_departmentsUpsertWithWhereUniqueWithoutRadiosInput[];
    createMany?: Prisma.radios_departmentsCreateManyRadiosInputEnvelope;
    set?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    disconnect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    delete?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    connect?: Prisma.radios_departmentsWhereUniqueInput | Prisma.radios_departmentsWhereUniqueInput[];
    update?: Prisma.radios_departmentsUpdateWithWhereUniqueWithoutRadiosInput | Prisma.radios_departmentsUpdateWithWhereUniqueWithoutRadiosInput[];
    updateMany?: Prisma.radios_departmentsUpdateManyWithWhereWithoutRadiosInput | Prisma.radios_departmentsUpdateManyWithWhereWithoutRadiosInput[];
    deleteMany?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
};
export type radios_departmentsCreateWithoutDepartmentsInput = {
    radios?: Prisma.radiosCreateNestedOneWithoutRadios_departmentsInput;
};
export type radios_departmentsUncheckedCreateWithoutDepartmentsInput = {
    id?: number;
    radios_id?: number | null;
};
export type radios_departmentsCreateOrConnectWithoutDepartmentsInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    create: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type radios_departmentsCreateManyDepartmentsInputEnvelope = {
    data: Prisma.radios_departmentsCreateManyDepartmentsInput | Prisma.radios_departmentsCreateManyDepartmentsInput[];
    skipDuplicates?: boolean;
};
export type radios_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    update: Prisma.XOR<Prisma.radios_departmentsUpdateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedUpdateWithoutDepartmentsInput>;
    create: Prisma.XOR<Prisma.radios_departmentsCreateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type radios_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    data: Prisma.XOR<Prisma.radios_departmentsUpdateWithoutDepartmentsInput, Prisma.radios_departmentsUncheckedUpdateWithoutDepartmentsInput>;
};
export type radios_departmentsUpdateManyWithWhereWithoutDepartmentsInput = {
    where: Prisma.radios_departmentsScalarWhereInput;
    data: Prisma.XOR<Prisma.radios_departmentsUpdateManyMutationInput, Prisma.radios_departmentsUncheckedUpdateManyWithoutDepartmentsInput>;
};
export type radios_departmentsScalarWhereInput = {
    AND?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
    OR?: Prisma.radios_departmentsScalarWhereInput[];
    NOT?: Prisma.radios_departmentsScalarWhereInput | Prisma.radios_departmentsScalarWhereInput[];
    id?: Prisma.IntFilter<"radios_departments"> | number;
    radios_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
    departments_id?: Prisma.IntNullableFilter<"radios_departments"> | number | null;
};
export type radios_departmentsCreateWithoutRadiosInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutRadios_departmentsInput;
};
export type radios_departmentsUncheckedCreateWithoutRadiosInput = {
    id?: number;
    departments_id?: number | null;
};
export type radios_departmentsCreateOrConnectWithoutRadiosInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    create: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput>;
};
export type radios_departmentsCreateManyRadiosInputEnvelope = {
    data: Prisma.radios_departmentsCreateManyRadiosInput | Prisma.radios_departmentsCreateManyRadiosInput[];
    skipDuplicates?: boolean;
};
export type radios_departmentsUpsertWithWhereUniqueWithoutRadiosInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    update: Prisma.XOR<Prisma.radios_departmentsUpdateWithoutRadiosInput, Prisma.radios_departmentsUncheckedUpdateWithoutRadiosInput>;
    create: Prisma.XOR<Prisma.radios_departmentsCreateWithoutRadiosInput, Prisma.radios_departmentsUncheckedCreateWithoutRadiosInput>;
};
export type radios_departmentsUpdateWithWhereUniqueWithoutRadiosInput = {
    where: Prisma.radios_departmentsWhereUniqueInput;
    data: Prisma.XOR<Prisma.radios_departmentsUpdateWithoutRadiosInput, Prisma.radios_departmentsUncheckedUpdateWithoutRadiosInput>;
};
export type radios_departmentsUpdateManyWithWhereWithoutRadiosInput = {
    where: Prisma.radios_departmentsScalarWhereInput;
    data: Prisma.XOR<Prisma.radios_departmentsUpdateManyMutationInput, Prisma.radios_departmentsUncheckedUpdateManyWithoutRadiosInput>;
};
export type radios_departmentsCreateManyDepartmentsInput = {
    id?: number;
    radios_id?: number | null;
};
export type radios_departmentsUpdateWithoutDepartmentsInput = {
    radios?: Prisma.radiosUpdateOneWithoutRadios_departmentsNestedInput;
};
export type radios_departmentsUncheckedUpdateWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    radios_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type radios_departmentsUncheckedUpdateManyWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    radios_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type radios_departmentsCreateManyRadiosInput = {
    id?: number;
    departments_id?: number | null;
};
export type radios_departmentsUpdateWithoutRadiosInput = {
    departments?: Prisma.departmentsUpdateOneWithoutRadios_departmentsNestedInput;
};
export type radios_departmentsUncheckedUpdateWithoutRadiosInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type radios_departmentsUncheckedUpdateManyWithoutRadiosInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type radios_departmentsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    radios_id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
}, ExtArgs["result"]["radios_departments"]>;
export type radios_departmentsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    radios_id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
}, ExtArgs["result"]["radios_departments"]>;
export type radios_departmentsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    radios_id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
}, ExtArgs["result"]["radios_departments"]>;
export type radios_departmentsSelectScalar = {
    id?: boolean;
    radios_id?: boolean;
    departments_id?: boolean;
};
export type radios_departmentsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "radios_id" | "departments_id", ExtArgs["result"]["radios_departments"]>;
export type radios_departmentsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
};
export type radios_departmentsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
};
export type radios_departmentsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.radios_departments$departmentsArgs<ExtArgs>;
    radios?: boolean | Prisma.radios_departments$radiosArgs<ExtArgs>;
};
export type $radios_departmentsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "radios_departments";
    objects: {
        departments: Prisma.$departmentsPayload<ExtArgs> | null;
        radios: Prisma.$radiosPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        radios_id: number | null;
        departments_id: number | null;
    }, ExtArgs["result"]["radios_departments"]>;
    composites: {};
};
export type radios_departmentsGetPayload<S extends boolean | null | undefined | radios_departmentsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload, S>;
export type radios_departmentsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<radios_departmentsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Radios_departmentsCountAggregateInputType | true;
};
export interface radios_departmentsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['radios_departments'];
        meta: {
            name: 'radios_departments';
        };
    };
    /**
     * Find zero or one Radios_departments that matches the filter.
     * @param {radios_departmentsFindUniqueArgs} args - Arguments to find a Radios_departments
     * @example
     * // Get one Radios_departments
     * const radios_departments = await prisma.radios_departments.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends radios_departmentsFindUniqueArgs>(args: Prisma.SelectSubset<T, radios_departmentsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Radios_departments that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {radios_departmentsFindUniqueOrThrowArgs} args - Arguments to find a Radios_departments
     * @example
     * // Get one Radios_departments
     * const radios_departments = await prisma.radios_departments.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends radios_departmentsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, radios_departmentsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Radios_departments 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 {radios_departmentsFindFirstArgs} args - Arguments to find a Radios_departments
     * @example
     * // Get one Radios_departments
     * const radios_departments = await prisma.radios_departments.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends radios_departmentsFindFirstArgs>(args?: Prisma.SelectSubset<T, radios_departmentsFindFirstArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Radios_departments 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 {radios_departmentsFindFirstOrThrowArgs} args - Arguments to find a Radios_departments
     * @example
     * // Get one Radios_departments
     * const radios_departments = await prisma.radios_departments.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends radios_departmentsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, radios_departmentsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Radios_departments 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 {radios_departmentsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Radios_departments
     * const radios_departments = await prisma.radios_departments.findMany()
     *
     * // Get first 10 Radios_departments
     * const radios_departments = await prisma.radios_departments.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const radios_departmentsWithIdOnly = await prisma.radios_departments.findMany({ select: { id: true } })
     *
     */
    findMany<T extends radios_departmentsFindManyArgs>(args?: Prisma.SelectSubset<T, radios_departmentsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Radios_departments.
     * @param {radios_departmentsCreateArgs} args - Arguments to create a Radios_departments.
     * @example
     * // Create one Radios_departments
     * const Radios_departments = await prisma.radios_departments.create({
     *   data: {
     *     // ... data to create a Radios_departments
     *   }
     * })
     *
     */
    create<T extends radios_departmentsCreateArgs>(args: Prisma.SelectSubset<T, radios_departmentsCreateArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Radios_departments.
     * @param {radios_departmentsCreateManyArgs} args - Arguments to create many Radios_departments.
     * @example
     * // Create many Radios_departments
     * const radios_departments = await prisma.radios_departments.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends radios_departmentsCreateManyArgs>(args?: Prisma.SelectSubset<T, radios_departmentsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Radios_departments and returns the data saved in the database.
     * @param {radios_departmentsCreateManyAndReturnArgs} args - Arguments to create many Radios_departments.
     * @example
     * // Create many Radios_departments
     * const radios_departments = await prisma.radios_departments.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Radios_departments and only return the `id`
     * const radios_departmentsWithIdOnly = await prisma.radios_departments.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 radios_departmentsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, radios_departmentsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Radios_departments.
     * @param {radios_departmentsDeleteArgs} args - Arguments to delete one Radios_departments.
     * @example
     * // Delete one Radios_departments
     * const Radios_departments = await prisma.radios_departments.delete({
     *   where: {
     *     // ... filter to delete one Radios_departments
     *   }
     * })
     *
     */
    delete<T extends radios_departmentsDeleteArgs>(args: Prisma.SelectSubset<T, radios_departmentsDeleteArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Radios_departments.
     * @param {radios_departmentsUpdateArgs} args - Arguments to update one Radios_departments.
     * @example
     * // Update one Radios_departments
     * const radios_departments = await prisma.radios_departments.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends radios_departmentsUpdateArgs>(args: Prisma.SelectSubset<T, radios_departmentsUpdateArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Radios_departments.
     * @param {radios_departmentsDeleteManyArgs} args - Arguments to filter Radios_departments to delete.
     * @example
     * // Delete a few Radios_departments
     * const { count } = await prisma.radios_departments.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends radios_departmentsDeleteManyArgs>(args?: Prisma.SelectSubset<T, radios_departmentsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Radios_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {radios_departmentsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Radios_departments
     * const radios_departments = await prisma.radios_departments.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends radios_departmentsUpdateManyArgs>(args: Prisma.SelectSubset<T, radios_departmentsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Radios_departments and returns the data updated in the database.
     * @param {radios_departmentsUpdateManyAndReturnArgs} args - Arguments to update many Radios_departments.
     * @example
     * // Update many Radios_departments
     * const radios_departments = await prisma.radios_departments.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Radios_departments and only return the `id`
     * const radios_departmentsWithIdOnly = await prisma.radios_departments.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 radios_departmentsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, radios_departmentsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Radios_departments.
     * @param {radios_departmentsUpsertArgs} args - Arguments to update or create a Radios_departments.
     * @example
     * // Update or create a Radios_departments
     * const radios_departments = await prisma.radios_departments.upsert({
     *   create: {
     *     // ... data to create a Radios_departments
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Radios_departments we want to update
     *   }
     * })
     */
    upsert<T extends radios_departmentsUpsertArgs>(args: Prisma.SelectSubset<T, radios_departmentsUpsertArgs<ExtArgs>>): Prisma.Prisma__radios_departmentsClient<runtime.Types.Result.GetResult<Prisma.$radios_departmentsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Radios_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {radios_departmentsCountArgs} args - Arguments to filter Radios_departments to count.
     * @example
     * // Count the number of Radios_departments
     * const count = await prisma.radios_departments.count({
     *   where: {
     *     // ... the filter for the Radios_departments we want to count
     *   }
     * })
    **/
    count<T extends radios_departmentsCountArgs>(args?: Prisma.Subset<T, radios_departmentsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Radios_departmentsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Radios_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Radios_departmentsAggregateArgs} 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 Radios_departmentsAggregateArgs>(args: Prisma.Subset<T, Radios_departmentsAggregateArgs>): Prisma.PrismaPromise<GetRadios_departmentsAggregateType<T>>;
    /**
     * Group by Radios_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {radios_departmentsGroupByArgs} 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 radios_departmentsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: radios_departmentsGroupByArgs['orderBy'];
    } : {
        orderBy?: radios_departmentsGroupByArgs['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, radios_departmentsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRadios_departmentsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the radios_departments model
     */
    readonly fields: radios_departmentsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for radios_departments.
 * 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__radios_departmentsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    departments<T extends Prisma.radios_departments$departmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.radios_departments$departmentsArgs<ExtArgs>>): Prisma.Prisma__departmentsClient<runtime.Types.Result.GetResult<Prisma.$departmentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    radios<T extends Prisma.radios_departments$radiosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.radios_departments$radiosArgs<ExtArgs>>): Prisma.Prisma__radiosClient<runtime.Types.Result.GetResult<Prisma.$radiosPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * 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 radios_departments model
 */
export interface radios_departmentsFieldRefs {
    readonly id: Prisma.FieldRef<"radios_departments", 'Int'>;
    readonly radios_id: Prisma.FieldRef<"radios_departments", 'Int'>;
    readonly departments_id: Prisma.FieldRef<"radios_departments", 'Int'>;
}
/**
 * radios_departments findUnique
 */
export type radios_departmentsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which radios_departments to fetch.
     */
    where: Prisma.radios_departmentsWhereUniqueInput;
};
/**
 * radios_departments findUniqueOrThrow
 */
export type radios_departmentsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which radios_departments to fetch.
     */
    where: Prisma.radios_departmentsWhereUniqueInput;
};
/**
 * radios_departments findFirst
 */
export type radios_departmentsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which radios_departments to fetch.
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of radios_departments to fetch.
     */
    orderBy?: Prisma.radios_departmentsOrderByWithRelationInput | Prisma.radios_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for radios_departments.
     */
    cursor?: Prisma.radios_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` radios_departments 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` radios_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of radios_departments.
     */
    distinct?: Prisma.Radios_departmentsScalarFieldEnum | Prisma.Radios_departmentsScalarFieldEnum[];
};
/**
 * radios_departments findFirstOrThrow
 */
export type radios_departmentsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which radios_departments to fetch.
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of radios_departments to fetch.
     */
    orderBy?: Prisma.radios_departmentsOrderByWithRelationInput | Prisma.radios_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for radios_departments.
     */
    cursor?: Prisma.radios_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` radios_departments 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` radios_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of radios_departments.
     */
    distinct?: Prisma.Radios_departmentsScalarFieldEnum | Prisma.Radios_departmentsScalarFieldEnum[];
};
/**
 * radios_departments findMany
 */
export type radios_departmentsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which radios_departments to fetch.
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of radios_departments to fetch.
     */
    orderBy?: Prisma.radios_departmentsOrderByWithRelationInput | Prisma.radios_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing radios_departments.
     */
    cursor?: Prisma.radios_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` radios_departments 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` radios_departments.
     */
    skip?: number;
    distinct?: Prisma.Radios_departmentsScalarFieldEnum | Prisma.Radios_departmentsScalarFieldEnum[];
};
/**
 * radios_departments create
 */
export type radios_departmentsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to create a radios_departments.
     */
    data?: Prisma.XOR<Prisma.radios_departmentsCreateInput, Prisma.radios_departmentsUncheckedCreateInput>;
};
/**
 * radios_departments createMany
 */
export type radios_departmentsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many radios_departments.
     */
    data: Prisma.radios_departmentsCreateManyInput | Prisma.radios_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * radios_departments createManyAndReturn
 */
export type radios_departmentsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to create many radios_departments.
     */
    data: Prisma.radios_departmentsCreateManyInput | Prisma.radios_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * radios_departments update
 */
export type radios_departmentsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to update a radios_departments.
     */
    data: Prisma.XOR<Prisma.radios_departmentsUpdateInput, Prisma.radios_departmentsUncheckedUpdateInput>;
    /**
     * Choose, which radios_departments to update.
     */
    where: Prisma.radios_departmentsWhereUniqueInput;
};
/**
 * radios_departments updateMany
 */
export type radios_departmentsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update radios_departments.
     */
    data: Prisma.XOR<Prisma.radios_departmentsUpdateManyMutationInput, Prisma.radios_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which radios_departments to update
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * Limit how many radios_departments to update.
     */
    limit?: number;
};
/**
 * radios_departments updateManyAndReturn
 */
export type radios_departmentsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to update radios_departments.
     */
    data: Prisma.XOR<Prisma.radios_departmentsUpdateManyMutationInput, Prisma.radios_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which radios_departments to update
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * Limit how many radios_departments to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * radios_departments upsert
 */
export type radios_departmentsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * The filter to search for the radios_departments to update in case it exists.
     */
    where: Prisma.radios_departmentsWhereUniqueInput;
    /**
     * In case the radios_departments found by the `where` argument doesn't exist, create a new radios_departments with this data.
     */
    create: Prisma.XOR<Prisma.radios_departmentsCreateInput, Prisma.radios_departmentsUncheckedCreateInput>;
    /**
     * In case the radios_departments was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.radios_departmentsUpdateInput, Prisma.radios_departmentsUncheckedUpdateInput>;
};
/**
 * radios_departments delete
 */
export type radios_departmentsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
    /**
     * Filter which radios_departments to delete.
     */
    where: Prisma.radios_departmentsWhereUniqueInput;
};
/**
 * radios_departments deleteMany
 */
export type radios_departmentsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which radios_departments to delete
     */
    where?: Prisma.radios_departmentsWhereInput;
    /**
     * Limit how many radios_departments to delete.
     */
    limit?: number;
};
/**
 * radios_departments.departments
 */
export type radios_departments$departmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments
     */
    select?: Prisma.departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments
     */
    omit?: Prisma.departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departmentsInclude<ExtArgs> | null;
    where?: Prisma.departmentsWhereInput;
};
/**
 * radios_departments.radios
 */
export type radios_departments$radiosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios
     */
    select?: Prisma.radiosSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios
     */
    omit?: Prisma.radiosOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radiosInclude<ExtArgs> | null;
    where?: Prisma.radiosWhereInput;
};
/**
 * radios_departments without action
 */
export type radios_departmentsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the radios_departments
     */
    select?: Prisma.radios_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the radios_departments
     */
    omit?: Prisma.radios_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.radios_departmentsInclude<ExtArgs> | null;
};
export {};
