
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `MonitorNotifyLog` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/library"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model MonitorNotifyLog
 * 
 */
export type MonitorNotifyLogModel = runtime.Types.Result.DefaultSelection<Prisma.$MonitorNotifyLogPayload>

export type AggregateMonitorNotifyLog = {
  _count: MonitorNotifyLogCountAggregateOutputType | null
  _avg: MonitorNotifyLogAvgAggregateOutputType | null
  _sum: MonitorNotifyLogSumAggregateOutputType | null
  _min: MonitorNotifyLogMinAggregateOutputType | null
  _max: MonitorNotifyLogMaxAggregateOutputType | null
}

export type MonitorNotifyLogAvgAggregateOutputType = {
  id: number | null
  instanceId: number | null
  ruleId: number | null
  receiverUserId: number | null
  retryCount: number | null
}

export type MonitorNotifyLogSumAggregateOutputType = {
  id: number | null
  instanceId: number | null
  ruleId: number | null
  receiverUserId: number | null
  retryCount: number | null
}

export type MonitorNotifyLogMinAggregateOutputType = {
  id: number | null
  instanceId: number | null
  ruleId: number | null
  triggerKey: string | null
  receiverUserId: number | null
  receiverName: string | null
  receiverMobile: string | null
  channel: $Enums.MonitorNotifyChannel | null
  title: string | null
  content: string | null
  bizDedupeKey: string | null
  sendStatus: $Enums.MonitorNotifySendStatus | null
  sendTime: Date | null
  failReason: string | null
  oracleEid: string | null
  oraclePushTime: Date | null
  retryCount: number | null
  createdAt: Date | null
}

export type MonitorNotifyLogMaxAggregateOutputType = {
  id: number | null
  instanceId: number | null
  ruleId: number | null
  triggerKey: string | null
  receiverUserId: number | null
  receiverName: string | null
  receiverMobile: string | null
  channel: $Enums.MonitorNotifyChannel | null
  title: string | null
  content: string | null
  bizDedupeKey: string | null
  sendStatus: $Enums.MonitorNotifySendStatus | null
  sendTime: Date | null
  failReason: string | null
  oracleEid: string | null
  oraclePushTime: Date | null
  retryCount: number | null
  createdAt: Date | null
}

export type MonitorNotifyLogCountAggregateOutputType = {
  id: number
  instanceId: number
  ruleId: number
  triggerKey: number
  receiverUserId: number
  receiverName: number
  receiverMobile: number
  channel: number
  title: number
  content: number
  bizDedupeKey: number
  sendStatus: number
  sendTime: number
  failReason: number
  oracleEid: number
  oraclePushTime: number
  retryCount: number
  createdAt: number
  _all: number
}


export type MonitorNotifyLogAvgAggregateInputType = {
  id?: true
  instanceId?: true
  ruleId?: true
  receiverUserId?: true
  retryCount?: true
}

export type MonitorNotifyLogSumAggregateInputType = {
  id?: true
  instanceId?: true
  ruleId?: true
  receiverUserId?: true
  retryCount?: true
}

export type MonitorNotifyLogMinAggregateInputType = {
  id?: true
  instanceId?: true
  ruleId?: true
  triggerKey?: true
  receiverUserId?: true
  receiverName?: true
  receiverMobile?: true
  channel?: true
  title?: true
  content?: true
  bizDedupeKey?: true
  sendStatus?: true
  sendTime?: true
  failReason?: true
  oracleEid?: true
  oraclePushTime?: true
  retryCount?: true
  createdAt?: true
}

export type MonitorNotifyLogMaxAggregateInputType = {
  id?: true
  instanceId?: true
  ruleId?: true
  triggerKey?: true
  receiverUserId?: true
  receiverName?: true
  receiverMobile?: true
  channel?: true
  title?: true
  content?: true
  bizDedupeKey?: true
  sendStatus?: true
  sendTime?: true
  failReason?: true
  oracleEid?: true
  oraclePushTime?: true
  retryCount?: true
  createdAt?: true
}

export type MonitorNotifyLogCountAggregateInputType = {
  id?: true
  instanceId?: true
  ruleId?: true
  triggerKey?: true
  receiverUserId?: true
  receiverName?: true
  receiverMobile?: true
  channel?: true
  title?: true
  content?: true
  bizDedupeKey?: true
  sendStatus?: true
  sendTime?: true
  failReason?: true
  oracleEid?: true
  oraclePushTime?: true
  retryCount?: true
  createdAt?: true
  _all?: true
}

