import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model finance_index_currency
 * 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 finance_index_currencyModel = runtime.Types.Result.DefaultSelection<Prisma.$finance_index_currencyPayload>;
export type AggregateFinance_index_currency = {
    _count: Finance_index_currencyCountAggregateOutputType | null;
    _avg: Finance_index_currencyAvgAggregateOutputType | null;
    _sum: Finance_index_currencySumAggregateOutputType | null;
    _min: Finance_index_currencyMinAggregateOutputType | null;
    _max: Finance_index_currencyMaxAggregateOutputType | null;
};
export type Finance_index_currencyAvgAggregateOutputType = {
    id: number | null;
    finance_index_id: number | null;
    currency_id: number | null;
};
export type Finance_index_currencySumAggregateOutputType = {
    id: number | null;
    finance_index_id: number | null;
    currency_id: number | null;
};
export type Finance_index_currencyMinAggregateOutputType = {
    id: number | null;
    finance_index_id: number | null;
    currency_id: number | null;
};
export type Finance_index_currencyMaxAggregateOutputType = {
    id: number | null;
    finance_index_id: number | null;
    currency_id: number | null;
};
export type Finance_index_currencyCountAggregateOutputType = {
    id: number;
    finance_index_id: number;
    currency_id: number;
    _all: number;
};
export type Finance_index_currencyAvgAggregateInputType = {
    id?: true;
    finance_index_id?: true;
    currency_id?: true;
};
export type Finance_index_currencySumAggregateInputType = {
    id?: true;
    finance_index_id?: true;
    currency_id?: true;
};
export type Finance_index_currencyMinAggregateInputType = {
    id?: true;
    finance_index_id?: true;
    currency_id?: true;
};
export type Finance_index_currencyMaxAggregateInputType = {
    id?: true;
    finance_index_id?: true;
    currency_id?: true;
};
export type Finance_index_currencyCountAggregateInputType = {
    id?: true;
    finance_index_id?: true;
    currency_id?: true;
    _all?: true;
};
export type Finance_index_currencyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which finance_index_currency to aggregate.
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of finance_index_currencies to fetch.
     */
    orderBy?: Prisma.finance_index_currencyOrderByWithRelationInput | Prisma.finance_index_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.finance_index_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` finance_index_currencies 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` finance_index_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned finance_index_currencies
    **/
    _count?: true | Finance_index_currencyCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Finance_index_currencyAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Finance_index_currencySumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Finance_index_currencyMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Finance_index_currencyMaxAggregateInputType;
};
export type GetFinance_index_currencyAggregateType<T extends Finance_index_currencyAggregateArgs> = {
    [P in keyof T & keyof AggregateFinance_index_currency]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFinance_index_currency[P]> : Prisma.GetScalarType<T[P], AggregateFinance_index_currency[P]>;
};
export type finance_index_currencyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.finance_index_currencyWhereInput;
    orderBy?: Prisma.finance_index_currencyOrderByWithAggregationInput | Prisma.finance_index_currencyOrderByWithAggregationInput[];
    by: Prisma.Finance_index_currencyScalarFieldEnum[] | Prisma.Finance_index_currencyScalarFieldEnum;
    having?: Prisma.finance_index_currencyScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Finance_index_currencyCountAggregateInputType | true;
    _avg?: Finance_index_currencyAvgAggregateInputType;
    _sum?: Finance_index_currencySumAggregateInputType;
    _min?: Finance_index_currencyMinAggregateInputType;
    _max?: Finance_index_currencyMaxAggregateInputType;
};
export type Finance_index_currencyGroupByOutputType = {
    id: number;
    finance_index_id: number | null;
    currency_id: number | null;
    _count: Finance_index_currencyCountAggregateOutputType | null;
    _avg: Finance_index_currencyAvgAggregateOutputType | null;
    _sum: Finance_index_currencySumAggregateOutputType | null;
    _min: Finance_index_currencyMinAggregateOutputType | null;
    _max: Finance_index_currencyMaxAggregateOutputType | null;
};
type GetFinance_index_currencyGroupByPayload<T extends finance_index_currencyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Finance_index_currencyGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Finance_index_currencyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Finance_index_currencyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Finance_index_currencyGroupByOutputType[P]>;
}>>;
export type finance_index_currencyWhereInput = {
    AND?: Prisma.finance_index_currencyWhereInput | Prisma.finance_index_currencyWhereInput[];
    OR?: Prisma.finance_index_currencyWhereInput[];
    NOT?: Prisma.finance_index_currencyWhereInput | Prisma.finance_index_currencyWhereInput[];
    id?: Prisma.IntFilter<"finance_index_currency"> | number;
    finance_index_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
    currency_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
    currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.currencyWhereInput> | null;
    finance_index?: Prisma.XOR<Prisma.Finance_indexNullableScalarRelationFilter, Prisma.finance_indexWhereInput> | null;
};
export type finance_index_currencyOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency?: Prisma.currencyOrderByWithRelationInput;
    finance_index?: Prisma.finance_indexOrderByWithRelationInput;
};
export type finance_index_currencyWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.finance_index_currencyWhereInput | Prisma.finance_index_currencyWhereInput[];
    OR?: Prisma.finance_index_currencyWhereInput[];
    NOT?: Prisma.finance_index_currencyWhereInput | Prisma.finance_index_currencyWhereInput[];
    finance_index_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
    currency_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
    currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.currencyWhereInput> | null;
    finance_index?: Prisma.XOR<Prisma.Finance_indexNullableScalarRelationFilter, Prisma.finance_indexWhereInput> | null;
}, "id">;
export type finance_index_currencyOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.finance_index_currencyCountOrderByAggregateInput;
    _avg?: Prisma.finance_index_currencyAvgOrderByAggregateInput;
    _max?: Prisma.finance_index_currencyMaxOrderByAggregateInput;
    _min?: Prisma.finance_index_currencyMinOrderByAggregateInput;
    _sum?: Prisma.finance_index_currencySumOrderByAggregateInput;
};
export type finance_index_currencyScalarWhereWithAggregatesInput = {
    AND?: Prisma.finance_index_currencyScalarWhereWithAggregatesInput | Prisma.finance_index_currencyScalarWhereWithAggregatesInput[];
    OR?: Prisma.finance_index_currencyScalarWhereWithAggregatesInput[];
    NOT?: Prisma.finance_index_currencyScalarWhereWithAggregatesInput | Prisma.finance_index_currencyScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"finance_index_currency"> | number;
    finance_index_id?: Prisma.IntNullableWithAggregatesFilter<"finance_index_currency"> | number | null;
    currency_id?: Prisma.IntNullableWithAggregatesFilter<"finance_index_currency"> | number | null;
};
export type finance_index_currencyCreateInput = {
    currency?: Prisma.currencyCreateNestedOneWithoutFinance_index_currencyInput;
    finance_index?: Prisma.finance_indexCreateNestedOneWithoutFinance_index_currencyInput;
};
export type finance_index_currencyUncheckedCreateInput = {
    id?: number;
    finance_index_id?: number | null;
    currency_id?: number | null;
};
export type finance_index_currencyUpdateInput = {
    currency?: Prisma.currencyUpdateOneWithoutFinance_index_currencyNestedInput;
    finance_index?: Prisma.finance_indexUpdateOneWithoutFinance_index_currencyNestedInput;
};
export type finance_index_currencyUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    finance_index_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type finance_index_currencyCreateManyInput = {
    id?: number;
    finance_index_id?: number | null;
    currency_id?: number | null;
};
export type finance_index_currencyUpdateManyMutationInput = {};
export type finance_index_currencyUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    finance_index_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Finance_index_currencyListRelationFilter = {
    every?: Prisma.finance_index_currencyWhereInput;
    some?: Prisma.finance_index_currencyWhereInput;
    none?: Prisma.finance_index_currencyWhereInput;
};
export type finance_index_currencyOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type finance_index_currencyCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type finance_index_currencyAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type finance_index_currencyMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type finance_index_currencyMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type finance_index_currencySumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    finance_index_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type finance_index_currencyCreateNestedManyWithoutCurrencyInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.finance_index_currencyCreateWithoutCurrencyInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput | Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput[];
    createMany?: Prisma.finance_index_currencyCreateManyCurrencyInputEnvelope;
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
};
export type finance_index_currencyUncheckedCreateNestedManyWithoutCurrencyInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.finance_index_currencyCreateWithoutCurrencyInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput | Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput[];
    createMany?: Prisma.finance_index_currencyCreateManyCurrencyInputEnvelope;
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
};
export type finance_index_currencyUpdateManyWithoutCurrencyNestedInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.finance_index_currencyCreateWithoutCurrencyInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput | Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput[];
    upsert?: Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutCurrencyInput[];
    createMany?: Prisma.finance_index_currencyCreateManyCurrencyInputEnvelope;
    set?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    disconnect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    delete?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    update?: Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutCurrencyInput[];
    updateMany?: Prisma.finance_index_currencyUpdateManyWithWhereWithoutCurrencyInput | Prisma.finance_index_currencyUpdateManyWithWhereWithoutCurrencyInput[];
    deleteMany?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
};
export type finance_index_currencyUncheckedUpdateManyWithoutCurrencyNestedInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.finance_index_currencyCreateWithoutCurrencyInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput | Prisma.finance_index_currencyCreateOrConnectWithoutCurrencyInput[];
    upsert?: Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutCurrencyInput[];
    createMany?: Prisma.finance_index_currencyCreateManyCurrencyInputEnvelope;
    set?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    disconnect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    delete?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    update?: Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutCurrencyInput[];
    updateMany?: Prisma.finance_index_currencyUpdateManyWithWhereWithoutCurrencyInput | Prisma.finance_index_currencyUpdateManyWithWhereWithoutCurrencyInput[];
    deleteMany?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
};
export type finance_index_currencyCreateNestedManyWithoutFinance_indexInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput> | Prisma.finance_index_currencyCreateWithoutFinance_indexInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput | Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput[];
    createMany?: Prisma.finance_index_currencyCreateManyFinance_indexInputEnvelope;
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
};
export type finance_index_currencyUncheckedCreateNestedManyWithoutFinance_indexInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput> | Prisma.finance_index_currencyCreateWithoutFinance_indexInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput | Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput[];
    createMany?: Prisma.finance_index_currencyCreateManyFinance_indexInputEnvelope;
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
};
export type finance_index_currencyUpdateManyWithoutFinance_indexNestedInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput> | Prisma.finance_index_currencyCreateWithoutFinance_indexInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput | Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput[];
    upsert?: Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutFinance_indexInput | Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutFinance_indexInput[];
    createMany?: Prisma.finance_index_currencyCreateManyFinance_indexInputEnvelope;
    set?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    disconnect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    delete?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    update?: Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutFinance_indexInput | Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutFinance_indexInput[];
    updateMany?: Prisma.finance_index_currencyUpdateManyWithWhereWithoutFinance_indexInput | Prisma.finance_index_currencyUpdateManyWithWhereWithoutFinance_indexInput[];
    deleteMany?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
};
export type finance_index_currencyUncheckedUpdateManyWithoutFinance_indexNestedInput = {
    create?: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput> | Prisma.finance_index_currencyCreateWithoutFinance_indexInput[] | Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput[];
    connectOrCreate?: Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput | Prisma.finance_index_currencyCreateOrConnectWithoutFinance_indexInput[];
    upsert?: Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutFinance_indexInput | Prisma.finance_index_currencyUpsertWithWhereUniqueWithoutFinance_indexInput[];
    createMany?: Prisma.finance_index_currencyCreateManyFinance_indexInputEnvelope;
    set?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    disconnect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    delete?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    connect?: Prisma.finance_index_currencyWhereUniqueInput | Prisma.finance_index_currencyWhereUniqueInput[];
    update?: Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutFinance_indexInput | Prisma.finance_index_currencyUpdateWithWhereUniqueWithoutFinance_indexInput[];
    updateMany?: Prisma.finance_index_currencyUpdateManyWithWhereWithoutFinance_indexInput | Prisma.finance_index_currencyUpdateManyWithWhereWithoutFinance_indexInput[];
    deleteMany?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
};
export type finance_index_currencyCreateWithoutCurrencyInput = {
    finance_index?: Prisma.finance_indexCreateNestedOneWithoutFinance_index_currencyInput;
};
export type finance_index_currencyUncheckedCreateWithoutCurrencyInput = {
    id?: number;
    finance_index_id?: number | null;
};
export type finance_index_currencyCreateOrConnectWithoutCurrencyInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    create: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput>;
};
export type finance_index_currencyCreateManyCurrencyInputEnvelope = {
    data: Prisma.finance_index_currencyCreateManyCurrencyInput | Prisma.finance_index_currencyCreateManyCurrencyInput[];
    skipDuplicates?: boolean;
};
export type finance_index_currencyUpsertWithWhereUniqueWithoutCurrencyInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    update: Prisma.XOR<Prisma.finance_index_currencyUpdateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedUpdateWithoutCurrencyInput>;
    create: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedCreateWithoutCurrencyInput>;
};
export type finance_index_currencyUpdateWithWhereUniqueWithoutCurrencyInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateWithoutCurrencyInput, Prisma.finance_index_currencyUncheckedUpdateWithoutCurrencyInput>;
};
export type finance_index_currencyUpdateManyWithWhereWithoutCurrencyInput = {
    where: Prisma.finance_index_currencyScalarWhereInput;
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateManyMutationInput, Prisma.finance_index_currencyUncheckedUpdateManyWithoutCurrencyInput>;
};
export type finance_index_currencyScalarWhereInput = {
    AND?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
    OR?: Prisma.finance_index_currencyScalarWhereInput[];
    NOT?: Prisma.finance_index_currencyScalarWhereInput | Prisma.finance_index_currencyScalarWhereInput[];
    id?: Prisma.IntFilter<"finance_index_currency"> | number;
    finance_index_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
    currency_id?: Prisma.IntNullableFilter<"finance_index_currency"> | number | null;
};
export type finance_index_currencyCreateWithoutFinance_indexInput = {
    currency?: Prisma.currencyCreateNestedOneWithoutFinance_index_currencyInput;
};
export type finance_index_currencyUncheckedCreateWithoutFinance_indexInput = {
    id?: number;
    currency_id?: number | null;
};
export type finance_index_currencyCreateOrConnectWithoutFinance_indexInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    create: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput>;
};
export type finance_index_currencyCreateManyFinance_indexInputEnvelope = {
    data: Prisma.finance_index_currencyCreateManyFinance_indexInput | Prisma.finance_index_currencyCreateManyFinance_indexInput[];
    skipDuplicates?: boolean;
};
export type finance_index_currencyUpsertWithWhereUniqueWithoutFinance_indexInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    update: Prisma.XOR<Prisma.finance_index_currencyUpdateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedUpdateWithoutFinance_indexInput>;
    create: Prisma.XOR<Prisma.finance_index_currencyCreateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedCreateWithoutFinance_indexInput>;
};
export type finance_index_currencyUpdateWithWhereUniqueWithoutFinance_indexInput = {
    where: Prisma.finance_index_currencyWhereUniqueInput;
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateWithoutFinance_indexInput, Prisma.finance_index_currencyUncheckedUpdateWithoutFinance_indexInput>;
};
export type finance_index_currencyUpdateManyWithWhereWithoutFinance_indexInput = {
    where: Prisma.finance_index_currencyScalarWhereInput;
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateManyMutationInput, Prisma.finance_index_currencyUncheckedUpdateManyWithoutFinance_indexInput>;
};
export type finance_index_currencyCreateManyCurrencyInput = {
    id?: number;
    finance_index_id?: number | null;
};
export type finance_index_currencyUpdateWithoutCurrencyInput = {
    finance_index?: Prisma.finance_indexUpdateOneWithoutFinance_index_currencyNestedInput;
};
export type finance_index_currencyUncheckedUpdateWithoutCurrencyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    finance_index_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type finance_index_currencyUncheckedUpdateManyWithoutCurrencyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    finance_index_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type finance_index_currencyCreateManyFinance_indexInput = {
    id?: number;
    currency_id?: number | null;
};
export type finance_index_currencyUpdateWithoutFinance_indexInput = {
    currency?: Prisma.currencyUpdateOneWithoutFinance_index_currencyNestedInput;
};
export type finance_index_currencyUncheckedUpdateWithoutFinance_indexInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type finance_index_currencyUncheckedUpdateManyWithoutFinance_indexInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type finance_index_currencySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    finance_index_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
}, ExtArgs["result"]["finance_index_currency"]>;
export type finance_index_currencySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    finance_index_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
}, ExtArgs["result"]["finance_index_currency"]>;
export type finance_index_currencySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    finance_index_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
}, ExtArgs["result"]["finance_index_currency"]>;
export type finance_index_currencySelectScalar = {
    id?: boolean;
    finance_index_id?: boolean;
    currency_id?: boolean;
};
export type finance_index_currencyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "finance_index_id" | "currency_id", ExtArgs["result"]["finance_index_currency"]>;
export type finance_index_currencyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
};
export type finance_index_currencyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
};
export type finance_index_currencyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.finance_index_currency$currencyArgs<ExtArgs>;
    finance_index?: boolean | Prisma.finance_index_currency$finance_indexArgs<ExtArgs>;
};
export type $finance_index_currencyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "finance_index_currency";
    objects: {
        currency: Prisma.$currencyPayload<ExtArgs> | null;
        finance_index: Prisma.$finance_indexPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        finance_index_id: number | null;
        currency_id: number | null;
    }, ExtArgs["result"]["finance_index_currency"]>;
    composites: {};
};
export type finance_index_currencyGetPayload<S extends boolean | null | undefined | finance_index_currencyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload, S>;
export type finance_index_currencyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<finance_index_currencyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Finance_index_currencyCountAggregateInputType | true;
};
export interface finance_index_currencyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['finance_index_currency'];
        meta: {
            name: 'finance_index_currency';
        };
    };
    /**
     * Find zero or one Finance_index_currency that matches the filter.
     * @param {finance_index_currencyFindUniqueArgs} args - Arguments to find a Finance_index_currency
     * @example
     * // Get one Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends finance_index_currencyFindUniqueArgs>(args: Prisma.SelectSubset<T, finance_index_currencyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Finance_index_currency that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {finance_index_currencyFindUniqueOrThrowArgs} args - Arguments to find a Finance_index_currency
     * @example
     * // Get one Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends finance_index_currencyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, finance_index_currencyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Finance_index_currency 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 {finance_index_currencyFindFirstArgs} args - Arguments to find a Finance_index_currency
     * @example
     * // Get one Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends finance_index_currencyFindFirstArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyFindFirstArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Finance_index_currency 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 {finance_index_currencyFindFirstOrThrowArgs} args - Arguments to find a Finance_index_currency
     * @example
     * // Get one Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends finance_index_currencyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Finance_index_currencies 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 {finance_index_currencyFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Finance_index_currencies
     * const finance_index_currencies = await prisma.finance_index_currency.findMany()
     *
     * // Get first 10 Finance_index_currencies
     * const finance_index_currencies = await prisma.finance_index_currency.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const finance_index_currencyWithIdOnly = await prisma.finance_index_currency.findMany({ select: { id: true } })
     *
     */
    findMany<T extends finance_index_currencyFindManyArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Finance_index_currency.
     * @param {finance_index_currencyCreateArgs} args - Arguments to create a Finance_index_currency.
     * @example
     * // Create one Finance_index_currency
     * const Finance_index_currency = await prisma.finance_index_currency.create({
     *   data: {
     *     // ... data to create a Finance_index_currency
     *   }
     * })
     *
     */
    create<T extends finance_index_currencyCreateArgs>(args: Prisma.SelectSubset<T, finance_index_currencyCreateArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Finance_index_currencies.
     * @param {finance_index_currencyCreateManyArgs} args - Arguments to create many Finance_index_currencies.
     * @example
     * // Create many Finance_index_currencies
     * const finance_index_currency = await prisma.finance_index_currency.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends finance_index_currencyCreateManyArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Finance_index_currencies and returns the data saved in the database.
     * @param {finance_index_currencyCreateManyAndReturnArgs} args - Arguments to create many Finance_index_currencies.
     * @example
     * // Create many Finance_index_currencies
     * const finance_index_currency = await prisma.finance_index_currency.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Finance_index_currencies and only return the `id`
     * const finance_index_currencyWithIdOnly = await prisma.finance_index_currency.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 finance_index_currencyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Finance_index_currency.
     * @param {finance_index_currencyDeleteArgs} args - Arguments to delete one Finance_index_currency.
     * @example
     * // Delete one Finance_index_currency
     * const Finance_index_currency = await prisma.finance_index_currency.delete({
     *   where: {
     *     // ... filter to delete one Finance_index_currency
     *   }
     * })
     *
     */
    delete<T extends finance_index_currencyDeleteArgs>(args: Prisma.SelectSubset<T, finance_index_currencyDeleteArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Finance_index_currency.
     * @param {finance_index_currencyUpdateArgs} args - Arguments to update one Finance_index_currency.
     * @example
     * // Update one Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends finance_index_currencyUpdateArgs>(args: Prisma.SelectSubset<T, finance_index_currencyUpdateArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Finance_index_currencies.
     * @param {finance_index_currencyDeleteManyArgs} args - Arguments to filter Finance_index_currencies to delete.
     * @example
     * // Delete a few Finance_index_currencies
     * const { count } = await prisma.finance_index_currency.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends finance_index_currencyDeleteManyArgs>(args?: Prisma.SelectSubset<T, finance_index_currencyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Finance_index_currencies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {finance_index_currencyUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Finance_index_currencies
     * const finance_index_currency = await prisma.finance_index_currency.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends finance_index_currencyUpdateManyArgs>(args: Prisma.SelectSubset<T, finance_index_currencyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Finance_index_currencies and returns the data updated in the database.
     * @param {finance_index_currencyUpdateManyAndReturnArgs} args - Arguments to update many Finance_index_currencies.
     * @example
     * // Update many Finance_index_currencies
     * const finance_index_currency = await prisma.finance_index_currency.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Finance_index_currencies and only return the `id`
     * const finance_index_currencyWithIdOnly = await prisma.finance_index_currency.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 finance_index_currencyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, finance_index_currencyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Finance_index_currency.
     * @param {finance_index_currencyUpsertArgs} args - Arguments to update or create a Finance_index_currency.
     * @example
     * // Update or create a Finance_index_currency
     * const finance_index_currency = await prisma.finance_index_currency.upsert({
     *   create: {
     *     // ... data to create a Finance_index_currency
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Finance_index_currency we want to update
     *   }
     * })
     */
    upsert<T extends finance_index_currencyUpsertArgs>(args: Prisma.SelectSubset<T, finance_index_currencyUpsertArgs<ExtArgs>>): Prisma.Prisma__finance_index_currencyClient<runtime.Types.Result.GetResult<Prisma.$finance_index_currencyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Finance_index_currencies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {finance_index_currencyCountArgs} args - Arguments to filter Finance_index_currencies to count.
     * @example
     * // Count the number of Finance_index_currencies
     * const count = await prisma.finance_index_currency.count({
     *   where: {
     *     // ... the filter for the Finance_index_currencies we want to count
     *   }
     * })
    **/
    count<T extends finance_index_currencyCountArgs>(args?: Prisma.Subset<T, finance_index_currencyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Finance_index_currencyCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Finance_index_currency.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Finance_index_currencyAggregateArgs} 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 Finance_index_currencyAggregateArgs>(args: Prisma.Subset<T, Finance_index_currencyAggregateArgs>): Prisma.PrismaPromise<GetFinance_index_currencyAggregateType<T>>;
    /**
     * Group by Finance_index_currency.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {finance_index_currencyGroupByArgs} 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 finance_index_currencyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: finance_index_currencyGroupByArgs['orderBy'];
    } : {
        orderBy?: finance_index_currencyGroupByArgs['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, finance_index_currencyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFinance_index_currencyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the finance_index_currency model
     */
    readonly fields: finance_index_currencyFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for finance_index_currency.
 * 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__finance_index_currencyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    currency<T extends Prisma.finance_index_currency$currencyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.finance_index_currency$currencyArgs<ExtArgs>>): Prisma.Prisma__currencyClient<runtime.Types.Result.GetResult<Prisma.$currencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    finance_index<T extends Prisma.finance_index_currency$finance_indexArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.finance_index_currency$finance_indexArgs<ExtArgs>>): Prisma.Prisma__finance_indexClient<runtime.Types.Result.GetResult<Prisma.$finance_indexPayload<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 finance_index_currency model
 */
export interface finance_index_currencyFieldRefs {
    readonly id: Prisma.FieldRef<"finance_index_currency", 'Int'>;
    readonly finance_index_id: Prisma.FieldRef<"finance_index_currency", 'Int'>;
    readonly currency_id: Prisma.FieldRef<"finance_index_currency", 'Int'>;
}
/**
 * finance_index_currency findUnique
 */
export type finance_index_currencyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which finance_index_currency to fetch.
     */
    where: Prisma.finance_index_currencyWhereUniqueInput;
};
/**
 * finance_index_currency findUniqueOrThrow
 */
export type finance_index_currencyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which finance_index_currency to fetch.
     */
    where: Prisma.finance_index_currencyWhereUniqueInput;
};
/**
 * finance_index_currency findFirst
 */
export type finance_index_currencyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which finance_index_currency to fetch.
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of finance_index_currencies to fetch.
     */
    orderBy?: Prisma.finance_index_currencyOrderByWithRelationInput | Prisma.finance_index_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for finance_index_currencies.
     */
    cursor?: Prisma.finance_index_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` finance_index_currencies 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` finance_index_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of finance_index_currencies.
     */
    distinct?: Prisma.Finance_index_currencyScalarFieldEnum | Prisma.Finance_index_currencyScalarFieldEnum[];
};
/**
 * finance_index_currency findFirstOrThrow
 */
