
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `GeneratedQuotes` 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 GeneratedQuotes
 * 
 */
export type GeneratedQuotesModel = runtime.Types.Result.DefaultSelection<Prisma.$GeneratedQuotesPayload>

export type AggregateGeneratedQuotes = {
  _count: GeneratedQuotesCountAggregateOutputType | null
  _min: GeneratedQuotesMinAggregateOutputType | null
  _max: GeneratedQuotesMaxAggregateOutputType | null
}

export type GeneratedQuotesMinAggregateOutputType = {
  id: string | null
  quoteRegenHash: string | null
  quoteFile: runtime.Bytes | null
  quoteFileName: string | null
  opportunityId: string | null
  createdById: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type GeneratedQuotesMaxAggregateOutputType = {
  id: string | null
  quoteRegenHash: string | null
  quoteFile: runtime.Bytes | null
  quoteFileName: string | null
  opportunityId: string | null
  createdById: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type GeneratedQuotesCountAggregateOutputType = {
  id: number
  quoteRegenData: number
  quoteRegenParams: number
  quoteRegenHash: number
  downloads: number
  quoteFile: number
  quoteFileName: number
  opportunityId: number
  createdById: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type GeneratedQuotesMinAggregateInputType = {
  id?: true
  quoteRegenHash?: true
  quoteFile?: true
  quoteFileName?: true
  opportunityId?: true
  createdById?: true
  createdAt?: true
  updatedAt?: true
}

export type GeneratedQuotesMaxAggregateInputType = {
  id?: true
  quoteRegenHash?: true
  quoteFile?: true
  quoteFileName?: true
  opportunityId?: true
  createdById?: true
  createdAt?: true
  updatedAt?: true
}

export type GeneratedQuotesCountAggregateInputType = {
  id?: true
  quoteRegenData?: true
  quoteRegenParams?: true
  quoteRegenHash?: true
  downloads?: true
  quoteFile?: true
  quoteFileName?: true
  opportunityId?: true
  createdById?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type GeneratedQuotesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which GeneratedQuotes to aggregate.
   */
  where?: Prisma.GeneratedQuotesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of GeneratedQuotes to fetch.
   */
  orderBy?: Prisma.GeneratedQuotesOrderByWithRelationInput | Prisma.GeneratedQuotesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.GeneratedQuotesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` GeneratedQuotes 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` GeneratedQuotes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned GeneratedQuotes
  **/
  _count?: true | GeneratedQuotesCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: GeneratedQuotesMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: GeneratedQuotesMaxAggregateInputType
}

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




export type GeneratedQuotesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.GeneratedQuotesWhereInput
  orderBy?: Prisma.GeneratedQuotesOrderByWithAggregationInput | Prisma.GeneratedQuotesOrderByWithAggregationInput[]
  by: Prisma.GeneratedQuotesScalarFieldEnum[] | Prisma.GeneratedQuotesScalarFieldEnum
  having?: Prisma.GeneratedQuotesScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: GeneratedQuotesCountAggregateInputType | true
  _min?: GeneratedQuotesMinAggregateInputType
  _max?: GeneratedQuotesMaxAggregateInputType
}

export type GeneratedQuotesGroupByOutputType = {
  id: string
  quoteRegenData: runtime.JsonValue
  quoteRegenParams: runtime.JsonValue
  quoteRegenHash: string
  downloads: runtime.JsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  opportunityId: string
  createdById: string | null
  createdAt: Date
  updatedAt: Date
  _count: GeneratedQuotesCountAggregateOutputType | null
  _min: GeneratedQuotesMinAggregateOutputType | null
  _max: GeneratedQuotesMaxAggregateOutputType | null
}

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



export type GeneratedQuotesWhereInput = {
  AND?: Prisma.GeneratedQuotesWhereInput | Prisma.GeneratedQuotesWhereInput[]
  OR?: Prisma.GeneratedQuotesWhereInput[]
  NOT?: Prisma.GeneratedQuotesWhereInput | Prisma.GeneratedQuotesWhereInput[]
  id?: Prisma.StringFilter<"GeneratedQuotes"> | string
  quoteRegenData?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteRegenParams?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteRegenHash?: Prisma.StringFilter<"GeneratedQuotes"> | string
  downloads?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteFile?: Prisma.BytesFilter<"GeneratedQuotes"> | runtime.Bytes
  quoteFileName?: Prisma.StringFilter<"GeneratedQuotes"> | string
  opportunityId?: Prisma.StringFilter<"GeneratedQuotes"> | string
  createdById?: Prisma.StringNullableFilter<"GeneratedQuotes"> | string | null
  createdAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
  opportunity?: Prisma.XOR<Prisma.OpportunityScalarRelationFilter, Prisma.OpportunityWhereInput>
  createdBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
}

export type GeneratedQuotesOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  quoteRegenData?: Prisma.SortOrder
  quoteRegenParams?: Prisma.SortOrder
  quoteRegenHash?: Prisma.SortOrder
  downloads?: Prisma.SortOrder
  quoteFile?: Prisma.SortOrder
  quoteFileName?: Prisma.SortOrder
  opportunityId?: Prisma.SortOrder
  createdById?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  opportunity?: Prisma.OpportunityOrderByWithRelationInput
  createdBy?: Prisma.UserOrderByWithRelationInput
}

export type GeneratedQuotesWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  quoteRegenHash?: string
  AND?: Prisma.GeneratedQuotesWhereInput | Prisma.GeneratedQuotesWhereInput[]
  OR?: Prisma.GeneratedQuotesWhereInput[]
  NOT?: Prisma.GeneratedQuotesWhereInput | Prisma.GeneratedQuotesWhereInput[]
  quoteRegenData?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteRegenParams?: Prisma.JsonFilter<"GeneratedQuotes">
  downloads?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteFile?: Prisma.BytesFilter<"GeneratedQuotes"> | runtime.Bytes
  quoteFileName?: Prisma.StringFilter<"GeneratedQuotes"> | string
  opportunityId?: Prisma.StringFilter<"GeneratedQuotes"> | string
  createdById?: Prisma.StringNullableFilter<"GeneratedQuotes"> | string | null
  createdAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
  opportunity?: Prisma.XOR<Prisma.OpportunityScalarRelationFilter, Prisma.OpportunityWhereInput>
  createdBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
}, "id" | "quoteRegenHash">

