Fix UserController permission serialization and include current updates
This commit is contained in:
@@ -47,6 +47,11 @@ export type Company = Prisma.CompanyModel
|
||||
*
|
||||
*/
|
||||
export type CatalogItem = Prisma.CatalogItemModel
|
||||
/**
|
||||
* Model Opportunity
|
||||
*
|
||||
*/
|
||||
export type Opportunity = Prisma.OpportunityModel
|
||||
/**
|
||||
* Model CredentialType
|
||||
*
|
||||
|
||||
@@ -69,6 +69,11 @@ export type Company = Prisma.CompanyModel
|
||||
*
|
||||
*/
|
||||
export type CatalogItem = Prisma.CatalogItemModel
|
||||
/**
|
||||
* Model Opportunity
|
||||
*
|
||||
*/
|
||||
export type Opportunity = Prisma.OpportunityModel
|
||||
/**
|
||||
* Model CredentialType
|
||||
*
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -390,6 +390,7 @@ export const ModelName = {
|
||||
UnifiSite: 'UnifiSite',
|
||||
Company: 'Company',
|
||||
CatalogItem: 'CatalogItem',
|
||||
Opportunity: 'Opportunity',
|
||||
CredentialType: 'CredentialType',
|
||||
SecureValue: 'SecureValue',
|
||||
Credential: 'Credential'
|
||||
@@ -408,7 +409,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
omit: GlobalOmitOptions
|
||||
}
|
||||
meta: {
|
||||
modelProps: "session" | "user" | "role" | "unifiSite" | "company" | "catalogItem" | "credentialType" | "secureValue" | "credential"
|
||||
modelProps: "session" | "user" | "role" | "unifiSite" | "company" | "catalogItem" | "opportunity" | "credentialType" | "secureValue" | "credential"
|
||||
txIsolationLevel: TransactionIsolationLevel
|
||||
}
|
||||
model: {
|
||||
@@ -856,6 +857,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
Opportunity: {
|
||||
payload: Prisma.$OpportunityPayload<ExtArgs>
|
||||
fields: Prisma.OpportunityFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.OpportunityFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.OpportunityFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.OpportunityFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.OpportunityFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.OpportunityFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.OpportunityCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.OpportunityCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
createManyAndReturn: {
|
||||
args: Prisma.OpportunityCreateManyAndReturnArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>[]
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.OpportunityDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.OpportunityUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.OpportunityDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.OpportunityUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateManyAndReturn: {
|
||||
args: Prisma.OpportunityUpdateManyAndReturnArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>[]
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.OpportunityUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$OpportunityPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.OpportunityAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateOpportunity>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.OpportunityGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.OpportunityGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.OpportunityCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.OpportunityCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
CredentialType: {
|
||||
payload: Prisma.$CredentialTypePayload<ExtArgs>
|
||||
fields: Prisma.CredentialTypeFieldRefs
|
||||
@@ -1186,6 +1261,7 @@ export type CompanyScalarFieldEnum = (typeof CompanyScalarFieldEnum)[keyof typeo
|
||||
export const CatalogItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
cwCatalogId: 'cwCatalogId',
|
||||
identifier: 'identifier',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
customerDescription: 'customerDescription',
|
||||
@@ -1209,6 +1285,58 @@ export const CatalogItemScalarFieldEnum = {
|
||||
export type CatalogItemScalarFieldEnum = (typeof CatalogItemScalarFieldEnum)[keyof typeof CatalogItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const OpportunityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
cwOpportunityId: 'cwOpportunityId',
|
||||
name: 'name',
|
||||
notes: 'notes',
|
||||
typeName: 'typeName',
|
||||
typeCwId: 'typeCwId',
|
||||
stageName: 'stageName',
|
||||
stageCwId: 'stageCwId',
|
||||
statusName: 'statusName',
|
||||
statusCwId: 'statusCwId',
|
||||
priorityName: 'priorityName',
|
||||
priorityCwId: 'priorityCwId',
|
||||
ratingName: 'ratingName',
|
||||
ratingCwId: 'ratingCwId',
|
||||
source: 'source',
|
||||
campaignName: 'campaignName',
|
||||
campaignCwId: 'campaignCwId',
|
||||
primarySalesRepName: 'primarySalesRepName',
|
||||
primarySalesRepIdentifier: 'primarySalesRepIdentifier',
|
||||
primarySalesRepCwId: 'primarySalesRepCwId',
|
||||
secondarySalesRepName: 'secondarySalesRepName',
|
||||
secondarySalesRepIdentifier: 'secondarySalesRepIdentifier',
|
||||
secondarySalesRepCwId: 'secondarySalesRepCwId',
|
||||
companyCwId: 'companyCwId',
|
||||
companyName: 'companyName',
|
||||
contactCwId: 'contactCwId',
|
||||
contactName: 'contactName',
|
||||
siteCwId: 'siteCwId',
|
||||
siteName: 'siteName',
|
||||
customerPO: 'customerPO',
|
||||
totalSalesTax: 'totalSalesTax',
|
||||
locationName: 'locationName',
|
||||
locationCwId: 'locationCwId',
|
||||
departmentName: 'departmentName',
|
||||
departmentCwId: 'departmentCwId',
|
||||
expectedCloseDate: 'expectedCloseDate',
|
||||
pipelineChangeDate: 'pipelineChangeDate',
|
||||
dateBecameLead: 'dateBecameLead',
|
||||
closedDate: 'closedDate',
|
||||
closedFlag: 'closedFlag',
|
||||
closedByName: 'closedByName',
|
||||
closedByCwId: 'closedByCwId',
|
||||
companyId: 'companyId',
|
||||
cwLastUpdated: 'cwLastUpdated',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type OpportunityScalarFieldEnum = (typeof OpportunityScalarFieldEnum)[keyof typeof OpportunityScalarFieldEnum]
|
||||
|
||||
|
||||
export const CredentialTypeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -1473,6 +1601,7 @@ export type GlobalOmitConfig = {
|
||||
unifiSite?: Prisma.UnifiSiteOmit
|
||||
company?: Prisma.CompanyOmit
|
||||
catalogItem?: Prisma.CatalogItemOmit
|
||||
opportunity?: Prisma.OpportunityOmit
|
||||
credentialType?: Prisma.CredentialTypeOmit
|
||||
secureValue?: Prisma.SecureValueOmit
|
||||
credential?: Prisma.CredentialOmit
|
||||
|
||||
@@ -57,6 +57,7 @@ export const ModelName = {
|
||||
UnifiSite: 'UnifiSite',
|
||||
Company: 'Company',
|
||||
CatalogItem: 'CatalogItem',
|
||||
Opportunity: 'Opportunity',
|
||||
CredentialType: 'CredentialType',
|
||||
SecureValue: 'SecureValue',
|
||||
Credential: 'Credential'
|
||||
@@ -147,6 +148,7 @@ export type CompanyScalarFieldEnum = (typeof CompanyScalarFieldEnum)[keyof typeo
|
||||
export const CatalogItemScalarFieldEnum = {
|
||||
id: 'id',
|
||||
cwCatalogId: 'cwCatalogId',
|
||||
identifier: 'identifier',
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
customerDescription: 'customerDescription',
|
||||
@@ -170,6 +172,58 @@ export const CatalogItemScalarFieldEnum = {
|
||||
export type CatalogItemScalarFieldEnum = (typeof CatalogItemScalarFieldEnum)[keyof typeof CatalogItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const OpportunityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
cwOpportunityId: 'cwOpportunityId',
|
||||
name: 'name',
|
||||
notes: 'notes',
|
||||
typeName: 'typeName',
|
||||
typeCwId: 'typeCwId',
|
||||
stageName: 'stageName',
|
||||
stageCwId: 'stageCwId',
|
||||
statusName: 'statusName',
|
||||
statusCwId: 'statusCwId',
|
||||
priorityName: 'priorityName',
|
||||
priorityCwId: 'priorityCwId',
|
||||
ratingName: 'ratingName',
|
||||
ratingCwId: 'ratingCwId',
|
||||
source: 'source',
|
||||
campaignName: 'campaignName',
|
||||
campaignCwId: 'campaignCwId',
|
||||
primarySalesRepName: 'primarySalesRepName',
|
||||
primarySalesRepIdentifier: 'primarySalesRepIdentifier',
|
||||
primarySalesRepCwId: 'primarySalesRepCwId',
|
||||
secondarySalesRepName: 'secondarySalesRepName',
|
||||
secondarySalesRepIdentifier: 'secondarySalesRepIdentifier',
|
||||
secondarySalesRepCwId: 'secondarySalesRepCwId',
|
||||
companyCwId: 'companyCwId',
|
||||
companyName: 'companyName',
|
||||
contactCwId: 'contactCwId',
|
||||
contactName: 'contactName',
|
||||
siteCwId: 'siteCwId',
|
||||
siteName: 'siteName',
|
||||
customerPO: 'customerPO',
|
||||
totalSalesTax: 'totalSalesTax',
|
||||
locationName: 'locationName',
|
||||
locationCwId: 'locationCwId',
|
||||
departmentName: 'departmentName',
|
||||
departmentCwId: 'departmentCwId',
|
||||
expectedCloseDate: 'expectedCloseDate',
|
||||
pipelineChangeDate: 'pipelineChangeDate',
|
||||
dateBecameLead: 'dateBecameLead',
|
||||
closedDate: 'closedDate',
|
||||
closedFlag: 'closedFlag',
|
||||
closedByName: 'closedByName',
|
||||
closedByCwId: 'closedByCwId',
|
||||
companyId: 'companyId',
|
||||
cwLastUpdated: 'cwLastUpdated',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type OpportunityScalarFieldEnum = (typeof OpportunityScalarFieldEnum)[keyof typeof OpportunityScalarFieldEnum]
|
||||
|
||||
|
||||
export const CredentialTypeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
|
||||
@@ -14,6 +14,7 @@ export type * from './models/Role.ts'
|
||||
export type * from './models/UnifiSite.ts'
|
||||
export type * from './models/Company.ts'
|
||||
export type * from './models/CatalogItem.ts'
|
||||
export type * from './models/Opportunity.ts'
|
||||
export type * from './models/CredentialType.ts'
|
||||
export type * from './models/SecureValue.ts'
|
||||
export type * from './models/Credential.ts'
|
||||
|
||||
@@ -47,6 +47,7 @@ export type CatalogItemSumAggregateOutputType = {
|
||||
export type CatalogItemMinAggregateOutputType = {
|
||||
id: string | null
|
||||
cwCatalogId: number | null
|
||||
identifier: string | null
|
||||
name: string | null
|
||||
description: string | null
|
||||
customerDescription: string | null
|
||||
@@ -70,6 +71,7 @@ export type CatalogItemMinAggregateOutputType = {
|
||||
export type CatalogItemMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
cwCatalogId: number | null
|
||||
identifier: string | null
|
||||
name: string | null
|
||||
description: string | null
|
||||
customerDescription: string | null
|
||||
@@ -93,6 +95,7 @@ export type CatalogItemMaxAggregateOutputType = {
|
||||
export type CatalogItemCountAggregateOutputType = {
|
||||
id: number
|
||||
cwCatalogId: number
|
||||
identifier: number
|
||||
name: number
|
||||
description: number
|
||||
customerDescription: number
|
||||
@@ -136,6 +139,7 @@ export type CatalogItemSumAggregateInputType = {
|
||||
export type CatalogItemMinAggregateInputType = {
|
||||
id?: true
|
||||
cwCatalogId?: true
|
||||
identifier?: true
|
||||
name?: true
|
||||
description?: true
|
||||
customerDescription?: true
|
||||
@@ -159,6 +163,7 @@ export type CatalogItemMinAggregateInputType = {
|
||||
export type CatalogItemMaxAggregateInputType = {
|
||||
id?: true
|
||||
cwCatalogId?: true
|
||||
identifier?: true
|
||||
name?: true
|
||||
description?: true
|
||||
customerDescription?: true
|
||||
@@ -182,6 +187,7 @@ export type CatalogItemMaxAggregateInputType = {
|
||||
export type CatalogItemCountAggregateInputType = {
|
||||
id?: true
|
||||
cwCatalogId?: true
|
||||
identifier?: true
|
||||
name?: true
|
||||
description?: true
|
||||
customerDescription?: true
|
||||
@@ -292,6 +298,7 @@ export type CatalogItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
export type CatalogItemGroupByOutputType = {
|
||||
id: string
|
||||
cwCatalogId: number
|
||||
identifier: string | null
|
||||
name: string
|
||||
description: string | null
|
||||
customerDescription: string | null
|
||||
@@ -338,6 +345,7 @@ export type CatalogItemWhereInput = {
|
||||
NOT?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[]
|
||||
id?: Prisma.StringFilter<"CatalogItem"> | string
|
||||
cwCatalogId?: Prisma.IntFilter<"CatalogItem"> | number
|
||||
identifier?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
name?: Prisma.StringFilter<"CatalogItem"> | string
|
||||
description?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
customerDescription?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
@@ -363,6 +371,7 @@ export type CatalogItemWhereInput = {
|
||||
export type CatalogItemOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
cwCatalogId?: Prisma.SortOrder
|
||||
identifier?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
customerDescription?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -388,6 +397,7 @@ export type CatalogItemOrderByWithRelationInput = {
|
||||
export type CatalogItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
cwCatalogId?: number
|
||||
identifier?: string
|
||||
AND?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[]
|
||||
OR?: Prisma.CatalogItemWhereInput[]
|
||||
NOT?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[]
|
||||
@@ -411,11 +421,12 @@ export type CatalogItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
updatedAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string
|
||||
linkedItems?: Prisma.CatalogItemListRelationFilter
|
||||
linkedTo?: Prisma.CatalogItemListRelationFilter
|
||||
}, "id" | "cwCatalogId">
|
||||
}, "id" | "cwCatalogId" | "identifier">
|
||||
|
||||
export type CatalogItemOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
cwCatalogId?: Prisma.SortOrder
|
||||
identifier?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
customerDescription?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -447,6 +458,7 @@ export type CatalogItemScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.CatalogItemScalarWhereWithAggregatesInput | Prisma.CatalogItemScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"CatalogItem"> | string
|
||||
cwCatalogId?: Prisma.IntWithAggregatesFilter<"CatalogItem"> | number
|
||||
identifier?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null
|
||||
name?: Prisma.StringWithAggregatesFilter<"CatalogItem"> | string
|
||||
description?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null
|
||||
customerDescription?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null
|
||||
@@ -470,6 +482,7 @@ export type CatalogItemScalarWhereWithAggregatesInput = {
|
||||
export type CatalogItemCreateInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -495,6 +508,7 @@ export type CatalogItemCreateInput = {
|
||||
export type CatalogItemUncheckedCreateInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -520,6 +534,7 @@ export type CatalogItemUncheckedCreateInput = {
|
||||
export type CatalogItemUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -545,6 +560,7 @@ export type CatalogItemUpdateInput = {
|
||||
export type CatalogItemUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -570,6 +586,7 @@ export type CatalogItemUncheckedUpdateInput = {
|
||||
export type CatalogItemCreateManyInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -593,6 +610,7 @@ export type CatalogItemCreateManyInput = {
|
||||
export type CatalogItemUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -616,6 +634,7 @@ export type CatalogItemUpdateManyMutationInput = {
|
||||
export type CatalogItemUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -649,6 +668,7 @@ export type CatalogItemOrderByRelationAggregateInput = {
|
||||
export type CatalogItemCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
cwCatalogId?: Prisma.SortOrder
|
||||
identifier?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
customerDescription?: Prisma.SortOrder
|
||||
@@ -681,6 +701,7 @@ export type CatalogItemAvgOrderByAggregateInput = {
|
||||
export type CatalogItemMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
cwCatalogId?: Prisma.SortOrder
|
||||
identifier?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
customerDescription?: Prisma.SortOrder
|
||||
@@ -704,6 +725,7 @@ export type CatalogItemMaxOrderByAggregateInput = {
|
||||
export type CatalogItemMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
cwCatalogId?: Prisma.SortOrder
|
||||
identifier?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
customerDescription?: Prisma.SortOrder
|
||||
@@ -828,6 +850,7 @@ export type CatalogItemUncheckedUpdateManyWithoutLinkedItemsNestedInput = {
|
||||
export type CatalogItemCreateWithoutLinkedToInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -852,6 +875,7 @@ export type CatalogItemCreateWithoutLinkedToInput = {
|
||||
export type CatalogItemUncheckedCreateWithoutLinkedToInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -881,6 +905,7 @@ export type CatalogItemCreateOrConnectWithoutLinkedToInput = {
|
||||
export type CatalogItemCreateWithoutLinkedItemsInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -905,6 +930,7 @@ export type CatalogItemCreateWithoutLinkedItemsInput = {
|
||||
export type CatalogItemUncheckedCreateWithoutLinkedItemsInput = {
|
||||
id?: string
|
||||
cwCatalogId: number
|
||||
identifier?: string | null
|
||||
name: string
|
||||
description?: string | null
|
||||
customerDescription?: string | null
|
||||
@@ -953,6 +979,7 @@ export type CatalogItemScalarWhereInput = {
|
||||
NOT?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"CatalogItem"> | string
|
||||
cwCatalogId?: Prisma.IntFilter<"CatalogItem"> | number
|
||||
identifier?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
name?: Prisma.StringFilter<"CatalogItem"> | string
|
||||
description?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
customerDescription?: Prisma.StringNullableFilter<"CatalogItem"> | string | null
|
||||
@@ -992,6 +1019,7 @@ export type CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput = {
|
||||
export type CatalogItemUpdateWithoutLinkedToInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1016,6 +1044,7 @@ export type CatalogItemUpdateWithoutLinkedToInput = {
|
||||
export type CatalogItemUncheckedUpdateWithoutLinkedToInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1040,6 +1069,7 @@ export type CatalogItemUncheckedUpdateWithoutLinkedToInput = {
|
||||
export type CatalogItemUncheckedUpdateManyWithoutLinkedToInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1063,6 +1093,7 @@ export type CatalogItemUncheckedUpdateManyWithoutLinkedToInput = {
|
||||
export type CatalogItemUpdateWithoutLinkedItemsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1087,6 +1118,7 @@ export type CatalogItemUpdateWithoutLinkedItemsInput = {
|
||||
export type CatalogItemUncheckedUpdateWithoutLinkedItemsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1111,6 +1143,7 @@ export type CatalogItemUncheckedUpdateWithoutLinkedItemsInput = {
|
||||
export type CatalogItemUncheckedUpdateManyWithoutLinkedItemsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -1174,6 +1207,7 @@ export type CatalogItemCountOutputTypeCountLinkedToArgs<ExtArgs extends runtime.
|
||||
export type CatalogItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
cwCatalogId?: boolean
|
||||
identifier?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
customerDescription?: boolean
|
||||
@@ -1200,6 +1234,7 @@ export type CatalogItemSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
export type CatalogItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
cwCatalogId?: boolean
|
||||
identifier?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
customerDescription?: boolean
|
||||
@@ -1223,6 +1258,7 @@ export type CatalogItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
export type CatalogItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
cwCatalogId?: boolean
|
||||
identifier?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
customerDescription?: boolean
|
||||
@@ -1246,6 +1282,7 @@ export type CatalogItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
|
||||
export type CatalogItemSelectScalar = {
|
||||
id?: boolean
|
||||
cwCatalogId?: boolean
|
||||
identifier?: boolean
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
customerDescription?: boolean
|
||||
@@ -1266,7 +1303,7 @@ export type CatalogItemSelectScalar = {
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type CatalogItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cwCatalogId" | "name" | "description" | "customerDescription" | "internalNotes" | "manufacturer" | "manufactureCwId" | "partNumber" | "vendorName" | "vendorSku" | "vendorCwId" | "price" | "cost" | "inactive" | "salesTaxable" | "onHand" | "cwLastUpdated" | "createdAt" | "updatedAt", ExtArgs["result"]["catalogItem"]>
|
||||
export type CatalogItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cwCatalogId" | "identifier" | "name" | "description" | "customerDescription" | "internalNotes" | "manufacturer" | "manufactureCwId" | "partNumber" | "vendorName" | "vendorSku" | "vendorCwId" | "price" | "cost" | "inactive" | "salesTaxable" | "onHand" | "cwLastUpdated" | "createdAt" | "updatedAt", ExtArgs["result"]["catalogItem"]>
|
||||
export type CatalogItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
linkedItems?: boolean | Prisma.CatalogItem$linkedItemsArgs<ExtArgs>
|
||||
linkedTo?: boolean | Prisma.CatalogItem$linkedToArgs<ExtArgs>
|
||||
@@ -1284,6 +1321,7 @@ export type $CatalogItemPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
cwCatalogId: number
|
||||
identifier: string | null
|
||||
name: string
|
||||
description: string | null
|
||||
customerDescription: string | null
|
||||
@@ -1729,6 +1767,7 @@ export interface Prisma__CatalogItemClient<T, Null = never, ExtArgs extends runt
|
||||
export interface CatalogItemFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"CatalogItem", 'String'>
|
||||
readonly cwCatalogId: Prisma.FieldRef<"CatalogItem", 'Int'>
|
||||
readonly identifier: Prisma.FieldRef<"CatalogItem", 'String'>
|
||||
readonly name: Prisma.FieldRef<"CatalogItem", 'String'>
|
||||
readonly description: Prisma.FieldRef<"CatalogItem", 'String'>
|
||||
readonly customerDescription: Prisma.FieldRef<"CatalogItem", 'String'>
|
||||
|
||||
@@ -226,6 +226,7 @@ export type CompanyWhereInput = {
|
||||
updatedAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
credentials?: Prisma.CredentialListRelationFilter
|
||||
unifiSites?: Prisma.UnifiSiteListRelationFilter
|
||||
opportunities?: Prisma.OpportunityListRelationFilter
|
||||
}
|
||||
|
||||
export type CompanyOrderByWithRelationInput = {
|
||||
@@ -237,6 +238,7 @@ export type CompanyOrderByWithRelationInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
credentials?: Prisma.CredentialOrderByRelationAggregateInput
|
||||
unifiSites?: Prisma.UnifiSiteOrderByRelationAggregateInput
|
||||
opportunities?: Prisma.OpportunityOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type CompanyWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -251,6 +253,7 @@ export type CompanyWhereUniqueInput = Prisma.AtLeast<{
|
||||
updatedAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
credentials?: Prisma.CredentialListRelationFilter
|
||||
unifiSites?: Prisma.UnifiSiteListRelationFilter
|
||||
opportunities?: Prisma.OpportunityListRelationFilter
|
||||
}, "id" | "cw_CompanyId" | "cw_Identifier">
|
||||
|
||||
export type CompanyOrderByWithAggregationInput = {
|
||||
@@ -288,6 +291,7 @@ export type CompanyCreateInput = {
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialCreateNestedManyWithoutCompanyInput
|
||||
unifiSites?: Prisma.UnifiSiteCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateInput = {
|
||||
@@ -299,6 +303,7 @@ export type CompanyUncheckedCreateInput = {
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialUncheckedCreateNestedManyWithoutCompanyInput
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityUncheckedCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateInput = {
|
||||
@@ -310,6 +315,7 @@ export type CompanyUpdateInput = {
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUpdateManyWithoutCompanyNestedInput
|
||||
unifiSites?: Prisma.UnifiSiteUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateInput = {
|
||||
@@ -321,6 +327,7 @@ export type CompanyUncheckedUpdateInput = {
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyCreateManyInput = {
|
||||
@@ -419,6 +426,22 @@ export type IntFieldUpdateOperationsInput = {
|
||||
divide?: number
|
||||
}
|
||||
|
||||
export type CompanyCreateNestedOneWithoutOpportunitiesInput = {
|
||||
create?: Prisma.XOR<Prisma.CompanyCreateWithoutOpportunitiesInput, Prisma.CompanyUncheckedCreateWithoutOpportunitiesInput>
|
||||
connectOrCreate?: Prisma.CompanyCreateOrConnectWithoutOpportunitiesInput
|
||||
connect?: Prisma.CompanyWhereUniqueInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateOneWithoutOpportunitiesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CompanyCreateWithoutOpportunitiesInput, Prisma.CompanyUncheckedCreateWithoutOpportunitiesInput>
|
||||
connectOrCreate?: Prisma.CompanyCreateOrConnectWithoutOpportunitiesInput
|
||||
upsert?: Prisma.CompanyUpsertWithoutOpportunitiesInput
|
||||
disconnect?: Prisma.CompanyWhereInput | boolean
|
||||
delete?: Prisma.CompanyWhereInput | boolean
|
||||
connect?: Prisma.CompanyWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CompanyUpdateToOneWithWhereWithoutOpportunitiesInput, Prisma.CompanyUpdateWithoutOpportunitiesInput>, Prisma.CompanyUncheckedUpdateWithoutOpportunitiesInput>
|
||||
}
|
||||
|
||||
export type CompanyCreateNestedOneWithoutCredentialsInput = {
|
||||
create?: Prisma.XOR<Prisma.CompanyCreateWithoutCredentialsInput, Prisma.CompanyUncheckedCreateWithoutCredentialsInput>
|
||||
connectOrCreate?: Prisma.CompanyCreateOrConnectWithoutCredentialsInput
|
||||
@@ -441,6 +464,7 @@ export type CompanyCreateWithoutUnifiSitesInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateWithoutUnifiSitesInput = {
|
||||
@@ -451,6 +475,7 @@ export type CompanyUncheckedCreateWithoutUnifiSitesInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialUncheckedCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityUncheckedCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyCreateOrConnectWithoutUnifiSitesInput = {
|
||||
@@ -477,6 +502,7 @@ export type CompanyUpdateWithoutUnifiSitesInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateWithoutUnifiSitesInput = {
|
||||
@@ -487,6 +513,67 @@ export type CompanyUncheckedUpdateWithoutUnifiSitesInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyCreateWithoutOpportunitiesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
cw_CompanyId: number
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialCreateNestedManyWithoutCompanyInput
|
||||
unifiSites?: Prisma.UnifiSiteCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateWithoutOpportunitiesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
cw_CompanyId: number
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialUncheckedCreateNestedManyWithoutCompanyInput
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyCreateOrConnectWithoutOpportunitiesInput = {
|
||||
where: Prisma.CompanyWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.CompanyCreateWithoutOpportunitiesInput, Prisma.CompanyUncheckedCreateWithoutOpportunitiesInput>
|
||||
}
|
||||
|
||||
export type CompanyUpsertWithoutOpportunitiesInput = {
|
||||
update: Prisma.XOR<Prisma.CompanyUpdateWithoutOpportunitiesInput, Prisma.CompanyUncheckedUpdateWithoutOpportunitiesInput>
|
||||
create: Prisma.XOR<Prisma.CompanyCreateWithoutOpportunitiesInput, Prisma.CompanyUncheckedCreateWithoutOpportunitiesInput>
|
||||
where?: Prisma.CompanyWhereInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateToOneWithWhereWithoutOpportunitiesInput = {
|
||||
where?: Prisma.CompanyWhereInput
|
||||
data: Prisma.XOR<Prisma.CompanyUpdateWithoutOpportunitiesInput, Prisma.CompanyUncheckedUpdateWithoutOpportunitiesInput>
|
||||
}
|
||||
|
||||
export type CompanyUpdateWithoutOpportunitiesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cw_CompanyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUpdateManyWithoutCompanyNestedInput
|
||||
unifiSites?: Prisma.UnifiSiteUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateWithoutOpportunitiesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cw_CompanyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyCreateWithoutCredentialsInput = {
|
||||
@@ -497,6 +584,7 @@ export type CompanyCreateWithoutCredentialsInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
unifiSites?: Prisma.UnifiSiteCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateWithoutCredentialsInput = {
|
||||
@@ -507,6 +595,7 @@ export type CompanyUncheckedCreateWithoutCredentialsInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedCreateNestedManyWithoutCompanyInput
|
||||
opportunities?: Prisma.OpportunityUncheckedCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyCreateOrConnectWithoutCredentialsInput = {
|
||||
@@ -533,6 +622,7 @@ export type CompanyUpdateWithoutCredentialsInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
unifiSites?: Prisma.UnifiSiteUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateWithoutCredentialsInput = {
|
||||
@@ -543,6 +633,7 @@ export type CompanyUncheckedUpdateWithoutCredentialsInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
unifiSites?: Prisma.UnifiSiteUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
opportunities?: Prisma.OpportunityUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
|
||||
@@ -553,11 +644,13 @@ export type CompanyUncheckedUpdateWithoutCredentialsInput = {
|
||||
export type CompanyCountOutputType = {
|
||||
credentials: number
|
||||
unifiSites: number
|
||||
opportunities: number
|
||||
}
|
||||
|
||||
export type CompanyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
credentials?: boolean | CompanyCountOutputTypeCountCredentialsArgs
|
||||
unifiSites?: boolean | CompanyCountOutputTypeCountUnifiSitesArgs
|
||||
opportunities?: boolean | CompanyCountOutputTypeCountOpportunitiesArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -584,6 +677,13 @@ export type CompanyCountOutputTypeCountUnifiSitesArgs<ExtArgs extends runtime.Ty
|
||||
where?: Prisma.UnifiSiteWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* CompanyCountOutputType without action
|
||||
*/
|
||||
export type CompanyCountOutputTypeCountOpportunitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.OpportunityWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type CompanySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -594,6 +694,7 @@ export type CompanySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
updatedAt?: boolean
|
||||
credentials?: boolean | Prisma.Company$credentialsArgs<ExtArgs>
|
||||
unifiSites?: boolean | Prisma.Company$unifiSitesArgs<ExtArgs>
|
||||
opportunities?: boolean | Prisma.Company$opportunitiesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CompanyCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["company"]>
|
||||
|
||||
@@ -628,6 +729,7 @@ export type CompanyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
export type CompanyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
credentials?: boolean | Prisma.Company$credentialsArgs<ExtArgs>
|
||||
unifiSites?: boolean | Prisma.Company$unifiSitesArgs<ExtArgs>
|
||||
opportunities?: boolean | Prisma.Company$opportunitiesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CompanyCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type CompanyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
@@ -638,6 +740,7 @@ export type $CompanyPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
objects: {
|
||||
credentials: Prisma.$CredentialPayload<ExtArgs>[]
|
||||
unifiSites: Prisma.$UnifiSitePayload<ExtArgs>[]
|
||||
opportunities: Prisma.$OpportunityPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1042,6 +1145,7 @@ export interface Prisma__CompanyClient<T, Null = never, ExtArgs extends runtime.
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
credentials<T extends Prisma.Company$credentialsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Company$credentialsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
unifiSites<T extends Prisma.Company$unifiSitesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Company$unifiSitesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UnifiSitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
opportunities<T extends Prisma.Company$opportunitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Company$opportunitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpportunityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1512,6 +1616,30 @@ export type Company$unifiSitesArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
distinct?: Prisma.UnifiSiteScalarFieldEnum | Prisma.UnifiSiteScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Company.opportunities
|
||||
*/
|
||||
export type Company$opportunitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Opportunity
|
||||
*/
|
||||
select?: Prisma.OpportunitySelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Opportunity
|
||||
*/
|
||||
omit?: Prisma.OpportunityOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.OpportunityInclude<ExtArgs> | null
|
||||
where?: Prisma.OpportunityWhereInput
|
||||
orderBy?: Prisma.OpportunityOrderByWithRelationInput | Prisma.OpportunityOrderByWithRelationInput[]
|
||||
cursor?: Prisma.OpportunityWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.OpportunityScalarFieldEnum | Prisma.OpportunityScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Company without action
|
||||
*/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user