export type finance_index_currencyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which finance_index_currency to fetch.
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of finance_index_currencies to fetch.
     */
    orderBy?: Prisma.finance_index_currencyOrderByWithRelationInput | Prisma.finance_index_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for finance_index_currencies.
     */
    cursor?: Prisma.finance_index_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` finance_index_currencies 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` finance_index_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of finance_index_currencies.
     */
    distinct?: Prisma.Finance_index_currencyScalarFieldEnum | Prisma.Finance_index_currencyScalarFieldEnum[];
};
/**
 * finance_index_currency findMany
 */
export type finance_index_currencyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which finance_index_currencies to fetch.
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of finance_index_currencies to fetch.
     */
    orderBy?: Prisma.finance_index_currencyOrderByWithRelationInput | Prisma.finance_index_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing finance_index_currencies.
     */
    cursor?: Prisma.finance_index_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` finance_index_currencies 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` finance_index_currencies.
     */
    skip?: number;
    distinct?: Prisma.Finance_index_currencyScalarFieldEnum | Prisma.Finance_index_currencyScalarFieldEnum[];
};
/**
 * finance_index_currency create
 */
export type finance_index_currencyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * The data needed to create a finance_index_currency.
     */
    data?: Prisma.XOR<Prisma.finance_index_currencyCreateInput, Prisma.finance_index_currencyUncheckedCreateInput>;
};
/**
 * finance_index_currency createMany
 */
