update pos consumer module

This commit is contained in:
2026-03-29 18:06:41 +03:30
parent 63fa2bc67e
commit c870a43e35
53 changed files with 2145 additions and 671 deletions
+158
View File
@@ -235,6 +235,7 @@ export type PosWhereInput = {
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
licenses?: Prisma.LicenseListRelationFilter
permissionPos?: Prisma.PermissionPosListRelationFilter
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
}
export type PosOrderByWithRelationInput = {
@@ -254,6 +255,7 @@ export type PosOrderByWithRelationInput = {
provider?: Prisma.ProviderOrderByWithRelationInput
licenses?: Prisma.LicenseOrderByRelationAggregateInput
permissionPos?: Prisma.PermissionPosOrderByRelationAggregateInput
salesInvoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput
_relevance?: Prisma.PosOrderByRelevanceInput
}
@@ -277,6 +279,7 @@ export type PosWhereUniqueInput = Prisma.AtLeast<{
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
licenses?: Prisma.LicenseListRelationFilter
permissionPos?: Prisma.PermissionPosListRelationFilter
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
}, "id" | "serial">
export type PosOrderByWithAggregationInput = {
@@ -327,6 +330,7 @@ export type PosCreateInput = {
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateInput = {
@@ -343,6 +347,7 @@ export type PosUncheckedCreateInput = {
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosUpdateInput = {
@@ -359,6 +364,7 @@ export type PosUpdateInput = {
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateInput = {
@@ -375,6 +381,7 @@ export type PosUncheckedUpdateInput = {
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateManyInput = {
@@ -641,6 +648,20 @@ export type PosUncheckedUpdateManyWithoutProviderNestedInput = {
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
}
export type PosCreateNestedOneWithoutSalesInvoicesInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutSalesInvoicesInput, Prisma.PosUncheckedCreateWithoutSalesInvoicesInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutSalesInvoicesInput
connect?: Prisma.PosWhereUniqueInput
}
export type PosUpdateOneRequiredWithoutSalesInvoicesNestedInput = {
create?: Prisma.XOR<Prisma.PosCreateWithoutSalesInvoicesInput, Prisma.PosUncheckedCreateWithoutSalesInvoicesInput>
connectOrCreate?: Prisma.PosCreateOrConnectWithoutSalesInvoicesInput
upsert?: Prisma.PosUpsertWithoutSalesInvoicesInput
connect?: Prisma.PosWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutSalesInvoicesInput, Prisma.PosUpdateWithoutSalesInvoicesInput>, Prisma.PosUncheckedUpdateWithoutSalesInvoicesInput>
}
export type PosCreateWithoutComplexInput = {
id?: string
name: string
@@ -654,6 +675,7 @@ export type PosCreateWithoutComplexInput = {
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutComplexInput = {
@@ -669,6 +691,7 @@ export type PosUncheckedCreateWithoutComplexInput = {
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutComplexInput = {
@@ -727,6 +750,7 @@ export type PosCreateWithoutDeviceInput = {
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutDeviceInput = {
@@ -742,6 +766,7 @@ export type PosUncheckedCreateWithoutDeviceInput = {
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutDeviceInput = {
@@ -783,6 +808,7 @@ export type PosCreateWithoutLicensesInput = {
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutLicensesInput = {
@@ -798,6 +824,7 @@ export type PosUncheckedCreateWithoutLicensesInput = {
device_id?: string | null
provider_id?: string | null
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutLicensesInput = {
@@ -829,6 +856,7 @@ export type PosUpdateWithoutLicensesInput = {
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutLicensesInput = {
@@ -844,6 +872,7 @@ export type PosUncheckedUpdateWithoutLicensesInput = {
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateWithoutPermissionPosInput = {
@@ -859,6 +888,7 @@ export type PosCreateWithoutPermissionPosInput = {
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutPermissionPosInput = {
@@ -874,6 +904,7 @@ export type PosUncheckedCreateWithoutPermissionPosInput = {
device_id?: string | null
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutPermissionPosInput = {
@@ -905,6 +936,7 @@ export type PosUpdateWithoutPermissionPosInput = {
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutPermissionPosInput = {
@@ -920,6 +952,7 @@ export type PosUncheckedUpdateWithoutPermissionPosInput = {
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateWithoutProviderInput = {
@@ -935,6 +968,7 @@ export type PosCreateWithoutProviderInput = {
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutProviderInput = {
@@ -950,6 +984,7 @@ export type PosUncheckedCreateWithoutProviderInput = {
device_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutProviderInput = {
@@ -978,6 +1013,86 @@ export type PosUpdateManyWithWhereWithoutProviderInput = {
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutProviderInput>
}
export type PosCreateWithoutSalesInvoicesInput = {
id?: string
name: string
serial: string
model?: string | null
status?: $Enums.POSStatus
pos_type: $Enums.POSType
created_at?: Date | string
updated_at?: Date | string
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
}
export type PosUncheckedCreateWithoutSalesInvoicesInput = {
id?: string
name: string
serial: string
model?: string | null
status?: $Enums.POSStatus
pos_type: $Enums.POSType
created_at?: Date | string
updated_at?: Date | string
complex_id: string
device_id?: string | null
provider_id?: string | null
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
}
export type PosCreateOrConnectWithoutSalesInvoicesInput = {
where: Prisma.PosWhereUniqueInput
create: Prisma.XOR<Prisma.PosCreateWithoutSalesInvoicesInput, Prisma.PosUncheckedCreateWithoutSalesInvoicesInput>
}
export type PosUpsertWithoutSalesInvoicesInput = {
update: Prisma.XOR<Prisma.PosUpdateWithoutSalesInvoicesInput, Prisma.PosUncheckedUpdateWithoutSalesInvoicesInput>
create: Prisma.XOR<Prisma.PosCreateWithoutSalesInvoicesInput, Prisma.PosUncheckedCreateWithoutSalesInvoicesInput>
where?: Prisma.PosWhereInput
}
export type PosUpdateToOneWithWhereWithoutSalesInvoicesInput = {
where?: Prisma.PosWhereInput
data: Prisma.XOR<Prisma.PosUpdateWithoutSalesInvoicesInput, Prisma.PosUncheckedUpdateWithoutSalesInvoicesInput>
}
export type PosUpdateWithoutSalesInvoicesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
serial?: Prisma.StringFieldUpdateOperationsInput | string
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutSalesInvoicesInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
serial?: Prisma.StringFieldUpdateOperationsInput | string
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
}
export type PosCreateManyComplexInput = {
id?: string
name: string
@@ -1004,6 +1119,7 @@ export type PosUpdateWithoutComplexInput = {
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutComplexInput = {
@@ -1019,6 +1135,7 @@ export type PosUncheckedUpdateWithoutComplexInput = {
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutComplexInput = {
@@ -1060,6 +1177,7 @@ export type PosUpdateWithoutDeviceInput = {
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutDeviceInput = {
@@ -1075,6 +1193,7 @@ export type PosUncheckedUpdateWithoutDeviceInput = {
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutDeviceInput = {
@@ -1116,6 +1235,7 @@ export type PosUpdateWithoutProviderInput = {
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateWithoutProviderInput = {
@@ -1131,6 +1251,7 @@ export type PosUncheckedUpdateWithoutProviderInput = {
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
}
export type PosUncheckedUpdateManyWithoutProviderInput = {
@@ -1154,11 +1275,13 @@ export type PosUncheckedUpdateManyWithoutProviderInput = {
export type PosCountOutputType = {
licenses: number
permissionPos: number
salesInvoices: number
}
export type PosCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
licenses?: boolean | PosCountOutputTypeCountLicensesArgs
permissionPos?: boolean | PosCountOutputTypeCountPermissionPosArgs
salesInvoices?: boolean | PosCountOutputTypeCountSalesInvoicesArgs
}
/**
@@ -1185,6 +1308,13 @@ export type PosCountOutputTypeCountPermissionPosArgs<ExtArgs extends runtime.Typ
where?: Prisma.PermissionPosWhereInput
}
/**
* PosCountOutputType without action
*/
export type PosCountOutputTypeCountSalesInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.SalesInvoiceWhereInput
}
export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
@@ -1203,6 +1333,7 @@ export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
salesInvoices?: boolean | Prisma.Pos$salesInvoicesArgs<ExtArgs>
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pos"]>
@@ -1229,6 +1360,7 @@ export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
salesInvoices?: boolean | Prisma.Pos$salesInvoicesArgs<ExtArgs>
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
}
@@ -1240,6 +1372,7 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
provider: Prisma.$ProviderPayload<ExtArgs> | null
licenses: Prisma.$LicensePayload<ExtArgs>[]
permissionPos: Prisma.$PermissionPosPayload<ExtArgs>[]
salesInvoices: Prisma.$SalesInvoicePayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
@@ -1598,6 +1731,7 @@ export interface Prisma__PosClient<T, Null = never, ExtArgs extends runtime.Type
provider<T extends Prisma.Pos$providerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$providerArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
licenses<T extends Prisma.Pos$licensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$licensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
permissionPos<T extends Prisma.Pos$permissionPosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$permissionPosArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
salesInvoices<T extends Prisma.Pos$salesInvoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$salesInvoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<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.
@@ -2066,6 +2200,30 @@ export type Pos$permissionPosArgs<ExtArgs extends runtime.Types.Extensions.Inter
distinct?: Prisma.PermissionPosScalarFieldEnum | Prisma.PermissionPosScalarFieldEnum[]
}
/**
* Pos.salesInvoices
*/
export type Pos$salesInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SalesInvoice
*/
select?: Prisma.SalesInvoiceSelect<ExtArgs> | null
/**
* Omit specific fields from the SalesInvoice
*/
omit?: Prisma.SalesInvoiceOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.SalesInvoiceInclude<ExtArgs> | null
where?: Prisma.SalesInvoiceWhereInput
orderBy?: Prisma.SalesInvoiceOrderByWithRelationInput | Prisma.SalesInvoiceOrderByWithRelationInput[]
cursor?: Prisma.SalesInvoiceWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.SalesInvoiceScalarFieldEnum | Prisma.SalesInvoiceScalarFieldEnum[]
}
/**
* Pos without action
*/