/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `PipelineAggregateSnapshot` 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model PipelineAggregateSnapshot * */ export type PipelineAggregateSnapshotModel = runtime.Types.Result.DefaultSelection export type AggregatePipelineAggregateSnapshot = { _count: PipelineAggregateSnapshotCountAggregateOutputType | null _avg: PipelineAggregateSnapshotAvgAggregateOutputType | null _sum: PipelineAggregateSnapshotSumAggregateOutputType | null _min: PipelineAggregateSnapshotMinAggregateOutputType | null _max: PipelineAggregateSnapshotMaxAggregateOutputType | null } export type PipelineAggregateSnapshotAvgAggregateOutputType = { projectCount: number | null potentialValue: runtime.Decimal | null orderVolume: runtime.Decimal | null weightedForecast: runtime.Decimal | null realizedRevenue: runtime.Decimal | null lostCount: number | null stageConversionRate: runtime.Decimal | null } export type PipelineAggregateSnapshotSumAggregateOutputType = { projectCount: number | null potentialValue: runtime.Decimal | null orderVolume: runtime.Decimal | null weightedForecast: runtime.Decimal | null realizedRevenue: runtime.Decimal | null lostCount: number | null stageConversionRate: runtime.Decimal | null } export type PipelineAggregateSnapshotMinAggregateOutputType = { id: string | null tenantId: string | null pipelineId: string | null stageId: string | null scopeKey: string | null projectCount: number | null potentialValue: runtime.Decimal | null orderVolume: runtime.Decimal | null weightedForecast: runtime.Decimal | null realizedRevenue: runtime.Decimal | null lostCount: number | null stageConversionRate: runtime.Decimal | null isDemoDataIncluded: boolean | null calculatedAt: Date | null } export type PipelineAggregateSnapshotMaxAggregateOutputType = { id: string | null tenantId: string | null pipelineId: string | null stageId: string | null scopeKey: string | null projectCount: number | null potentialValue: runtime.Decimal | null orderVolume: runtime.Decimal | null weightedForecast: runtime.Decimal | null realizedRevenue: runtime.Decimal | null lostCount: number | null stageConversionRate: runtime.Decimal | null isDemoDataIncluded: boolean | null calculatedAt: Date | null } export type PipelineAggregateSnapshotCountAggregateOutputType = { id: number tenantId: number pipelineId: number stageId: number scopeKey: number projectCount: number potentialValue: number orderVolume: number weightedForecast: number realizedRevenue: number lostCount: number stageConversionRate: number lostReasonDistribution: number isDemoDataIncluded: number calculatedAt: number _all: number } export type PipelineAggregateSnapshotAvgAggregateInputType = { projectCount?: true potentialValue?: true orderVolume?: true weightedForecast?: true realizedRevenue?: true lostCount?: true stageConversionRate?: true } export type PipelineAggregateSnapshotSumAggregateInputType = { projectCount?: true potentialValue?: true orderVolume?: true weightedForecast?: true realizedRevenue?: true lostCount?: true stageConversionRate?: true } export type PipelineAggregateSnapshotMinAggregateInputType = { id?: true tenantId?: true pipelineId?: true stageId?: true scopeKey?: true projectCount?: true potentialValue?: true orderVolume?: true weightedForecast?: true realizedRevenue?: true lostCount?: true stageConversionRate?: true isDemoDataIncluded?: true calculatedAt?: true } export type PipelineAggregateSnapshotMaxAggregateInputType = { id?: true tenantId?: true pipelineId?: true stageId?: true scopeKey?: true projectCount?: true potentialValue?: true orderVolume?: true weightedForecast?: true realizedRevenue?: true lostCount?: true stageConversionRate?: true isDemoDataIncluded?: true calculatedAt?: true } export type PipelineAggregateSnapshotCountAggregateInputType = { id?: true tenantId?: true pipelineId?: true stageId?: true scopeKey?: true projectCount?: true potentialValue?: true orderVolume?: true weightedForecast?: true realizedRevenue?: true lostCount?: true stageConversionRate?: true lostReasonDistribution?: true isDemoDataIncluded?: true calculatedAt?: true _all?: true } export type PipelineAggregateSnapshotAggregateArgs = { /** * Filter which PipelineAggregateSnapshot to aggregate. */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PipelineAggregateSnapshots to fetch. */ orderBy?: Prisma.PipelineAggregateSnapshotOrderByWithRelationInput | Prisma.PipelineAggregateSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.PipelineAggregateSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PipelineAggregateSnapshots 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` PipelineAggregateSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PipelineAggregateSnapshots **/ _count?: true | PipelineAggregateSnapshotCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PipelineAggregateSnapshotAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PipelineAggregateSnapshotSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PipelineAggregateSnapshotMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PipelineAggregateSnapshotMaxAggregateInputType } export type GetPipelineAggregateSnapshotAggregateType = { [P in keyof T & keyof AggregatePipelineAggregateSnapshot]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PipelineAggregateSnapshotGroupByArgs = { where?: Prisma.PipelineAggregateSnapshotWhereInput orderBy?: Prisma.PipelineAggregateSnapshotOrderByWithAggregationInput | Prisma.PipelineAggregateSnapshotOrderByWithAggregationInput[] by: Prisma.PipelineAggregateSnapshotScalarFieldEnum[] | Prisma.PipelineAggregateSnapshotScalarFieldEnum having?: Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput take?: number skip?: number _count?: PipelineAggregateSnapshotCountAggregateInputType | true _avg?: PipelineAggregateSnapshotAvgAggregateInputType _sum?: PipelineAggregateSnapshotSumAggregateInputType _min?: PipelineAggregateSnapshotMinAggregateInputType _max?: PipelineAggregateSnapshotMaxAggregateInputType } export type PipelineAggregateSnapshotGroupByOutputType = { id: string tenantId: string pipelineId: string stageId: string | null scopeKey: string projectCount: number potentialValue: runtime.Decimal orderVolume: runtime.Decimal weightedForecast: runtime.Decimal realizedRevenue: runtime.Decimal lostCount: number stageConversionRate: runtime.Decimal | null lostReasonDistribution: runtime.JsonValue isDemoDataIncluded: boolean calculatedAt: Date _count: PipelineAggregateSnapshotCountAggregateOutputType | null _avg: PipelineAggregateSnapshotAvgAggregateOutputType | null _sum: PipelineAggregateSnapshotSumAggregateOutputType | null _min: PipelineAggregateSnapshotMinAggregateOutputType | null _max: PipelineAggregateSnapshotMaxAggregateOutputType | null } export type GetPipelineAggregateSnapshotGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PipelineAggregateSnapshotGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type PipelineAggregateSnapshotWhereInput = { AND?: Prisma.PipelineAggregateSnapshotWhereInput | Prisma.PipelineAggregateSnapshotWhereInput[] OR?: Prisma.PipelineAggregateSnapshotWhereInput[] NOT?: Prisma.PipelineAggregateSnapshotWhereInput | Prisma.PipelineAggregateSnapshotWhereInput[] id?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string tenantId?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string pipelineId?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string stageId?: Prisma.StringNullableFilter<"PipelineAggregateSnapshot"> | string | null scopeKey?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string projectCount?: Prisma.IntFilter<"PipelineAggregateSnapshot"> | number potentialValue?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFilter<"PipelineAggregateSnapshot"> | number stageConversionRate?: Prisma.DecimalNullableFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonFilter<"PipelineAggregateSnapshot"> isDemoDataIncluded?: Prisma.BoolFilter<"PipelineAggregateSnapshot"> | boolean calculatedAt?: Prisma.DateTimeFilter<"PipelineAggregateSnapshot"> | Date | string } export type PipelineAggregateSnapshotOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder pipelineId?: Prisma.SortOrder stageId?: Prisma.SortOrderInput | Prisma.SortOrder scopeKey?: Prisma.SortOrder projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrderInput | Prisma.SortOrder lostReasonDistribution?: Prisma.SortOrder isDemoDataIncluded?: Prisma.SortOrder calculatedAt?: Prisma.SortOrder } export type PipelineAggregateSnapshotWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_pipelineId_scopeKey?: Prisma.PipelineAggregateSnapshotTenantIdPipelineIdScopeKeyCompoundUniqueInput AND?: Prisma.PipelineAggregateSnapshotWhereInput | Prisma.PipelineAggregateSnapshotWhereInput[] OR?: Prisma.PipelineAggregateSnapshotWhereInput[] NOT?: Prisma.PipelineAggregateSnapshotWhereInput | Prisma.PipelineAggregateSnapshotWhereInput[] tenantId?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string pipelineId?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string stageId?: Prisma.StringNullableFilter<"PipelineAggregateSnapshot"> | string | null scopeKey?: Prisma.StringFilter<"PipelineAggregateSnapshot"> | string projectCount?: Prisma.IntFilter<"PipelineAggregateSnapshot"> | number potentialValue?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFilter<"PipelineAggregateSnapshot"> | number stageConversionRate?: Prisma.DecimalNullableFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonFilter<"PipelineAggregateSnapshot"> isDemoDataIncluded?: Prisma.BoolFilter<"PipelineAggregateSnapshot"> | boolean calculatedAt?: Prisma.DateTimeFilter<"PipelineAggregateSnapshot"> | Date | string }, "id" | "tenantId_pipelineId_scopeKey"> export type PipelineAggregateSnapshotOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder pipelineId?: Prisma.SortOrder stageId?: Prisma.SortOrderInput | Prisma.SortOrder scopeKey?: Prisma.SortOrder projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrderInput | Prisma.SortOrder lostReasonDistribution?: Prisma.SortOrder isDemoDataIncluded?: Prisma.SortOrder calculatedAt?: Prisma.SortOrder _count?: Prisma.PipelineAggregateSnapshotCountOrderByAggregateInput _avg?: Prisma.PipelineAggregateSnapshotAvgOrderByAggregateInput _max?: Prisma.PipelineAggregateSnapshotMaxOrderByAggregateInput _min?: Prisma.PipelineAggregateSnapshotMinOrderByAggregateInput _sum?: Prisma.PipelineAggregateSnapshotSumOrderByAggregateInput } export type PipelineAggregateSnapshotScalarWhereWithAggregatesInput = { AND?: Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput | Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput[] OR?: Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput[] NOT?: Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput | Prisma.PipelineAggregateSnapshotScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"PipelineAggregateSnapshot"> | string tenantId?: Prisma.StringWithAggregatesFilter<"PipelineAggregateSnapshot"> | string pipelineId?: Prisma.StringWithAggregatesFilter<"PipelineAggregateSnapshot"> | string stageId?: Prisma.StringNullableWithAggregatesFilter<"PipelineAggregateSnapshot"> | string | null scopeKey?: Prisma.StringWithAggregatesFilter<"PipelineAggregateSnapshot"> | string projectCount?: Prisma.IntWithAggregatesFilter<"PipelineAggregateSnapshot"> | number potentialValue?: Prisma.DecimalWithAggregatesFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalWithAggregatesFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalWithAggregatesFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalWithAggregatesFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntWithAggregatesFilter<"PipelineAggregateSnapshot"> | number stageConversionRate?: Prisma.DecimalNullableWithAggregatesFilter<"PipelineAggregateSnapshot"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonWithAggregatesFilter<"PipelineAggregateSnapshot"> isDemoDataIncluded?: Prisma.BoolWithAggregatesFilter<"PipelineAggregateSnapshot"> | boolean calculatedAt?: Prisma.DateTimeWithAggregatesFilter<"PipelineAggregateSnapshot"> | Date | string } export type PipelineAggregateSnapshotCreateInput = { id?: string tenantId: string pipelineId: string stageId?: string | null scopeKey: string projectCount?: number potentialValue?: runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: number stageConversionRate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: boolean calculatedAt?: Date | string } export type PipelineAggregateSnapshotUncheckedCreateInput = { id?: string tenantId: string pipelineId: string stageId?: string | null scopeKey: string projectCount?: number potentialValue?: runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: number stageConversionRate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: boolean calculatedAt?: Date | string } export type PipelineAggregateSnapshotUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string pipelineId?: Prisma.StringFieldUpdateOperationsInput | string stageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scopeKey?: Prisma.StringFieldUpdateOperationsInput | string projectCount?: Prisma.IntFieldUpdateOperationsInput | number potentialValue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFieldUpdateOperationsInput | number stageConversionRate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean calculatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type PipelineAggregateSnapshotUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string pipelineId?: Prisma.StringFieldUpdateOperationsInput | string stageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scopeKey?: Prisma.StringFieldUpdateOperationsInput | string projectCount?: Prisma.IntFieldUpdateOperationsInput | number potentialValue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFieldUpdateOperationsInput | number stageConversionRate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean calculatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type PipelineAggregateSnapshotCreateManyInput = { id?: string tenantId: string pipelineId: string stageId?: string | null scopeKey: string projectCount?: number potentialValue?: runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: number stageConversionRate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: boolean calculatedAt?: Date | string } export type PipelineAggregateSnapshotUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string pipelineId?: Prisma.StringFieldUpdateOperationsInput | string stageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scopeKey?: Prisma.StringFieldUpdateOperationsInput | string projectCount?: Prisma.IntFieldUpdateOperationsInput | number potentialValue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFieldUpdateOperationsInput | number stageConversionRate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean calculatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type PipelineAggregateSnapshotUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string pipelineId?: Prisma.StringFieldUpdateOperationsInput | string stageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scopeKey?: Prisma.StringFieldUpdateOperationsInput | string projectCount?: Prisma.IntFieldUpdateOperationsInput | number potentialValue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string orderVolume?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string weightedForecast?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string realizedRevenue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string lostCount?: Prisma.IntFieldUpdateOperationsInput | number stageConversionRate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null lostReasonDistribution?: Prisma.JsonNullValueInput | runtime.InputJsonValue isDemoDataIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean calculatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type PipelineAggregateSnapshotTenantIdPipelineIdScopeKeyCompoundUniqueInput = { tenantId: string pipelineId: string scopeKey: string } export type PipelineAggregateSnapshotCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder pipelineId?: Prisma.SortOrder stageId?: Prisma.SortOrder scopeKey?: Prisma.SortOrder projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrder lostReasonDistribution?: Prisma.SortOrder isDemoDataIncluded?: Prisma.SortOrder calculatedAt?: Prisma.SortOrder } export type PipelineAggregateSnapshotAvgOrderByAggregateInput = { projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrder } export type PipelineAggregateSnapshotMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder pipelineId?: Prisma.SortOrder stageId?: Prisma.SortOrder scopeKey?: Prisma.SortOrder projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrder isDemoDataIncluded?: Prisma.SortOrder calculatedAt?: Prisma.SortOrder } export type PipelineAggregateSnapshotMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder pipelineId?: Prisma.SortOrder stageId?: Prisma.SortOrder scopeKey?: Prisma.SortOrder projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrder isDemoDataIncluded?: Prisma.SortOrder calculatedAt?: Prisma.SortOrder } export type PipelineAggregateSnapshotSumOrderByAggregateInput = { projectCount?: Prisma.SortOrder potentialValue?: Prisma.SortOrder orderVolume?: Prisma.SortOrder weightedForecast?: Prisma.SortOrder realizedRevenue?: Prisma.SortOrder lostCount?: Prisma.SortOrder stageConversionRate?: Prisma.SortOrder } export type PipelineAggregateSnapshotSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean pipelineId?: boolean stageId?: boolean scopeKey?: boolean projectCount?: boolean potentialValue?: boolean orderVolume?: boolean weightedForecast?: boolean realizedRevenue?: boolean lostCount?: boolean stageConversionRate?: boolean lostReasonDistribution?: boolean isDemoDataIncluded?: boolean calculatedAt?: boolean }, ExtArgs["result"]["pipelineAggregateSnapshot"]> export type PipelineAggregateSnapshotSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean pipelineId?: boolean stageId?: boolean scopeKey?: boolean projectCount?: boolean potentialValue?: boolean orderVolume?: boolean weightedForecast?: boolean realizedRevenue?: boolean lostCount?: boolean stageConversionRate?: boolean lostReasonDistribution?: boolean isDemoDataIncluded?: boolean calculatedAt?: boolean }, ExtArgs["result"]["pipelineAggregateSnapshot"]> export type PipelineAggregateSnapshotSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean pipelineId?: boolean stageId?: boolean scopeKey?: boolean projectCount?: boolean potentialValue?: boolean orderVolume?: boolean weightedForecast?: boolean realizedRevenue?: boolean lostCount?: boolean stageConversionRate?: boolean lostReasonDistribution?: boolean isDemoDataIncluded?: boolean calculatedAt?: boolean }, ExtArgs["result"]["pipelineAggregateSnapshot"]> export type PipelineAggregateSnapshotSelectScalar = { id?: boolean tenantId?: boolean pipelineId?: boolean stageId?: boolean scopeKey?: boolean projectCount?: boolean potentialValue?: boolean orderVolume?: boolean weightedForecast?: boolean realizedRevenue?: boolean lostCount?: boolean stageConversionRate?: boolean lostReasonDistribution?: boolean isDemoDataIncluded?: boolean calculatedAt?: boolean } export type PipelineAggregateSnapshotOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "pipelineId" | "stageId" | "scopeKey" | "projectCount" | "potentialValue" | "orderVolume" | "weightedForecast" | "realizedRevenue" | "lostCount" | "stageConversionRate" | "lostReasonDistribution" | "isDemoDataIncluded" | "calculatedAt", ExtArgs["result"]["pipelineAggregateSnapshot"]> export type $PipelineAggregateSnapshotPayload = { name: "PipelineAggregateSnapshot" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string pipelineId: string stageId: string | null scopeKey: string projectCount: number potentialValue: runtime.Decimal orderVolume: runtime.Decimal weightedForecast: runtime.Decimal realizedRevenue: runtime.Decimal lostCount: number stageConversionRate: runtime.Decimal | null lostReasonDistribution: runtime.JsonValue isDemoDataIncluded: boolean calculatedAt: Date }, ExtArgs["result"]["pipelineAggregateSnapshot"]> composites: {} } export type PipelineAggregateSnapshotGetPayload = runtime.Types.Result.GetResult export type PipelineAggregateSnapshotCountArgs = Omit & { select?: PipelineAggregateSnapshotCountAggregateInputType | true } export interface PipelineAggregateSnapshotDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PipelineAggregateSnapshot'], meta: { name: 'PipelineAggregateSnapshot' } } /** * Find zero or one PipelineAggregateSnapshot that matches the filter. * @param {PipelineAggregateSnapshotFindUniqueArgs} args - Arguments to find a PipelineAggregateSnapshot * @example * // Get one PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PipelineAggregateSnapshot that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PipelineAggregateSnapshotFindUniqueOrThrowArgs} args - Arguments to find a PipelineAggregateSnapshot * @example * // Get one PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PipelineAggregateSnapshot 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 {PipelineAggregateSnapshotFindFirstArgs} args - Arguments to find a PipelineAggregateSnapshot * @example * // Get one PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PipelineAggregateSnapshot 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 {PipelineAggregateSnapshotFindFirstOrThrowArgs} args - Arguments to find a PipelineAggregateSnapshot * @example * // Get one PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PipelineAggregateSnapshots 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 {PipelineAggregateSnapshotFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PipelineAggregateSnapshots * const pipelineAggregateSnapshots = await prisma.pipelineAggregateSnapshot.findMany() * * // Get first 10 PipelineAggregateSnapshots * const pipelineAggregateSnapshots = await prisma.pipelineAggregateSnapshot.findMany({ take: 10 }) * * // Only select the `id` * const pipelineAggregateSnapshotWithIdOnly = await prisma.pipelineAggregateSnapshot.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a PipelineAggregateSnapshot. * @param {PipelineAggregateSnapshotCreateArgs} args - Arguments to create a PipelineAggregateSnapshot. * @example * // Create one PipelineAggregateSnapshot * const PipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.create({ * data: { * // ... data to create a PipelineAggregateSnapshot * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PipelineAggregateSnapshots. * @param {PipelineAggregateSnapshotCreateManyArgs} args - Arguments to create many PipelineAggregateSnapshots. * @example * // Create many PipelineAggregateSnapshots * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many PipelineAggregateSnapshots and returns the data saved in the database. * @param {PipelineAggregateSnapshotCreateManyAndReturnArgs} args - Arguments to create many PipelineAggregateSnapshots. * @example * // Create many PipelineAggregateSnapshots * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PipelineAggregateSnapshots and only return the `id` * const pipelineAggregateSnapshotWithIdOnly = await prisma.pipelineAggregateSnapshot.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 PipelineAggregateSnapshot. * @param {PipelineAggregateSnapshotDeleteArgs} args - Arguments to delete one PipelineAggregateSnapshot. * @example * // Delete one PipelineAggregateSnapshot * const PipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.delete({ * where: { * // ... filter to delete one PipelineAggregateSnapshot * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PipelineAggregateSnapshot. * @param {PipelineAggregateSnapshotUpdateArgs} args - Arguments to update one PipelineAggregateSnapshot. * @example * // Update one PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PipelineAggregateSnapshots. * @param {PipelineAggregateSnapshotDeleteManyArgs} args - Arguments to filter PipelineAggregateSnapshots to delete. * @example * // Delete a few PipelineAggregateSnapshots * const { count } = await prisma.pipelineAggregateSnapshot.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PipelineAggregateSnapshots. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineAggregateSnapshotUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PipelineAggregateSnapshots * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PipelineAggregateSnapshots and returns the data updated in the database. * @param {PipelineAggregateSnapshotUpdateManyAndReturnArgs} args - Arguments to update many PipelineAggregateSnapshots. * @example * // Update many PipelineAggregateSnapshots * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PipelineAggregateSnapshots and only return the `id` * const pipelineAggregateSnapshotWithIdOnly = await prisma.pipelineAggregateSnapshot.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 PipelineAggregateSnapshot. * @param {PipelineAggregateSnapshotUpsertArgs} args - Arguments to update or create a PipelineAggregateSnapshot. * @example * // Update or create a PipelineAggregateSnapshot * const pipelineAggregateSnapshot = await prisma.pipelineAggregateSnapshot.upsert({ * create: { * // ... data to create a PipelineAggregateSnapshot * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PipelineAggregateSnapshot we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineAggregateSnapshotClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PipelineAggregateSnapshots. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineAggregateSnapshotCountArgs} args - Arguments to filter PipelineAggregateSnapshots to count. * @example * // Count the number of PipelineAggregateSnapshots * const count = await prisma.pipelineAggregateSnapshot.count({ * where: { * // ... the filter for the PipelineAggregateSnapshots 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 PipelineAggregateSnapshot. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineAggregateSnapshotAggregateArgs} 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 PipelineAggregateSnapshot. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineAggregateSnapshotGroupByArgs} 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 PipelineAggregateSnapshotGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PipelineAggregateSnapshotGroupByArgs['orderBy'] } : { orderBy?: PipelineAggregateSnapshotGroupByArgs['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 ? GetPipelineAggregateSnapshotGroupByPayload : Prisma.PrismaPromise /** * Fields of the PipelineAggregateSnapshot model */ readonly fields: PipelineAggregateSnapshotFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PipelineAggregateSnapshot. * 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__PipelineAggregateSnapshotClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * 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 PipelineAggregateSnapshot model */ export interface PipelineAggregateSnapshotFieldRefs { readonly id: Prisma.FieldRef<"PipelineAggregateSnapshot", 'String'> readonly tenantId: Prisma.FieldRef<"PipelineAggregateSnapshot", 'String'> readonly pipelineId: Prisma.FieldRef<"PipelineAggregateSnapshot", 'String'> readonly stageId: Prisma.FieldRef<"PipelineAggregateSnapshot", 'String'> readonly scopeKey: Prisma.FieldRef<"PipelineAggregateSnapshot", 'String'> readonly projectCount: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Int'> readonly potentialValue: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Decimal'> readonly orderVolume: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Decimal'> readonly weightedForecast: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Decimal'> readonly realizedRevenue: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Decimal'> readonly lostCount: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Int'> readonly stageConversionRate: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Decimal'> readonly lostReasonDistribution: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Json'> readonly isDemoDataIncluded: Prisma.FieldRef<"PipelineAggregateSnapshot", 'Boolean'> readonly calculatedAt: Prisma.FieldRef<"PipelineAggregateSnapshot", 'DateTime'> } // Custom InputTypes /** * PipelineAggregateSnapshot findUnique */ export type PipelineAggregateSnapshotFindUniqueArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter, which PipelineAggregateSnapshot to fetch. */ where: Prisma.PipelineAggregateSnapshotWhereUniqueInput } /** * PipelineAggregateSnapshot findUniqueOrThrow */ export type PipelineAggregateSnapshotFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter, which PipelineAggregateSnapshot to fetch. */ where: Prisma.PipelineAggregateSnapshotWhereUniqueInput } /** * PipelineAggregateSnapshot findFirst */ export type PipelineAggregateSnapshotFindFirstArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter, which PipelineAggregateSnapshot to fetch. */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PipelineAggregateSnapshots to fetch. */ orderBy?: Prisma.PipelineAggregateSnapshotOrderByWithRelationInput | Prisma.PipelineAggregateSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PipelineAggregateSnapshots. */ cursor?: Prisma.PipelineAggregateSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PipelineAggregateSnapshots 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` PipelineAggregateSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PipelineAggregateSnapshots. */ distinct?: Prisma.PipelineAggregateSnapshotScalarFieldEnum | Prisma.PipelineAggregateSnapshotScalarFieldEnum[] } /** * PipelineAggregateSnapshot findFirstOrThrow */ export type PipelineAggregateSnapshotFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter, which PipelineAggregateSnapshot to fetch. */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PipelineAggregateSnapshots to fetch. */ orderBy?: Prisma.PipelineAggregateSnapshotOrderByWithRelationInput | Prisma.PipelineAggregateSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PipelineAggregateSnapshots. */ cursor?: Prisma.PipelineAggregateSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PipelineAggregateSnapshots 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` PipelineAggregateSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PipelineAggregateSnapshots. */ distinct?: Prisma.PipelineAggregateSnapshotScalarFieldEnum | Prisma.PipelineAggregateSnapshotScalarFieldEnum[] } /** * PipelineAggregateSnapshot findMany */ export type PipelineAggregateSnapshotFindManyArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter, which PipelineAggregateSnapshots to fetch. */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PipelineAggregateSnapshots to fetch. */ orderBy?: Prisma.PipelineAggregateSnapshotOrderByWithRelationInput | Prisma.PipelineAggregateSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PipelineAggregateSnapshots. */ cursor?: Prisma.PipelineAggregateSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PipelineAggregateSnapshots 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` PipelineAggregateSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PipelineAggregateSnapshots. */ distinct?: Prisma.PipelineAggregateSnapshotScalarFieldEnum | Prisma.PipelineAggregateSnapshotScalarFieldEnum[] } /** * PipelineAggregateSnapshot create */ export type PipelineAggregateSnapshotCreateArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * The data needed to create a PipelineAggregateSnapshot. */ data: Prisma.XOR } /** * PipelineAggregateSnapshot createMany */ export type PipelineAggregateSnapshotCreateManyArgs = { /** * The data used to create many PipelineAggregateSnapshots. */ data: Prisma.PipelineAggregateSnapshotCreateManyInput | Prisma.PipelineAggregateSnapshotCreateManyInput[] skipDuplicates?: boolean } /** * PipelineAggregateSnapshot createManyAndReturn */ export type PipelineAggregateSnapshotCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelectCreateManyAndReturn | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * The data used to create many PipelineAggregateSnapshots. */ data: Prisma.PipelineAggregateSnapshotCreateManyInput | Prisma.PipelineAggregateSnapshotCreateManyInput[] skipDuplicates?: boolean } /** * PipelineAggregateSnapshot update */ export type PipelineAggregateSnapshotUpdateArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * The data needed to update a PipelineAggregateSnapshot. */ data: Prisma.XOR /** * Choose, which PipelineAggregateSnapshot to update. */ where: Prisma.PipelineAggregateSnapshotWhereUniqueInput } /** * PipelineAggregateSnapshot updateMany */ export type PipelineAggregateSnapshotUpdateManyArgs = { /** * The data used to update PipelineAggregateSnapshots. */ data: Prisma.XOR /** * Filter which PipelineAggregateSnapshots to update */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * Limit how many PipelineAggregateSnapshots to update. */ limit?: number } /** * PipelineAggregateSnapshot updateManyAndReturn */ export type PipelineAggregateSnapshotUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelectUpdateManyAndReturn | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * The data used to update PipelineAggregateSnapshots. */ data: Prisma.XOR /** * Filter which PipelineAggregateSnapshots to update */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * Limit how many PipelineAggregateSnapshots to update. */ limit?: number } /** * PipelineAggregateSnapshot upsert */ export type PipelineAggregateSnapshotUpsertArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * The filter to search for the PipelineAggregateSnapshot to update in case it exists. */ where: Prisma.PipelineAggregateSnapshotWhereUniqueInput /** * In case the PipelineAggregateSnapshot found by the `where` argument doesn't exist, create a new PipelineAggregateSnapshot with this data. */ create: Prisma.XOR /** * In case the PipelineAggregateSnapshot was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * PipelineAggregateSnapshot delete */ export type PipelineAggregateSnapshotDeleteArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null /** * Filter which PipelineAggregateSnapshot to delete. */ where: Prisma.PipelineAggregateSnapshotWhereUniqueInput } /** * PipelineAggregateSnapshot deleteMany */ export type PipelineAggregateSnapshotDeleteManyArgs = { /** * Filter which PipelineAggregateSnapshots to delete */ where?: Prisma.PipelineAggregateSnapshotWhereInput /** * Limit how many PipelineAggregateSnapshots to delete. */ limit?: number } /** * PipelineAggregateSnapshot without action */ export type PipelineAggregateSnapshotDefaultArgs = { /** * Select specific fields to fetch from the PipelineAggregateSnapshot */ select?: Prisma.PipelineAggregateSnapshotSelect | null /** * Omit specific fields from the PipelineAggregateSnapshot */ omit?: Prisma.PipelineAggregateSnapshotOmit | null }