export type finance_index_currencyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many finance_index_currencies.
     */
    data: Prisma.finance_index_currencyCreateManyInput | Prisma.finance_index_currencyCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * finance_index_currency createManyAndReturn
 */
export type finance_index_currencyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * The data used to create many finance_index_currencies.
     */
    data: Prisma.finance_index_currencyCreateManyInput | Prisma.finance_index_currencyCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * finance_index_currency update
 */
export type finance_index_currencyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * The data needed to update a finance_index_currency.
     */
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateInput, Prisma.finance_index_currencyUncheckedUpdateInput>;
    /**
     * Choose, which finance_index_currency to update.
     */
    where: Prisma.finance_index_currencyWhereUniqueInput;
};
/**
 * finance_index_currency updateMany
 */
export type finance_index_currencyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update finance_index_currencies.
     */
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateManyMutationInput, Prisma.finance_index_currencyUncheckedUpdateManyInput>;
    /**
     * Filter which finance_index_currencies to update
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * Limit how many finance_index_currencies to update.
     */
    limit?: number;
};
/**
 * finance_index_currency updateManyAndReturn
 */
export type finance_index_currencyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * The data used to update finance_index_currencies.
     */
    data: Prisma.XOR<Prisma.finance_index_currencyUpdateManyMutationInput, Prisma.finance_index_currencyUncheckedUpdateManyInput>;
    /**
     * Filter which finance_index_currencies to update
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * Limit how many finance_index_currencies to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * finance_index_currency upsert
 */
