chore(global): remove a bunch of test and temp files
This commit is contained in:
@@ -381,7 +381,7 @@ export type OpportunityGroupByOutputType = {
|
||||
name: string
|
||||
notes: string | null
|
||||
oppNarrative: string | null
|
||||
typeId: number
|
||||
typeId: number | null
|
||||
stageId: number | null
|
||||
statusId: number | null
|
||||
taxCodeId: number | null
|
||||
@@ -438,7 +438,7 @@ export type OpportunityWhereInput = {
|
||||
name?: Prisma.StringFilter<"Opportunity"> | string
|
||||
notes?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
oppNarrative?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
typeId?: Prisma.IntFilter<"Opportunity"> | number
|
||||
typeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
stageId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
statusId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
taxCodeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
@@ -465,7 +465,7 @@ export type OpportunityWhereInput = {
|
||||
createdAt?: Prisma.DateTimeFilter<"Opportunity"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Opportunity"> | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesListRelationFilter
|
||||
type?: Prisma.XOR<Prisma.OpportunityTypeScalarRelationFilter, Prisma.OpportunityTypeWhereInput>
|
||||
type?: Prisma.XOR<Prisma.OpportunityTypeNullableScalarRelationFilter, Prisma.OpportunityTypeWhereInput> | null
|
||||
stage?: Prisma.XOR<Prisma.OpportunityStageNullableScalarRelationFilter, Prisma.OpportunityStageWhereInput> | null
|
||||
status?: Prisma.XOR<Prisma.OpportunityStatusNullableScalarRelationFilter, Prisma.OpportunityStatusWhereInput> | null
|
||||
taxCode?: Prisma.XOR<Prisma.TaxCodeNullableScalarRelationFilter, Prisma.TaxCodeWhereInput> | null
|
||||
@@ -485,7 +485,7 @@ export type OpportunityOrderByWithRelationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
oppNarrative?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
typeId?: Prisma.SortOrder
|
||||
typeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
stageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
statusId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
taxCodeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -535,7 +535,7 @@ export type OpportunityWhereUniqueInput = Prisma.AtLeast<{
|
||||
name?: Prisma.StringFilter<"Opportunity"> | string
|
||||
notes?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
oppNarrative?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
typeId?: Prisma.IntFilter<"Opportunity"> | number
|
||||
typeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
stageId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
statusId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
taxCodeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
@@ -562,7 +562,7 @@ export type OpportunityWhereUniqueInput = Prisma.AtLeast<{
|
||||
createdAt?: Prisma.DateTimeFilter<"Opportunity"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Opportunity"> | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesListRelationFilter
|
||||
type?: Prisma.XOR<Prisma.OpportunityTypeScalarRelationFilter, Prisma.OpportunityTypeWhereInput>
|
||||
type?: Prisma.XOR<Prisma.OpportunityTypeNullableScalarRelationFilter, Prisma.OpportunityTypeWhereInput> | null
|
||||
stage?: Prisma.XOR<Prisma.OpportunityStageNullableScalarRelationFilter, Prisma.OpportunityStageWhereInput> | null
|
||||
status?: Prisma.XOR<Prisma.OpportunityStatusNullableScalarRelationFilter, Prisma.OpportunityStatusWhereInput> | null
|
||||
taxCode?: Prisma.XOR<Prisma.TaxCodeNullableScalarRelationFilter, Prisma.TaxCodeWhereInput> | null
|
||||
@@ -582,7 +582,7 @@ export type OpportunityOrderByWithAggregationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
oppNarrative?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
typeId?: Prisma.SortOrder
|
||||
typeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
stageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
statusId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
taxCodeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -624,7 +624,7 @@ export type OpportunityScalarWhereWithAggregatesInput = {
|
||||
name?: Prisma.StringWithAggregatesFilter<"Opportunity"> | string
|
||||
notes?: Prisma.StringNullableWithAggregatesFilter<"Opportunity"> | string | null
|
||||
oppNarrative?: Prisma.StringNullableWithAggregatesFilter<"Opportunity"> | string | null
|
||||
typeId?: Prisma.IntWithAggregatesFilter<"Opportunity"> | number
|
||||
typeId?: Prisma.IntNullableWithAggregatesFilter<"Opportunity"> | number | null
|
||||
stageId?: Prisma.IntNullableWithAggregatesFilter<"Opportunity"> | number | null
|
||||
statusId?: Prisma.IntNullableWithAggregatesFilter<"Opportunity"> | number | null
|
||||
taxCodeId?: Prisma.IntNullableWithAggregatesFilter<"Opportunity"> | number | null
|
||||
@@ -674,7 +674,7 @@ export type OpportunityCreateInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -694,7 +694,7 @@ export type OpportunityUncheckedCreateInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -746,7 +746,7 @@ export type OpportunityUpdateInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -766,7 +766,7 @@ export type OpportunityUncheckedUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -802,7 +802,7 @@ export type OpportunityCreateManyInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -859,7 +859,7 @@ export type OpportunityUncheckedUpdateManyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -1572,7 +1572,7 @@ export type OpportunityCreateWithoutPrimarySalesRepInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -1591,7 +1591,7 @@ export type OpportunityUncheckedCreateWithoutPrimarySalesRepInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -1652,7 +1652,7 @@ export type OpportunityCreateWithoutSecondarySalesRepInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -1671,7 +1671,7 @@ export type OpportunityUncheckedCreateWithoutSecondarySalesRepInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -1735,7 +1735,7 @@ export type OpportunityScalarWhereInput = {
|
||||
name?: Prisma.StringFilter<"Opportunity"> | string
|
||||
notes?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
oppNarrative?: Prisma.StringNullableFilter<"Opportunity"> | string | null
|
||||
typeId?: Prisma.IntFilter<"Opportunity"> | number
|
||||
typeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
stageId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
statusId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
taxCodeId?: Prisma.IntNullableFilter<"Opportunity"> | number | null
|
||||
@@ -1801,7 +1801,7 @@ export type OpportunityCreateWithoutLocationInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -1820,7 +1820,7 @@ export type OpportunityUncheckedCreateWithoutLocationInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -1897,7 +1897,7 @@ export type OpportunityCreateWithoutDepartmentInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -1916,7 +1916,7 @@ export type OpportunityUncheckedCreateWithoutDepartmentInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -1993,7 +1993,7 @@ export type OpportunityCreateWithoutCompanyInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2012,7 +2012,7 @@ export type OpportunityUncheckedCreateWithoutCompanyInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2089,7 +2089,7 @@ export type OpportunityCreateWithoutSiteInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2108,7 +2108,7 @@ export type OpportunityUncheckedCreateWithoutSiteInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2185,7 +2185,7 @@ export type OpportunityCreateWithoutContactInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2204,7 +2204,7 @@ export type OpportunityUncheckedCreateWithoutContactInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2281,7 +2281,7 @@ export type OpportunityCreateWithoutProductsInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2300,7 +2300,7 @@ export type OpportunityUncheckedCreateWithoutProductsInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2367,7 +2367,7 @@ export type OpportunityUpdateWithoutProductsInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -2386,7 +2386,7 @@ export type OpportunityUncheckedUpdateWithoutProductsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -2437,7 +2437,7 @@ export type OpportunityCreateWithoutStageInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
primarySalesRep?: Prisma.UserCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2456,7 +2456,7 @@ export type OpportunityUncheckedCreateWithoutStageInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -2629,7 +2629,7 @@ export type OpportunityCreateWithoutStatusInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
primarySalesRep?: Prisma.UserCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2648,7 +2648,7 @@ export type OpportunityUncheckedCreateWithoutStatusInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
taxCodeId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -2724,7 +2724,7 @@ export type OpportunityCreateWithoutGeneratedQuotesInput = {
|
||||
eneteredBy: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
taxCode?: Prisma.TaxCodeCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2744,7 +2744,7 @@ export type OpportunityUncheckedCreateWithoutGeneratedQuotesInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2810,7 +2810,7 @@ export type OpportunityUpdateWithoutGeneratedQuotesInput = {
|
||||
eneteredBy?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -2830,7 +2830,7 @@ export type OpportunityUncheckedUpdateWithoutGeneratedQuotesInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -2881,7 +2881,7 @@ export type OpportunityCreateWithoutTaxCodeInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesCreateNestedManyWithoutOpportunityInput
|
||||
type: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
type?: Prisma.OpportunityTypeCreateNestedOneWithoutOpportunitiesInput
|
||||
stage?: Prisma.OpportunityStageCreateNestedOneWithoutOpportunitiesInput
|
||||
status?: Prisma.OpportunityStatusCreateNestedOneWithoutOpportunitiesInput
|
||||
primarySalesRep?: Prisma.UserCreateNestedOneWithoutOpportunitiesInput
|
||||
@@ -2900,7 +2900,7 @@ export type OpportunityUncheckedCreateWithoutTaxCodeInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -2961,7 +2961,7 @@ export type OpportunityCreateManyPrimarySalesRepInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -2994,7 +2994,7 @@ export type OpportunityCreateManySecondarySalesRepInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3043,7 +3043,7 @@ export type OpportunityUpdateWithoutPrimarySalesRepInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3062,7 +3062,7 @@ export type OpportunityUncheckedUpdateWithoutPrimarySalesRepInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3097,7 +3097,7 @@ export type OpportunityUncheckedUpdateManyWithoutPrimarySalesRepInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3146,7 +3146,7 @@ export type OpportunityUpdateWithoutSecondarySalesRepInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3165,7 +3165,7 @@ export type OpportunityUncheckedUpdateWithoutSecondarySalesRepInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3200,7 +3200,7 @@ export type OpportunityUncheckedUpdateManyWithoutSecondarySalesRepInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3233,7 +3233,7 @@ export type OpportunityCreateManyLocationInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3282,7 +3282,7 @@ export type OpportunityUpdateWithoutLocationInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3301,7 +3301,7 @@ export type OpportunityUncheckedUpdateWithoutLocationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3336,7 +3336,7 @@ export type OpportunityUncheckedUpdateManyWithoutLocationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3369,7 +3369,7 @@ export type OpportunityCreateManyDepartmentInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3418,7 +3418,7 @@ export type OpportunityUpdateWithoutDepartmentInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3437,7 +3437,7 @@ export type OpportunityUncheckedUpdateWithoutDepartmentInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3472,7 +3472,7 @@ export type OpportunityUncheckedUpdateManyWithoutDepartmentInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3505,7 +3505,7 @@ export type OpportunityCreateManyCompanyInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3554,7 +3554,7 @@ export type OpportunityUpdateWithoutCompanyInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3573,7 +3573,7 @@ export type OpportunityUncheckedUpdateWithoutCompanyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3608,7 +3608,7 @@ export type OpportunityUncheckedUpdateManyWithoutCompanyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3641,7 +3641,7 @@ export type OpportunityCreateManySiteInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3690,7 +3690,7 @@ export type OpportunityUpdateWithoutSiteInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3709,7 +3709,7 @@ export type OpportunityUncheckedUpdateWithoutSiteInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3744,7 +3744,7 @@ export type OpportunityUncheckedUpdateManyWithoutSiteInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3777,7 +3777,7 @@ export type OpportunityCreateManyContactInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
@@ -3826,7 +3826,7 @@ export type OpportunityUpdateWithoutContactInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3845,7 +3845,7 @@ export type OpportunityUncheckedUpdateWithoutContactInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3880,7 +3880,7 @@ export type OpportunityUncheckedUpdateManyWithoutContactInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
@@ -3913,7 +3913,7 @@ export type OpportunityCreateManyStageInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
statusId?: number | null
|
||||
taxCodeId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -3962,7 +3962,7 @@ export type OpportunityUpdateWithoutStageInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
primarySalesRep?: Prisma.UserUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -3981,7 +3981,7 @@ export type OpportunityUncheckedUpdateWithoutStageInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4016,7 +4016,7 @@ export type OpportunityUncheckedUpdateManyWithoutStageInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4185,7 +4185,7 @@ export type OpportunityCreateManyStatusInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
taxCodeId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -4234,7 +4234,7 @@ export type OpportunityUpdateWithoutStatusInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
taxCode?: Prisma.TaxCodeUpdateOneWithoutOpportunitiesNestedInput
|
||||
primarySalesRep?: Prisma.UserUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -4253,7 +4253,7 @@ export type OpportunityUncheckedUpdateWithoutStatusInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4288,7 +4288,7 @@ export type OpportunityUncheckedUpdateManyWithoutStatusInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
taxCodeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4321,7 +4321,7 @@ export type OpportunityCreateManyTaxCodeInput = {
|
||||
name: string
|
||||
notes?: string | null
|
||||
oppNarrative?: string | null
|
||||
typeId: number
|
||||
typeId?: number | null
|
||||
stageId?: number | null
|
||||
statusId?: number | null
|
||||
interest?: $Enums.OpportunityInterest | null
|
||||
@@ -4370,7 +4370,7 @@ export type OpportunityUpdateWithoutTaxCodeInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
generatedQuotes?: Prisma.GeneratedQuotesUpdateManyWithoutOpportunityNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneRequiredWithoutOpportunitiesNestedInput
|
||||
type?: Prisma.OpportunityTypeUpdateOneWithoutOpportunitiesNestedInput
|
||||
stage?: Prisma.OpportunityStageUpdateOneWithoutOpportunitiesNestedInput
|
||||
status?: Prisma.OpportunityStatusUpdateOneWithoutOpportunitiesNestedInput
|
||||
primarySalesRep?: Prisma.UserUpdateOneWithoutOpportunitiesNestedInput
|
||||
@@ -4389,7 +4389,7 @@ export type OpportunityUncheckedUpdateWithoutTaxCodeInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4424,7 +4424,7 @@ export type OpportunityUncheckedUpdateManyWithoutTaxCodeInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
oppNarrative?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
typeId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
typeId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
stageId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
statusId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
interest?: Prisma.NullableEnumOpportunityInterestFieldUpdateOperationsInput | $Enums.OpportunityInterest | null
|
||||
@@ -4524,7 +4524,7 @@ export type OpportunitySelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
generatedQuotes?: boolean | Prisma.Opportunity$generatedQuotesArgs<ExtArgs>
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4571,7 +4571,7 @@ export type OpportunitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
eneteredBy?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4616,7 +4616,7 @@ export type OpportunitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
eneteredBy?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4666,7 +4666,7 @@ export type OpportunitySelectScalar = {
|
||||
export type OpportunityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uid" | "name" | "notes" | "oppNarrative" | "typeId" | "stageId" | "statusId" | "taxCodeId" | "interest" | "probability" | "source" | "primarySalesRepId" | "secondarySalesRepId" | "companyId" | "contactId" | "siteId" | "customerPO" | "locationId" | "departmentId" | "expectedCloseDate" | "pipelineChangeDate" | "dateBecameLead" | "closedDate" | "closedFlag" | "closedById" | "productSequence" | "updatedBy" | "eneteredBy" | "createdAt" | "updatedAt", ExtArgs["result"]["opportunity"]>
|
||||
export type OpportunityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
generatedQuotes?: boolean | Prisma.Opportunity$generatedQuotesArgs<ExtArgs>
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4681,7 +4681,7 @@ export type OpportunityInclude<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
_count?: boolean | Prisma.OpportunityCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type OpportunityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4694,7 +4694,7 @@ export type OpportunityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.
|
||||
department?: boolean | Prisma.Opportunity$departmentArgs<ExtArgs>
|
||||
}
|
||||
export type OpportunityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
type?: boolean | Prisma.OpportunityTypeDefaultArgs<ExtArgs>
|
||||
type?: boolean | Prisma.Opportunity$typeArgs<ExtArgs>
|
||||
stage?: boolean | Prisma.Opportunity$stageArgs<ExtArgs>
|
||||
status?: boolean | Prisma.Opportunity$statusArgs<ExtArgs>
|
||||
taxCode?: boolean | Prisma.Opportunity$taxCodeArgs<ExtArgs>
|
||||
@@ -4711,7 +4711,7 @@ export type $OpportunityPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
name: "Opportunity"
|
||||
objects: {
|
||||
generatedQuotes: Prisma.$GeneratedQuotesPayload<ExtArgs>[]
|
||||
type: Prisma.$OpportunityTypePayload<ExtArgs>
|
||||
type: Prisma.$OpportunityTypePayload<ExtArgs> | null
|
||||
stage: Prisma.$OpportunityStagePayload<ExtArgs> | null
|
||||
status: Prisma.$OpportunityStatusPayload<ExtArgs> | null
|
||||
taxCode: Prisma.$TaxCodePayload<ExtArgs> | null
|
||||
@@ -4730,7 +4730,7 @@ export type $OpportunityPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
name: string
|
||||
notes: string | null
|
||||
oppNarrative: string | null
|
||||
typeId: number
|
||||
typeId: number | null
|
||||
stageId: number | null
|
||||
statusId: number | null
|
||||
taxCodeId: number | null
|
||||
@@ -5151,7 +5151,7 @@ readonly fields: OpportunityFieldRefs;
|
||||
export interface Prisma__OpportunityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
generatedQuotes<T extends Prisma.Opportunity$generatedQuotesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Opportunity$generatedQuotesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GeneratedQuotesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
type<T extends Prisma.OpportunityTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OpportunityTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__OpportunityTypeClient<runtime.Types.Result.GetResult<Prisma.$OpportunityTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
type<T extends Prisma.Opportunity$typeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Opportunity$typeArgs<ExtArgs>>): Prisma.Prisma__OpportunityTypeClient<runtime.Types.Result.GetResult<Prisma.$OpportunityTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
stage<T extends Prisma.Opportunity$stageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Opportunity$stageArgs<ExtArgs>>): Prisma.Prisma__OpportunityStageClient<runtime.Types.Result.GetResult<Prisma.$OpportunityStagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
status<T extends Prisma.Opportunity$statusArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Opportunity$statusArgs<ExtArgs>>): Prisma.Prisma__OpportunityStatusClient<runtime.Types.Result.GetResult<Prisma.$OpportunityStatusPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
taxCode<T extends Prisma.Opportunity$taxCodeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Opportunity$taxCodeArgs<ExtArgs>>): Prisma.Prisma__TaxCodeClient<runtime.Types.Result.GetResult<Prisma.$TaxCodePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
@@ -5647,6 +5647,25 @@ export type Opportunity$generatedQuotesArgs<ExtArgs extends runtime.Types.Extens
|
||||
distinct?: Prisma.GeneratedQuotesScalarFieldEnum | Prisma.GeneratedQuotesScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Opportunity.type
|
||||
*/
|
||||
export type Opportunity$typeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the OpportunityType
|
||||
*/
|
||||
select?: Prisma.OpportunityTypeSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the OpportunityType
|
||||
*/
|
||||
omit?: Prisma.OpportunityTypeOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.OpportunityTypeInclude<ExtArgs> | null
|
||||
where?: Prisma.OpportunityTypeWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Opportunity.stage
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user