export type GeneratedQuotesOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  quoteRegenData?: Prisma.SortOrder
  quoteRegenParams?: Prisma.SortOrder
  quoteRegenHash?: Prisma.SortOrder
  downloads?: Prisma.SortOrder
  quoteFile?: Prisma.SortOrder
  quoteFileName?: Prisma.SortOrder
  opportunityId?: Prisma.SortOrder
  createdById?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.GeneratedQuotesCountOrderByAggregateInput
  _max?: Prisma.GeneratedQuotesMaxOrderByAggregateInput
  _min?: Prisma.GeneratedQuotesMinOrderByAggregateInput
}

export type GeneratedQuotesScalarWhereWithAggregatesInput = {
  AND?: Prisma.GeneratedQuotesScalarWhereWithAggregatesInput | Prisma.GeneratedQuotesScalarWhereWithAggregatesInput[]
  OR?: Prisma.GeneratedQuotesScalarWhereWithAggregatesInput[]
  NOT?: Prisma.GeneratedQuotesScalarWhereWithAggregatesInput | Prisma.GeneratedQuotesScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"GeneratedQuotes"> | string
  quoteRegenData?: Prisma.JsonWithAggregatesFilter<"GeneratedQuotes">
  quoteRegenParams?: Prisma.JsonWithAggregatesFilter<"GeneratedQuotes">
  quoteRegenHash?: Prisma.StringWithAggregatesFilter<"GeneratedQuotes"> | string
  downloads?: Prisma.JsonWithAggregatesFilter<"GeneratedQuotes">
  quoteFile?: Prisma.BytesWithAggregatesFilter<"GeneratedQuotes"> | runtime.Bytes
  quoteFileName?: Prisma.StringWithAggregatesFilter<"GeneratedQuotes"> | string
  opportunityId?: Prisma.StringWithAggregatesFilter<"GeneratedQuotes"> | string
  createdById?: Prisma.StringNullableWithAggregatesFilter<"GeneratedQuotes"> | string | null
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"GeneratedQuotes"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"GeneratedQuotes"> | Date | string
}

export type GeneratedQuotesCreateInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  createdAt?: Date | string
  updatedAt?: Date | string
  opportunity: Prisma.OpportunityCreateNestedOneWithoutGeneratedQuotesInput
  createdBy?: Prisma.UserCreateNestedOneWithoutGeneratedQuotesInput
}

export type GeneratedQuotesUncheckedCreateInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  opportunityId: string
  createdById?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  opportunity?: Prisma.OpportunityUpdateOneRequiredWithoutGeneratedQuotesNestedInput
  createdBy?: Prisma.UserUpdateOneWithoutGeneratedQuotesNestedInput
}

export type GeneratedQuotesUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  opportunityId?: Prisma.StringFieldUpdateOperationsInput | string
  createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesCreateManyInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  opportunityId: string
  createdById?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  opportunityId?: Prisma.StringFieldUpdateOperationsInput | string
  createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesListRelationFilter = {
  every?: Prisma.GeneratedQuotesWhereInput
  some?: Prisma.GeneratedQuotesWhereInput
  none?: Prisma.GeneratedQuotesWhereInput
}

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

export type GeneratedQuotesCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  quoteRegenData?: Prisma.SortOrder
  quoteRegenParams?: Prisma.SortOrder
  quoteRegenHash?: Prisma.SortOrder
  downloads?: Prisma.SortOrder
  quoteFile?: Prisma.SortOrder
  quoteFileName?: Prisma.SortOrder
  opportunityId?: Prisma.SortOrder
  createdById?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type GeneratedQuotesMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  quoteRegenHash?: Prisma.SortOrder
  quoteFile?: Prisma.SortOrder
  quoteFileName?: Prisma.SortOrder
  opportunityId?: Prisma.SortOrder
  createdById?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type GeneratedQuotesMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  quoteRegenHash?: Prisma.SortOrder
  quoteFile?: Prisma.SortOrder
  quoteFileName?: Prisma.SortOrder
  opportunityId?: Prisma.SortOrder
  createdById?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type GeneratedQuotesCreateNestedManyWithoutCreatedByInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput> | Prisma.GeneratedQuotesCreateWithoutCreatedByInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput | Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyCreatedByInputEnvelope
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
}

export type GeneratedQuotesUncheckedCreateNestedManyWithoutCreatedByInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput> | Prisma.GeneratedQuotesCreateWithoutCreatedByInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput | Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyCreatedByInputEnvelope
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
}

export type GeneratedQuotesUpdateManyWithoutCreatedByNestedInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput> | Prisma.GeneratedQuotesCreateWithoutCreatedByInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput | Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput[]
  upsert?: Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutCreatedByInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyCreatedByInputEnvelope
  set?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  disconnect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  delete?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  update?: Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutCreatedByInput[]
  updateMany?: Prisma.GeneratedQuotesUpdateManyWithWhereWithoutCreatedByInput | Prisma.GeneratedQuotesUpdateManyWithWhereWithoutCreatedByInput[]
  deleteMany?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
}

export type GeneratedQuotesUncheckedUpdateManyWithoutCreatedByNestedInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput> | Prisma.GeneratedQuotesCreateWithoutCreatedByInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput | Prisma.GeneratedQuotesCreateOrConnectWithoutCreatedByInput[]
  upsert?: Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutCreatedByInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyCreatedByInputEnvelope
  set?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  disconnect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  delete?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  update?: Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutCreatedByInput[]
  updateMany?: Prisma.GeneratedQuotesUpdateManyWithWhereWithoutCreatedByInput | Prisma.GeneratedQuotesUpdateManyWithWhereWithoutCreatedByInput[]
  deleteMany?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
}

export type GeneratedQuotesCreateNestedManyWithoutOpportunityInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput> | Prisma.GeneratedQuotesCreateWithoutOpportunityInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput | Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyOpportunityInputEnvelope
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
}

export type GeneratedQuotesUncheckedCreateNestedManyWithoutOpportunityInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput> | Prisma.GeneratedQuotesCreateWithoutOpportunityInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput | Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyOpportunityInputEnvelope
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
}

export type GeneratedQuotesUpdateManyWithoutOpportunityNestedInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput> | Prisma.GeneratedQuotesCreateWithoutOpportunityInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput | Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput[]
  upsert?: Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutOpportunityInput | Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutOpportunityInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyOpportunityInputEnvelope
  set?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  disconnect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  delete?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  update?: Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutOpportunityInput | Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutOpportunityInput[]
  updateMany?: Prisma.GeneratedQuotesUpdateManyWithWhereWithoutOpportunityInput | Prisma.GeneratedQuotesUpdateManyWithWhereWithoutOpportunityInput[]
  deleteMany?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
}