export type MonitorNotifyLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which MonitorNotifyLog to aggregate.
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MonitorNotifyLogs to fetch.
   */
  orderBy?: Prisma.MonitorNotifyLogOrderByWithRelationInput | Prisma.MonitorNotifyLogOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.MonitorNotifyLogWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MonitorNotifyLogs 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` MonitorNotifyLogs.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned MonitorNotifyLogs
  **/
  _count?: true | MonitorNotifyLogCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: MonitorNotifyLogAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: MonitorNotifyLogSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: MonitorNotifyLogMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: MonitorNotifyLogMaxAggregateInputType
}

export type GetMonitorNotifyLogAggregateType<T extends MonitorNotifyLogAggregateArgs> = {
      [P in keyof T & keyof AggregateMonitorNotifyLog]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateMonitorNotifyLog[P]>
    : Prisma.GetScalarType<T[P], AggregateMonitorNotifyLog[P]>
}




export type MonitorNotifyLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.MonitorNotifyLogWhereInput
  orderBy?: Prisma.MonitorNotifyLogOrderByWithAggregationInput | Prisma.MonitorNotifyLogOrderByWithAggregationInput[]
  by: Prisma.MonitorNotifyLogScalarFieldEnum[] | Prisma.MonitorNotifyLogScalarFieldEnum
  having?: Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: MonitorNotifyLogCountAggregateInputType | true
  _avg?: MonitorNotifyLogAvgAggregateInputType
  _sum?: MonitorNotifyLogSumAggregateInputType
  _min?: MonitorNotifyLogMinAggregateInputType
  _max?: MonitorNotifyLogMaxAggregateInputType
}

export type MonitorNotifyLogGroupByOutputType = {
  id: number
  instanceId: number
  ruleId: number
  triggerKey: string
  receiverUserId: number | null
  receiverName: string
  receiverMobile: string | null
  channel: $Enums.MonitorNotifyChannel
  title: string | null
  content: string
  bizDedupeKey: string
  sendStatus: $Enums.MonitorNotifySendStatus
  sendTime: Date | null
  failReason: string | null
  oracleEid: string | null
  oraclePushTime: Date | null
  retryCount: number
  createdAt: Date
  _count: MonitorNotifyLogCountAggregateOutputType | null
  _avg: MonitorNotifyLogAvgAggregateOutputType | null
  _sum: MonitorNotifyLogSumAggregateOutputType | null
  _min: MonitorNotifyLogMinAggregateOutputType | null
  _max: MonitorNotifyLogMaxAggregateOutputType | null
}

type GetMonitorNotifyLogGroupByPayload<T extends MonitorNotifyLogGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<MonitorNotifyLogGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof MonitorNotifyLogGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], MonitorNotifyLogGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], MonitorNotifyLogGroupByOutputType[P]>
      }
    >
  >



export type MonitorNotifyLogWhereInput = {
  AND?: Prisma.MonitorNotifyLogWhereInput | Prisma.MonitorNotifyLogWhereInput[]
  OR?: Prisma.MonitorNotifyLogWhereInput[]
  NOT?: Prisma.MonitorNotifyLogWhereInput | Prisma.MonitorNotifyLogWhereInput[]
  id?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  instanceId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  ruleId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  triggerKey?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverUserId?: Prisma.IntNullableFilter<"MonitorNotifyLog"> | number | null
  receiverName?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverMobile?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifyChannel
  title?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  content?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  bizDedupeKey?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  failReason?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oracleEid?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oraclePushTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  retryCount?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  createdAt?: Prisma.DateTimeFilter<"MonitorNotifyLog"> | Date | string
  instance?: Prisma.XOR<Prisma.MonitorInstanceScalarRelationFilter, Prisma.MonitorInstanceWhereInput>
  rule?: Prisma.XOR<Prisma.MonitorRuleScalarRelationFilter, Prisma.MonitorRuleWhereInput>
}

export type MonitorNotifyLogOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  triggerKey?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrderInput | Prisma.SortOrder
  receiverName?: Prisma.SortOrder
  receiverMobile?: Prisma.SortOrderInput | Prisma.SortOrder
  channel?: Prisma.SortOrder
  title?: Prisma.SortOrderInput | Prisma.SortOrder
  content?: Prisma.SortOrder
  bizDedupeKey?: Prisma.SortOrder
  sendStatus?: Prisma.SortOrder
  sendTime?: Prisma.SortOrderInput | Prisma.SortOrder
  failReason?: Prisma.SortOrderInput | Prisma.SortOrder
  oracleEid?: Prisma.SortOrderInput | Prisma.SortOrder
  oraclePushTime?: Prisma.SortOrderInput | Prisma.SortOrder
  retryCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  instance?: Prisma.MonitorInstanceOrderByWithRelationInput
  rule?: Prisma.MonitorRuleOrderByWithRelationInput
}

export type MonitorNotifyLogWhereUniqueInput = Prisma.AtLeast<{
  id?: number
  bizDedupeKey?: string
  AND?: Prisma.MonitorNotifyLogWhereInput | Prisma.MonitorNotifyLogWhereInput[]
  OR?: Prisma.MonitorNotifyLogWhereInput[]
  NOT?: Prisma.MonitorNotifyLogWhereInput | Prisma.MonitorNotifyLogWhereInput[]
  instanceId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  ruleId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  triggerKey?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverUserId?: Prisma.IntNullableFilter<"MonitorNotifyLog"> | number | null
  receiverName?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverMobile?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifyChannel
  title?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  content?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  failReason?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oracleEid?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oraclePushTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  retryCount?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  createdAt?: Prisma.DateTimeFilter<"MonitorNotifyLog"> | Date | string
  instance?: Prisma.XOR<Prisma.MonitorInstanceScalarRelationFilter, Prisma.MonitorInstanceWhereInput>
  rule?: Prisma.XOR<Prisma.MonitorRuleScalarRelationFilter, Prisma.MonitorRuleWhereInput>
}, "id" | "bizDedupeKey">

export type MonitorNotifyLogOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  triggerKey?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrderInput | Prisma.SortOrder
  receiverName?: Prisma.SortOrder
  receiverMobile?: Prisma.SortOrderInput | Prisma.SortOrder
  channel?: Prisma.SortOrder
  title?: Prisma.SortOrderInput | Prisma.SortOrder
  content?: Prisma.SortOrder
  bizDedupeKey?: Prisma.SortOrder
  sendStatus?: Prisma.SortOrder
  sendTime?: Prisma.SortOrderInput | Prisma.SortOrder
  failReason?: Prisma.SortOrderInput | Prisma.SortOrder
  oracleEid?: Prisma.SortOrderInput | Prisma.SortOrder
  oraclePushTime?: Prisma.SortOrderInput | Prisma.SortOrder
  retryCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  _count?: Prisma.MonitorNotifyLogCountOrderByAggregateInput
  _avg?: Prisma.MonitorNotifyLogAvgOrderByAggregateInput
  _max?: Prisma.MonitorNotifyLogMaxOrderByAggregateInput
  _min?: Prisma.MonitorNotifyLogMinOrderByAggregateInput
  _sum?: Prisma.MonitorNotifyLogSumOrderByAggregateInput
}

export type MonitorNotifyLogScalarWhereWithAggregatesInput = {
  AND?: Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput | Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput[]
  OR?: Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput[]
  NOT?: Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput | Prisma.MonitorNotifyLogScalarWhereWithAggregatesInput[]
  id?: Prisma.IntWithAggregatesFilter<"MonitorNotifyLog"> | number
  instanceId?: Prisma.IntWithAggregatesFilter<"MonitorNotifyLog"> | number
  ruleId?: Prisma.IntWithAggregatesFilter<"MonitorNotifyLog"> | number
  triggerKey?: Prisma.StringWithAggregatesFilter<"MonitorNotifyLog"> | string
  receiverUserId?: Prisma.IntNullableWithAggregatesFilter<"MonitorNotifyLog"> | number | null
  receiverName?: Prisma.StringWithAggregatesFilter<"MonitorNotifyLog"> | string
  receiverMobile?: Prisma.StringNullableWithAggregatesFilter<"MonitorNotifyLog"> | string | null
  channel?: Prisma.EnumMonitorNotifyChannelWithAggregatesFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifyChannel
  title?: Prisma.StringNullableWithAggregatesFilter<"MonitorNotifyLog"> | string | null
  content?: Prisma.StringWithAggregatesFilter<"MonitorNotifyLog"> | string
  bizDedupeKey?: Prisma.StringWithAggregatesFilter<"MonitorNotifyLog"> | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusWithAggregatesFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.DateTimeNullableWithAggregatesFilter<"MonitorNotifyLog"> | Date | string | null
  failReason?: Prisma.StringNullableWithAggregatesFilter<"MonitorNotifyLog"> | string | null
  oracleEid?: Prisma.StringNullableWithAggregatesFilter<"MonitorNotifyLog"> | string | null
  oraclePushTime?: Prisma.DateTimeNullableWithAggregatesFilter<"MonitorNotifyLog"> | Date | string | null
  retryCount?: Prisma.IntWithAggregatesFilter<"MonitorNotifyLog"> | number
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"MonitorNotifyLog"> | Date | string
}

export type MonitorNotifyLogCreateInput = {
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
  instance: Prisma.MonitorInstanceCreateNestedOneWithoutNotifyLogsInput
  rule: Prisma.MonitorRuleCreateNestedOneWithoutNotifyLogsInput
}

export type MonitorNotifyLogUncheckedCreateInput = {
  id?: number
  instanceId: number
  ruleId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogUpdateInput = {
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  instance?: Prisma.MonitorInstanceUpdateOneRequiredWithoutNotifyLogsNestedInput
  rule?: Prisma.MonitorRuleUpdateOneRequiredWithoutNotifyLogsNestedInput
}

export type MonitorNotifyLogUncheckedUpdateInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  instanceId?: Prisma.IntFieldUpdateOperationsInput | number
  ruleId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogCreateManyInput = {
  id?: number
  instanceId: number
  ruleId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogUpdateManyMutationInput = {
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogUncheckedUpdateManyInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  instanceId?: Prisma.IntFieldUpdateOperationsInput | number
  ruleId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogListRelationFilter = {
  every?: Prisma.MonitorNotifyLogWhereInput
  some?: Prisma.MonitorNotifyLogWhereInput
  none?: Prisma.MonitorNotifyLogWhereInput
}

export type MonitorNotifyLogOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type MonitorNotifyLogCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  triggerKey?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrder
  receiverName?: Prisma.SortOrder
  receiverMobile?: Prisma.SortOrder
  channel?: Prisma.SortOrder
  title?: Prisma.SortOrder
  content?: Prisma.SortOrder
  bizDedupeKey?: Prisma.SortOrder
  sendStatus?: Prisma.SortOrder
  sendTime?: Prisma.SortOrder
  failReason?: Prisma.SortOrder
  oracleEid?: Prisma.SortOrder
  oraclePushTime?: Prisma.SortOrder
  retryCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type MonitorNotifyLogAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrder
  retryCount?: Prisma.SortOrder
}

export type MonitorNotifyLogMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  triggerKey?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrder
  receiverName?: Prisma.SortOrder
  receiverMobile?: Prisma.SortOrder
  channel?: Prisma.SortOrder
  title?: Prisma.SortOrder
  content?: Prisma.SortOrder
  bizDedupeKey?: Prisma.SortOrder
  sendStatus?: Prisma.SortOrder
  sendTime?: Prisma.SortOrder
  failReason?: Prisma.SortOrder
  oracleEid?: Prisma.SortOrder
  oraclePushTime?: Prisma.SortOrder
  retryCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type MonitorNotifyLogMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  triggerKey?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrder
  receiverName?: Prisma.SortOrder
  receiverMobile?: Prisma.SortOrder
  channel?: Prisma.SortOrder
  title?: Prisma.SortOrder
  content?: Prisma.SortOrder
  bizDedupeKey?: Prisma.SortOrder
  sendStatus?: Prisma.SortOrder
  sendTime?: Prisma.SortOrder
  failReason?: Prisma.SortOrder
  oracleEid?: Prisma.SortOrder
  oraclePushTime?: Prisma.SortOrder
  retryCount?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
}

export type MonitorNotifyLogSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  instanceId?: Prisma.SortOrder
  ruleId?: Prisma.SortOrder
  receiverUserId?: Prisma.SortOrder
  retryCount?: Prisma.SortOrder
}

export type MonitorNotifyLogCreateNestedManyWithoutRuleInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput> | Prisma.MonitorNotifyLogCreateWithoutRuleInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyRuleInputEnvelope
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
}

export type MonitorNotifyLogUncheckedCreateNestedManyWithoutRuleInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput> | Prisma.MonitorNotifyLogCreateWithoutRuleInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyRuleInputEnvelope
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
}

export type MonitorNotifyLogUpdateManyWithoutRuleNestedInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput> | Prisma.MonitorNotifyLogCreateWithoutRuleInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput[]
  upsert?: Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutRuleInput | Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutRuleInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyRuleInputEnvelope
  set?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  disconnect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  delete?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  update?: Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutRuleInput | Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutRuleInput[]
  updateMany?: Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutRuleInput | Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutRuleInput[]
  deleteMany?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
}

export type MonitorNotifyLogUncheckedUpdateManyWithoutRuleNestedInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput> | Prisma.MonitorNotifyLogCreateWithoutRuleInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutRuleInput[]
  upsert?: Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutRuleInput | Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutRuleInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyRuleInputEnvelope
  set?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  disconnect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  delete?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  update?: Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutRuleInput | Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutRuleInput[]
  updateMany?: Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutRuleInput | Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutRuleInput[]
  deleteMany?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
}

export type MonitorNotifyLogCreateNestedManyWithoutInstanceInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput> | Prisma.MonitorNotifyLogCreateWithoutInstanceInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyInstanceInputEnvelope
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
}

export type MonitorNotifyLogUncheckedCreateNestedManyWithoutInstanceInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput> | Prisma.MonitorNotifyLogCreateWithoutInstanceInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyInstanceInputEnvelope
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
}

export type MonitorNotifyLogUpdateManyWithoutInstanceNestedInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput> | Prisma.MonitorNotifyLogCreateWithoutInstanceInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput[]
  upsert?: Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutInstanceInput | Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutInstanceInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyInstanceInputEnvelope
  set?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  disconnect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  delete?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  update?: Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutInstanceInput | Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutInstanceInput[]
  updateMany?: Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutInstanceInput | Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutInstanceInput[]
  deleteMany?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
}

export type MonitorNotifyLogUncheckedUpdateManyWithoutInstanceNestedInput = {
  create?: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput> | Prisma.MonitorNotifyLogCreateWithoutInstanceInput[] | Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput[]
  connectOrCreate?: Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput | Prisma.MonitorNotifyLogCreateOrConnectWithoutInstanceInput[]
  upsert?: Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutInstanceInput | Prisma.MonitorNotifyLogUpsertWithWhereUniqueWithoutInstanceInput[]
  createMany?: Prisma.MonitorNotifyLogCreateManyInstanceInputEnvelope
  set?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  disconnect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  delete?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  connect?: Prisma.MonitorNotifyLogWhereUniqueInput | Prisma.MonitorNotifyLogWhereUniqueInput[]
  update?: Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutInstanceInput | Prisma.MonitorNotifyLogUpdateWithWhereUniqueWithoutInstanceInput[]
  updateMany?: Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutInstanceInput | Prisma.MonitorNotifyLogUpdateManyWithWhereWithoutInstanceInput[]
  deleteMany?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
}

export type EnumMonitorNotifyChannelFieldUpdateOperationsInput = {
  set?: $Enums.MonitorNotifyChannel
}

export type EnumMonitorNotifySendStatusFieldUpdateOperationsInput = {
  set?: $Enums.MonitorNotifySendStatus
}

export type MonitorNotifyLogCreateWithoutRuleInput = {
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
  instance: Prisma.MonitorInstanceCreateNestedOneWithoutNotifyLogsInput
}

export type MonitorNotifyLogUncheckedCreateWithoutRuleInput = {
  id?: number
  instanceId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogCreateOrConnectWithoutRuleInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  create: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput>
}

export type MonitorNotifyLogCreateManyRuleInputEnvelope = {
  data: Prisma.MonitorNotifyLogCreateManyRuleInput | Prisma.MonitorNotifyLogCreateManyRuleInput[]
  skipDuplicates?: boolean
}

export type MonitorNotifyLogUpsertWithWhereUniqueWithoutRuleInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  update: Prisma.XOR<Prisma.MonitorNotifyLogUpdateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedUpdateWithoutRuleInput>
  create: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutRuleInput>
}

export type MonitorNotifyLogUpdateWithWhereUniqueWithoutRuleInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateWithoutRuleInput, Prisma.MonitorNotifyLogUncheckedUpdateWithoutRuleInput>
}

export type MonitorNotifyLogUpdateManyWithWhereWithoutRuleInput = {
  where: Prisma.MonitorNotifyLogScalarWhereInput
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateManyMutationInput, Prisma.MonitorNotifyLogUncheckedUpdateManyWithoutRuleInput>
}

export type MonitorNotifyLogScalarWhereInput = {
  AND?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
  OR?: Prisma.MonitorNotifyLogScalarWhereInput[]
  NOT?: Prisma.MonitorNotifyLogScalarWhereInput | Prisma.MonitorNotifyLogScalarWhereInput[]
  id?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  instanceId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  ruleId?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  triggerKey?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverUserId?: Prisma.IntNullableFilter<"MonitorNotifyLog"> | number | null
  receiverName?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  receiverMobile?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifyChannel
  title?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  content?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  bizDedupeKey?: Prisma.StringFilter<"MonitorNotifyLog"> | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFilter<"MonitorNotifyLog"> | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  failReason?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oracleEid?: Prisma.StringNullableFilter<"MonitorNotifyLog"> | string | null
  oraclePushTime?: Prisma.DateTimeNullableFilter<"MonitorNotifyLog"> | Date | string | null
  retryCount?: Prisma.IntFilter<"MonitorNotifyLog"> | number
  createdAt?: Prisma.DateTimeFilter<"MonitorNotifyLog"> | Date | string
}

export type MonitorNotifyLogCreateWithoutInstanceInput = {
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
  rule: Prisma.MonitorRuleCreateNestedOneWithoutNotifyLogsInput
}

export type MonitorNotifyLogUncheckedCreateWithoutInstanceInput = {
  id?: number
  ruleId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogCreateOrConnectWithoutInstanceInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  create: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput>
}

export type MonitorNotifyLogCreateManyInstanceInputEnvelope = {
  data: Prisma.MonitorNotifyLogCreateManyInstanceInput | Prisma.MonitorNotifyLogCreateManyInstanceInput[]
  skipDuplicates?: boolean
}

export type MonitorNotifyLogUpsertWithWhereUniqueWithoutInstanceInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  update: Prisma.XOR<Prisma.MonitorNotifyLogUpdateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedUpdateWithoutInstanceInput>
  create: Prisma.XOR<Prisma.MonitorNotifyLogCreateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedCreateWithoutInstanceInput>
}

export type MonitorNotifyLogUpdateWithWhereUniqueWithoutInstanceInput = {
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateWithoutInstanceInput, Prisma.MonitorNotifyLogUncheckedUpdateWithoutInstanceInput>
}

export type MonitorNotifyLogUpdateManyWithWhereWithoutInstanceInput = {
  where: Prisma.MonitorNotifyLogScalarWhereInput
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateManyMutationInput, Prisma.MonitorNotifyLogUncheckedUpdateManyWithoutInstanceInput>
}

export type MonitorNotifyLogCreateManyRuleInput = {
  id?: number
  instanceId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogUpdateWithoutRuleInput = {
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  instance?: Prisma.MonitorInstanceUpdateOneRequiredWithoutNotifyLogsNestedInput
}

export type MonitorNotifyLogUncheckedUpdateWithoutRuleInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  instanceId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogUncheckedUpdateManyWithoutRuleInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  instanceId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogCreateManyInstanceInput = {
  id?: number
  ruleId: number
  triggerKey: string
  receiverUserId?: number | null
  receiverName: string
  receiverMobile?: string | null
  channel: $Enums.MonitorNotifyChannel
  title?: string | null
  content: string
  bizDedupeKey: string
  sendStatus?: $Enums.MonitorNotifySendStatus
  sendTime?: Date | string | null
  failReason?: string | null
  oracleEid?: string | null
  oraclePushTime?: Date | string | null
  retryCount?: number
  createdAt?: Date | string
}

export type MonitorNotifyLogUpdateWithoutInstanceInput = {
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  rule?: Prisma.MonitorRuleUpdateOneRequiredWithoutNotifyLogsNestedInput
}

export type MonitorNotifyLogUncheckedUpdateWithoutInstanceInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  ruleId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type MonitorNotifyLogUncheckedUpdateManyWithoutInstanceInput = {
  id?: Prisma.IntFieldUpdateOperationsInput | number
  ruleId?: Prisma.IntFieldUpdateOperationsInput | number
  triggerKey?: Prisma.StringFieldUpdateOperationsInput | string
  receiverUserId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  receiverName?: Prisma.StringFieldUpdateOperationsInput | string
  receiverMobile?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  channel?: Prisma.EnumMonitorNotifyChannelFieldUpdateOperationsInput | $Enums.MonitorNotifyChannel
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  content?: Prisma.StringFieldUpdateOperationsInput | string
  bizDedupeKey?: Prisma.StringFieldUpdateOperationsInput | string
  sendStatus?: Prisma.EnumMonitorNotifySendStatusFieldUpdateOperationsInput | $Enums.MonitorNotifySendStatus
  sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  failReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oracleEid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  oraclePushTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  retryCount?: Prisma.IntFieldUpdateOperationsInput | number
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}



export type MonitorNotifyLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  instanceId?: boolean
  ruleId?: boolean
  triggerKey?: boolean
  receiverUserId?: boolean
  receiverName?: boolean
  receiverMobile?: boolean
  channel?: boolean
  title?: boolean
  content?: boolean
  bizDedupeKey?: boolean
  sendStatus?: boolean
  sendTime?: boolean
  failReason?: boolean
  oracleEid?: boolean
  oraclePushTime?: boolean
  retryCount?: boolean
  createdAt?: boolean
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}, ExtArgs["result"]["monitorNotifyLog"]>

export type MonitorNotifyLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  instanceId?: boolean
  ruleId?: boolean
  triggerKey?: boolean
  receiverUserId?: boolean
  receiverName?: boolean
  receiverMobile?: boolean
  channel?: boolean
  title?: boolean
  content?: boolean
  bizDedupeKey?: boolean
  sendStatus?: boolean
  sendTime?: boolean
  failReason?: boolean
  oracleEid?: boolean
  oraclePushTime?: boolean
  retryCount?: boolean
  createdAt?: boolean
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}, ExtArgs["result"]["monitorNotifyLog"]>

export type MonitorNotifyLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  instanceId?: boolean
  ruleId?: boolean
  triggerKey?: boolean
  receiverUserId?: boolean
  receiverName?: boolean
  receiverMobile?: boolean
  channel?: boolean
  title?: boolean
  content?: boolean
  bizDedupeKey?: boolean
  sendStatus?: boolean
  sendTime?: boolean
  failReason?: boolean
  oracleEid?: boolean
  oraclePushTime?: boolean
  retryCount?: boolean
  createdAt?: boolean
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}, ExtArgs["result"]["monitorNotifyLog"]>

export type MonitorNotifyLogSelectScalar = {
  id?: boolean
  instanceId?: boolean
  ruleId?: boolean
  triggerKey?: boolean
  receiverUserId?: boolean
  receiverName?: boolean
  receiverMobile?: boolean
  channel?: boolean
  title?: boolean
  content?: boolean
  bizDedupeKey?: boolean
  sendStatus?: boolean
  sendTime?: boolean
  failReason?: boolean
  oracleEid?: boolean
  oraclePushTime?: boolean
  retryCount?: boolean
  createdAt?: boolean
}

export type MonitorNotifyLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "instanceId" | "ruleId" | "triggerKey" | "receiverUserId" | "receiverName" | "receiverMobile" | "channel" | "title" | "content" | "bizDedupeKey" | "sendStatus" | "sendTime" | "failReason" | "oracleEid" | "oraclePushTime" | "retryCount" | "createdAt", ExtArgs["result"]["monitorNotifyLog"]>
export type MonitorNotifyLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}
export type MonitorNotifyLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}
export type MonitorNotifyLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  instance?: boolean | Prisma.MonitorInstanceDefaultArgs<ExtArgs>
  rule?: boolean | Prisma.MonitorRuleDefaultArgs<ExtArgs>
}

export type $MonitorNotifyLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "MonitorNotifyLog"
  objects: {
    instance: Prisma.$MonitorInstancePayload<ExtArgs>
    rule: Prisma.$MonitorRulePayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: number
    instanceId: number
    ruleId: number
    triggerKey: string
    receiverUserId: number | null
    receiverName: string
    receiverMobile: string | null
    channel: $Enums.MonitorNotifyChannel
    title: string | null
    content: string
    bizDedupeKey: string
    sendStatus: $Enums.MonitorNotifySendStatus
    sendTime: Date | null
    failReason: string | null
    oracleEid: string | null
    oraclePushTime: Date | null
    retryCount: number
    createdAt: Date
  }, ExtArgs["result"]["monitorNotifyLog"]>
  composites: {}
}

export type MonitorNotifyLogGetPayload<S extends boolean | null | undefined | MonitorNotifyLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload, S>

export type MonitorNotifyLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<MonitorNotifyLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: MonitorNotifyLogCountAggregateInputType | true
  }

export interface MonitorNotifyLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MonitorNotifyLog'], meta: { name: 'MonitorNotifyLog' } }
  /**
   * Find zero or one MonitorNotifyLog that matches the filter.
   * @param {MonitorNotifyLogFindUniqueArgs} args - Arguments to find a MonitorNotifyLog
   * @example
   * // Get one MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends MonitorNotifyLogFindUniqueArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one MonitorNotifyLog that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {MonitorNotifyLogFindUniqueOrThrowArgs} args - Arguments to find a MonitorNotifyLog
   * @example
   * // Get one MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends MonitorNotifyLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first MonitorNotifyLog 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 {MonitorNotifyLogFindFirstArgs} args - Arguments to find a MonitorNotifyLog
   * @example
   * // Get one MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends MonitorNotifyLogFindFirstArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first MonitorNotifyLog 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 {MonitorNotifyLogFindFirstOrThrowArgs} args - Arguments to find a MonitorNotifyLog
   * @example
   * // Get one MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends MonitorNotifyLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more MonitorNotifyLogs 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 {MonitorNotifyLogFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all MonitorNotifyLogs
   * const monitorNotifyLogs = await prisma.monitorNotifyLog.findMany()
   * 
   * // Get first 10 MonitorNotifyLogs
   * const monitorNotifyLogs = await prisma.monitorNotifyLog.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const monitorNotifyLogWithIdOnly = await prisma.monitorNotifyLog.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends MonitorNotifyLogFindManyArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a MonitorNotifyLog.
   * @param {MonitorNotifyLogCreateArgs} args - Arguments to create a MonitorNotifyLog.
   * @example
   * // Create one MonitorNotifyLog
   * const MonitorNotifyLog = await prisma.monitorNotifyLog.create({
   *   data: {
   *     // ... data to create a MonitorNotifyLog
   *   }
   * })
   * 
   */
  create<T extends MonitorNotifyLogCreateArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogCreateArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many MonitorNotifyLogs.
   * @param {MonitorNotifyLogCreateManyArgs} args - Arguments to create many MonitorNotifyLogs.
   * @example
   * // Create many MonitorNotifyLogs
   * const monitorNotifyLog = await prisma.monitorNotifyLog.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends MonitorNotifyLogCreateManyArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many MonitorNotifyLogs and returns the data saved in the database.
   * @param {MonitorNotifyLogCreateManyAndReturnArgs} args - Arguments to create many MonitorNotifyLogs.
   * @example
   * // Create many MonitorNotifyLogs
   * const monitorNotifyLog = await prisma.monitorNotifyLog.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many MonitorNotifyLogs and only return the `id`
   * const monitorNotifyLogWithIdOnly = await prisma.monitorNotifyLog.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends MonitorNotifyLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a MonitorNotifyLog.
   * @param {MonitorNotifyLogDeleteArgs} args - Arguments to delete one MonitorNotifyLog.
   * @example
   * // Delete one MonitorNotifyLog
   * const MonitorNotifyLog = await prisma.monitorNotifyLog.delete({
   *   where: {
   *     // ... filter to delete one MonitorNotifyLog
   *   }
   * })
   * 
   */
  delete<T extends MonitorNotifyLogDeleteArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogDeleteArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one MonitorNotifyLog.
   * @param {MonitorNotifyLogUpdateArgs} args - Arguments to update one MonitorNotifyLog.
   * @example
   * // Update one MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends MonitorNotifyLogUpdateArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogUpdateArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more MonitorNotifyLogs.
   * @param {MonitorNotifyLogDeleteManyArgs} args - Arguments to filter MonitorNotifyLogs to delete.
   * @example
   * // Delete a few MonitorNotifyLogs
   * const { count } = await prisma.monitorNotifyLog.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends MonitorNotifyLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, MonitorNotifyLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more MonitorNotifyLogs.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MonitorNotifyLogUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many MonitorNotifyLogs
   * const monitorNotifyLog = await prisma.monitorNotifyLog.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends MonitorNotifyLogUpdateManyArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more MonitorNotifyLogs and returns the data updated in the database.
   * @param {MonitorNotifyLogUpdateManyAndReturnArgs} args - Arguments to update many MonitorNotifyLogs.
   * @example
   * // Update many MonitorNotifyLogs
   * const monitorNotifyLog = await prisma.monitorNotifyLog.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more MonitorNotifyLogs and only return the `id`
   * const monitorNotifyLogWithIdOnly = await prisma.monitorNotifyLog.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends MonitorNotifyLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one MonitorNotifyLog.
   * @param {MonitorNotifyLogUpsertArgs} args - Arguments to update or create a MonitorNotifyLog.
   * @example
   * // Update or create a MonitorNotifyLog
   * const monitorNotifyLog = await prisma.monitorNotifyLog.upsert({
   *   create: {
   *     // ... data to create a MonitorNotifyLog
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the MonitorNotifyLog we want to update
   *   }
   * })
   */
  upsert<T extends MonitorNotifyLogUpsertArgs>(args: Prisma.SelectSubset<T, MonitorNotifyLogUpsertArgs<ExtArgs>>): Prisma.Prisma__MonitorNotifyLogClient<runtime.Types.Result.GetResult<Prisma.$MonitorNotifyLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of MonitorNotifyLogs.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MonitorNotifyLogCountArgs} args - Arguments to filter MonitorNotifyLogs to count.
   * @example
   * // Count the number of MonitorNotifyLogs
   * const count = await prisma.monitorNotifyLog.count({
   *   where: {
   *     // ... the filter for the MonitorNotifyLogs we want to count
   *   }
   * })
  **/
  count<T extends MonitorNotifyLogCountArgs>(
    args?: Prisma.Subset<T, MonitorNotifyLogCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], MonitorNotifyLogCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a MonitorNotifyLog.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MonitorNotifyLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends MonitorNotifyLogAggregateArgs>(args: Prisma.Subset<T, MonitorNotifyLogAggregateArgs>): Prisma.PrismaPromise<GetMonitorNotifyLogAggregateType<T>>

  /**
   * Group by MonitorNotifyLog.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {MonitorNotifyLogGroupByArgs} 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 MonitorNotifyLogGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: MonitorNotifyLogGroupByArgs['orderBy'] }
      : { orderBy?: MonitorNotifyLogGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, MonitorNotifyLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMonitorNotifyLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the MonitorNotifyLog model
 */
readonly fields: MonitorNotifyLogFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for MonitorNotifyLog.
 * 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__MonitorNotifyLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  instance<T extends Prisma.MonitorInstanceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MonitorInstanceDefaultArgs<ExtArgs>>): Prisma.Prisma__MonitorInstanceClient<runtime.Types.Result.GetResult<Prisma.$MonitorInstancePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  rule<T extends Prisma.MonitorRuleDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MonitorRuleDefaultArgs<ExtArgs>>): Prisma.Prisma__MonitorRuleClient<runtime.Types.Result.GetResult<Prisma.$MonitorRulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the MonitorNotifyLog model
 */
export interface MonitorNotifyLogFieldRefs {
  readonly id: Prisma.FieldRef<"MonitorNotifyLog", 'Int'>
  readonly instanceId: Prisma.FieldRef<"MonitorNotifyLog", 'Int'>
  readonly ruleId: Prisma.FieldRef<"MonitorNotifyLog", 'Int'>
  readonly triggerKey: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly receiverUserId: Prisma.FieldRef<"MonitorNotifyLog", 'Int'>
  readonly receiverName: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly receiverMobile: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly channel: Prisma.FieldRef<"MonitorNotifyLog", 'MonitorNotifyChannel'>
  readonly title: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly content: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly bizDedupeKey: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly sendStatus: Prisma.FieldRef<"MonitorNotifyLog", 'MonitorNotifySendStatus'>
  readonly sendTime: Prisma.FieldRef<"MonitorNotifyLog", 'DateTime'>
  readonly failReason: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly oracleEid: Prisma.FieldRef<"MonitorNotifyLog", 'String'>
  readonly oraclePushTime: Prisma.FieldRef<"MonitorNotifyLog", 'DateTime'>
  readonly retryCount: Prisma.FieldRef<"MonitorNotifyLog", 'Int'>
  readonly createdAt: Prisma.FieldRef<"MonitorNotifyLog", 'DateTime'>
}
    

// Custom InputTypes
/**
 * MonitorNotifyLog findUnique
 */
export type MonitorNotifyLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter, which MonitorNotifyLog to fetch.
   */
  where: Prisma.MonitorNotifyLogWhereUniqueInput
}

/**
 * MonitorNotifyLog findUniqueOrThrow
 */
export type MonitorNotifyLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter, which MonitorNotifyLog to fetch.
   */
  where: Prisma.MonitorNotifyLogWhereUniqueInput
}

/**
 * MonitorNotifyLog findFirst
 */
export type MonitorNotifyLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter, which MonitorNotifyLog to fetch.
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MonitorNotifyLogs to fetch.
   */
  orderBy?: Prisma.MonitorNotifyLogOrderByWithRelationInput | Prisma.MonitorNotifyLogOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for MonitorNotifyLogs.
   */
  cursor?: Prisma.MonitorNotifyLogWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MonitorNotifyLogs 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` MonitorNotifyLogs.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of MonitorNotifyLogs.
   */
  distinct?: Prisma.MonitorNotifyLogScalarFieldEnum | Prisma.MonitorNotifyLogScalarFieldEnum[]
}

