create license management
This commit is contained in:
@@ -233,7 +233,6 @@ export type PosWhereInput = {
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
permissionPos?: Prisma.PermissionPosListRelationFilter
|
||||
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}
|
||||
@@ -253,7 +252,6 @@ export type PosOrderByWithRelationInput = {
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
device?: Prisma.DeviceOrderByWithRelationInput
|
||||
provider?: Prisma.ProviderOrderByWithRelationInput
|
||||
licenses?: Prisma.LicenseOrderByRelationAggregateInput
|
||||
permissionPos?: Prisma.PermissionPosOrderByRelationAggregateInput
|
||||
salesInvoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.PosOrderByRelevanceInput
|
||||
@@ -277,7 +275,6 @@ export type PosWhereUniqueInput = Prisma.AtLeast<{
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
permissionPos?: Prisma.PermissionPosListRelationFilter
|
||||
salesInvoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}, "id" | "serial">
|
||||
@@ -328,7 +325,6 @@ export type PosCreateInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -345,7 +341,6 @@ export type PosUncheckedCreateInput = {
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -362,7 +357,6 @@ export type PosUpdateInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -379,7 +373,6 @@ export type PosUncheckedUpdateInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -578,20 +571,6 @@ export type PosUncheckedUpdateManyWithoutDeviceNestedInput = {
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutLicensesInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutLicensesInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUpdateOneRequiredWithoutLicensesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutLicensesInput
|
||||
upsert?: Prisma.PosUpsertWithoutLicensesInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutLicensesInput, Prisma.PosUpdateWithoutLicensesInput>, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutPermissionPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput
|
||||
@@ -673,7 +652,6 @@ export type PosCreateWithoutComplexInput = {
|
||||
updated_at?: Date | string
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -689,7 +667,6 @@ export type PosUncheckedCreateWithoutComplexInput = {
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -748,7 +725,6 @@ export type PosCreateWithoutDeviceInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -764,7 +740,6 @@ export type PosUncheckedCreateWithoutDeviceInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -795,86 +770,6 @@ export type PosUpdateManyWithWhereWithoutDeviceInput = {
|
||||
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutDeviceInput>
|
||||
}
|
||||
|
||||
export type PosCreateWithoutLicensesInput = {
|
||||
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
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutLicensesInput = {
|
||||
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
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutLicensesInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||||
}
|
||||
|
||||
export type PosUpsertWithoutLicensesInput = {
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutLicensesInput, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||||
where?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosUpdateToOneWithWhereWithoutLicensesInput = {
|
||||
where?: Prisma.PosWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutLicensesInput, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutLicensesInput = {
|
||||
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
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutLicensesInput = {
|
||||
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
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateWithoutPermissionPosInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -887,7 +782,6 @@ export type PosCreateWithoutPermissionPosInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -903,7 +797,6 @@ export type PosUncheckedCreateWithoutPermissionPosInput = {
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -935,7 +828,6 @@ export type PosUpdateWithoutPermissionPosInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -951,7 +843,6 @@ export type PosUncheckedUpdateWithoutPermissionPosInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -966,7 +857,6 @@ export type PosCreateWithoutProviderInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -982,7 +872,6 @@ export type PosUncheckedCreateWithoutProviderInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -1025,7 +914,6 @@ export type PosCreateWithoutSalesInvoicesInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -1041,7 +929,6 @@ export type PosUncheckedCreateWithoutSalesInvoicesInput = {
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -1073,7 +960,6 @@ export type PosUpdateWithoutSalesInvoicesInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -1089,7 +975,6 @@ export type PosUncheckedUpdateWithoutSalesInvoicesInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -1117,7 +1002,6 @@ export type PosUpdateWithoutComplexInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1133,7 +1017,6 @@ export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1175,7 +1058,6 @@ export type PosUpdateWithoutDeviceInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1191,7 +1073,6 @@ export type PosUncheckedUpdateWithoutDeviceInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1233,7 +1114,6 @@ export type PosUpdateWithoutProviderInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1249,7 +1129,6 @@ export type PosUncheckedUpdateWithoutProviderInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1273,13 +1152,11 @@ 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
|
||||
}
|
||||
@@ -1294,13 +1171,6 @@ export type PosCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensio
|
||||
select?: Prisma.PosCountOutputTypeSelect<ExtArgs> | null
|
||||
}
|
||||
|
||||
/**
|
||||
* PosCountOutputType without action
|
||||
*/
|
||||
export type PosCountOutputTypeCountLicensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.LicenseWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* PosCountOutputType without action
|
||||
*/
|
||||
@@ -1331,7 +1201,6 @@ export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
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>
|
||||
@@ -1358,7 +1227,6 @@ export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
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>
|
||||
@@ -1370,7 +1238,6 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
complex: Prisma.$ComplexPayload<ExtArgs>
|
||||
device: Prisma.$DevicePayload<ExtArgs> | null
|
||||
provider: Prisma.$ProviderPayload<ExtArgs> | null
|
||||
licenses: Prisma.$LicensePayload<ExtArgs>[]
|
||||
permissionPos: Prisma.$PermissionPosPayload<ExtArgs>[]
|
||||
salesInvoices: Prisma.$SalesInvoicePayload<ExtArgs>[]
|
||||
}
|
||||
@@ -1729,7 +1596,6 @@ export interface Prisma__PosClient<T, Null = never, ExtArgs extends runtime.Type
|
||||
complex<T extends Prisma.ComplexDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComplexDefaultArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
device<T extends Prisma.Pos$deviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$deviceArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
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>
|
||||
/**
|
||||
@@ -2152,30 +2018,6 @@ export type Pos$providerArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
where?: Prisma.ProviderWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Pos.licenses
|
||||
*/
|
||||
export type Pos$licensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the License
|
||||
*/
|
||||
select?: Prisma.LicenseSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the License
|
||||
*/
|
||||
omit?: Prisma.LicenseOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.LicenseInclude<ExtArgs> | null
|
||||
where?: Prisma.LicenseWhereInput
|
||||
orderBy?: Prisma.LicenseOrderByWithRelationInput | Prisma.LicenseOrderByWithRelationInput[]
|
||||
cursor?: Prisma.LicenseWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.LicenseScalarFieldEnum | Prisma.LicenseScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Pos.permissionPos
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user