export type GeneratedQuotesUncheckedUpdateManyWithoutOpportunityNestedInput = {
  create?: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput> | Prisma.GeneratedQuotesCreateWithoutOpportunityInput[] | Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput[]
  connectOrCreate?: Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput | Prisma.GeneratedQuotesCreateOrConnectWithoutOpportunityInput[]
  upsert?: Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutOpportunityInput | Prisma.GeneratedQuotesUpsertWithWhereUniqueWithoutOpportunityInput[]
  createMany?: Prisma.GeneratedQuotesCreateManyOpportunityInputEnvelope
  set?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  disconnect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  delete?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  connect?: Prisma.GeneratedQuotesWhereUniqueInput | Prisma.GeneratedQuotesWhereUniqueInput[]
  update?: Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutOpportunityInput | Prisma.GeneratedQuotesUpdateWithWhereUniqueWithoutOpportunityInput[]
  updateMany?: Prisma.GeneratedQuotesUpdateManyWithWhereWithoutOpportunityInput | Prisma.GeneratedQuotesUpdateManyWithWhereWithoutOpportunityInput[]
  deleteMany?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
}

export type BytesFieldUpdateOperationsInput = {
  set?: runtime.Bytes
}

export type GeneratedQuotesCreateWithoutCreatedByInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  createdAt?: Date | string
  updatedAt?: Date | string
  opportunity: Prisma.OpportunityCreateNestedOneWithoutGeneratedQuotesInput
}

export type GeneratedQuotesUncheckedCreateWithoutCreatedByInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  opportunityId: string
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesCreateOrConnectWithoutCreatedByInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  create: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput>
}

export type GeneratedQuotesCreateManyCreatedByInputEnvelope = {
  data: Prisma.GeneratedQuotesCreateManyCreatedByInput | Prisma.GeneratedQuotesCreateManyCreatedByInput[]
  skipDuplicates?: boolean
}

export type GeneratedQuotesUpsertWithWhereUniqueWithoutCreatedByInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  update: Prisma.XOR<Prisma.GeneratedQuotesUpdateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedUpdateWithoutCreatedByInput>
  create: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedCreateWithoutCreatedByInput>
}

export type GeneratedQuotesUpdateWithWhereUniqueWithoutCreatedByInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateWithoutCreatedByInput, Prisma.GeneratedQuotesUncheckedUpdateWithoutCreatedByInput>
}

export type GeneratedQuotesUpdateManyWithWhereWithoutCreatedByInput = {
  where: Prisma.GeneratedQuotesScalarWhereInput
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateManyMutationInput, Prisma.GeneratedQuotesUncheckedUpdateManyWithoutCreatedByInput>
}

export type GeneratedQuotesScalarWhereInput = {
  AND?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
  OR?: Prisma.GeneratedQuotesScalarWhereInput[]
  NOT?: Prisma.GeneratedQuotesScalarWhereInput | Prisma.GeneratedQuotesScalarWhereInput[]
  id?: Prisma.StringFilter<"GeneratedQuotes"> | string
  quoteRegenData?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteRegenParams?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteRegenHash?: Prisma.StringFilter<"GeneratedQuotes"> | string
  downloads?: Prisma.JsonFilter<"GeneratedQuotes">
  quoteFile?: Prisma.BytesFilter<"GeneratedQuotes"> | runtime.Bytes
  quoteFileName?: Prisma.StringFilter<"GeneratedQuotes"> | string
  opportunityId?: Prisma.StringFilter<"GeneratedQuotes"> | string
  createdById?: Prisma.StringNullableFilter<"GeneratedQuotes"> | string | null
  createdAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"GeneratedQuotes"> | Date | string
}

export type GeneratedQuotesCreateWithoutOpportunityInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  createdAt?: Date | string
  updatedAt?: Date | string
  createdBy?: Prisma.UserCreateNestedOneWithoutGeneratedQuotesInput
}

export type GeneratedQuotesUncheckedCreateWithoutOpportunityInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  createdById?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesCreateOrConnectWithoutOpportunityInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  create: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput>
}

