import type * as runtime from "@prisma/client/runtime/client"; import type * as $Enums from "../enums"; import type * as Prisma from "../internal/prismaNamespace"; /** * Model Archive * */ export type ArchiveModel = runtime.Types.Result.DefaultSelection; export type AggregateArchive = { _count: ArchiveCountAggregateOutputType | null; _avg: ArchiveAvgAggregateOutputType | null; _sum: ArchiveSumAggregateOutputType | null; _min: ArchiveMinAggregateOutputType | null; _max: ArchiveMaxAggregateOutputType | null; }; export type ArchiveAvgAggregateOutputType = { id: number | null; confidence: number | null; supersededBy: number | null; }; export type ArchiveSumAggregateOutputType = { id: number | null; confidence: number | null; supersededBy: number | null; }; export type ArchiveMinAggregateOutputType = { id: number | null; entityType: string | null; entityId: string | null; key: string | null; valueSummary: string | null; confidence: number | null; source: string | null; validFrom: Date | null; validUntil: Date | null; createdBy: string | null; createdAt: Date | null; archivedAt: Date | null; archivedReason: $Enums.ArchivedReason | null; resolutionState: $Enums.ResolutionState | null; resolutionOutcome: $Enums.ResolutionOutcome | null; supersededBy: number | null; supersededByEntityType: string | null; supersededByEntityId: string | null; supersededByKey: string | null; }; export type ArchiveMaxAggregateOutputType = { id: number | null; entityType: string | null; entityId: string | null; key: string | null; valueSummary: string | null; confidence: number | null; source: string | null; validFrom: Date | null; validUntil: Date | null; createdBy: string | null; createdAt: Date | null; archivedAt: Date | null; archivedReason: $Enums.ArchivedReason | null; resolutionState: $Enums.ResolutionState | null; resolutionOutcome: $Enums.ResolutionOutcome | null; supersededBy: number | null; supersededByEntityType: string | null; supersededByEntityId: string | null; supersededByKey: string | null; }; export type ArchiveCountAggregateOutputType = { id: number; entityType: number; entityId: number; key: number; valueRaw: number; valueSummary: number; confidence: number; source: number; validFrom: number; validUntil: number; createdBy: number; createdAt: number; conflictLog: number; properties: number; archivedAt: number; archivedReason: number; resolutionState: number; resolutionOutcome: number; supersededBy: number; supersededByEntityType: number; supersededByEntityId: number; supersededByKey: number; _all: number; }; export type ArchiveAvgAggregateInputType = { id?: true; confidence?: true; supersededBy?: true; }; export type ArchiveSumAggregateInputType = { id?: true; confidence?: true; supersededBy?: true; }; export type ArchiveMinAggregateInputType = { id?: true; entityType?: true; entityId?: true; key?: true; valueSummary?: true; confidence?: true; source?: true; validFrom?: true; validUntil?: true; createdBy?: true; createdAt?: true; archivedAt?: true; archivedReason?: true; resolutionState?: true; resolutionOutcome?: true; supersededBy?: true; supersededByEntityType?: true; supersededByEntityId?: true; supersededByKey?: true; }; export type ArchiveMaxAggregateInputType = { id?: true; entityType?: true; entityId?: true; key?: true; valueSummary?: true; confidence?: true; source?: true; validFrom?: true; validUntil?: true; createdBy?: true; createdAt?: true; archivedAt?: true; archivedReason?: true; resolutionState?: true; resolutionOutcome?: true; supersededBy?: true; supersededByEntityType?: true; supersededByEntityId?: true; supersededByKey?: true; }; export type ArchiveCountAggregateInputType = { id?: true; entityType?: true; entityId?: true; key?: true; valueRaw?: true; valueSummary?: true; confidence?: true; source?: true; validFrom?: true; validUntil?: true; createdBy?: true; createdAt?: true; conflictLog?: true; properties?: true; archivedAt?: true; archivedReason?: true; resolutionState?: true; resolutionOutcome?: true; supersededBy?: true; supersededByEntityType?: true; supersededByEntityId?: true; supersededByKey?: true; _all?: true; }; export type ArchiveAggregateArgs = { /** * Filter which Archive to aggregate. */ where?: Prisma.ArchiveWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Archives to fetch. */ orderBy?: Prisma.ArchiveOrderByWithRelationInput | Prisma.ArchiveOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ArchiveWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Archives 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` Archives. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Archives **/ _count?: true | ArchiveCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ArchiveAvgAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ArchiveSumAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ArchiveMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ArchiveMaxAggregateInputType; }; export type GetArchiveAggregateType = { [P in keyof T & keyof AggregateArchive]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type ArchiveGroupByArgs = { where?: Prisma.ArchiveWhereInput; orderBy?: Prisma.ArchiveOrderByWithAggregationInput | Prisma.ArchiveOrderByWithAggregationInput[]; by: Prisma.ArchiveScalarFieldEnum[] | Prisma.ArchiveScalarFieldEnum; having?: Prisma.ArchiveScalarWhereWithAggregatesInput; take?: number; skip?: number; _count?: ArchiveCountAggregateInputType | true; _avg?: ArchiveAvgAggregateInputType; _sum?: ArchiveSumAggregateInputType; _min?: ArchiveMinAggregateInputType; _max?: ArchiveMaxAggregateInputType; }; export type ArchiveGroupByOutputType = { id: number; entityType: string; entityId: string; key: string; valueRaw: runtime.JsonValue; valueSummary: string; confidence: number; source: string; validFrom: Date; validUntil: Date | null; createdBy: string; createdAt: Date; conflictLog: runtime.JsonValue; properties: runtime.JsonValue; archivedAt: Date; archivedReason: $Enums.ArchivedReason; resolutionState: $Enums.ResolutionState; resolutionOutcome: $Enums.ResolutionOutcome; supersededBy: number | null; supersededByEntityType: string | null; supersededByEntityId: string | null; supersededByKey: string | null; _count: ArchiveCountAggregateOutputType | null; _avg: ArchiveAvgAggregateOutputType | null; _sum: ArchiveSumAggregateOutputType | null; _min: ArchiveMinAggregateOutputType | null; _max: ArchiveMaxAggregateOutputType | null; }; type GetArchiveGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof ArchiveGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type ArchiveWhereInput = { AND?: Prisma.ArchiveWhereInput | Prisma.ArchiveWhereInput[]; OR?: Prisma.ArchiveWhereInput[]; NOT?: Prisma.ArchiveWhereInput | Prisma.ArchiveWhereInput[]; id?: Prisma.IntFilter<"Archive"> | number; entityType?: Prisma.StringFilter<"Archive"> | string; entityId?: Prisma.StringFilter<"Archive"> | string; key?: Prisma.StringFilter<"Archive"> | string; valueRaw?: Prisma.JsonFilter<"Archive">; valueSummary?: Prisma.StringFilter<"Archive"> | string; confidence?: Prisma.IntFilter<"Archive"> | number; source?: Prisma.StringFilter<"Archive"> | string; validFrom?: Prisma.DateTimeFilter<"Archive"> | Date | string; validUntil?: Prisma.DateTimeNullableFilter<"Archive"> | Date | string | null; createdBy?: Prisma.StringFilter<"Archive"> | string; createdAt?: Prisma.DateTimeFilter<"Archive"> | Date | string; conflictLog?: Prisma.JsonFilter<"Archive">; properties?: Prisma.JsonFilter<"Archive">; archivedAt?: Prisma.DateTimeFilter<"Archive"> | Date | string; archivedReason?: Prisma.EnumArchivedReasonFilter<"Archive"> | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFilter<"Archive"> | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFilter<"Archive"> | $Enums.ResolutionOutcome; supersededBy?: Prisma.IntNullableFilter<"Archive"> | number | null; supersededByEntityType?: Prisma.StringNullableFilter<"Archive"> | string | null; supersededByEntityId?: Prisma.StringNullableFilter<"Archive"> | string | null; supersededByKey?: Prisma.StringNullableFilter<"Archive"> | string | null; }; export type ArchiveOrderByWithRelationInput = { id?: Prisma.SortOrder; entityType?: Prisma.SortOrder; entityId?: Prisma.SortOrder; key?: Prisma.SortOrder; valueRaw?: Prisma.SortOrder; valueSummary?: Prisma.SortOrder; confidence?: Prisma.SortOrder; source?: Prisma.SortOrder; validFrom?: Prisma.SortOrder; validUntil?: Prisma.SortOrderInput | Prisma.SortOrder; createdBy?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; conflictLog?: Prisma.SortOrder; properties?: Prisma.SortOrder; archivedAt?: Prisma.SortOrder; archivedReason?: Prisma.SortOrder; resolutionState?: Prisma.SortOrder; resolutionOutcome?: Prisma.SortOrder; supersededBy?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByEntityType?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByEntityId?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByKey?: Prisma.SortOrderInput | Prisma.SortOrder; }; export type ArchiveWhereUniqueInput = Prisma.AtLeast<{ id?: number; AND?: Prisma.ArchiveWhereInput | Prisma.ArchiveWhereInput[]; OR?: Prisma.ArchiveWhereInput[]; NOT?: Prisma.ArchiveWhereInput | Prisma.ArchiveWhereInput[]; entityType?: Prisma.StringFilter<"Archive"> | string; entityId?: Prisma.StringFilter<"Archive"> | string; key?: Prisma.StringFilter<"Archive"> | string; valueRaw?: Prisma.JsonFilter<"Archive">; valueSummary?: Prisma.StringFilter<"Archive"> | string; confidence?: Prisma.IntFilter<"Archive"> | number; source?: Prisma.StringFilter<"Archive"> | string; validFrom?: Prisma.DateTimeFilter<"Archive"> | Date | string; validUntil?: Prisma.DateTimeNullableFilter<"Archive"> | Date | string | null; createdBy?: Prisma.StringFilter<"Archive"> | string; createdAt?: Prisma.DateTimeFilter<"Archive"> | Date | string; conflictLog?: Prisma.JsonFilter<"Archive">; properties?: Prisma.JsonFilter<"Archive">; archivedAt?: Prisma.DateTimeFilter<"Archive"> | Date | string; archivedReason?: Prisma.EnumArchivedReasonFilter<"Archive"> | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFilter<"Archive"> | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFilter<"Archive"> | $Enums.ResolutionOutcome; supersededBy?: Prisma.IntNullableFilter<"Archive"> | number | null; supersededByEntityType?: Prisma.StringNullableFilter<"Archive"> | string | null; supersededByEntityId?: Prisma.StringNullableFilter<"Archive"> | string | null; supersededByKey?: Prisma.StringNullableFilter<"Archive"> | string | null; }, "id">; export type ArchiveOrderByWithAggregationInput = { id?: Prisma.SortOrder; entityType?: Prisma.SortOrder; entityId?: Prisma.SortOrder; key?: Prisma.SortOrder; valueRaw?: Prisma.SortOrder; valueSummary?: Prisma.SortOrder; confidence?: Prisma.SortOrder; source?: Prisma.SortOrder; validFrom?: Prisma.SortOrder; validUntil?: Prisma.SortOrderInput | Prisma.SortOrder; createdBy?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; conflictLog?: Prisma.SortOrder; properties?: Prisma.SortOrder; archivedAt?: Prisma.SortOrder; archivedReason?: Prisma.SortOrder; resolutionState?: Prisma.SortOrder; resolutionOutcome?: Prisma.SortOrder; supersededBy?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByEntityType?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByEntityId?: Prisma.SortOrderInput | Prisma.SortOrder; supersededByKey?: Prisma.SortOrderInput | Prisma.SortOrder; _count?: Prisma.ArchiveCountOrderByAggregateInput; _avg?: Prisma.ArchiveAvgOrderByAggregateInput; _max?: Prisma.ArchiveMaxOrderByAggregateInput; _min?: Prisma.ArchiveMinOrderByAggregateInput; _sum?: Prisma.ArchiveSumOrderByAggregateInput; }; export type ArchiveScalarWhereWithAggregatesInput = { AND?: Prisma.ArchiveScalarWhereWithAggregatesInput | Prisma.ArchiveScalarWhereWithAggregatesInput[]; OR?: Prisma.ArchiveScalarWhereWithAggregatesInput[]; NOT?: Prisma.ArchiveScalarWhereWithAggregatesInput | Prisma.ArchiveScalarWhereWithAggregatesInput[]; id?: Prisma.IntWithAggregatesFilter<"Archive"> | number; entityType?: Prisma.StringWithAggregatesFilter<"Archive"> | string; entityId?: Prisma.StringWithAggregatesFilter<"Archive"> | string; key?: Prisma.StringWithAggregatesFilter<"Archive"> | string; valueRaw?: Prisma.JsonWithAggregatesFilter<"Archive">; valueSummary?: Prisma.StringWithAggregatesFilter<"Archive"> | string; confidence?: Prisma.IntWithAggregatesFilter<"Archive"> | number; source?: Prisma.StringWithAggregatesFilter<"Archive"> | string; validFrom?: Prisma.DateTimeWithAggregatesFilter<"Archive"> | Date | string; validUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"Archive"> | Date | string | null; createdBy?: Prisma.StringWithAggregatesFilter<"Archive"> | string; createdAt?: Prisma.DateTimeWithAggregatesFilter<"Archive"> | Date | string; conflictLog?: Prisma.JsonWithAggregatesFilter<"Archive">; properties?: Prisma.JsonWithAggregatesFilter<"Archive">; archivedAt?: Prisma.DateTimeWithAggregatesFilter<"Archive"> | Date | string; archivedReason?: Prisma.EnumArchivedReasonWithAggregatesFilter<"Archive"> | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateWithAggregatesFilter<"Archive"> | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeWithAggregatesFilter<"Archive"> | $Enums.ResolutionOutcome; supersededBy?: Prisma.IntNullableWithAggregatesFilter<"Archive"> | number | null; supersededByEntityType?: Prisma.StringNullableWithAggregatesFilter<"Archive"> | string | null; supersededByEntityId?: Prisma.StringNullableWithAggregatesFilter<"Archive"> | string | null; supersededByKey?: Prisma.StringNullableWithAggregatesFilter<"Archive"> | string | null; }; export type ArchiveCreateInput = { entityType: string; entityId: string; key: string; valueRaw: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary: string; confidence: number; source: string; validFrom: Date | string; validUntil?: Date | string | null; createdBy: string; createdAt: Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Date | string; archivedReason: $Enums.ArchivedReason; resolutionState?: $Enums.ResolutionState; resolutionOutcome?: $Enums.ResolutionOutcome; supersededBy?: number | null; supersededByEntityType?: string | null; supersededByEntityId?: string | null; supersededByKey?: string | null; }; export type ArchiveUncheckedCreateInput = { id?: number; entityType: string; entityId: string; key: string; valueRaw: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary: string; confidence: number; source: string; validFrom: Date | string; validUntil?: Date | string | null; createdBy: string; createdAt: Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Date | string; archivedReason: $Enums.ArchivedReason; resolutionState?: $Enums.ResolutionState; resolutionOutcome?: $Enums.ResolutionOutcome; supersededBy?: number | null; supersededByEntityType?: string | null; supersededByEntityId?: string | null; supersededByKey?: string | null; }; export type ArchiveUpdateInput = { entityType?: Prisma.StringFieldUpdateOperationsInput | string; entityId?: Prisma.StringFieldUpdateOperationsInput | string; key?: Prisma.StringFieldUpdateOperationsInput | string; valueRaw?: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary?: Prisma.StringFieldUpdateOperationsInput | string; confidence?: Prisma.IntFieldUpdateOperationsInput | number; source?: Prisma.StringFieldUpdateOperationsInput | string; validFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; createdBy?: Prisma.StringFieldUpdateOperationsInput | string; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; archivedReason?: Prisma.EnumArchivedReasonFieldUpdateOperationsInput | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFieldUpdateOperationsInput | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFieldUpdateOperationsInput | $Enums.ResolutionOutcome; supersededBy?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; supersededByEntityType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type ArchiveUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; entityType?: Prisma.StringFieldUpdateOperationsInput | string; entityId?: Prisma.StringFieldUpdateOperationsInput | string; key?: Prisma.StringFieldUpdateOperationsInput | string; valueRaw?: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary?: Prisma.StringFieldUpdateOperationsInput | string; confidence?: Prisma.IntFieldUpdateOperationsInput | number; source?: Prisma.StringFieldUpdateOperationsInput | string; validFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; createdBy?: Prisma.StringFieldUpdateOperationsInput | string; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; archivedReason?: Prisma.EnumArchivedReasonFieldUpdateOperationsInput | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFieldUpdateOperationsInput | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFieldUpdateOperationsInput | $Enums.ResolutionOutcome; supersededBy?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; supersededByEntityType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type ArchiveCreateManyInput = { id?: number; entityType: string; entityId: string; key: string; valueRaw: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary: string; confidence: number; source: string; validFrom: Date | string; validUntil?: Date | string | null; createdBy: string; createdAt: Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Date | string; archivedReason: $Enums.ArchivedReason; resolutionState?: $Enums.ResolutionState; resolutionOutcome?: $Enums.ResolutionOutcome; supersededBy?: number | null; supersededByEntityType?: string | null; supersededByEntityId?: string | null; supersededByKey?: string | null; }; export type ArchiveUpdateManyMutationInput = { entityType?: Prisma.StringFieldUpdateOperationsInput | string; entityId?: Prisma.StringFieldUpdateOperationsInput | string; key?: Prisma.StringFieldUpdateOperationsInput | string; valueRaw?: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary?: Prisma.StringFieldUpdateOperationsInput | string; confidence?: Prisma.IntFieldUpdateOperationsInput | number; source?: Prisma.StringFieldUpdateOperationsInput | string; validFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; createdBy?: Prisma.StringFieldUpdateOperationsInput | string; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; archivedReason?: Prisma.EnumArchivedReasonFieldUpdateOperationsInput | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFieldUpdateOperationsInput | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFieldUpdateOperationsInput | $Enums.ResolutionOutcome; supersededBy?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; supersededByEntityType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type ArchiveUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; entityType?: Prisma.StringFieldUpdateOperationsInput | string; entityId?: Prisma.StringFieldUpdateOperationsInput | string; key?: Prisma.StringFieldUpdateOperationsInput | string; valueRaw?: Prisma.JsonNullValueInput | runtime.InputJsonValue; valueSummary?: Prisma.StringFieldUpdateOperationsInput | string; confidence?: Prisma.IntFieldUpdateOperationsInput | number; source?: Prisma.StringFieldUpdateOperationsInput | string; validFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; validUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null; createdBy?: Prisma.StringFieldUpdateOperationsInput | string; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; conflictLog?: Prisma.JsonNullValueInput | runtime.InputJsonValue; properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue; archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string; archivedReason?: Prisma.EnumArchivedReasonFieldUpdateOperationsInput | $Enums.ArchivedReason; resolutionState?: Prisma.EnumResolutionStateFieldUpdateOperationsInput | $Enums.ResolutionState; resolutionOutcome?: Prisma.EnumResolutionOutcomeFieldUpdateOperationsInput | $Enums.ResolutionOutcome; supersededBy?: Prisma.NullableIntFieldUpdateOperationsInput | number | null; supersededByEntityType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; supersededByKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type ArchiveCountOrderByAggregateInput = { id?: Prisma.SortOrder; entityType?: Prisma.SortOrder; entityId?: Prisma.SortOrder; key?: Prisma.SortOrder; valueRaw?: Prisma.SortOrder; valueSummary?: Prisma.SortOrder; confidence?: Prisma.SortOrder; source?: Prisma.SortOrder; validFrom?: Prisma.SortOrder; validUntil?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; conflictLog?: Prisma.SortOrder; properties?: Prisma.SortOrder; archivedAt?: Prisma.SortOrder; archivedReason?: Prisma.SortOrder; resolutionState?: Prisma.SortOrder; resolutionOutcome?: Prisma.SortOrder; supersededBy?: Prisma.SortOrder; supersededByEntityType?: Prisma.SortOrder; supersededByEntityId?: Prisma.SortOrder; supersededByKey?: Prisma.SortOrder; }; export type ArchiveAvgOrderByAggregateInput = { id?: Prisma.SortOrder; confidence?: Prisma.SortOrder; supersededBy?: Prisma.SortOrder; }; export type ArchiveMaxOrderByAggregateInput = { id?: Prisma.SortOrder; entityType?: Prisma.SortOrder; entityId?: Prisma.SortOrder; key?: Prisma.SortOrder; valueSummary?: Prisma.SortOrder; confidence?: Prisma.SortOrder; source?: Prisma.SortOrder; validFrom?: Prisma.SortOrder; validUntil?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; archivedAt?: Prisma.SortOrder; archivedReason?: Prisma.SortOrder; resolutionState?: Prisma.SortOrder; resolutionOutcome?: Prisma.SortOrder; supersededBy?: Prisma.SortOrder; supersededByEntityType?: Prisma.SortOrder; supersededByEntityId?: Prisma.SortOrder; supersededByKey?: Prisma.SortOrder; }; export type ArchiveMinOrderByAggregateInput = { id?: Prisma.SortOrder; entityType?: Prisma.SortOrder; entityId?: Prisma.SortOrder; key?: Prisma.SortOrder; valueSummary?: Prisma.SortOrder; confidence?: Prisma.SortOrder; source?: Prisma.SortOrder; validFrom?: Prisma.SortOrder; validUntil?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; archivedAt?: Prisma.SortOrder; archivedReason?: Prisma.SortOrder; resolutionState?: Prisma.SortOrder; resolutionOutcome?: Prisma.SortOrder; supersededBy?: Prisma.SortOrder; supersededByEntityType?: Prisma.SortOrder; supersededByEntityId?: Prisma.SortOrder; supersededByKey?: Prisma.SortOrder; }; export type ArchiveSumOrderByAggregateInput = { id?: Prisma.SortOrder; confidence?: Prisma.SortOrder; supersededBy?: Prisma.SortOrder; }; export type EnumArchivedReasonFieldUpdateOperationsInput = { set?: $Enums.ArchivedReason; }; export type EnumResolutionStateFieldUpdateOperationsInput = { set?: $Enums.ResolutionState; }; export type EnumResolutionOutcomeFieldUpdateOperationsInput = { set?: $Enums.ResolutionOutcome; }; export type ArchiveSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean; entityType?: boolean; entityId?: boolean; key?: boolean; valueRaw?: boolean; valueSummary?: boolean; confidence?: boolean; source?: boolean; validFrom?: boolean; validUntil?: boolean; createdBy?: boolean; createdAt?: boolean; conflictLog?: boolean; properties?: boolean; archivedAt?: boolean; archivedReason?: boolean; resolutionState?: boolean; resolutionOutcome?: boolean; supersededBy?: boolean; supersededByEntityType?: boolean; supersededByEntityId?: boolean; supersededByKey?: boolean; }, ExtArgs["result"]["archive"]>; export type ArchiveSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean; entityType?: boolean; entityId?: boolean; key?: boolean; valueRaw?: boolean; valueSummary?: boolean; confidence?: boolean; source?: boolean; validFrom?: boolean; validUntil?: boolean; createdBy?: boolean; createdAt?: boolean; conflictLog?: boolean; properties?: boolean; archivedAt?: boolean; archivedReason?: boolean; resolutionState?: boolean; resolutionOutcome?: boolean; supersededBy?: boolean; supersededByEntityType?: boolean; supersededByEntityId?: boolean; supersededByKey?: boolean; }, ExtArgs["result"]["archive"]>; export type ArchiveSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean; entityType?: boolean; entityId?: boolean; key?: boolean; valueRaw?: boolean; valueSummary?: boolean; confidence?: boolean; source?: boolean; validFrom?: boolean; validUntil?: boolean; createdBy?: boolean; createdAt?: boolean; conflictLog?: boolean; properties?: boolean; archivedAt?: boolean; archivedReason?: boolean; resolutionState?: boolean; resolutionOutcome?: boolean; supersededBy?: boolean; supersededByEntityType?: boolean; supersededByEntityId?: boolean; supersededByKey?: boolean; }, ExtArgs["result"]["archive"]>; export type ArchiveSelectScalar = { id?: boolean; entityType?: boolean; entityId?: boolean; key?: boolean; valueRaw?: boolean; valueSummary?: boolean; confidence?: boolean; source?: boolean; validFrom?: boolean; validUntil?: boolean; createdBy?: boolean; createdAt?: boolean; conflictLog?: boolean; properties?: boolean; archivedAt?: boolean; archivedReason?: boolean; resolutionState?: boolean; resolutionOutcome?: boolean; supersededBy?: boolean; supersededByEntityType?: boolean; supersededByEntityId?: boolean; supersededByKey?: boolean; }; export type ArchiveOmit = runtime.Types.Extensions.GetOmit<"id" | "entityType" | "entityId" | "key" | "valueRaw" | "valueSummary" | "confidence" | "source" | "validFrom" | "validUntil" | "createdBy" | "createdAt" | "conflictLog" | "properties" | "archivedAt" | "archivedReason" | "resolutionState" | "resolutionOutcome" | "supersededBy" | "supersededByEntityType" | "supersededByEntityId" | "supersededByKey", ExtArgs["result"]["archive"]>; export type $ArchivePayload = { name: "Archive"; objects: {}; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number; entityType: string; entityId: string; key: string; valueRaw: runtime.JsonValue; valueSummary: string; confidence: number; source: string; validFrom: Date; validUntil: Date | null; createdBy: string; createdAt: Date; conflictLog: runtime.JsonValue; properties: runtime.JsonValue; archivedAt: Date; archivedReason: $Enums.ArchivedReason; resolutionState: $Enums.ResolutionState; resolutionOutcome: $Enums.ResolutionOutcome; supersededBy: number | null; supersededByEntityType: string | null; supersededByEntityId: string | null; supersededByKey: string | null; }, ExtArgs["result"]["archive"]>; composites: {}; }; export type ArchiveGetPayload = runtime.Types.Result.GetResult; export type ArchiveCountArgs = Omit & { select?: ArchiveCountAggregateInputType | true; }; export interface ArchiveDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Archive']; meta: { name: 'Archive'; }; }; /** * Find zero or one Archive that matches the filter. * @param {ArchiveFindUniqueArgs} args - Arguments to find a Archive * @example * // Get one Archive * const archive = await prisma.archive.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one Archive that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ArchiveFindUniqueOrThrowArgs} args - Arguments to find a Archive * @example * // Get one Archive * const archive = await prisma.archive.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first Archive 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 {ArchiveFindFirstArgs} args - Arguments to find a Archive * @example * // Get one Archive * const archive = await prisma.archive.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first Archive 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 {ArchiveFindFirstOrThrowArgs} args - Arguments to find a Archive * @example * // Get one Archive * const archive = await prisma.archive.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more Archives 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 {ArchiveFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Archives * const archives = await prisma.archive.findMany() * * // Get first 10 Archives * const archives = await prisma.archive.findMany({ take: 10 }) * * // Only select the `id` * const archiveWithIdOnly = await prisma.archive.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a Archive. * @param {ArchiveCreateArgs} args - Arguments to create a Archive. * @example * // Create one Archive * const Archive = await prisma.archive.create({ * data: { * // ... data to create a Archive * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many Archives. * @param {ArchiveCreateManyArgs} args - Arguments to create many Archives. * @example * // Create many Archives * const archive = await prisma.archive.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many Archives and returns the data saved in the database. * @param {ArchiveCreateManyAndReturnArgs} args - Arguments to create many Archives. * @example * // Create many Archives * const archive = await prisma.archive.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Archives and only return the `id` * const archiveWithIdOnly = await prisma.archive.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 Archive. * @param {ArchiveDeleteArgs} args - Arguments to delete one Archive. * @example * // Delete one Archive * const Archive = await prisma.archive.delete({ * where: { * // ... filter to delete one Archive * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one Archive. * @param {ArchiveUpdateArgs} args - Arguments to update one Archive. * @example * // Update one Archive * const archive = await prisma.archive.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more Archives. * @param {ArchiveDeleteManyArgs} args - Arguments to filter Archives to delete. * @example * // Delete a few Archives * const { count } = await prisma.archive.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more Archives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArchiveUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Archives * const archive = await prisma.archive.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more Archives and returns the data updated in the database. * @param {ArchiveUpdateManyAndReturnArgs} args - Arguments to update many Archives. * @example * // Update many Archives * const archive = await prisma.archive.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Archives and only return the `id` * const archiveWithIdOnly = await prisma.archive.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 Archive. * @param {ArchiveUpsertArgs} args - Arguments to update or create a Archive. * @example * // Update or create a Archive * const archive = await prisma.archive.upsert({ * create: { * // ... data to create a Archive * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Archive we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ArchiveClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of Archives. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArchiveCountArgs} args - Arguments to filter Archives to count. * @example * // Count the number of Archives * const count = await prisma.archive.count({ * where: { * // ... the filter for the Archives we want to count * } * }) **/ count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; /** * Allows you to perform aggregations operations on a Archive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArchiveAggregateArgs} 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 Archive. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ArchiveGroupByArgs} 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>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ArchiveGroupByArgs['orderBy']; } : { orderBy?: ArchiveGroupByArgs['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 ? GetArchiveGroupByPayload : Prisma.PrismaPromise; /** * Fields of the Archive model */ readonly fields: ArchiveFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Archive. * 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__ArchiveClient 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 Archive model */ export interface ArchiveFieldRefs { readonly id: Prisma.FieldRef<"Archive", 'Int'>; readonly entityType: Prisma.FieldRef<"Archive", 'String'>; readonly entityId: Prisma.FieldRef<"Archive", 'String'>; readonly key: Prisma.FieldRef<"Archive", 'String'>; readonly valueRaw: Prisma.FieldRef<"Archive", 'Json'>; readonly valueSummary: Prisma.FieldRef<"Archive", 'String'>; readonly confidence: Prisma.FieldRef<"Archive", 'Int'>; readonly source: Prisma.FieldRef<"Archive", 'String'>; readonly validFrom: Prisma.FieldRef<"Archive", 'DateTime'>; readonly validUntil: Prisma.FieldRef<"Archive", 'DateTime'>; readonly createdBy: Prisma.FieldRef<"Archive", 'String'>; readonly createdAt: Prisma.FieldRef<"Archive", 'DateTime'>; readonly conflictLog: Prisma.FieldRef<"Archive", 'Json'>; readonly properties: Prisma.FieldRef<"Archive", 'Json'>; readonly archivedAt: Prisma.FieldRef<"Archive", 'DateTime'>; readonly archivedReason: Prisma.FieldRef<"Archive", 'ArchivedReason'>; readonly resolutionState: Prisma.FieldRef<"Archive", 'ResolutionState'>; readonly resolutionOutcome: Prisma.FieldRef<"Archive", 'ResolutionOutcome'>; readonly supersededBy: Prisma.FieldRef<"Archive", 'Int'>; readonly supersededByEntityType: Prisma.FieldRef<"Archive", 'String'>; readonly supersededByEntityId: Prisma.FieldRef<"Archive", 'String'>; readonly supersededByKey: Prisma.FieldRef<"Archive", 'String'>; } /** * Archive findUnique */ export type ArchiveFindUniqueArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter, which Archive to fetch. */ where: Prisma.ArchiveWhereUniqueInput; }; /** * Archive findUniqueOrThrow */ export type ArchiveFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter, which Archive to fetch. */ where: Prisma.ArchiveWhereUniqueInput; }; /** * Archive findFirst */ export type ArchiveFindFirstArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter, which Archive to fetch. */ where?: Prisma.ArchiveWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Archives to fetch. */ orderBy?: Prisma.ArchiveOrderByWithRelationInput | Prisma.ArchiveOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Archives. */ cursor?: Prisma.ArchiveWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Archives 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` Archives. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Archives. */ distinct?: Prisma.ArchiveScalarFieldEnum | Prisma.ArchiveScalarFieldEnum[]; }; /** * Archive findFirstOrThrow */ export type ArchiveFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter, which Archive to fetch. */ where?: Prisma.ArchiveWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Archives to fetch. */ orderBy?: Prisma.ArchiveOrderByWithRelationInput | Prisma.ArchiveOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Archives. */ cursor?: Prisma.ArchiveWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Archives 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` Archives. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Archives. */ distinct?: Prisma.ArchiveScalarFieldEnum | Prisma.ArchiveScalarFieldEnum[]; }; /** * Archive findMany */ export type ArchiveFindManyArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter, which Archives to fetch. */ where?: Prisma.ArchiveWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Archives to fetch. */ orderBy?: Prisma.ArchiveOrderByWithRelationInput | Prisma.ArchiveOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Archives. */ cursor?: Prisma.ArchiveWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Archives 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` Archives. */ skip?: number; distinct?: Prisma.ArchiveScalarFieldEnum | Prisma.ArchiveScalarFieldEnum[]; }; /** * Archive create */ export type ArchiveCreateArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * The data needed to create a Archive. */ data: Prisma.XOR; }; /** * Archive createMany */ export type ArchiveCreateManyArgs = { /** * The data used to create many Archives. */ data: Prisma.ArchiveCreateManyInput | Prisma.ArchiveCreateManyInput[]; skipDuplicates?: boolean; }; /** * Archive createManyAndReturn */ export type ArchiveCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelectCreateManyAndReturn | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * The data used to create many Archives. */ data: Prisma.ArchiveCreateManyInput | Prisma.ArchiveCreateManyInput[]; skipDuplicates?: boolean; }; /** * Archive update */ export type ArchiveUpdateArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * The data needed to update a Archive. */ data: Prisma.XOR; /** * Choose, which Archive to update. */ where: Prisma.ArchiveWhereUniqueInput; }; /** * Archive updateMany */ export type ArchiveUpdateManyArgs = { /** * The data used to update Archives. */ data: Prisma.XOR; /** * Filter which Archives to update */ where?: Prisma.ArchiveWhereInput; /** * Limit how many Archives to update. */ limit?: number; }; /** * Archive updateManyAndReturn */ export type ArchiveUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelectUpdateManyAndReturn | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * The data used to update Archives. */ data: Prisma.XOR; /** * Filter which Archives to update */ where?: Prisma.ArchiveWhereInput; /** * Limit how many Archives to update. */ limit?: number; }; /** * Archive upsert */ export type ArchiveUpsertArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * The filter to search for the Archive to update in case it exists. */ where: Prisma.ArchiveWhereUniqueInput; /** * In case the Archive found by the `where` argument doesn't exist, create a new Archive with this data. */ create: Prisma.XOR; /** * In case the Archive was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; }; /** * Archive delete */ export type ArchiveDeleteArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; /** * Filter which Archive to delete. */ where: Prisma.ArchiveWhereUniqueInput; }; /** * Archive deleteMany */ export type ArchiveDeleteManyArgs = { /** * Filter which Archives to delete */ where?: Prisma.ArchiveWhereInput; /** * Limit how many Archives to delete. */ limit?: number; }; /** * Archive without action */ export type ArchiveDefaultArgs = { /** * Select specific fields to fetch from the Archive */ select?: Prisma.ArchiveSelect | null; /** * Omit specific fields from the Archive */ omit?: Prisma.ArchiveOmit | null; }; export {}; //# sourceMappingURL=Archive.d.ts.map