Fix UserController permission serialization and include current updates
This commit is contained in:
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user