export type GeneratedQuotesCreateManyOpportunityInputEnvelope = {
  data: Prisma.GeneratedQuotesCreateManyOpportunityInput | Prisma.GeneratedQuotesCreateManyOpportunityInput[]
  skipDuplicates?: boolean
}

export type GeneratedQuotesUpsertWithWhereUniqueWithoutOpportunityInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  update: Prisma.XOR<Prisma.GeneratedQuotesUpdateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedUpdateWithoutOpportunityInput>
  create: Prisma.XOR<Prisma.GeneratedQuotesCreateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedCreateWithoutOpportunityInput>
}

export type GeneratedQuotesUpdateWithWhereUniqueWithoutOpportunityInput = {
  where: Prisma.GeneratedQuotesWhereUniqueInput
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateWithoutOpportunityInput, Prisma.GeneratedQuotesUncheckedUpdateWithoutOpportunityInput>
}

export type GeneratedQuotesUpdateManyWithWhereWithoutOpportunityInput = {
  where: Prisma.GeneratedQuotesScalarWhereInput
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateManyMutationInput, Prisma.GeneratedQuotesUncheckedUpdateManyWithoutOpportunityInput>
}

export type GeneratedQuotesCreateManyCreatedByInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  opportunityId: string
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesUpdateWithoutCreatedByInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  opportunity?: Prisma.OpportunityUpdateOneRequiredWithoutGeneratedQuotesNestedInput
}

export type GeneratedQuotesUncheckedUpdateWithoutCreatedByInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  opportunityId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesUncheckedUpdateManyWithoutCreatedByInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  opportunityId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesCreateManyOpportunityInput = {
  id?: string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile: runtime.Bytes
  quoteFileName: string
  createdById?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type GeneratedQuotesUpdateWithoutOpportunityInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdBy?: Prisma.UserUpdateOneWithoutGeneratedQuotesNestedInput
}

export type GeneratedQuotesUncheckedUpdateWithoutOpportunityInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type GeneratedQuotesUncheckedUpdateManyWithoutOpportunityInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  quoteRegenData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenParams?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteRegenHash?: Prisma.StringFieldUpdateOperationsInput | string
  downloads?: Prisma.JsonNullValueInput | runtime.InputJsonValue
  quoteFile?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
  quoteFileName?: Prisma.StringFieldUpdateOperationsInput | string
  createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}



export type GeneratedQuotesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  quoteRegenData?: boolean
  quoteRegenParams?: boolean
  quoteRegenHash?: boolean
  downloads?: boolean
  quoteFile?: boolean
  quoteFileName?: boolean
  opportunityId?: boolean
  createdById?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}, ExtArgs["result"]["generatedQuotes"]>

export type GeneratedQuotesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  quoteRegenData?: boolean
  quoteRegenParams?: boolean
  quoteRegenHash?: boolean
  downloads?: boolean
  quoteFile?: boolean
  quoteFileName?: boolean
  opportunityId?: boolean
  createdById?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}, ExtArgs["result"]["generatedQuotes"]>

export type GeneratedQuotesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  quoteRegenData?: boolean
  quoteRegenParams?: boolean
  quoteRegenHash?: boolean
  downloads?: boolean
  quoteFile?: boolean
  quoteFileName?: boolean
  opportunityId?: boolean
  createdById?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}, ExtArgs["result"]["generatedQuotes"]>

export type GeneratedQuotesSelectScalar = {
  id?: boolean
  quoteRegenData?: boolean
  quoteRegenParams?: boolean
  quoteRegenHash?: boolean
  downloads?: boolean
  quoteFile?: boolean
  quoteFileName?: boolean
  opportunityId?: boolean
  createdById?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type GeneratedQuotesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quoteRegenData" | "quoteRegenParams" | "quoteRegenHash" | "downloads" | "quoteFile" | "quoteFileName" | "opportunityId" | "createdById" | "createdAt" | "updatedAt", ExtArgs["result"]["generatedQuotes"]>
export type GeneratedQuotesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}
export type GeneratedQuotesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}
export type GeneratedQuotesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  opportunity?: boolean | Prisma.OpportunityDefaultArgs<ExtArgs>
  createdBy?: boolean | Prisma.GeneratedQuotes$createdByArgs<ExtArgs>
}