/**
 * MonitorNotifyLog findFirstOrThrow
 */
export type MonitorNotifyLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter, which MonitorNotifyLog to fetch.
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MonitorNotifyLogs to fetch.
   */
  orderBy?: Prisma.MonitorNotifyLogOrderByWithRelationInput | Prisma.MonitorNotifyLogOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for MonitorNotifyLogs.
   */
  cursor?: Prisma.MonitorNotifyLogWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MonitorNotifyLogs 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` MonitorNotifyLogs.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of MonitorNotifyLogs.
   */
  distinct?: Prisma.MonitorNotifyLogScalarFieldEnum | Prisma.MonitorNotifyLogScalarFieldEnum[]
}

/**
 * MonitorNotifyLog findMany
 */
export type MonitorNotifyLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter, which MonitorNotifyLogs to fetch.
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of MonitorNotifyLogs to fetch.
   */
  orderBy?: Prisma.MonitorNotifyLogOrderByWithRelationInput | Prisma.MonitorNotifyLogOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing MonitorNotifyLogs.
   */
  cursor?: Prisma.MonitorNotifyLogWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` MonitorNotifyLogs 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` MonitorNotifyLogs.
   */
  skip?: number
  distinct?: Prisma.MonitorNotifyLogScalarFieldEnum | Prisma.MonitorNotifyLogScalarFieldEnum[]
}

/**
 * MonitorNotifyLog create
 */
export type MonitorNotifyLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * The data needed to create a MonitorNotifyLog.
   */
  data: Prisma.XOR<Prisma.MonitorNotifyLogCreateInput, Prisma.MonitorNotifyLogUncheckedCreateInput>
}

/**
 * MonitorNotifyLog createMany
 */
export type MonitorNotifyLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many MonitorNotifyLogs.
   */
  data: Prisma.MonitorNotifyLogCreateManyInput | Prisma.MonitorNotifyLogCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * MonitorNotifyLog createManyAndReturn
 */
export type MonitorNotifyLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * The data used to create many MonitorNotifyLogs.
   */
  data: Prisma.MonitorNotifyLogCreateManyInput | Prisma.MonitorNotifyLogCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * MonitorNotifyLog update
 */
export type MonitorNotifyLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * The data needed to update a MonitorNotifyLog.
   */
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateInput, Prisma.MonitorNotifyLogUncheckedUpdateInput>
  /**
   * Choose, which MonitorNotifyLog to update.
   */
  where: Prisma.MonitorNotifyLogWhereUniqueInput
}

/**
 * MonitorNotifyLog updateMany
 */
export type MonitorNotifyLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update MonitorNotifyLogs.
   */
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateManyMutationInput, Prisma.MonitorNotifyLogUncheckedUpdateManyInput>
  /**
   * Filter which MonitorNotifyLogs to update
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * Limit how many MonitorNotifyLogs to update.
   */
  limit?: number
}

/**
 * MonitorNotifyLog updateManyAndReturn
 */
export type MonitorNotifyLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * The data used to update MonitorNotifyLogs.
   */
  data: Prisma.XOR<Prisma.MonitorNotifyLogUpdateManyMutationInput, Prisma.MonitorNotifyLogUncheckedUpdateManyInput>
  /**
   * Filter which MonitorNotifyLogs to update
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * Limit how many MonitorNotifyLogs to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * MonitorNotifyLog upsert
 */
export type MonitorNotifyLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * The filter to search for the MonitorNotifyLog to update in case it exists.
   */
  where: Prisma.MonitorNotifyLogWhereUniqueInput
  /**
   * In case the MonitorNotifyLog found by the `where` argument doesn't exist, create a new MonitorNotifyLog with this data.
   */
  create: Prisma.XOR<Prisma.MonitorNotifyLogCreateInput, Prisma.MonitorNotifyLogUncheckedCreateInput>
  /**
   * In case the MonitorNotifyLog was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.MonitorNotifyLogUpdateInput, Prisma.MonitorNotifyLogUncheckedUpdateInput>
}

/**
 * MonitorNotifyLog delete
 */
export type MonitorNotifyLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
  /**
   * Filter which MonitorNotifyLog to delete.
   */
  where: Prisma.MonitorNotifyLogWhereUniqueInput
}

/**
 * MonitorNotifyLog deleteMany
 */
export type MonitorNotifyLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which MonitorNotifyLogs to delete
   */
  where?: Prisma.MonitorNotifyLogWhereInput
  /**
   * Limit how many MonitorNotifyLogs to delete.
   */
  limit?: number
}

/**
 * MonitorNotifyLog without action
 */
export type MonitorNotifyLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MonitorNotifyLog
   */
  select?: Prisma.MonitorNotifyLogSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MonitorNotifyLog
   */
  omit?: Prisma.MonitorNotifyLogOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MonitorNotifyLogInclude<ExtArgs> | null
}
