/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `CourtPriceRule` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums" import type * as Prisma from "../internal/prismaNamespace" /** * Model CourtPriceRule * */ export type CourtPriceRuleModel = runtime.Types.Result.DefaultSelection export type AggregateCourtPriceRule = { _count: CourtPriceRuleCountAggregateOutputType | null _avg: CourtPriceRuleAvgAggregateOutputType | null _sum: CourtPriceRuleSumAggregateOutputType | null _min: CourtPriceRuleMinAggregateOutputType | null _max: CourtPriceRuleMaxAggregateOutputType | null } export type CourtPriceRuleAvgAggregateOutputType = { price: runtime.Decimal | null } export type CourtPriceRuleSumAggregateOutputType = { price: runtime.Decimal | null } export type CourtPriceRuleMinAggregateOutputType = { id: string | null courtId: string | null dayOfWeek: $Enums.DayOfWeek | null startTime: string | null endTime: string | null price: runtime.Decimal | null isActive: boolean | null createdAt: Date | null updatedAt: Date | null } export type CourtPriceRuleMaxAggregateOutputType = { id: string | null courtId: string | null dayOfWeek: $Enums.DayOfWeek | null startTime: string | null endTime: string | null price: runtime.Decimal | null isActive: boolean | null createdAt: Date | null updatedAt: Date | null } export type CourtPriceRuleCountAggregateOutputType = { id: number courtId: number dayOfWeek: number startTime: number endTime: number price: number isActive: number createdAt: number updatedAt: number _all: number } export type CourtPriceRuleAvgAggregateInputType = { price?: true } export type CourtPriceRuleSumAggregateInputType = { price?: true } export type CourtPriceRuleMinAggregateInputType = { id?: true courtId?: true dayOfWeek?: true startTime?: true endTime?: true price?: true isActive?: true createdAt?: true updatedAt?: true } export type CourtPriceRuleMaxAggregateInputType = { id?: true courtId?: true dayOfWeek?: true startTime?: true endTime?: true price?: true isActive?: true createdAt?: true updatedAt?: true } export type CourtPriceRuleCountAggregateInputType = { id?: true courtId?: true dayOfWeek?: true startTime?: true endTime?: true price?: true isActive?: true createdAt?: true updatedAt?: true _all?: true } export type CourtPriceRuleAggregateArgs = { /** * Filter which CourtPriceRule to aggregate. */ where?: Prisma.CourtPriceRuleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CourtPriceRules to fetch. */ orderBy?: Prisma.CourtPriceRuleOrderByWithRelationInput | Prisma.CourtPriceRuleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.CourtPriceRuleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CourtPriceRules 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` CourtPriceRules. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CourtPriceRules **/ _count?: true | CourtPriceRuleCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CourtPriceRuleAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CourtPriceRuleSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CourtPriceRuleMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CourtPriceRuleMaxAggregateInputType } export type GetCourtPriceRuleAggregateType = { [P in keyof T & keyof AggregateCourtPriceRule]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type CourtPriceRuleGroupByArgs = { where?: Prisma.CourtPriceRuleWhereInput orderBy?: Prisma.CourtPriceRuleOrderByWithAggregationInput | Prisma.CourtPriceRuleOrderByWithAggregationInput[] by: Prisma.CourtPriceRuleScalarFieldEnum[] | Prisma.CourtPriceRuleScalarFieldEnum having?: Prisma.CourtPriceRuleScalarWhereWithAggregatesInput take?: number skip?: number _count?: CourtPriceRuleCountAggregateInputType | true _avg?: CourtPriceRuleAvgAggregateInputType _sum?: CourtPriceRuleSumAggregateInputType _min?: CourtPriceRuleMinAggregateInputType _max?: CourtPriceRuleMaxAggregateInputType } export type CourtPriceRuleGroupByOutputType = { id: string courtId: string dayOfWeek: $Enums.DayOfWeek | null startTime: string | null endTime: string | null price: runtime.Decimal isActive: boolean createdAt: Date updatedAt: Date _count: CourtPriceRuleCountAggregateOutputType | null _avg: CourtPriceRuleAvgAggregateOutputType | null _sum: CourtPriceRuleSumAggregateOutputType | null _min: CourtPriceRuleMinAggregateOutputType | null _max: CourtPriceRuleMaxAggregateOutputType | null } export type GetCourtPriceRuleGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof CourtPriceRuleGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type CourtPriceRuleWhereInput = { AND?: Prisma.CourtPriceRuleWhereInput | Prisma.CourtPriceRuleWhereInput[] OR?: Prisma.CourtPriceRuleWhereInput[] NOT?: Prisma.CourtPriceRuleWhereInput | Prisma.CourtPriceRuleWhereInput[] id?: Prisma.UuidFilter<"CourtPriceRule"> | string courtId?: Prisma.UuidFilter<"CourtPriceRule"> | string dayOfWeek?: Prisma.EnumDayOfWeekNullableFilter<"CourtPriceRule"> | $Enums.DayOfWeek | null startTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null endTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null price?: Prisma.DecimalFilter<"CourtPriceRule"> | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFilter<"CourtPriceRule"> | boolean createdAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string court?: Prisma.XOR } export type CourtPriceRuleOrderByWithRelationInput = { id?: Prisma.SortOrder courtId?: Prisma.SortOrder dayOfWeek?: Prisma.SortOrderInput | Prisma.SortOrder startTime?: Prisma.SortOrderInput | Prisma.SortOrder endTime?: Prisma.SortOrderInput | Prisma.SortOrder price?: Prisma.SortOrder isActive?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder court?: Prisma.CourtOrderByWithRelationInput } export type CourtPriceRuleWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.CourtPriceRuleWhereInput | Prisma.CourtPriceRuleWhereInput[] OR?: Prisma.CourtPriceRuleWhereInput[] NOT?: Prisma.CourtPriceRuleWhereInput | Prisma.CourtPriceRuleWhereInput[] courtId?: Prisma.UuidFilter<"CourtPriceRule"> | string dayOfWeek?: Prisma.EnumDayOfWeekNullableFilter<"CourtPriceRule"> | $Enums.DayOfWeek | null startTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null endTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null price?: Prisma.DecimalFilter<"CourtPriceRule"> | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFilter<"CourtPriceRule"> | boolean createdAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string court?: Prisma.XOR }, "id"> export type CourtPriceRuleOrderByWithAggregationInput = { id?: Prisma.SortOrder courtId?: Prisma.SortOrder dayOfWeek?: Prisma.SortOrderInput | Prisma.SortOrder startTime?: Prisma.SortOrderInput | Prisma.SortOrder endTime?: Prisma.SortOrderInput | Prisma.SortOrder price?: Prisma.SortOrder isActive?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.CourtPriceRuleCountOrderByAggregateInput _avg?: Prisma.CourtPriceRuleAvgOrderByAggregateInput _max?: Prisma.CourtPriceRuleMaxOrderByAggregateInput _min?: Prisma.CourtPriceRuleMinOrderByAggregateInput _sum?: Prisma.CourtPriceRuleSumOrderByAggregateInput } export type CourtPriceRuleScalarWhereWithAggregatesInput = { AND?: Prisma.CourtPriceRuleScalarWhereWithAggregatesInput | Prisma.CourtPriceRuleScalarWhereWithAggregatesInput[] OR?: Prisma.CourtPriceRuleScalarWhereWithAggregatesInput[] NOT?: Prisma.CourtPriceRuleScalarWhereWithAggregatesInput | Prisma.CourtPriceRuleScalarWhereWithAggregatesInput[] id?: Prisma.UuidWithAggregatesFilter<"CourtPriceRule"> | string courtId?: Prisma.UuidWithAggregatesFilter<"CourtPriceRule"> | string dayOfWeek?: Prisma.EnumDayOfWeekNullableWithAggregatesFilter<"CourtPriceRule"> | $Enums.DayOfWeek | null startTime?: Prisma.StringNullableWithAggregatesFilter<"CourtPriceRule"> | string | null endTime?: Prisma.StringNullableWithAggregatesFilter<"CourtPriceRule"> | string | null price?: Prisma.DecimalWithAggregatesFilter<"CourtPriceRule"> | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolWithAggregatesFilter<"CourtPriceRule"> | boolean createdAt?: Prisma.DateTimeWithAggregatesFilter<"CourtPriceRule"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CourtPriceRule"> | Date | string } export type CourtPriceRuleCreateInput = { id: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string court: Prisma.CourtCreateNestedOneWithoutPriceRulesInput } export type CourtPriceRuleUncheckedCreateInput = { id: string courtId: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string } export type CourtPriceRuleUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string court?: Prisma.CourtUpdateOneRequiredWithoutPriceRulesNestedInput } export type CourtPriceRuleUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string courtId?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleCreateManyInput = { id: string courtId: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string } export type CourtPriceRuleUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string courtId?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleListRelationFilter = { every?: Prisma.CourtPriceRuleWhereInput some?: Prisma.CourtPriceRuleWhereInput none?: Prisma.CourtPriceRuleWhereInput } export type CourtPriceRuleOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type CourtPriceRuleCountOrderByAggregateInput = { id?: Prisma.SortOrder courtId?: Prisma.SortOrder dayOfWeek?: Prisma.SortOrder startTime?: Prisma.SortOrder endTime?: Prisma.SortOrder price?: Prisma.SortOrder isActive?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CourtPriceRuleAvgOrderByAggregateInput = { price?: Prisma.SortOrder } export type CourtPriceRuleMaxOrderByAggregateInput = { id?: Prisma.SortOrder courtId?: Prisma.SortOrder dayOfWeek?: Prisma.SortOrder startTime?: Prisma.SortOrder endTime?: Prisma.SortOrder price?: Prisma.SortOrder isActive?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CourtPriceRuleMinOrderByAggregateInput = { id?: Prisma.SortOrder courtId?: Prisma.SortOrder dayOfWeek?: Prisma.SortOrder startTime?: Prisma.SortOrder endTime?: Prisma.SortOrder price?: Prisma.SortOrder isActive?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CourtPriceRuleSumOrderByAggregateInput = { price?: Prisma.SortOrder } export type CourtPriceRuleCreateNestedManyWithoutCourtInput = { create?: Prisma.XOR | Prisma.CourtPriceRuleCreateWithoutCourtInput[] | Prisma.CourtPriceRuleUncheckedCreateWithoutCourtInput[] connectOrCreate?: Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput | Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput[] createMany?: Prisma.CourtPriceRuleCreateManyCourtInputEnvelope connect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] } export type CourtPriceRuleUncheckedCreateNestedManyWithoutCourtInput = { create?: Prisma.XOR | Prisma.CourtPriceRuleCreateWithoutCourtInput[] | Prisma.CourtPriceRuleUncheckedCreateWithoutCourtInput[] connectOrCreate?: Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput | Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput[] createMany?: Prisma.CourtPriceRuleCreateManyCourtInputEnvelope connect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] } export type CourtPriceRuleUpdateManyWithoutCourtNestedInput = { create?: Prisma.XOR | Prisma.CourtPriceRuleCreateWithoutCourtInput[] | Prisma.CourtPriceRuleUncheckedCreateWithoutCourtInput[] connectOrCreate?: Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput | Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput[] upsert?: Prisma.CourtPriceRuleUpsertWithWhereUniqueWithoutCourtInput | Prisma.CourtPriceRuleUpsertWithWhereUniqueWithoutCourtInput[] createMany?: Prisma.CourtPriceRuleCreateManyCourtInputEnvelope set?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] disconnect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] delete?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] connect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] update?: Prisma.CourtPriceRuleUpdateWithWhereUniqueWithoutCourtInput | Prisma.CourtPriceRuleUpdateWithWhereUniqueWithoutCourtInput[] updateMany?: Prisma.CourtPriceRuleUpdateManyWithWhereWithoutCourtInput | Prisma.CourtPriceRuleUpdateManyWithWhereWithoutCourtInput[] deleteMany?: Prisma.CourtPriceRuleScalarWhereInput | Prisma.CourtPriceRuleScalarWhereInput[] } export type CourtPriceRuleUncheckedUpdateManyWithoutCourtNestedInput = { create?: Prisma.XOR | Prisma.CourtPriceRuleCreateWithoutCourtInput[] | Prisma.CourtPriceRuleUncheckedCreateWithoutCourtInput[] connectOrCreate?: Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput | Prisma.CourtPriceRuleCreateOrConnectWithoutCourtInput[] upsert?: Prisma.CourtPriceRuleUpsertWithWhereUniqueWithoutCourtInput | Prisma.CourtPriceRuleUpsertWithWhereUniqueWithoutCourtInput[] createMany?: Prisma.CourtPriceRuleCreateManyCourtInputEnvelope set?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] disconnect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] delete?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] connect?: Prisma.CourtPriceRuleWhereUniqueInput | Prisma.CourtPriceRuleWhereUniqueInput[] update?: Prisma.CourtPriceRuleUpdateWithWhereUniqueWithoutCourtInput | Prisma.CourtPriceRuleUpdateWithWhereUniqueWithoutCourtInput[] updateMany?: Prisma.CourtPriceRuleUpdateManyWithWhereWithoutCourtInput | Prisma.CourtPriceRuleUpdateManyWithWhereWithoutCourtInput[] deleteMany?: Prisma.CourtPriceRuleScalarWhereInput | Prisma.CourtPriceRuleScalarWhereInput[] } export type NullableEnumDayOfWeekFieldUpdateOperationsInput = { set?: $Enums.DayOfWeek | null } export type CourtPriceRuleCreateWithoutCourtInput = { id: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string } export type CourtPriceRuleUncheckedCreateWithoutCourtInput = { id: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string } export type CourtPriceRuleCreateOrConnectWithoutCourtInput = { where: Prisma.CourtPriceRuleWhereUniqueInput create: Prisma.XOR } export type CourtPriceRuleCreateManyCourtInputEnvelope = { data: Prisma.CourtPriceRuleCreateManyCourtInput | Prisma.CourtPriceRuleCreateManyCourtInput[] skipDuplicates?: boolean } export type CourtPriceRuleUpsertWithWhereUniqueWithoutCourtInput = { where: Prisma.CourtPriceRuleWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CourtPriceRuleUpdateWithWhereUniqueWithoutCourtInput = { where: Prisma.CourtPriceRuleWhereUniqueInput data: Prisma.XOR } export type CourtPriceRuleUpdateManyWithWhereWithoutCourtInput = { where: Prisma.CourtPriceRuleScalarWhereInput data: Prisma.XOR } export type CourtPriceRuleScalarWhereInput = { AND?: Prisma.CourtPriceRuleScalarWhereInput | Prisma.CourtPriceRuleScalarWhereInput[] OR?: Prisma.CourtPriceRuleScalarWhereInput[] NOT?: Prisma.CourtPriceRuleScalarWhereInput | Prisma.CourtPriceRuleScalarWhereInput[] id?: Prisma.UuidFilter<"CourtPriceRule"> | string courtId?: Prisma.UuidFilter<"CourtPriceRule"> | string dayOfWeek?: Prisma.EnumDayOfWeekNullableFilter<"CourtPriceRule"> | $Enums.DayOfWeek | null startTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null endTime?: Prisma.StringNullableFilter<"CourtPriceRule"> | string | null price?: Prisma.DecimalFilter<"CourtPriceRule"> | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFilter<"CourtPriceRule"> | boolean createdAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CourtPriceRule"> | Date | string } export type CourtPriceRuleCreateManyCourtInput = { id: string dayOfWeek?: $Enums.DayOfWeek | null startTime?: string | null endTime?: string | null price: runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: boolean createdAt?: Date | string updatedAt?: Date | string } export type CourtPriceRuleUpdateWithoutCourtInput = { id?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleUncheckedUpdateWithoutCourtInput = { id?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleUncheckedUpdateManyWithoutCourtInput = { id?: Prisma.StringFieldUpdateOperationsInput | string dayOfWeek?: Prisma.NullableEnumDayOfWeekFieldUpdateOperationsInput | $Enums.DayOfWeek | null startTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null endTime?: Prisma.NullableStringFieldUpdateOperationsInput | string | null price?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CourtPriceRuleSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean courtId?: boolean dayOfWeek?: boolean startTime?: boolean endTime?: boolean price?: boolean isActive?: boolean createdAt?: boolean updatedAt?: boolean court?: boolean | Prisma.CourtDefaultArgs }, ExtArgs["result"]["courtPriceRule"]> export type CourtPriceRuleSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean courtId?: boolean dayOfWeek?: boolean startTime?: boolean endTime?: boolean price?: boolean isActive?: boolean createdAt?: boolean updatedAt?: boolean court?: boolean | Prisma.CourtDefaultArgs }, ExtArgs["result"]["courtPriceRule"]> export type CourtPriceRuleSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean courtId?: boolean dayOfWeek?: boolean startTime?: boolean endTime?: boolean price?: boolean isActive?: boolean createdAt?: boolean updatedAt?: boolean court?: boolean | Prisma.CourtDefaultArgs }, ExtArgs["result"]["courtPriceRule"]> export type CourtPriceRuleSelectScalar = { id?: boolean courtId?: boolean dayOfWeek?: boolean startTime?: boolean endTime?: boolean price?: boolean isActive?: boolean createdAt?: boolean updatedAt?: boolean } export type CourtPriceRuleOmit = runtime.Types.Extensions.GetOmit<"id" | "courtId" | "dayOfWeek" | "startTime" | "endTime" | "price" | "isActive" | "createdAt" | "updatedAt", ExtArgs["result"]["courtPriceRule"]> export type CourtPriceRuleInclude = { court?: boolean | Prisma.CourtDefaultArgs } export type CourtPriceRuleIncludeCreateManyAndReturn = { court?: boolean | Prisma.CourtDefaultArgs } export type CourtPriceRuleIncludeUpdateManyAndReturn = { court?: boolean | Prisma.CourtDefaultArgs } export type $CourtPriceRulePayload = { name: "CourtPriceRule" objects: { court: Prisma.$CourtPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string courtId: string dayOfWeek: $Enums.DayOfWeek | null startTime: string | null endTime: string | null price: runtime.Decimal isActive: boolean createdAt: Date updatedAt: Date }, ExtArgs["result"]["courtPriceRule"]> composites: {} } export type CourtPriceRuleGetPayload = runtime.Types.Result.GetResult export type CourtPriceRuleCountArgs = Omit & { select?: CourtPriceRuleCountAggregateInputType | true } export interface CourtPriceRuleDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CourtPriceRule'], meta: { name: 'CourtPriceRule' } } /** * Find zero or one CourtPriceRule that matches the filter. * @param {CourtPriceRuleFindUniqueArgs} args - Arguments to find a CourtPriceRule * @example * // Get one CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CourtPriceRule that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CourtPriceRuleFindUniqueOrThrowArgs} args - Arguments to find a CourtPriceRule * @example * // Get one CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CourtPriceRule 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 {CourtPriceRuleFindFirstArgs} args - Arguments to find a CourtPriceRule * @example * // Get one CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CourtPriceRule 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 {CourtPriceRuleFindFirstOrThrowArgs} args - Arguments to find a CourtPriceRule * @example * // Get one CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CourtPriceRules 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 {CourtPriceRuleFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CourtPriceRules * const courtPriceRules = await prisma.courtPriceRule.findMany() * * // Get first 10 CourtPriceRules * const courtPriceRules = await prisma.courtPriceRule.findMany({ take: 10 }) * * // Only select the `id` * const courtPriceRuleWithIdOnly = await prisma.courtPriceRule.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a CourtPriceRule. * @param {CourtPriceRuleCreateArgs} args - Arguments to create a CourtPriceRule. * @example * // Create one CourtPriceRule * const CourtPriceRule = await prisma.courtPriceRule.create({ * data: { * // ... data to create a CourtPriceRule * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CourtPriceRules. * @param {CourtPriceRuleCreateManyArgs} args - Arguments to create many CourtPriceRules. * @example * // Create many CourtPriceRules * const courtPriceRule = await prisma.courtPriceRule.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many CourtPriceRules and returns the data saved in the database. * @param {CourtPriceRuleCreateManyAndReturnArgs} args - Arguments to create many CourtPriceRules. * @example * // Create many CourtPriceRules * const courtPriceRule = await prisma.courtPriceRule.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CourtPriceRules and only return the `id` * const courtPriceRuleWithIdOnly = await prisma.courtPriceRule.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a CourtPriceRule. * @param {CourtPriceRuleDeleteArgs} args - Arguments to delete one CourtPriceRule. * @example * // Delete one CourtPriceRule * const CourtPriceRule = await prisma.courtPriceRule.delete({ * where: { * // ... filter to delete one CourtPriceRule * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CourtPriceRule. * @param {CourtPriceRuleUpdateArgs} args - Arguments to update one CourtPriceRule. * @example * // Update one CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CourtPriceRules. * @param {CourtPriceRuleDeleteManyArgs} args - Arguments to filter CourtPriceRules to delete. * @example * // Delete a few CourtPriceRules * const { count } = await prisma.courtPriceRule.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CourtPriceRules. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CourtPriceRuleUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CourtPriceRules * const courtPriceRule = await prisma.courtPriceRule.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CourtPriceRules and returns the data updated in the database. * @param {CourtPriceRuleUpdateManyAndReturnArgs} args - Arguments to update many CourtPriceRules. * @example * // Update many CourtPriceRules * const courtPriceRule = await prisma.courtPriceRule.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CourtPriceRules and only return the `id` * const courtPriceRuleWithIdOnly = await prisma.courtPriceRule.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one CourtPriceRule. * @param {CourtPriceRuleUpsertArgs} args - Arguments to update or create a CourtPriceRule. * @example * // Update or create a CourtPriceRule * const courtPriceRule = await prisma.courtPriceRule.upsert({ * create: { * // ... data to create a CourtPriceRule * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CourtPriceRule we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__CourtPriceRuleClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CourtPriceRules. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CourtPriceRuleCountArgs} args - Arguments to filter CourtPriceRules to count. * @example * // Count the number of CourtPriceRules * const count = await prisma.courtPriceRule.count({ * where: { * // ... the filter for the CourtPriceRules we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a CourtPriceRule. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CourtPriceRuleAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by CourtPriceRule. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CourtPriceRuleGroupByArgs} 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 CourtPriceRuleGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: CourtPriceRuleGroupByArgs['orderBy'] } : { orderBy?: CourtPriceRuleGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetCourtPriceRuleGroupByPayload : Prisma.PrismaPromise /** * Fields of the CourtPriceRule model */ readonly fields: CourtPriceRuleFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CourtPriceRule. * 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__CourtPriceRuleClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" court = {}>(args?: Prisma.Subset>): Prisma.Prisma__CourtClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the CourtPriceRule model */ export interface CourtPriceRuleFieldRefs { readonly id: Prisma.FieldRef<"CourtPriceRule", 'String'> readonly courtId: Prisma.FieldRef<"CourtPriceRule", 'String'> readonly dayOfWeek: Prisma.FieldRef<"CourtPriceRule", 'DayOfWeek'> readonly startTime: Prisma.FieldRef<"CourtPriceRule", 'String'> readonly endTime: Prisma.FieldRef<"CourtPriceRule", 'String'> readonly price: Prisma.FieldRef<"CourtPriceRule", 'Decimal'> readonly isActive: Prisma.FieldRef<"CourtPriceRule", 'Boolean'> readonly createdAt: Prisma.FieldRef<"CourtPriceRule", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"CourtPriceRule", 'DateTime'> } // Custom InputTypes /** * CourtPriceRule findUnique */ export type CourtPriceRuleFindUniqueArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter, which CourtPriceRule to fetch. */ where: Prisma.CourtPriceRuleWhereUniqueInput } /** * CourtPriceRule findUniqueOrThrow */ export type CourtPriceRuleFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter, which CourtPriceRule to fetch. */ where: Prisma.CourtPriceRuleWhereUniqueInput } /** * CourtPriceRule findFirst */ export type CourtPriceRuleFindFirstArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter, which CourtPriceRule to fetch. */ where?: Prisma.CourtPriceRuleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CourtPriceRules to fetch. */ orderBy?: Prisma.CourtPriceRuleOrderByWithRelationInput | Prisma.CourtPriceRuleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CourtPriceRules. */ cursor?: Prisma.CourtPriceRuleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CourtPriceRules 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` CourtPriceRules. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CourtPriceRules. */ distinct?: Prisma.CourtPriceRuleScalarFieldEnum | Prisma.CourtPriceRuleScalarFieldEnum[] } /** * CourtPriceRule findFirstOrThrow */ export type CourtPriceRuleFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter, which CourtPriceRule to fetch. */ where?: Prisma.CourtPriceRuleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CourtPriceRules to fetch. */ orderBy?: Prisma.CourtPriceRuleOrderByWithRelationInput | Prisma.CourtPriceRuleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CourtPriceRules. */ cursor?: Prisma.CourtPriceRuleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CourtPriceRules 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` CourtPriceRules. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CourtPriceRules. */ distinct?: Prisma.CourtPriceRuleScalarFieldEnum | Prisma.CourtPriceRuleScalarFieldEnum[] } /** * CourtPriceRule findMany */ export type CourtPriceRuleFindManyArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter, which CourtPriceRules to fetch. */ where?: Prisma.CourtPriceRuleWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CourtPriceRules to fetch. */ orderBy?: Prisma.CourtPriceRuleOrderByWithRelationInput | Prisma.CourtPriceRuleOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CourtPriceRules. */ cursor?: Prisma.CourtPriceRuleWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CourtPriceRules 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` CourtPriceRules. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CourtPriceRules. */ distinct?: Prisma.CourtPriceRuleScalarFieldEnum | Prisma.CourtPriceRuleScalarFieldEnum[] } /** * CourtPriceRule create */ export type CourtPriceRuleCreateArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * The data needed to create a CourtPriceRule. */ data: Prisma.XOR } /** * CourtPriceRule createMany */ export type CourtPriceRuleCreateManyArgs = { /** * The data used to create many CourtPriceRules. */ data: Prisma.CourtPriceRuleCreateManyInput | Prisma.CourtPriceRuleCreateManyInput[] skipDuplicates?: boolean } /** * CourtPriceRule createManyAndReturn */ export type CourtPriceRuleCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelectCreateManyAndReturn | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * The data used to create many CourtPriceRules. */ data: Prisma.CourtPriceRuleCreateManyInput | Prisma.CourtPriceRuleCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleIncludeCreateManyAndReturn | null } /** * CourtPriceRule update */ export type CourtPriceRuleUpdateArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * The data needed to update a CourtPriceRule. */ data: Prisma.XOR /** * Choose, which CourtPriceRule to update. */ where: Prisma.CourtPriceRuleWhereUniqueInput } /** * CourtPriceRule updateMany */ export type CourtPriceRuleUpdateManyArgs = { /** * The data used to update CourtPriceRules. */ data: Prisma.XOR /** * Filter which CourtPriceRules to update */ where?: Prisma.CourtPriceRuleWhereInput /** * Limit how many CourtPriceRules to update. */ limit?: number } /** * CourtPriceRule updateManyAndReturn */ export type CourtPriceRuleUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelectUpdateManyAndReturn | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * The data used to update CourtPriceRules. */ data: Prisma.XOR /** * Filter which CourtPriceRules to update */ where?: Prisma.CourtPriceRuleWhereInput /** * Limit how many CourtPriceRules to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleIncludeUpdateManyAndReturn | null } /** * CourtPriceRule upsert */ export type CourtPriceRuleUpsertArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * The filter to search for the CourtPriceRule to update in case it exists. */ where: Prisma.CourtPriceRuleWhereUniqueInput /** * In case the CourtPriceRule found by the `where` argument doesn't exist, create a new CourtPriceRule with this data. */ create: Prisma.XOR /** * In case the CourtPriceRule was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * CourtPriceRule delete */ export type CourtPriceRuleDeleteArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null /** * Filter which CourtPriceRule to delete. */ where: Prisma.CourtPriceRuleWhereUniqueInput } /** * CourtPriceRule deleteMany */ export type CourtPriceRuleDeleteManyArgs = { /** * Filter which CourtPriceRules to delete */ where?: Prisma.CourtPriceRuleWhereInput /** * Limit how many CourtPriceRules to delete. */ limit?: number } /** * CourtPriceRule without action */ export type CourtPriceRuleDefaultArgs = { /** * Select specific fields to fetch from the CourtPriceRule */ select?: Prisma.CourtPriceRuleSelect | null /** * Omit specific fields from the CourtPriceRule */ omit?: Prisma.CourtPriceRuleOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CourtPriceRuleInclude | null }