export type $GeneratedQuotesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "GeneratedQuotes"
  objects: {
    opportunity: Prisma.$OpportunityPayload<ExtArgs>
    createdBy: Prisma.$UserPayload<ExtArgs> | null
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    quoteRegenData: runtime.JsonValue
    quoteRegenParams: runtime.JsonValue
    quoteRegenHash: string
    downloads: runtime.JsonValue
    quoteFile: runtime.Bytes
    quoteFileName: string
    opportunityId: string
    createdById: string | null
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["generatedQuotes"]>
  composites: {}
}

export type GeneratedQuotesGetPayload<S extends boolean | null | undefined | GeneratedQuotesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GeneratedQuotesPayload, S>

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

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

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

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

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

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

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

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

  /**
   * Create many GeneratedQuotes and returns the data saved in the database.
   * @param {GeneratedQuotesCreateManyAndReturnArgs} args - Arguments to create many GeneratedQuotes.
   * @example
   * // Create many GeneratedQuotes
   * const generatedQuotes = await prisma.generatedQuotes.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many GeneratedQuotes and only return the `id`
   * const generatedQuotesWithIdOnly = await prisma.generatedQuotes.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 GeneratedQuotesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GeneratedQuotesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeneratedQuotesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

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

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

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

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

  /**
   * Update zero or more GeneratedQuotes and returns the data updated in the database.
   * @param {GeneratedQuotesUpdateManyAndReturnArgs} args - Arguments to update many GeneratedQuotes.
   * @example
   * // Update many GeneratedQuotes
   * const generatedQuotes = await prisma.generatedQuotes.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more GeneratedQuotes and only return the `id`
   * const generatedQuotesWithIdOnly = await prisma.generatedQuotes.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 GeneratedQuotesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GeneratedQuotesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeneratedQuotesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

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


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

  /**
   * Allows you to perform aggregations operations on a GeneratedQuotes.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {GeneratedQuotesAggregateArgs} 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 GeneratedQuotesAggregateArgs>(args: Prisma.Subset<T, GeneratedQuotesAggregateArgs>): Prisma.PrismaPromise<GetGeneratedQuotesAggregateType<T>>

  /**
   * Group by GeneratedQuotes.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {GeneratedQuotesGroupByArgs} 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 GeneratedQuotesGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: GeneratedQuotesGroupByArgs['orderBy'] }
      : { orderBy?: GeneratedQuotesGroupByArgs['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, GeneratedQuotesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGeneratedQuotesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the GeneratedQuotes model
 */
readonly fields: GeneratedQuotesFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for GeneratedQuotes.
 * 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__GeneratedQuotesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  opportunity<T extends Prisma.OpportunityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OpportunityDefaultArgs<ExtArgs>>): Prisma.Prisma__OpportunityClient<runtime.Types.Result.GetResult<Prisma.$OpportunityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  createdBy<T extends Prisma.GeneratedQuotes$createdByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GeneratedQuotes$createdByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<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 GeneratedQuotes model
 */
export interface GeneratedQuotesFieldRefs {
  readonly id: Prisma.FieldRef<"GeneratedQuotes", 'String'>
  readonly quoteRegenData: Prisma.FieldRef<"GeneratedQuotes", 'Json'>
  readonly quoteRegenParams: Prisma.FieldRef<"GeneratedQuotes", 'Json'>
  readonly quoteRegenHash: Prisma.FieldRef<"GeneratedQuotes", 'String'>
  readonly downloads: Prisma.FieldRef<"GeneratedQuotes", 'Json'>
  readonly quoteFile: Prisma.FieldRef<"GeneratedQuotes", 'Bytes'>
  readonly quoteFileName: Prisma.FieldRef<"GeneratedQuotes", 'String'>
  readonly opportunityId: Prisma.FieldRef<"GeneratedQuotes", 'String'>
  readonly createdById: Prisma.FieldRef<"GeneratedQuotes", 'String'>
  readonly createdAt: Prisma.FieldRef<"GeneratedQuotes", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"GeneratedQuotes", 'DateTime'>
}
    

// Custom InputTypes
/**
 * GeneratedQuotes findUnique
 */
export type GeneratedQuotesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * Filter, which GeneratedQuotes to fetch.
   */
  where: Prisma.GeneratedQuotesWhereUniqueInput
}

