/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminScheduledEmail` 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 AdminScheduledEmail * */ export type AdminScheduledEmailModel = runtime.Types.Result.DefaultSelection export type AggregateAdminScheduledEmail = { _count: AdminScheduledEmailCountAggregateOutputType | null _avg: AdminScheduledEmailAvgAggregateOutputType | null _sum: AdminScheduledEmailSumAggregateOutputType | null _min: AdminScheduledEmailMinAggregateOutputType | null _max: AdminScheduledEmailMaxAggregateOutputType | null } export type AdminScheduledEmailAvgAggregateOutputType = { noReplyAfterDays: number | null sendAttemptCount: number | null } export type AdminScheduledEmailSumAggregateOutputType = { noReplyAfterDays: number | null sendAttemptCount: number | null } export type AdminScheduledEmailMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null adminUserId: string | null mailboxId: string | null contactId: string | null leadId: string | null dealId: string | null threadId: string | null bulkRunId: string | null subject: string | null bodyHtml: string | null bodyText: string | null scheduledFor: Date | null timeZone: string | null noReplyAfterDays: number | null status: $Enums.AdminScheduledEmailStatus | null idempotencyKey: string | null claimedAt: Date | null sentAt: Date | null sendAttemptCount: number | null providerMessageId: string | null sentMessageId: string | null lastErrorMessageKey: string | null } export type AdminScheduledEmailMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null adminUserId: string | null mailboxId: string | null contactId: string | null leadId: string | null dealId: string | null threadId: string | null bulkRunId: string | null subject: string | null bodyHtml: string | null bodyText: string | null scheduledFor: Date | null timeZone: string | null noReplyAfterDays: number | null status: $Enums.AdminScheduledEmailStatus | null idempotencyKey: string | null claimedAt: Date | null sentAt: Date | null sendAttemptCount: number | null providerMessageId: string | null sentMessageId: string | null lastErrorMessageKey: string | null } export type AdminScheduledEmailCountAggregateOutputType = { id: number createdAt: number updatedAt: number adminUserId: number mailboxId: number contactId: number leadId: number dealId: number threadId: number bulkRunId: number toAddresses: number ccAddresses: number bccAddresses: number subject: number bodyHtml: number bodyText: number scheduledFor: number timeZone: number noReplyAfterDays: number status: number idempotencyKey: number claimedAt: number sentAt: number sendAttemptCount: number providerMessageId: number sentMessageId: number lastErrorMessageKey: number _all: number } export type AdminScheduledEmailAvgAggregateInputType = { noReplyAfterDays?: true sendAttemptCount?: true } export type AdminScheduledEmailSumAggregateInputType = { noReplyAfterDays?: true sendAttemptCount?: true } export type AdminScheduledEmailMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true mailboxId?: true contactId?: true leadId?: true dealId?: true threadId?: true bulkRunId?: true subject?: true bodyHtml?: true bodyText?: true scheduledFor?: true timeZone?: true noReplyAfterDays?: true status?: true idempotencyKey?: true claimedAt?: true sentAt?: true sendAttemptCount?: true providerMessageId?: true sentMessageId?: true lastErrorMessageKey?: true } export type AdminScheduledEmailMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true mailboxId?: true contactId?: true leadId?: true dealId?: true threadId?: true bulkRunId?: true subject?: true bodyHtml?: true bodyText?: true scheduledFor?: true timeZone?: true noReplyAfterDays?: true status?: true idempotencyKey?: true claimedAt?: true sentAt?: true sendAttemptCount?: true providerMessageId?: true sentMessageId?: true lastErrorMessageKey?: true } export type AdminScheduledEmailCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true adminUserId?: true mailboxId?: true contactId?: true leadId?: true dealId?: true threadId?: true bulkRunId?: true toAddresses?: true ccAddresses?: true bccAddresses?: true subject?: true bodyHtml?: true bodyText?: true scheduledFor?: true timeZone?: true noReplyAfterDays?: true status?: true idempotencyKey?: true claimedAt?: true sentAt?: true sendAttemptCount?: true providerMessageId?: true sentMessageId?: true lastErrorMessageKey?: true _all?: true } export type AdminScheduledEmailAggregateArgs = { /** * Filter which AdminScheduledEmail to aggregate. */ where?: Prisma.AdminScheduledEmailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminScheduledEmails to fetch. */ orderBy?: Prisma.AdminScheduledEmailOrderByWithRelationInput | Prisma.AdminScheduledEmailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminScheduledEmailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminScheduledEmails 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` AdminScheduledEmails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminScheduledEmails **/ _count?: true | AdminScheduledEmailCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AdminScheduledEmailAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AdminScheduledEmailSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminScheduledEmailMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminScheduledEmailMaxAggregateInputType } export type GetAdminScheduledEmailAggregateType = { [P in keyof T & keyof AggregateAdminScheduledEmail]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminScheduledEmailGroupByArgs = { where?: Prisma.AdminScheduledEmailWhereInput orderBy?: Prisma.AdminScheduledEmailOrderByWithAggregationInput | Prisma.AdminScheduledEmailOrderByWithAggregationInput[] by: Prisma.AdminScheduledEmailScalarFieldEnum[] | Prisma.AdminScheduledEmailScalarFieldEnum having?: Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminScheduledEmailCountAggregateInputType | true _avg?: AdminScheduledEmailAvgAggregateInputType _sum?: AdminScheduledEmailSumAggregateInputType _min?: AdminScheduledEmailMinAggregateInputType _max?: AdminScheduledEmailMaxAggregateInputType } export type AdminScheduledEmailGroupByOutputType = { id: string createdAt: Date updatedAt: Date adminUserId: string mailboxId: string contactId: string | null leadId: string | null dealId: string | null threadId: string | null bulkRunId: string | null toAddresses: string[] ccAddresses: string[] bccAddresses: string[] subject: string bodyHtml: string bodyText: string | null scheduledFor: Date timeZone: string noReplyAfterDays: number | null status: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt: Date | null sentAt: Date | null sendAttemptCount: number providerMessageId: string | null sentMessageId: string | null lastErrorMessageKey: string | null _count: AdminScheduledEmailCountAggregateOutputType | null _avg: AdminScheduledEmailAvgAggregateOutputType | null _sum: AdminScheduledEmailSumAggregateOutputType | null _min: AdminScheduledEmailMinAggregateOutputType | null _max: AdminScheduledEmailMaxAggregateOutputType | null } export type GetAdminScheduledEmailGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminScheduledEmailGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminScheduledEmailWhereInput = { AND?: Prisma.AdminScheduledEmailWhereInput | Prisma.AdminScheduledEmailWhereInput[] OR?: Prisma.AdminScheduledEmailWhereInput[] NOT?: Prisma.AdminScheduledEmailWhereInput | Prisma.AdminScheduledEmailWhereInput[] id?: Prisma.StringFilter<"AdminScheduledEmail"> | string createdAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string adminUserId?: Prisma.StringFilter<"AdminScheduledEmail"> | string mailboxId?: Prisma.StringFilter<"AdminScheduledEmail"> | string contactId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null leadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null dealId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null threadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null bulkRunId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null toAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> ccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> bccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> subject?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyHtml?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyText?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null scheduledFor?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string timeZone?: Prisma.StringFilter<"AdminScheduledEmail"> | string noReplyAfterDays?: Prisma.IntNullableFilter<"AdminScheduledEmail"> | number | null status?: Prisma.EnumAdminScheduledEmailStatusFilter<"AdminScheduledEmail"> | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFilter<"AdminScheduledEmail"> | string claimedAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sentAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sendAttemptCount?: Prisma.IntFilter<"AdminScheduledEmail"> | number providerMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null sentMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null mailbox?: Prisma.XOR thread?: Prisma.XOR | null bulkRun?: Prisma.XOR | null } export type AdminScheduledEmailOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder mailboxId?: Prisma.SortOrder contactId?: Prisma.SortOrderInput | Prisma.SortOrder leadId?: Prisma.SortOrderInput | Prisma.SortOrder dealId?: Prisma.SortOrderInput | Prisma.SortOrder threadId?: Prisma.SortOrderInput | Prisma.SortOrder bulkRunId?: Prisma.SortOrderInput | Prisma.SortOrder toAddresses?: Prisma.SortOrder ccAddresses?: Prisma.SortOrder bccAddresses?: Prisma.SortOrder subject?: Prisma.SortOrder bodyHtml?: Prisma.SortOrder bodyText?: Prisma.SortOrderInput | Prisma.SortOrder scheduledFor?: Prisma.SortOrder timeZone?: Prisma.SortOrder noReplyAfterDays?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder idempotencyKey?: Prisma.SortOrder claimedAt?: Prisma.SortOrderInput | Prisma.SortOrder sentAt?: Prisma.SortOrderInput | Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder providerMessageId?: Prisma.SortOrderInput | Prisma.SortOrder sentMessageId?: Prisma.SortOrderInput | Prisma.SortOrder lastErrorMessageKey?: Prisma.SortOrderInput | Prisma.SortOrder mailbox?: Prisma.AdminMailboxOrderByWithRelationInput thread?: Prisma.AdminEmailThreadOrderByWithRelationInput bulkRun?: Prisma.AdminBulkEmailRunOrderByWithRelationInput } export type AdminScheduledEmailWhereUniqueInput = Prisma.AtLeast<{ id?: string idempotencyKey?: string AND?: Prisma.AdminScheduledEmailWhereInput | Prisma.AdminScheduledEmailWhereInput[] OR?: Prisma.AdminScheduledEmailWhereInput[] NOT?: Prisma.AdminScheduledEmailWhereInput | Prisma.AdminScheduledEmailWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string adminUserId?: Prisma.StringFilter<"AdminScheduledEmail"> | string mailboxId?: Prisma.StringFilter<"AdminScheduledEmail"> | string contactId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null leadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null dealId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null threadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null bulkRunId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null toAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> ccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> bccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> subject?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyHtml?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyText?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null scheduledFor?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string timeZone?: Prisma.StringFilter<"AdminScheduledEmail"> | string noReplyAfterDays?: Prisma.IntNullableFilter<"AdminScheduledEmail"> | number | null status?: Prisma.EnumAdminScheduledEmailStatusFilter<"AdminScheduledEmail"> | $Enums.AdminScheduledEmailStatus claimedAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sentAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sendAttemptCount?: Prisma.IntFilter<"AdminScheduledEmail"> | number providerMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null sentMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null mailbox?: Prisma.XOR thread?: Prisma.XOR | null bulkRun?: Prisma.XOR | null }, "id" | "idempotencyKey"> export type AdminScheduledEmailOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder mailboxId?: Prisma.SortOrder contactId?: Prisma.SortOrderInput | Prisma.SortOrder leadId?: Prisma.SortOrderInput | Prisma.SortOrder dealId?: Prisma.SortOrderInput | Prisma.SortOrder threadId?: Prisma.SortOrderInput | Prisma.SortOrder bulkRunId?: Prisma.SortOrderInput | Prisma.SortOrder toAddresses?: Prisma.SortOrder ccAddresses?: Prisma.SortOrder bccAddresses?: Prisma.SortOrder subject?: Prisma.SortOrder bodyHtml?: Prisma.SortOrder bodyText?: Prisma.SortOrderInput | Prisma.SortOrder scheduledFor?: Prisma.SortOrder timeZone?: Prisma.SortOrder noReplyAfterDays?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder idempotencyKey?: Prisma.SortOrder claimedAt?: Prisma.SortOrderInput | Prisma.SortOrder sentAt?: Prisma.SortOrderInput | Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder providerMessageId?: Prisma.SortOrderInput | Prisma.SortOrder sentMessageId?: Prisma.SortOrderInput | Prisma.SortOrder lastErrorMessageKey?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AdminScheduledEmailCountOrderByAggregateInput _avg?: Prisma.AdminScheduledEmailAvgOrderByAggregateInput _max?: Prisma.AdminScheduledEmailMaxOrderByAggregateInput _min?: Prisma.AdminScheduledEmailMinOrderByAggregateInput _sum?: Prisma.AdminScheduledEmailSumOrderByAggregateInput } export type AdminScheduledEmailScalarWhereWithAggregatesInput = { AND?: Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput | Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput[] OR?: Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput | Prisma.AdminScheduledEmailScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminScheduledEmail"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminScheduledEmail"> | Date | string adminUserId?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string mailboxId?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string contactId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null leadId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null dealId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null threadId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null bulkRunId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null toAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> ccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> bccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> subject?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string bodyHtml?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string bodyText?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null scheduledFor?: Prisma.DateTimeWithAggregatesFilter<"AdminScheduledEmail"> | Date | string timeZone?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string noReplyAfterDays?: Prisma.IntNullableWithAggregatesFilter<"AdminScheduledEmail"> | number | null status?: Prisma.EnumAdminScheduledEmailStatusWithAggregatesFilter<"AdminScheduledEmail"> | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringWithAggregatesFilter<"AdminScheduledEmail"> | string claimedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminScheduledEmail"> | Date | string | null sentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminScheduledEmail"> | Date | string | null sendAttemptCount?: Prisma.IntWithAggregatesFilter<"AdminScheduledEmail"> | number providerMessageId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null sentMessageId?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null lastErrorMessageKey?: Prisma.StringNullableWithAggregatesFilter<"AdminScheduledEmail"> | string | null } export type AdminScheduledEmailCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null mailbox: Prisma.AdminMailboxCreateNestedOneWithoutScheduledInput thread?: Prisma.AdminEmailThreadCreateNestedOneWithoutScheduledInput bulkRun?: Prisma.AdminBulkEmailRunCreateNestedOneWithoutScheduledInput } export type AdminScheduledEmailUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutScheduledNestedInput thread?: Prisma.AdminEmailThreadUpdateOneWithoutScheduledNestedInput bulkRun?: Prisma.AdminBulkEmailRunUpdateOneWithoutScheduledNestedInput } export type AdminScheduledEmailUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailListRelationFilter = { every?: Prisma.AdminScheduledEmailWhereInput some?: Prisma.AdminScheduledEmailWhereInput none?: Prisma.AdminScheduledEmailWhereInput } export type AdminScheduledEmailOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminScheduledEmailCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder mailboxId?: Prisma.SortOrder contactId?: Prisma.SortOrder leadId?: Prisma.SortOrder dealId?: Prisma.SortOrder threadId?: Prisma.SortOrder bulkRunId?: Prisma.SortOrder toAddresses?: Prisma.SortOrder ccAddresses?: Prisma.SortOrder bccAddresses?: Prisma.SortOrder subject?: Prisma.SortOrder bodyHtml?: Prisma.SortOrder bodyText?: Prisma.SortOrder scheduledFor?: Prisma.SortOrder timeZone?: Prisma.SortOrder noReplyAfterDays?: Prisma.SortOrder status?: Prisma.SortOrder idempotencyKey?: Prisma.SortOrder claimedAt?: Prisma.SortOrder sentAt?: Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder providerMessageId?: Prisma.SortOrder sentMessageId?: Prisma.SortOrder lastErrorMessageKey?: Prisma.SortOrder } export type AdminScheduledEmailAvgOrderByAggregateInput = { noReplyAfterDays?: Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder } export type AdminScheduledEmailMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder mailboxId?: Prisma.SortOrder contactId?: Prisma.SortOrder leadId?: Prisma.SortOrder dealId?: Prisma.SortOrder threadId?: Prisma.SortOrder bulkRunId?: Prisma.SortOrder subject?: Prisma.SortOrder bodyHtml?: Prisma.SortOrder bodyText?: Prisma.SortOrder scheduledFor?: Prisma.SortOrder timeZone?: Prisma.SortOrder noReplyAfterDays?: Prisma.SortOrder status?: Prisma.SortOrder idempotencyKey?: Prisma.SortOrder claimedAt?: Prisma.SortOrder sentAt?: Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder providerMessageId?: Prisma.SortOrder sentMessageId?: Prisma.SortOrder lastErrorMessageKey?: Prisma.SortOrder } export type AdminScheduledEmailMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder adminUserId?: Prisma.SortOrder mailboxId?: Prisma.SortOrder contactId?: Prisma.SortOrder leadId?: Prisma.SortOrder dealId?: Prisma.SortOrder threadId?: Prisma.SortOrder bulkRunId?: Prisma.SortOrder subject?: Prisma.SortOrder bodyHtml?: Prisma.SortOrder bodyText?: Prisma.SortOrder scheduledFor?: Prisma.SortOrder timeZone?: Prisma.SortOrder noReplyAfterDays?: Prisma.SortOrder status?: Prisma.SortOrder idempotencyKey?: Prisma.SortOrder claimedAt?: Prisma.SortOrder sentAt?: Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder providerMessageId?: Prisma.SortOrder sentMessageId?: Prisma.SortOrder lastErrorMessageKey?: Prisma.SortOrder } export type AdminScheduledEmailSumOrderByAggregateInput = { noReplyAfterDays?: Prisma.SortOrder sendAttemptCount?: Prisma.SortOrder } export type AdminScheduledEmailCreateNestedManyWithoutMailboxInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutMailboxInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutMailboxInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput[] createMany?: Prisma.AdminScheduledEmailCreateManyMailboxInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUncheckedCreateNestedManyWithoutMailboxInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutMailboxInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutMailboxInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput[] createMany?: Prisma.AdminScheduledEmailCreateManyMailboxInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUpdateManyWithoutMailboxNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutMailboxInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutMailboxInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutMailboxInput[] createMany?: Prisma.AdminScheduledEmailCreateManyMailboxInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutMailboxInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutMailboxInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailUncheckedUpdateManyWithoutMailboxNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutMailboxInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutMailboxInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutMailboxInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutMailboxInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutMailboxInput[] createMany?: Prisma.AdminScheduledEmailCreateManyMailboxInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutMailboxInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutMailboxInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutMailboxInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutMailboxInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailCreateNestedManyWithoutThreadInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutThreadInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutThreadInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput[] createMany?: Prisma.AdminScheduledEmailCreateManyThreadInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUncheckedCreateNestedManyWithoutThreadInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutThreadInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutThreadInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput[] createMany?: Prisma.AdminScheduledEmailCreateManyThreadInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUpdateManyWithoutThreadNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutThreadInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutThreadInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutThreadInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutThreadInput[] createMany?: Prisma.AdminScheduledEmailCreateManyThreadInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutThreadInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutThreadInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutThreadInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutThreadInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailUncheckedUpdateManyWithoutThreadNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutThreadInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutThreadInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutThreadInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutThreadInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutThreadInput[] createMany?: Prisma.AdminScheduledEmailCreateManyThreadInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutThreadInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutThreadInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutThreadInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutThreadInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailCreatetoAddressesInput = { set: string[] } export type AdminScheduledEmailCreateccAddressesInput = { set: string[] } export type AdminScheduledEmailCreatebccAddressesInput = { set: string[] } export type AdminScheduledEmailUpdatetoAddressesInput = { set?: string[] push?: string | string[] } export type AdminScheduledEmailUpdateccAddressesInput = { set?: string[] push?: string | string[] } export type AdminScheduledEmailUpdatebccAddressesInput = { set?: string[] push?: string | string[] } export type EnumAdminScheduledEmailStatusFieldUpdateOperationsInput = { set?: $Enums.AdminScheduledEmailStatus } export type AdminScheduledEmailCreateNestedManyWithoutBulkRunInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutBulkRunInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutBulkRunInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput[] createMany?: Prisma.AdminScheduledEmailCreateManyBulkRunInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUncheckedCreateNestedManyWithoutBulkRunInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutBulkRunInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutBulkRunInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput[] createMany?: Prisma.AdminScheduledEmailCreateManyBulkRunInputEnvelope connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] } export type AdminScheduledEmailUpdateManyWithoutBulkRunNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutBulkRunInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutBulkRunInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutBulkRunInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutBulkRunInput[] createMany?: Prisma.AdminScheduledEmailCreateManyBulkRunInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutBulkRunInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutBulkRunInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutBulkRunInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutBulkRunInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailUncheckedUpdateManyWithoutBulkRunNestedInput = { create?: Prisma.XOR | Prisma.AdminScheduledEmailCreateWithoutBulkRunInput[] | Prisma.AdminScheduledEmailUncheckedCreateWithoutBulkRunInput[] connectOrCreate?: Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput | Prisma.AdminScheduledEmailCreateOrConnectWithoutBulkRunInput[] upsert?: Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutBulkRunInput | Prisma.AdminScheduledEmailUpsertWithWhereUniqueWithoutBulkRunInput[] createMany?: Prisma.AdminScheduledEmailCreateManyBulkRunInputEnvelope set?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] disconnect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] delete?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] connect?: Prisma.AdminScheduledEmailWhereUniqueInput | Prisma.AdminScheduledEmailWhereUniqueInput[] update?: Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutBulkRunInput | Prisma.AdminScheduledEmailUpdateWithWhereUniqueWithoutBulkRunInput[] updateMany?: Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutBulkRunInput | Prisma.AdminScheduledEmailUpdateManyWithWhereWithoutBulkRunInput[] deleteMany?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] } export type AdminScheduledEmailCreateWithoutMailboxInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null thread?: Prisma.AdminEmailThreadCreateNestedOneWithoutScheduledInput bulkRun?: Prisma.AdminBulkEmailRunCreateNestedOneWithoutScheduledInput } export type AdminScheduledEmailUncheckedCreateWithoutMailboxInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailCreateOrConnectWithoutMailboxInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput create: Prisma.XOR } export type AdminScheduledEmailCreateManyMailboxInputEnvelope = { data: Prisma.AdminScheduledEmailCreateManyMailboxInput | Prisma.AdminScheduledEmailCreateManyMailboxInput[] skipDuplicates?: boolean } export type AdminScheduledEmailUpsertWithWhereUniqueWithoutMailboxInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminScheduledEmailUpdateWithWhereUniqueWithoutMailboxInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput data: Prisma.XOR } export type AdminScheduledEmailUpdateManyWithWhereWithoutMailboxInput = { where: Prisma.AdminScheduledEmailScalarWhereInput data: Prisma.XOR } export type AdminScheduledEmailScalarWhereInput = { AND?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] OR?: Prisma.AdminScheduledEmailScalarWhereInput[] NOT?: Prisma.AdminScheduledEmailScalarWhereInput | Prisma.AdminScheduledEmailScalarWhereInput[] id?: Prisma.StringFilter<"AdminScheduledEmail"> | string createdAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string adminUserId?: Prisma.StringFilter<"AdminScheduledEmail"> | string mailboxId?: Prisma.StringFilter<"AdminScheduledEmail"> | string contactId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null leadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null dealId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null threadId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null bulkRunId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null toAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> ccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> bccAddresses?: Prisma.StringNullableListFilter<"AdminScheduledEmail"> subject?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyHtml?: Prisma.StringFilter<"AdminScheduledEmail"> | string bodyText?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null scheduledFor?: Prisma.DateTimeFilter<"AdminScheduledEmail"> | Date | string timeZone?: Prisma.StringFilter<"AdminScheduledEmail"> | string noReplyAfterDays?: Prisma.IntNullableFilter<"AdminScheduledEmail"> | number | null status?: Prisma.EnumAdminScheduledEmailStatusFilter<"AdminScheduledEmail"> | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFilter<"AdminScheduledEmail"> | string claimedAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sentAt?: Prisma.DateTimeNullableFilter<"AdminScheduledEmail"> | Date | string | null sendAttemptCount?: Prisma.IntFilter<"AdminScheduledEmail"> | number providerMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null sentMessageId?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null lastErrorMessageKey?: Prisma.StringNullableFilter<"AdminScheduledEmail"> | string | null } export type AdminScheduledEmailCreateWithoutThreadInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null mailbox: Prisma.AdminMailboxCreateNestedOneWithoutScheduledInput bulkRun?: Prisma.AdminBulkEmailRunCreateNestedOneWithoutScheduledInput } export type AdminScheduledEmailUncheckedCreateWithoutThreadInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailCreateOrConnectWithoutThreadInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput create: Prisma.XOR } export type AdminScheduledEmailCreateManyThreadInputEnvelope = { data: Prisma.AdminScheduledEmailCreateManyThreadInput | Prisma.AdminScheduledEmailCreateManyThreadInput[] skipDuplicates?: boolean } export type AdminScheduledEmailUpsertWithWhereUniqueWithoutThreadInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminScheduledEmailUpdateWithWhereUniqueWithoutThreadInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput data: Prisma.XOR } export type AdminScheduledEmailUpdateManyWithWhereWithoutThreadInput = { where: Prisma.AdminScheduledEmailScalarWhereInput data: Prisma.XOR } export type AdminScheduledEmailCreateWithoutBulkRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null mailbox: Prisma.AdminMailboxCreateNestedOneWithoutScheduledInput thread?: Prisma.AdminEmailThreadCreateNestedOneWithoutScheduledInput } export type AdminScheduledEmailUncheckedCreateWithoutBulkRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailCreateOrConnectWithoutBulkRunInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput create: Prisma.XOR } export type AdminScheduledEmailCreateManyBulkRunInputEnvelope = { data: Prisma.AdminScheduledEmailCreateManyBulkRunInput | Prisma.AdminScheduledEmailCreateManyBulkRunInput[] skipDuplicates?: boolean } export type AdminScheduledEmailUpsertWithWhereUniqueWithoutBulkRunInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminScheduledEmailUpdateWithWhereUniqueWithoutBulkRunInput = { where: Prisma.AdminScheduledEmailWhereUniqueInput data: Prisma.XOR } export type AdminScheduledEmailUpdateManyWithWhereWithoutBulkRunInput = { where: Prisma.AdminScheduledEmailScalarWhereInput data: Prisma.XOR } export type AdminScheduledEmailCreateManyMailboxInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailUpdateWithoutMailboxInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null thread?: Prisma.AdminEmailThreadUpdateOneWithoutScheduledNestedInput bulkRun?: Prisma.AdminBulkEmailRunUpdateOneWithoutScheduledNestedInput } export type AdminScheduledEmailUncheckedUpdateWithoutMailboxInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailUncheckedUpdateManyWithoutMailboxInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailCreateManyThreadInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null bulkRunId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailUpdateWithoutThreadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutScheduledNestedInput bulkRun?: Prisma.AdminBulkEmailRunUpdateOneWithoutScheduledNestedInput } export type AdminScheduledEmailUncheckedUpdateWithoutThreadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailUncheckedUpdateManyWithoutThreadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null bulkRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailCreateManyBulkRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string adminUserId: string mailboxId: string contactId?: string | null leadId?: string | null dealId?: string | null threadId?: string | null toAddresses?: Prisma.AdminScheduledEmailCreatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailCreateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailCreatebccAddressesInput | string[] subject: string bodyHtml: string bodyText?: string | null scheduledFor: Date | string timeZone: string noReplyAfterDays?: number | null status?: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt?: Date | string | null sentAt?: Date | string | null sendAttemptCount?: number providerMessageId?: string | null sentMessageId?: string | null lastErrorMessageKey?: string | null } export type AdminScheduledEmailUpdateWithoutBulkRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null mailbox?: Prisma.AdminMailboxUpdateOneRequiredWithoutScheduledNestedInput thread?: Prisma.AdminEmailThreadUpdateOneWithoutScheduledNestedInput } export type AdminScheduledEmailUncheckedUpdateWithoutBulkRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailUncheckedUpdateManyWithoutBulkRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string adminUserId?: Prisma.StringFieldUpdateOperationsInput | string mailboxId?: Prisma.StringFieldUpdateOperationsInput | string contactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null dealId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null threadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null toAddresses?: Prisma.AdminScheduledEmailUpdatetoAddressesInput | string[] ccAddresses?: Prisma.AdminScheduledEmailUpdateccAddressesInput | string[] bccAddresses?: Prisma.AdminScheduledEmailUpdatebccAddressesInput | string[] subject?: Prisma.StringFieldUpdateOperationsInput | string bodyHtml?: Prisma.StringFieldUpdateOperationsInput | string bodyText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null scheduledFor?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string timeZone?: Prisma.StringFieldUpdateOperationsInput | string noReplyAfterDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null status?: Prisma.EnumAdminScheduledEmailStatusFieldUpdateOperationsInput | $Enums.AdminScheduledEmailStatus idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null sendAttemptCount?: Prisma.IntFieldUpdateOperationsInput | number providerMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sentMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null lastErrorMessageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AdminScheduledEmailSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean mailboxId?: boolean contactId?: boolean leadId?: boolean dealId?: boolean threadId?: boolean bulkRunId?: boolean toAddresses?: boolean ccAddresses?: boolean bccAddresses?: boolean subject?: boolean bodyHtml?: boolean bodyText?: boolean scheduledFor?: boolean timeZone?: boolean noReplyAfterDays?: boolean status?: boolean idempotencyKey?: boolean claimedAt?: boolean sentAt?: boolean sendAttemptCount?: boolean providerMessageId?: boolean sentMessageId?: boolean lastErrorMessageKey?: boolean mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs }, ExtArgs["result"]["adminScheduledEmail"]> export type AdminScheduledEmailSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean mailboxId?: boolean contactId?: boolean leadId?: boolean dealId?: boolean threadId?: boolean bulkRunId?: boolean toAddresses?: boolean ccAddresses?: boolean bccAddresses?: boolean subject?: boolean bodyHtml?: boolean bodyText?: boolean scheduledFor?: boolean timeZone?: boolean noReplyAfterDays?: boolean status?: boolean idempotencyKey?: boolean claimedAt?: boolean sentAt?: boolean sendAttemptCount?: boolean providerMessageId?: boolean sentMessageId?: boolean lastErrorMessageKey?: boolean mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs }, ExtArgs["result"]["adminScheduledEmail"]> export type AdminScheduledEmailSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean mailboxId?: boolean contactId?: boolean leadId?: boolean dealId?: boolean threadId?: boolean bulkRunId?: boolean toAddresses?: boolean ccAddresses?: boolean bccAddresses?: boolean subject?: boolean bodyHtml?: boolean bodyText?: boolean scheduledFor?: boolean timeZone?: boolean noReplyAfterDays?: boolean status?: boolean idempotencyKey?: boolean claimedAt?: boolean sentAt?: boolean sendAttemptCount?: boolean providerMessageId?: boolean sentMessageId?: boolean lastErrorMessageKey?: boolean mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs }, ExtArgs["result"]["adminScheduledEmail"]> export type AdminScheduledEmailSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean adminUserId?: boolean mailboxId?: boolean contactId?: boolean leadId?: boolean dealId?: boolean threadId?: boolean bulkRunId?: boolean toAddresses?: boolean ccAddresses?: boolean bccAddresses?: boolean subject?: boolean bodyHtml?: boolean bodyText?: boolean scheduledFor?: boolean timeZone?: boolean noReplyAfterDays?: boolean status?: boolean idempotencyKey?: boolean claimedAt?: boolean sentAt?: boolean sendAttemptCount?: boolean providerMessageId?: boolean sentMessageId?: boolean lastErrorMessageKey?: boolean } export type AdminScheduledEmailOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "adminUserId" | "mailboxId" | "contactId" | "leadId" | "dealId" | "threadId" | "bulkRunId" | "toAddresses" | "ccAddresses" | "bccAddresses" | "subject" | "bodyHtml" | "bodyText" | "scheduledFor" | "timeZone" | "noReplyAfterDays" | "status" | "idempotencyKey" | "claimedAt" | "sentAt" | "sendAttemptCount" | "providerMessageId" | "sentMessageId" | "lastErrorMessageKey", ExtArgs["result"]["adminScheduledEmail"]> export type AdminScheduledEmailInclude = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs } export type AdminScheduledEmailIncludeCreateManyAndReturn = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs } export type AdminScheduledEmailIncludeUpdateManyAndReturn = { mailbox?: boolean | Prisma.AdminMailboxDefaultArgs thread?: boolean | Prisma.AdminScheduledEmail$threadArgs bulkRun?: boolean | Prisma.AdminScheduledEmail$bulkRunArgs } export type $AdminScheduledEmailPayload = { name: "AdminScheduledEmail" objects: { mailbox: Prisma.$AdminMailboxPayload thread: Prisma.$AdminEmailThreadPayload | null bulkRun: Prisma.$AdminBulkEmailRunPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date adminUserId: string mailboxId: string contactId: string | null leadId: string | null dealId: string | null threadId: string | null bulkRunId: string | null toAddresses: string[] ccAddresses: string[] bccAddresses: string[] subject: string bodyHtml: string bodyText: string | null scheduledFor: Date timeZone: string noReplyAfterDays: number | null status: $Enums.AdminScheduledEmailStatus idempotencyKey: string claimedAt: Date | null sentAt: Date | null sendAttemptCount: number providerMessageId: string | null sentMessageId: string | null lastErrorMessageKey: string | null }, ExtArgs["result"]["adminScheduledEmail"]> composites: {} } export type AdminScheduledEmailGetPayload = runtime.Types.Result.GetResult export type AdminScheduledEmailCountArgs = Omit & { select?: AdminScheduledEmailCountAggregateInputType | true } export interface AdminScheduledEmailDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminScheduledEmail'], meta: { name: 'AdminScheduledEmail' } } /** * Find zero or one AdminScheduledEmail that matches the filter. * @param {AdminScheduledEmailFindUniqueArgs} args - Arguments to find a AdminScheduledEmail * @example * // Get one AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminScheduledEmail that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminScheduledEmailFindUniqueOrThrowArgs} args - Arguments to find a AdminScheduledEmail * @example * // Get one AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminScheduledEmail 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 {AdminScheduledEmailFindFirstArgs} args - Arguments to find a AdminScheduledEmail * @example * // Get one AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminScheduledEmail 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 {AdminScheduledEmailFindFirstOrThrowArgs} args - Arguments to find a AdminScheduledEmail * @example * // Get one AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminScheduledEmails 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 {AdminScheduledEmailFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminScheduledEmails * const adminScheduledEmails = await prisma.adminScheduledEmail.findMany() * * // Get first 10 AdminScheduledEmails * const adminScheduledEmails = await prisma.adminScheduledEmail.findMany({ take: 10 }) * * // Only select the `id` * const adminScheduledEmailWithIdOnly = await prisma.adminScheduledEmail.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminScheduledEmail. * @param {AdminScheduledEmailCreateArgs} args - Arguments to create a AdminScheduledEmail. * @example * // Create one AdminScheduledEmail * const AdminScheduledEmail = await prisma.adminScheduledEmail.create({ * data: { * // ... data to create a AdminScheduledEmail * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminScheduledEmails. * @param {AdminScheduledEmailCreateManyArgs} args - Arguments to create many AdminScheduledEmails. * @example * // Create many AdminScheduledEmails * const adminScheduledEmail = await prisma.adminScheduledEmail.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminScheduledEmails and returns the data saved in the database. * @param {AdminScheduledEmailCreateManyAndReturnArgs} args - Arguments to create many AdminScheduledEmails. * @example * // Create many AdminScheduledEmails * const adminScheduledEmail = await prisma.adminScheduledEmail.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminScheduledEmails and only return the `id` * const adminScheduledEmailWithIdOnly = await prisma.adminScheduledEmail.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 AdminScheduledEmail. * @param {AdminScheduledEmailDeleteArgs} args - Arguments to delete one AdminScheduledEmail. * @example * // Delete one AdminScheduledEmail * const AdminScheduledEmail = await prisma.adminScheduledEmail.delete({ * where: { * // ... filter to delete one AdminScheduledEmail * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminScheduledEmail. * @param {AdminScheduledEmailUpdateArgs} args - Arguments to update one AdminScheduledEmail. * @example * // Update one AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminScheduledEmails. * @param {AdminScheduledEmailDeleteManyArgs} args - Arguments to filter AdminScheduledEmails to delete. * @example * // Delete a few AdminScheduledEmails * const { count } = await prisma.adminScheduledEmail.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminScheduledEmails. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminScheduledEmailUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminScheduledEmails * const adminScheduledEmail = await prisma.adminScheduledEmail.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminScheduledEmails and returns the data updated in the database. * @param {AdminScheduledEmailUpdateManyAndReturnArgs} args - Arguments to update many AdminScheduledEmails. * @example * // Update many AdminScheduledEmails * const adminScheduledEmail = await prisma.adminScheduledEmail.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminScheduledEmails and only return the `id` * const adminScheduledEmailWithIdOnly = await prisma.adminScheduledEmail.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 AdminScheduledEmail. * @param {AdminScheduledEmailUpsertArgs} args - Arguments to update or create a AdminScheduledEmail. * @example * // Update or create a AdminScheduledEmail * const adminScheduledEmail = await prisma.adminScheduledEmail.upsert({ * create: { * // ... data to create a AdminScheduledEmail * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminScheduledEmail we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminScheduledEmailClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminScheduledEmails. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminScheduledEmailCountArgs} args - Arguments to filter AdminScheduledEmails to count. * @example * // Count the number of AdminScheduledEmails * const count = await prisma.adminScheduledEmail.count({ * where: { * // ... the filter for the AdminScheduledEmails we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a AdminScheduledEmail. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminScheduledEmailAggregateArgs} 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 AdminScheduledEmail. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminScheduledEmailGroupByArgs} 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 AdminScheduledEmailGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminScheduledEmailGroupByArgs['orderBy'] } : { orderBy?: AdminScheduledEmailGroupByArgs['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 ? GetAdminScheduledEmailGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminScheduledEmail model */ readonly fields: AdminScheduledEmailFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminScheduledEmail. * 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__AdminScheduledEmailClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" mailbox = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminMailboxClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> thread = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminEmailThreadClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> bulkRun = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminBulkEmailRunClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AdminScheduledEmail model */ export interface AdminScheduledEmailFieldRefs { readonly id: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly createdAt: Prisma.FieldRef<"AdminScheduledEmail", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AdminScheduledEmail", 'DateTime'> readonly adminUserId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly mailboxId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly contactId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly leadId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly dealId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly threadId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly bulkRunId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly toAddresses: Prisma.FieldRef<"AdminScheduledEmail", 'String[]'> readonly ccAddresses: Prisma.FieldRef<"AdminScheduledEmail", 'String[]'> readonly bccAddresses: Prisma.FieldRef<"AdminScheduledEmail", 'String[]'> readonly subject: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly bodyHtml: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly bodyText: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly scheduledFor: Prisma.FieldRef<"AdminScheduledEmail", 'DateTime'> readonly timeZone: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly noReplyAfterDays: Prisma.FieldRef<"AdminScheduledEmail", 'Int'> readonly status: Prisma.FieldRef<"AdminScheduledEmail", 'AdminScheduledEmailStatus'> readonly idempotencyKey: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly claimedAt: Prisma.FieldRef<"AdminScheduledEmail", 'DateTime'> readonly sentAt: Prisma.FieldRef<"AdminScheduledEmail", 'DateTime'> readonly sendAttemptCount: Prisma.FieldRef<"AdminScheduledEmail", 'Int'> readonly providerMessageId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly sentMessageId: Prisma.FieldRef<"AdminScheduledEmail", 'String'> readonly lastErrorMessageKey: Prisma.FieldRef<"AdminScheduledEmail", 'String'> } // Custom InputTypes /** * AdminScheduledEmail findUnique */ export type AdminScheduledEmailFindUniqueArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter, which AdminScheduledEmail to fetch. */ where: Prisma.AdminScheduledEmailWhereUniqueInput } /** * AdminScheduledEmail findUniqueOrThrow */ export type AdminScheduledEmailFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter, which AdminScheduledEmail to fetch. */ where: Prisma.AdminScheduledEmailWhereUniqueInput } /** * AdminScheduledEmail findFirst */ export type AdminScheduledEmailFindFirstArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter, which AdminScheduledEmail to fetch. */ where?: Prisma.AdminScheduledEmailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminScheduledEmails to fetch. */ orderBy?: Prisma.AdminScheduledEmailOrderByWithRelationInput | Prisma.AdminScheduledEmailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminScheduledEmails. */ cursor?: Prisma.AdminScheduledEmailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminScheduledEmails 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` AdminScheduledEmails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminScheduledEmails. */ distinct?: Prisma.AdminScheduledEmailScalarFieldEnum | Prisma.AdminScheduledEmailScalarFieldEnum[] } /** * AdminScheduledEmail findFirstOrThrow */ export type AdminScheduledEmailFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter, which AdminScheduledEmail to fetch. */ where?: Prisma.AdminScheduledEmailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminScheduledEmails to fetch. */ orderBy?: Prisma.AdminScheduledEmailOrderByWithRelationInput | Prisma.AdminScheduledEmailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminScheduledEmails. */ cursor?: Prisma.AdminScheduledEmailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminScheduledEmails 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` AdminScheduledEmails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminScheduledEmails. */ distinct?: Prisma.AdminScheduledEmailScalarFieldEnum | Prisma.AdminScheduledEmailScalarFieldEnum[] } /** * AdminScheduledEmail findMany */ export type AdminScheduledEmailFindManyArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter, which AdminScheduledEmails to fetch. */ where?: Prisma.AdminScheduledEmailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminScheduledEmails to fetch. */ orderBy?: Prisma.AdminScheduledEmailOrderByWithRelationInput | Prisma.AdminScheduledEmailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminScheduledEmails. */ cursor?: Prisma.AdminScheduledEmailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminScheduledEmails 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` AdminScheduledEmails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminScheduledEmails. */ distinct?: Prisma.AdminScheduledEmailScalarFieldEnum | Prisma.AdminScheduledEmailScalarFieldEnum[] } /** * AdminScheduledEmail create */ export type AdminScheduledEmailCreateArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * The data needed to create a AdminScheduledEmail. */ data: Prisma.XOR } /** * AdminScheduledEmail createMany */ export type AdminScheduledEmailCreateManyArgs = { /** * The data used to create many AdminScheduledEmails. */ data: Prisma.AdminScheduledEmailCreateManyInput | Prisma.AdminScheduledEmailCreateManyInput[] skipDuplicates?: boolean } /** * AdminScheduledEmail createManyAndReturn */ export type AdminScheduledEmailCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * The data used to create many AdminScheduledEmails. */ data: Prisma.AdminScheduledEmailCreateManyInput | Prisma.AdminScheduledEmailCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailIncludeCreateManyAndReturn | null } /** * AdminScheduledEmail update */ export type AdminScheduledEmailUpdateArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * The data needed to update a AdminScheduledEmail. */ data: Prisma.XOR /** * Choose, which AdminScheduledEmail to update. */ where: Prisma.AdminScheduledEmailWhereUniqueInput } /** * AdminScheduledEmail updateMany */ export type AdminScheduledEmailUpdateManyArgs = { /** * The data used to update AdminScheduledEmails. */ data: Prisma.XOR /** * Filter which AdminScheduledEmails to update */ where?: Prisma.AdminScheduledEmailWhereInput /** * Limit how many AdminScheduledEmails to update. */ limit?: number } /** * AdminScheduledEmail updateManyAndReturn */ export type AdminScheduledEmailUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * The data used to update AdminScheduledEmails. */ data: Prisma.XOR /** * Filter which AdminScheduledEmails to update */ where?: Prisma.AdminScheduledEmailWhereInput /** * Limit how many AdminScheduledEmails to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailIncludeUpdateManyAndReturn | null } /** * AdminScheduledEmail upsert */ export type AdminScheduledEmailUpsertArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * The filter to search for the AdminScheduledEmail to update in case it exists. */ where: Prisma.AdminScheduledEmailWhereUniqueInput /** * In case the AdminScheduledEmail found by the `where` argument doesn't exist, create a new AdminScheduledEmail with this data. */ create: Prisma.XOR /** * In case the AdminScheduledEmail was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminScheduledEmail delete */ export type AdminScheduledEmailDeleteArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null /** * Filter which AdminScheduledEmail to delete. */ where: Prisma.AdminScheduledEmailWhereUniqueInput } /** * AdminScheduledEmail deleteMany */ export type AdminScheduledEmailDeleteManyArgs = { /** * Filter which AdminScheduledEmails to delete */ where?: Prisma.AdminScheduledEmailWhereInput /** * Limit how many AdminScheduledEmails to delete. */ limit?: number } /** * AdminScheduledEmail.thread */ export type AdminScheduledEmail$threadArgs = { /** * Select specific fields to fetch from the AdminEmailThread */ select?: Prisma.AdminEmailThreadSelect | null /** * Omit specific fields from the AdminEmailThread */ omit?: Prisma.AdminEmailThreadOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminEmailThreadInclude | null where?: Prisma.AdminEmailThreadWhereInput } /** * AdminScheduledEmail.bulkRun */ export type AdminScheduledEmail$bulkRunArgs = { /** * Select specific fields to fetch from the AdminBulkEmailRun */ select?: Prisma.AdminBulkEmailRunSelect | null /** * Omit specific fields from the AdminBulkEmailRun */ omit?: Prisma.AdminBulkEmailRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminBulkEmailRunInclude | null where?: Prisma.AdminBulkEmailRunWhereInput } /** * AdminScheduledEmail without action */ export type AdminScheduledEmailDefaultArgs = { /** * Select specific fields to fetch from the AdminScheduledEmail */ select?: Prisma.AdminScheduledEmailSelect | null /** * Omit specific fields from the AdminScheduledEmail */ omit?: Prisma.AdminScheduledEmailOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminScheduledEmailInclude | null }