1676 lines
69 KiB
TypeScript
1676 lines
69 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `AdminEmailAttachment` 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 AdminEmailAttachment
|
|
*
|
|
*/
|
|
export type AdminEmailAttachmentModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminEmailAttachmentPayload>
|
|
|
|
export type AggregateAdminEmailAttachment = {
|
|
_count: AdminEmailAttachmentCountAggregateOutputType | null
|
|
_avg: AdminEmailAttachmentAvgAggregateOutputType | null
|
|
_sum: AdminEmailAttachmentSumAggregateOutputType | null
|
|
_min: AdminEmailAttachmentMinAggregateOutputType | null
|
|
_max: AdminEmailAttachmentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentAvgAggregateOutputType = {
|
|
sizeBytes: number | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentSumAggregateOutputType = {
|
|
sizeBytes: number | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
adminUserId: string | null
|
|
messageId: string | null
|
|
providerAttachmentId: string | null
|
|
filename: string | null
|
|
mimeType: string | null
|
|
sizeBytes: number | null
|
|
storageBucket: string | null
|
|
storageKey: string | null
|
|
checksumSha256: string | null
|
|
scannedAt: Date | null
|
|
linkedDealId: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
adminUserId: string | null
|
|
messageId: string | null
|
|
providerAttachmentId: string | null
|
|
filename: string | null
|
|
mimeType: string | null
|
|
sizeBytes: number | null
|
|
storageBucket: string | null
|
|
storageKey: string | null
|
|
checksumSha256: string | null
|
|
scannedAt: Date | null
|
|
linkedDealId: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
adminUserId: number
|
|
messageId: number
|
|
providerAttachmentId: number
|
|
filename: number
|
|
mimeType: number
|
|
sizeBytes: number
|
|
storageBucket: number
|
|
storageKey: number
|
|
checksumSha256: number
|
|
scannedAt: number
|
|
linkedDealId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminEmailAttachmentAvgAggregateInputType = {
|
|
sizeBytes?: true
|
|
}
|
|
|
|
export type AdminEmailAttachmentSumAggregateInputType = {
|
|
sizeBytes?: true
|
|
}
|
|
|
|
export type AdminEmailAttachmentMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
messageId?: true
|
|
providerAttachmentId?: true
|
|
filename?: true
|
|
mimeType?: true
|
|
sizeBytes?: true
|
|
storageBucket?: true
|
|
storageKey?: true
|
|
checksumSha256?: true
|
|
scannedAt?: true
|
|
linkedDealId?: true
|
|
}
|
|
|
|
export type AdminEmailAttachmentMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
messageId?: true
|
|
providerAttachmentId?: true
|
|
filename?: true
|
|
mimeType?: true
|
|
sizeBytes?: true
|
|
storageBucket?: true
|
|
storageKey?: true
|
|
checksumSha256?: true
|
|
scannedAt?: true
|
|
linkedDealId?: true
|
|
}
|
|
|
|
export type AdminEmailAttachmentCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
adminUserId?: true
|
|
messageId?: true
|
|
providerAttachmentId?: true
|
|
filename?: true
|
|
mimeType?: true
|
|
sizeBytes?: true
|
|
storageBucket?: true
|
|
storageKey?: true
|
|
checksumSha256?: true
|
|
scannedAt?: true
|
|
linkedDealId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminEmailAttachmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminEmailAttachment to aggregate.
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithRelationInput | Prisma.AdminEmailAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailAttachments 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` AdminEmailAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminEmailAttachments
|
|
**/
|
|
_count?: true | AdminEmailAttachmentCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: AdminEmailAttachmentAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: AdminEmailAttachmentSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminEmailAttachmentMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminEmailAttachmentMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminEmailAttachmentAggregateType<T extends AdminEmailAttachmentAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminEmailAttachment]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminEmailAttachment[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminEmailAttachment[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminEmailAttachmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithAggregationInput | Prisma.AdminEmailAttachmentOrderByWithAggregationInput[]
|
|
by: Prisma.AdminEmailAttachmentScalarFieldEnum[] | Prisma.AdminEmailAttachmentScalarFieldEnum
|
|
having?: Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminEmailAttachmentCountAggregateInputType | true
|
|
_avg?: AdminEmailAttachmentAvgAggregateInputType
|
|
_sum?: AdminEmailAttachmentSumAggregateInputType
|
|
_min?: AdminEmailAttachmentMinAggregateInputType
|
|
_max?: AdminEmailAttachmentMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminEmailAttachmentGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
adminUserId: string
|
|
messageId: string
|
|
providerAttachmentId: string | null
|
|
filename: string
|
|
mimeType: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date
|
|
linkedDealId: string | null
|
|
_count: AdminEmailAttachmentCountAggregateOutputType | null
|
|
_avg: AdminEmailAttachmentAvgAggregateOutputType | null
|
|
_sum: AdminEmailAttachmentSumAggregateOutputType | null
|
|
_min: AdminEmailAttachmentMinAggregateOutputType | null
|
|
_max: AdminEmailAttachmentMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminEmailAttachmentGroupByPayload<T extends AdminEmailAttachmentGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminEmailAttachmentGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminEmailAttachmentGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminEmailAttachmentGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminEmailAttachmentGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminEmailAttachmentWhereInput = {
|
|
AND?: Prisma.AdminEmailAttachmentWhereInput | Prisma.AdminEmailAttachmentWhereInput[]
|
|
OR?: Prisma.AdminEmailAttachmentWhereInput[]
|
|
NOT?: Prisma.AdminEmailAttachmentWhereInput | Prisma.AdminEmailAttachmentWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
messageId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
providerAttachmentId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
filename?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
mimeType?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
sizeBytes?: Prisma.IntFilter<"AdminEmailAttachment"> | number
|
|
storageBucket?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
storageKey?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
checksumSha256?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
scannedAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
linkedDealId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
message?: Prisma.XOR<Prisma.AdminEmailMessageScalarRelationFilter, Prisma.AdminEmailMessageWhereInput>
|
|
}
|
|
|
|
export type AdminEmailAttachmentOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
providerAttachmentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
filename?: Prisma.SortOrder
|
|
mimeType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
sizeBytes?: Prisma.SortOrder
|
|
storageBucket?: Prisma.SortOrder
|
|
storageKey?: Prisma.SortOrder
|
|
checksumSha256?: Prisma.SortOrder
|
|
scannedAt?: Prisma.SortOrder
|
|
linkedDealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
message?: Prisma.AdminEmailMessageOrderByWithRelationInput
|
|
}
|
|
|
|
export type AdminEmailAttachmentWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
admin_email_attachment_message_checksum_key?: Prisma.AdminEmailAttachmentAdmin_email_attachment_message_checksum_keyCompoundUniqueInput
|
|
AND?: Prisma.AdminEmailAttachmentWhereInput | Prisma.AdminEmailAttachmentWhereInput[]
|
|
OR?: Prisma.AdminEmailAttachmentWhereInput[]
|
|
NOT?: Prisma.AdminEmailAttachmentWhereInput | Prisma.AdminEmailAttachmentWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
messageId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
providerAttachmentId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
filename?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
mimeType?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
sizeBytes?: Prisma.IntFilter<"AdminEmailAttachment"> | number
|
|
storageBucket?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
storageKey?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
checksumSha256?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
scannedAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
linkedDealId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
message?: Prisma.XOR<Prisma.AdminEmailMessageScalarRelationFilter, Prisma.AdminEmailMessageWhereInput>
|
|
}, "id" | "admin_email_attachment_message_checksum_key">
|
|
|
|
export type AdminEmailAttachmentOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
providerAttachmentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
filename?: Prisma.SortOrder
|
|
mimeType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
sizeBytes?: Prisma.SortOrder
|
|
storageBucket?: Prisma.SortOrder
|
|
storageKey?: Prisma.SortOrder
|
|
checksumSha256?: Prisma.SortOrder
|
|
scannedAt?: Prisma.SortOrder
|
|
linkedDealId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminEmailAttachmentCountOrderByAggregateInput
|
|
_avg?: Prisma.AdminEmailAttachmentAvgOrderByAggregateInput
|
|
_max?: Prisma.AdminEmailAttachmentMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminEmailAttachmentMinOrderByAggregateInput
|
|
_sum?: Prisma.AdminEmailAttachmentSumOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminEmailAttachmentScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput | Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput | Prisma.AdminEmailAttachmentScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminEmailAttachment"> | Date | string
|
|
adminUserId?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
messageId?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
providerAttachmentId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailAttachment"> | string | null
|
|
filename?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
mimeType?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailAttachment"> | string | null
|
|
sizeBytes?: Prisma.IntWithAggregatesFilter<"AdminEmailAttachment"> | number
|
|
storageBucket?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
storageKey?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
checksumSha256?: Prisma.StringWithAggregatesFilter<"AdminEmailAttachment"> | string
|
|
scannedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminEmailAttachment"> | Date | string
|
|
linkedDealId?: Prisma.StringNullableWithAggregatesFilter<"AdminEmailAttachment"> | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
message: Prisma.AdminEmailMessageCreateNestedOneWithoutAttachmentsInput
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
messageId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
message?: Prisma.AdminEmailMessageUpdateOneRequiredWithoutAttachmentsNestedInput
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
messageId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentListRelationFilter = {
|
|
every?: Prisma.AdminEmailAttachmentWhereInput
|
|
some?: Prisma.AdminEmailAttachmentWhereInput
|
|
none?: Prisma.AdminEmailAttachmentWhereInput
|
|
}
|
|
|
|
export type AdminEmailAttachmentOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentAdmin_email_attachment_message_checksum_keyCompoundUniqueInput = {
|
|
messageId: string
|
|
checksumSha256: string
|
|
}
|
|
|
|
export type AdminEmailAttachmentCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
providerAttachmentId?: Prisma.SortOrder
|
|
filename?: Prisma.SortOrder
|
|
mimeType?: Prisma.SortOrder
|
|
sizeBytes?: Prisma.SortOrder
|
|
storageBucket?: Prisma.SortOrder
|
|
storageKey?: Prisma.SortOrder
|
|
checksumSha256?: Prisma.SortOrder
|
|
scannedAt?: Prisma.SortOrder
|
|
linkedDealId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentAvgOrderByAggregateInput = {
|
|
sizeBytes?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
providerAttachmentId?: Prisma.SortOrder
|
|
filename?: Prisma.SortOrder
|
|
mimeType?: Prisma.SortOrder
|
|
sizeBytes?: Prisma.SortOrder
|
|
storageBucket?: Prisma.SortOrder
|
|
storageKey?: Prisma.SortOrder
|
|
checksumSha256?: Prisma.SortOrder
|
|
scannedAt?: Prisma.SortOrder
|
|
linkedDealId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
adminUserId?: Prisma.SortOrder
|
|
messageId?: Prisma.SortOrder
|
|
providerAttachmentId?: Prisma.SortOrder
|
|
filename?: Prisma.SortOrder
|
|
mimeType?: Prisma.SortOrder
|
|
sizeBytes?: Prisma.SortOrder
|
|
storageBucket?: Prisma.SortOrder
|
|
storageKey?: Prisma.SortOrder
|
|
checksumSha256?: Prisma.SortOrder
|
|
scannedAt?: Prisma.SortOrder
|
|
linkedDealId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentSumOrderByAggregateInput = {
|
|
sizeBytes?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateNestedManyWithoutMessageInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput> | Prisma.AdminEmailAttachmentCreateWithoutMessageInput[] | Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput | Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput[]
|
|
createMany?: Prisma.AdminEmailAttachmentCreateManyMessageInputEnvelope
|
|
connect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedCreateNestedManyWithoutMessageInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput> | Prisma.AdminEmailAttachmentCreateWithoutMessageInput[] | Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput | Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput[]
|
|
createMany?: Prisma.AdminEmailAttachmentCreateManyMessageInputEnvelope
|
|
connect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateManyWithoutMessageNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput> | Prisma.AdminEmailAttachmentCreateWithoutMessageInput[] | Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput | Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput[]
|
|
upsert?: Prisma.AdminEmailAttachmentUpsertWithWhereUniqueWithoutMessageInput | Prisma.AdminEmailAttachmentUpsertWithWhereUniqueWithoutMessageInput[]
|
|
createMany?: Prisma.AdminEmailAttachmentCreateManyMessageInputEnvelope
|
|
set?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailAttachmentUpdateWithWhereUniqueWithoutMessageInput | Prisma.AdminEmailAttachmentUpdateWithWhereUniqueWithoutMessageInput[]
|
|
updateMany?: Prisma.AdminEmailAttachmentUpdateManyWithWhereWithoutMessageInput | Prisma.AdminEmailAttachmentUpdateManyWithWhereWithoutMessageInput[]
|
|
deleteMany?: Prisma.AdminEmailAttachmentScalarWhereInput | Prisma.AdminEmailAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedUpdateManyWithoutMessageNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput> | Prisma.AdminEmailAttachmentCreateWithoutMessageInput[] | Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput[]
|
|
connectOrCreate?: Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput | Prisma.AdminEmailAttachmentCreateOrConnectWithoutMessageInput[]
|
|
upsert?: Prisma.AdminEmailAttachmentUpsertWithWhereUniqueWithoutMessageInput | Prisma.AdminEmailAttachmentUpsertWithWhereUniqueWithoutMessageInput[]
|
|
createMany?: Prisma.AdminEmailAttachmentCreateManyMessageInputEnvelope
|
|
set?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
disconnect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
delete?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
connect?: Prisma.AdminEmailAttachmentWhereUniqueInput | Prisma.AdminEmailAttachmentWhereUniqueInput[]
|
|
update?: Prisma.AdminEmailAttachmentUpdateWithWhereUniqueWithoutMessageInput | Prisma.AdminEmailAttachmentUpdateWithWhereUniqueWithoutMessageInput[]
|
|
updateMany?: Prisma.AdminEmailAttachmentUpdateManyWithWhereWithoutMessageInput | Prisma.AdminEmailAttachmentUpdateManyWithWhereWithoutMessageInput[]
|
|
deleteMany?: Prisma.AdminEmailAttachmentScalarWhereInput | Prisma.AdminEmailAttachmentScalarWhereInput[]
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateWithoutMessageInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedCreateWithoutMessageInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateOrConnectWithoutMessageInput = {
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput>
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateManyMessageInputEnvelope = {
|
|
data: Prisma.AdminEmailAttachmentCreateManyMessageInput | Prisma.AdminEmailAttachmentCreateManyMessageInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpsertWithWhereUniqueWithoutMessageInput = {
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedUpdateWithoutMessageInput>
|
|
create: Prisma.XOR<Prisma.AdminEmailAttachmentCreateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedCreateWithoutMessageInput>
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateWithWhereUniqueWithoutMessageInput = {
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateWithoutMessageInput, Prisma.AdminEmailAttachmentUncheckedUpdateWithoutMessageInput>
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateManyWithWhereWithoutMessageInput = {
|
|
where: Prisma.AdminEmailAttachmentScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateManyMutationInput, Prisma.AdminEmailAttachmentUncheckedUpdateManyWithoutMessageInput>
|
|
}
|
|
|
|
export type AdminEmailAttachmentScalarWhereInput = {
|
|
AND?: Prisma.AdminEmailAttachmentScalarWhereInput | Prisma.AdminEmailAttachmentScalarWhereInput[]
|
|
OR?: Prisma.AdminEmailAttachmentScalarWhereInput[]
|
|
NOT?: Prisma.AdminEmailAttachmentScalarWhereInput | Prisma.AdminEmailAttachmentScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
adminUserId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
messageId?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
providerAttachmentId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
filename?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
mimeType?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
sizeBytes?: Prisma.IntFilter<"AdminEmailAttachment"> | number
|
|
storageBucket?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
storageKey?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
checksumSha256?: Prisma.StringFilter<"AdminEmailAttachment"> | string
|
|
scannedAt?: Prisma.DateTimeFilter<"AdminEmailAttachment"> | Date | string
|
|
linkedDealId?: Prisma.StringNullableFilter<"AdminEmailAttachment"> | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentCreateManyMessageInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
adminUserId: string
|
|
providerAttachmentId?: string | null
|
|
filename: string
|
|
mimeType?: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date | string
|
|
linkedDealId?: string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUpdateWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedUpdateWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminEmailAttachmentUncheckedUpdateManyWithoutMessageInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
adminUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
providerAttachmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
filename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
mimeType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
|
storageBucket?: Prisma.StringFieldUpdateOperationsInput | string
|
|
storageKey?: Prisma.StringFieldUpdateOperationsInput | string
|
|
checksumSha256?: Prisma.StringFieldUpdateOperationsInput | string
|
|
scannedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
linkedDealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type AdminEmailAttachmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
messageId?: boolean
|
|
providerAttachmentId?: boolean
|
|
filename?: boolean
|
|
mimeType?: boolean
|
|
sizeBytes?: boolean
|
|
storageBucket?: boolean
|
|
storageKey?: boolean
|
|
checksumSha256?: boolean
|
|
scannedAt?: boolean
|
|
linkedDealId?: boolean
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailAttachment"]>
|
|
|
|
export type AdminEmailAttachmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
messageId?: boolean
|
|
providerAttachmentId?: boolean
|
|
filename?: boolean
|
|
mimeType?: boolean
|
|
sizeBytes?: boolean
|
|
storageBucket?: boolean
|
|
storageKey?: boolean
|
|
checksumSha256?: boolean
|
|
scannedAt?: boolean
|
|
linkedDealId?: boolean
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailAttachment"]>
|
|
|
|
export type AdminEmailAttachmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
messageId?: boolean
|
|
providerAttachmentId?: boolean
|
|
filename?: boolean
|
|
mimeType?: boolean
|
|
sizeBytes?: boolean
|
|
storageBucket?: boolean
|
|
storageKey?: boolean
|
|
checksumSha256?: boolean
|
|
scannedAt?: boolean
|
|
linkedDealId?: boolean
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminEmailAttachment"]>
|
|
|
|
export type AdminEmailAttachmentSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
adminUserId?: boolean
|
|
messageId?: boolean
|
|
providerAttachmentId?: boolean
|
|
filename?: boolean
|
|
mimeType?: boolean
|
|
sizeBytes?: boolean
|
|
storageBucket?: boolean
|
|
storageKey?: boolean
|
|
checksumSha256?: boolean
|
|
scannedAt?: boolean
|
|
linkedDealId?: boolean
|
|
}
|
|
|
|
export type AdminEmailAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "adminUserId" | "messageId" | "providerAttachmentId" | "filename" | "mimeType" | "sizeBytes" | "storageBucket" | "storageKey" | "checksumSha256" | "scannedAt" | "linkedDealId", ExtArgs["result"]["adminEmailAttachment"]>
|
|
export type AdminEmailAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminEmailAttachmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminEmailAttachmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
message?: boolean | Prisma.AdminEmailMessageDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AdminEmailAttachmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminEmailAttachment"
|
|
objects: {
|
|
message: Prisma.$AdminEmailMessagePayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
adminUserId: string
|
|
messageId: string
|
|
providerAttachmentId: string | null
|
|
filename: string
|
|
mimeType: string | null
|
|
sizeBytes: number
|
|
storageBucket: string
|
|
storageKey: string
|
|
checksumSha256: string
|
|
scannedAt: Date
|
|
linkedDealId: string | null
|
|
}, ExtArgs["result"]["adminEmailAttachment"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminEmailAttachmentGetPayload<S extends boolean | null | undefined | AdminEmailAttachmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload, S>
|
|
|
|
export type AdminEmailAttachmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminEmailAttachmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminEmailAttachmentCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminEmailAttachmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminEmailAttachment'], meta: { name: 'AdminEmailAttachment' } }
|
|
/**
|
|
* Find zero or one AdminEmailAttachment that matches the filter.
|
|
* @param {AdminEmailAttachmentFindUniqueArgs} args - Arguments to find a AdminEmailAttachment
|
|
* @example
|
|
* // Get one AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminEmailAttachmentFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminEmailAttachment that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminEmailAttachmentFindUniqueOrThrowArgs} args - Arguments to find a AdminEmailAttachment
|
|
* @example
|
|
* // Get one AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminEmailAttachmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminEmailAttachment 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 {AdminEmailAttachmentFindFirstArgs} args - Arguments to find a AdminEmailAttachment
|
|
* @example
|
|
* // Get one AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminEmailAttachmentFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminEmailAttachment 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 {AdminEmailAttachmentFindFirstOrThrowArgs} args - Arguments to find a AdminEmailAttachment
|
|
* @example
|
|
* // Get one AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminEmailAttachmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminEmailAttachments 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 {AdminEmailAttachmentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminEmailAttachments
|
|
* const adminEmailAttachments = await prisma.adminEmailAttachment.findMany()
|
|
*
|
|
* // Get first 10 AdminEmailAttachments
|
|
* const adminEmailAttachments = await prisma.adminEmailAttachment.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminEmailAttachmentWithIdOnly = await prisma.adminEmailAttachment.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminEmailAttachmentFindManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminEmailAttachment.
|
|
* @param {AdminEmailAttachmentCreateArgs} args - Arguments to create a AdminEmailAttachment.
|
|
* @example
|
|
* // Create one AdminEmailAttachment
|
|
* const AdminEmailAttachment = await prisma.adminEmailAttachment.create({
|
|
* data: {
|
|
* // ... data to create a AdminEmailAttachment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminEmailAttachmentCreateArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentCreateArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminEmailAttachments.
|
|
* @param {AdminEmailAttachmentCreateManyArgs} args - Arguments to create many AdminEmailAttachments.
|
|
* @example
|
|
* // Create many AdminEmailAttachments
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminEmailAttachmentCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminEmailAttachments and returns the data saved in the database.
|
|
* @param {AdminEmailAttachmentCreateManyAndReturnArgs} args - Arguments to create many AdminEmailAttachments.
|
|
* @example
|
|
* // Create many AdminEmailAttachments
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminEmailAttachments and only return the `id`
|
|
* const adminEmailAttachmentWithIdOnly = await prisma.adminEmailAttachment.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends AdminEmailAttachmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminEmailAttachment.
|
|
* @param {AdminEmailAttachmentDeleteArgs} args - Arguments to delete one AdminEmailAttachment.
|
|
* @example
|
|
* // Delete one AdminEmailAttachment
|
|
* const AdminEmailAttachment = await prisma.adminEmailAttachment.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminEmailAttachment
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminEmailAttachmentDeleteArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminEmailAttachment.
|
|
* @param {AdminEmailAttachmentUpdateArgs} args - Arguments to update one AdminEmailAttachment.
|
|
* @example
|
|
* // Update one AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminEmailAttachmentUpdateArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminEmailAttachments.
|
|
* @param {AdminEmailAttachmentDeleteManyArgs} args - Arguments to filter AdminEmailAttachments to delete.
|
|
* @example
|
|
* // Delete a few AdminEmailAttachments
|
|
* const { count } = await prisma.adminEmailAttachment.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminEmailAttachmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminEmailAttachmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminEmailAttachments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailAttachmentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminEmailAttachments
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminEmailAttachmentUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminEmailAttachments and returns the data updated in the database.
|
|
* @param {AdminEmailAttachmentUpdateManyAndReturnArgs} args - Arguments to update many AdminEmailAttachments.
|
|
* @example
|
|
* // Update many AdminEmailAttachments
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminEmailAttachments and only return the `id`
|
|
* const adminEmailAttachmentWithIdOnly = await prisma.adminEmailAttachment.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends AdminEmailAttachmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminEmailAttachment.
|
|
* @param {AdminEmailAttachmentUpsertArgs} args - Arguments to update or create a AdminEmailAttachment.
|
|
* @example
|
|
* // Update or create a AdminEmailAttachment
|
|
* const adminEmailAttachment = await prisma.adminEmailAttachment.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminEmailAttachment
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminEmailAttachment we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminEmailAttachmentUpsertArgs>(args: Prisma.SelectSubset<T, AdminEmailAttachmentUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminEmailAttachmentClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailAttachmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminEmailAttachments.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailAttachmentCountArgs} args - Arguments to filter AdminEmailAttachments to count.
|
|
* @example
|
|
* // Count the number of AdminEmailAttachments
|
|
* const count = await prisma.adminEmailAttachment.count({
|
|
* where: {
|
|
* // ... the filter for the AdminEmailAttachments we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminEmailAttachmentCountArgs>(
|
|
args?: Prisma.Subset<T, AdminEmailAttachmentCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminEmailAttachmentCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminEmailAttachment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailAttachmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends AdminEmailAttachmentAggregateArgs>(args: Prisma.Subset<T, AdminEmailAttachmentAggregateArgs>): Prisma.PrismaPromise<GetAdminEmailAttachmentAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminEmailAttachment.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminEmailAttachmentGroupByArgs} 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 AdminEmailAttachmentGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminEmailAttachmentGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminEmailAttachmentGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, AdminEmailAttachmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminEmailAttachmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminEmailAttachment model
|
|
*/
|
|
readonly fields: AdminEmailAttachmentFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminEmailAttachment.
|
|
* 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__AdminEmailAttachmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
message<T extends Prisma.AdminEmailMessageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminEmailMessageDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminEmailMessageClient<runtime.Types.Result.GetResult<Prisma.$AdminEmailMessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminEmailAttachment model
|
|
*/
|
|
export interface AdminEmailAttachmentFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminEmailAttachment", 'DateTime'>
|
|
readonly adminUserId: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly messageId: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly providerAttachmentId: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly filename: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly mimeType: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly sizeBytes: Prisma.FieldRef<"AdminEmailAttachment", 'Int'>
|
|
readonly storageBucket: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly storageKey: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly checksumSha256: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
readonly scannedAt: Prisma.FieldRef<"AdminEmailAttachment", 'DateTime'>
|
|
readonly linkedDealId: Prisma.FieldRef<"AdminEmailAttachment", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminEmailAttachment findUnique
|
|
*/
|
|
export type AdminEmailAttachmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailAttachment to fetch.
|
|
*/
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment findUniqueOrThrow
|
|
*/
|
|
export type AdminEmailAttachmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailAttachment to fetch.
|
|
*/
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment findFirst
|
|
*/
|
|
export type AdminEmailAttachmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailAttachment to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithRelationInput | Prisma.AdminEmailAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminEmailAttachments.
|
|
*/
|
|
cursor?: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailAttachments 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` AdminEmailAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailAttachments.
|
|
*/
|
|
distinct?: Prisma.AdminEmailAttachmentScalarFieldEnum | Prisma.AdminEmailAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment findFirstOrThrow
|
|
*/
|
|
export type AdminEmailAttachmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailAttachment to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithRelationInput | Prisma.AdminEmailAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminEmailAttachments.
|
|
*/
|
|
cursor?: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailAttachments 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` AdminEmailAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailAttachments.
|
|
*/
|
|
distinct?: Prisma.AdminEmailAttachmentScalarFieldEnum | Prisma.AdminEmailAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment findMany
|
|
*/
|
|
export type AdminEmailAttachmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminEmailAttachments to fetch.
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminEmailAttachments to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminEmailAttachmentOrderByWithRelationInput | Prisma.AdminEmailAttachmentOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminEmailAttachments.
|
|
*/
|
|
cursor?: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminEmailAttachments 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` AdminEmailAttachments.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminEmailAttachments.
|
|
*/
|
|
distinct?: Prisma.AdminEmailAttachmentScalarFieldEnum | Prisma.AdminEmailAttachmentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment create
|
|
*/
|
|
export type AdminEmailAttachmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminEmailAttachment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentCreateInput, Prisma.AdminEmailAttachmentUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment createMany
|
|
*/
|
|
export type AdminEmailAttachmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminEmailAttachments.
|
|
*/
|
|
data: Prisma.AdminEmailAttachmentCreateManyInput | Prisma.AdminEmailAttachmentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment createManyAndReturn
|
|
*/
|
|
export type AdminEmailAttachmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminEmailAttachments.
|
|
*/
|
|
data: Prisma.AdminEmailAttachmentCreateManyInput | Prisma.AdminEmailAttachmentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment update
|
|
*/
|
|
export type AdminEmailAttachmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminEmailAttachment.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateInput, Prisma.AdminEmailAttachmentUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminEmailAttachment to update.
|
|
*/
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment updateMany
|
|
*/
|
|
export type AdminEmailAttachmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminEmailAttachments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateManyMutationInput, Prisma.AdminEmailAttachmentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminEmailAttachments to update
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* Limit how many AdminEmailAttachments to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment updateManyAndReturn
|
|
*/
|
|
export type AdminEmailAttachmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminEmailAttachments.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateManyMutationInput, Prisma.AdminEmailAttachmentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminEmailAttachments to update
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* Limit how many AdminEmailAttachments to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment upsert
|
|
*/
|
|
export type AdminEmailAttachmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminEmailAttachment to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
/**
|
|
* In case the AdminEmailAttachment found by the `where` argument doesn't exist, create a new AdminEmailAttachment with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminEmailAttachmentCreateInput, Prisma.AdminEmailAttachmentUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminEmailAttachment was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminEmailAttachmentUpdateInput, Prisma.AdminEmailAttachmentUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment delete
|
|
*/
|
|
export type AdminEmailAttachmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminEmailAttachment to delete.
|
|
*/
|
|
where: Prisma.AdminEmailAttachmentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment deleteMany
|
|
*/
|
|
export type AdminEmailAttachmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminEmailAttachments to delete
|
|
*/
|
|
where?: Prisma.AdminEmailAttachmentWhereInput
|
|
/**
|
|
* Limit how many AdminEmailAttachments to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminEmailAttachment without action
|
|
*/
|
|
export type AdminEmailAttachmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminEmailAttachment
|
|
*/
|
|
select?: Prisma.AdminEmailAttachmentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminEmailAttachment
|
|
*/
|
|
omit?: Prisma.AdminEmailAttachmentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminEmailAttachmentInclude<ExtArgs> | null
|
|
}
|