/**
 * GeneratedQuotes findUniqueOrThrow
 */
export type GeneratedQuotesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * Filter, which GeneratedQuotes to fetch.
   */
  where: Prisma.GeneratedQuotesWhereUniqueInput
}

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

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

/**
 * GeneratedQuotes findMany
 */
export type GeneratedQuotesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * Filter, which GeneratedQuotes to fetch.
   */
  where?: Prisma.GeneratedQuotesWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of GeneratedQuotes to fetch.
   */
  orderBy?: Prisma.GeneratedQuotesOrderByWithRelationInput | Prisma.GeneratedQuotesOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing GeneratedQuotes.
   */
  cursor?: Prisma.GeneratedQuotesWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` GeneratedQuotes 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` GeneratedQuotes.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of GeneratedQuotes.
   */
  distinct?: Prisma.GeneratedQuotesScalarFieldEnum | Prisma.GeneratedQuotesScalarFieldEnum[]
}

/**
 * GeneratedQuotes create
 */
export type GeneratedQuotesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * The data needed to create a GeneratedQuotes.
   */
  data: Prisma.XOR<Prisma.GeneratedQuotesCreateInput, Prisma.GeneratedQuotesUncheckedCreateInput>
}

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

/**
 * GeneratedQuotes createManyAndReturn
 */
export type GeneratedQuotesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * The data used to create many GeneratedQuotes.
   */
  data: Prisma.GeneratedQuotesCreateManyInput | Prisma.GeneratedQuotesCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * GeneratedQuotes update
 */
export type GeneratedQuotesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * The data needed to update a GeneratedQuotes.
   */
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateInput, Prisma.GeneratedQuotesUncheckedUpdateInput>
  /**
   * Choose, which GeneratedQuotes to update.
   */
  where: Prisma.GeneratedQuotesWhereUniqueInput
}

/**
 * GeneratedQuotes updateMany
 */
export type GeneratedQuotesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update GeneratedQuotes.
   */
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateManyMutationInput, Prisma.GeneratedQuotesUncheckedUpdateManyInput>
  /**
   * Filter which GeneratedQuotes to update
   */
  where?: Prisma.GeneratedQuotesWhereInput
  /**
   * Limit how many GeneratedQuotes to update.
   */
  limit?: number
}

/**
 * GeneratedQuotes updateManyAndReturn
 */
export type GeneratedQuotesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * The data used to update GeneratedQuotes.
   */
  data: Prisma.XOR<Prisma.GeneratedQuotesUpdateManyMutationInput, Prisma.GeneratedQuotesUncheckedUpdateManyInput>
  /**
   * Filter which GeneratedQuotes to update
   */
  where?: Prisma.GeneratedQuotesWhereInput
  /**
   * Limit how many GeneratedQuotes to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * GeneratedQuotes upsert
 */
export type GeneratedQuotesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * The filter to search for the GeneratedQuotes to update in case it exists.
   */
  where: Prisma.GeneratedQuotesWhereUniqueInput
  /**
   * In case the GeneratedQuotes found by the `where` argument doesn't exist, create a new GeneratedQuotes with this data.
   */
  create: Prisma.XOR<Prisma.GeneratedQuotesCreateInput, Prisma.GeneratedQuotesUncheckedCreateInput>
  /**
   * In case the GeneratedQuotes was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.GeneratedQuotesUpdateInput, Prisma.GeneratedQuotesUncheckedUpdateInput>
}

/**
 * GeneratedQuotes delete
 */
export type GeneratedQuotesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the GeneratedQuotes
   */
  select?: Prisma.GeneratedQuotesSelect<ExtArgs> | null
  /**
   * Omit specific fields from the GeneratedQuotes
   */
  omit?: Prisma.GeneratedQuotesOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.GeneratedQuotesInclude<ExtArgs> | null
  /**
   * Filter which GeneratedQuotes to delete.
   */
  where: Prisma.GeneratedQuotesWhereUniqueInput
}

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

/**
 * GeneratedQuotes.createdBy
 */
export type GeneratedQuotes$createdByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the User
   */
  select?: Prisma.UserSelect<ExtArgs> | null
  /**
   * Omit specific fields from the User
   */
  omit?: Prisma.UserOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.UserInclude<ExtArgs> | null
  where?: Prisma.UserWhereInput
}

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