export type finance_index_currencyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * The filter to search for the finance_index_currency to update in case it exists.
     */
    where: Prisma.finance_index_currencyWhereUniqueInput;
    /**
     * In case the finance_index_currency found by the `where` argument doesn't exist, create a new finance_index_currency with this data.
     */
    create: Prisma.XOR<Prisma.finance_index_currencyCreateInput, Prisma.finance_index_currencyUncheckedCreateInput>;
    /**
     * In case the finance_index_currency was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.finance_index_currencyUpdateInput, Prisma.finance_index_currencyUncheckedUpdateInput>;
};
/**
 * finance_index_currency delete
 */
export type finance_index_currencyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
    /**
     * Filter which finance_index_currency to delete.
     */
    where: Prisma.finance_index_currencyWhereUniqueInput;
};
/**
 * finance_index_currency deleteMany
 */
export type finance_index_currencyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which finance_index_currencies to delete
     */
    where?: Prisma.finance_index_currencyWhereInput;
    /**
     * Limit how many finance_index_currencies to delete.
     */
    limit?: number;
};
/**
 * finance_index_currency.currency
 */
export type finance_index_currency$currencyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currency
     */
    select?: Prisma.currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currency
     */
    omit?: Prisma.currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.currencyInclude<ExtArgs> | null;
    where?: Prisma.currencyWhereInput;
};
/**
 * finance_index_currency.finance_index
 */
export type finance_index_currency$finance_indexArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index
     */
    select?: Prisma.finance_indexSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index
     */
    omit?: Prisma.finance_indexOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_indexInclude<ExtArgs> | null;
    where?: Prisma.finance_indexWhereInput;
};
/**
 * finance_index_currency without action
 */
export type finance_index_currencyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the finance_index_currency
     */
    select?: Prisma.finance_index_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the finance_index_currency
     */
    omit?: Prisma.finance_index_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.finance_index_currencyInclude<ExtArgs> | null;
};
export {};
