/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Pos` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.js" import type * as Prisma from "../internal/prismaNamespace.js" /** * Model Pos * */ export type PosModel = runtime.Types.Result.DefaultSelection export type AggregatePos = { _count: PosCountAggregateOutputType | null _min: PosMinAggregateOutputType | null _max: PosMaxAggregateOutputType | null } export type PosMinAggregateOutputType = { id: string | null name: string | null serial: string | null model: string | null status: $Enums.POSStatus | null pos_type: $Enums.POSType | null created_at: Date | null updated_at: Date | null complex_id: string | null device_id: string | null provider_id: string | null } export type PosMaxAggregateOutputType = { id: string | null name: string | null serial: string | null model: string | null status: $Enums.POSStatus | null pos_type: $Enums.POSType | null created_at: Date | null updated_at: Date | null complex_id: string | null device_id: string | null provider_id: string | null } export type PosCountAggregateOutputType = { id: number name: number serial: number model: number status: number pos_type: number created_at: number updated_at: number complex_id: number device_id: number provider_id: number _all: number } export type PosMinAggregateInputType = { id?: true name?: true serial?: true model?: true status?: true pos_type?: true created_at?: true updated_at?: true complex_id?: true device_id?: true provider_id?: true } export type PosMaxAggregateInputType = { id?: true name?: true serial?: true model?: true status?: true pos_type?: true created_at?: true updated_at?: true complex_id?: true device_id?: true provider_id?: true } export type PosCountAggregateInputType = { id?: true name?: true serial?: true model?: true status?: true pos_type?: true created_at?: true updated_at?: true complex_id?: true device_id?: true provider_id?: true _all?: true } export type PosAggregateArgs = { /** * Filter which Pos to aggregate. */ where?: Prisma.PosWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pos to fetch. */ orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.PosWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pos from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Pos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Pos **/ _count?: true | PosCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PosMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PosMaxAggregateInputType } export type GetPosAggregateType = { [P in keyof T & keyof AggregatePos]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PosGroupByArgs = { where?: Prisma.PosWhereInput orderBy?: Prisma.PosOrderByWithAggregationInput | Prisma.PosOrderByWithAggregationInput[] by: Prisma.PosScalarFieldEnum[] | Prisma.PosScalarFieldEnum having?: Prisma.PosScalarWhereWithAggregatesInput take?: number skip?: number _count?: PosCountAggregateInputType | true _min?: PosMinAggregateInputType _max?: PosMaxAggregateInputType } export type PosGroupByOutputType = { id: string name: string serial: string model: string | null status: $Enums.POSStatus pos_type: $Enums.POSType created_at: Date updated_at: Date complex_id: string device_id: string | null provider_id: string | null _count: PosCountAggregateOutputType | null _min: PosMinAggregateOutputType | null _max: PosMaxAggregateOutputType | null } type GetPosGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PosGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type PosWhereInput = { AND?: Prisma.PosWhereInput | Prisma.PosWhereInput[] OR?: Prisma.PosWhereInput[] NOT?: Prisma.PosWhereInput | Prisma.PosWhereInput[] id?: Prisma.StringFilter<"Pos"> | string name?: Prisma.StringFilter<"Pos"> | string serial?: Prisma.StringFilter<"Pos"> | string model?: Prisma.StringNullableFilter<"Pos"> | string | null status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string complex_id?: Prisma.StringFilter<"Pos"> | string device_id?: Prisma.StringNullableFilter<"Pos"> | string | null provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null complex?: Prisma.XOR device?: Prisma.XOR | null provider?: Prisma.XOR | null permissionPos?: Prisma.PermissionPosListRelationFilter salesInvoices?: Prisma.SalesInvoiceListRelationFilter } export type PosOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder serial?: Prisma.SortOrder model?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder pos_type?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder complex_id?: Prisma.SortOrder device_id?: Prisma.SortOrderInput | Prisma.SortOrder provider_id?: Prisma.SortOrderInput | Prisma.SortOrder complex?: Prisma.ComplexOrderByWithRelationInput device?: Prisma.DeviceOrderByWithRelationInput provider?: Prisma.ProviderOrderByWithRelationInput permissionPos?: Prisma.PermissionPosOrderByRelationAggregateInput salesInvoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput _relevance?: Prisma.PosOrderByRelevanceInput } export type PosWhereUniqueInput = Prisma.AtLeast<{ id?: string serial?: string AND?: Prisma.PosWhereInput | Prisma.PosWhereInput[] OR?: Prisma.PosWhereInput[] NOT?: Prisma.PosWhereInput | Prisma.PosWhereInput[] name?: Prisma.StringFilter<"Pos"> | string model?: Prisma.StringNullableFilter<"Pos"> | string | null status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string complex_id?: Prisma.StringFilter<"Pos"> | string device_id?: Prisma.StringNullableFilter<"Pos"> | string | null provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null complex?: Prisma.XOR device?: Prisma.XOR | null provider?: Prisma.XOR | null permissionPos?: Prisma.PermissionPosListRelationFilter salesInvoices?: Prisma.SalesInvoiceListRelationFilter }, "id" | "serial"> export type PosOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder serial?: Prisma.SortOrder model?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder pos_type?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder complex_id?: Prisma.SortOrder device_id?: Prisma.SortOrderInput | Prisma.SortOrder provider_id?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.PosCountOrderByAggregateInput _max?: Prisma.PosMaxOrderByAggregateInput _min?: Prisma.PosMinOrderByAggregateInput } export type PosScalarWhereWithAggregatesInput = { AND?: Prisma.PosScalarWhereWithAggregatesInput | Prisma.PosScalarWhereWithAggregatesInput[] OR?: Prisma.PosScalarWhereWithAggregatesInput[] NOT?: Prisma.PosScalarWhereWithAggregatesInput | Prisma.PosScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Pos"> | string name?: Prisma.StringWithAggregatesFilter<"Pos"> | string serial?: Prisma.StringWithAggregatesFilter<"Pos"> | string model?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null status?: Prisma.EnumPOSStatusWithAggregatesFilter<"Pos"> | $Enums.POSStatus pos_type?: Prisma.EnumPOSTypeWithAggregatesFilter<"Pos"> | $Enums.POSType created_at?: Prisma.DateTimeWithAggregatesFilter<"Pos"> | Date | string updated_at?: Prisma.DateTimeWithAggregatesFilter<"Pos"> | Date | string complex_id?: Prisma.StringWithAggregatesFilter<"Pos"> | string device_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null provider_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null } export type PosCreateInput = { 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 PosUncheckedCreateInput = { 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 PosUpdateInput = { 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 PosUncheckedUpdateInput = { 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 PosCreateManyInput = { 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 } export type PosUpdateManyMutationInput = { 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 } export type PosUncheckedUpdateManyInput = { 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 } export type PosListRelationFilter = { every?: Prisma.PosWhereInput some?: Prisma.PosWhereInput none?: Prisma.PosWhereInput } export type PosOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type PosOrderByRelevanceInput = { fields: Prisma.PosOrderByRelevanceFieldEnum | Prisma.PosOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type PosCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder serial?: Prisma.SortOrder model?: Prisma.SortOrder status?: Prisma.SortOrder pos_type?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder complex_id?: Prisma.SortOrder device_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder } export type PosMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder serial?: Prisma.SortOrder model?: Prisma.SortOrder status?: Prisma.SortOrder pos_type?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder complex_id?: Prisma.SortOrder device_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder } export type PosMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder serial?: Prisma.SortOrder model?: Prisma.SortOrder status?: Prisma.SortOrder pos_type?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder complex_id?: Prisma.SortOrder device_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder } export type PosScalarRelationFilter = { is?: Prisma.PosWhereInput isNot?: Prisma.PosWhereInput } export type PosCreateNestedManyWithoutComplexInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[] createMany?: Prisma.PosCreateManyComplexInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUncheckedCreateNestedManyWithoutComplexInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[] createMany?: Prisma.PosCreateManyComplexInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUpdateManyWithoutComplexNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[] createMany?: Prisma.PosCreateManyComplexInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type PosUncheckedUpdateManyWithoutComplexNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[] createMany?: Prisma.PosCreateManyComplexInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type EnumPOSStatusFieldUpdateOperationsInput = { set?: $Enums.POSStatus } export type EnumPOSTypeFieldUpdateOperationsInput = { set?: $Enums.POSType } export type PosCreateNestedManyWithoutDeviceInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[] createMany?: Prisma.PosCreateManyDeviceInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUncheckedCreateNestedManyWithoutDeviceInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[] createMany?: Prisma.PosCreateManyDeviceInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUpdateManyWithoutDeviceNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput | Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput[] createMany?: Prisma.PosCreateManyDeviceInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput | Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutDeviceInput | Prisma.PosUpdateManyWithWhereWithoutDeviceInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type PosUncheckedUpdateManyWithoutDeviceNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput | Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput[] createMany?: Prisma.PosCreateManyDeviceInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput | Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutDeviceInput | Prisma.PosUpdateManyWithWhereWithoutDeviceInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type PosCreateNestedOneWithoutPermissionPosInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput connect?: Prisma.PosWhereUniqueInput } export type PosUpdateOneRequiredWithoutPermissionPosNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput upsert?: Prisma.PosUpsertWithoutPermissionPosInput connect?: Prisma.PosWhereUniqueInput update?: Prisma.XOR, Prisma.PosUncheckedUpdateWithoutPermissionPosInput> } export type PosCreateNestedManyWithoutProviderInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[] createMany?: Prisma.PosCreateManyProviderInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUncheckedCreateNestedManyWithoutProviderInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[] createMany?: Prisma.PosCreateManyProviderInputEnvelope connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] } export type PosUpdateManyWithoutProviderNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutProviderInput | Prisma.PosUpsertWithWhereUniqueWithoutProviderInput[] createMany?: Prisma.PosCreateManyProviderInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutProviderInput | Prisma.PosUpdateWithWhereUniqueWithoutProviderInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutProviderInput | Prisma.PosUpdateManyWithWhereWithoutProviderInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type PosUncheckedUpdateManyWithoutProviderNestedInput = { create?: Prisma.XOR | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[] upsert?: Prisma.PosUpsertWithWhereUniqueWithoutProviderInput | Prisma.PosUpsertWithWhereUniqueWithoutProviderInput[] createMany?: Prisma.PosCreateManyProviderInputEnvelope set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[] update?: Prisma.PosUpdateWithWhereUniqueWithoutProviderInput | Prisma.PosUpdateWithWhereUniqueWithoutProviderInput[] updateMany?: Prisma.PosUpdateManyWithWhereWithoutProviderInput | Prisma.PosUpdateManyWithWhereWithoutProviderInput[] deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] } export type PosCreateNestedOneWithoutSalesInvoicesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PosCreateOrConnectWithoutSalesInvoicesInput connect?: Prisma.PosWhereUniqueInput } export type PosUpdateOneRequiredWithoutSalesInvoicesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PosCreateOrConnectWithoutSalesInvoicesInput upsert?: Prisma.PosUpsertWithoutSalesInvoicesInput connect?: Prisma.PosWhereUniqueInput update?: Prisma.XOR, Prisma.PosUncheckedUpdateWithoutSalesInvoicesInput> } export type PosCreateWithoutComplexInput = { id?: string name: string serial: string model?: string | null status?: $Enums.POSStatus pos_type: $Enums.POSType created_at?: Date | string updated_at?: Date | string device?: Prisma.DeviceCreateNestedOneWithoutPosesInput provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput } export type PosUncheckedCreateWithoutComplexInput = { id?: string name: string serial: string model?: string | null status?: $Enums.POSStatus pos_type: $Enums.POSType created_at?: Date | string updated_at?: Date | string device_id?: string | null provider_id?: string | null permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput } export type PosCreateOrConnectWithoutComplexInput = { where: Prisma.PosWhereUniqueInput create: Prisma.XOR } export type PosCreateManyComplexInputEnvelope = { data: Prisma.PosCreateManyComplexInput | Prisma.PosCreateManyComplexInput[] skipDuplicates?: boolean } export type PosUpsertWithWhereUniqueWithoutComplexInput = { where: Prisma.PosWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PosUpdateWithWhereUniqueWithoutComplexInput = { where: Prisma.PosWhereUniqueInput data: Prisma.XOR } export type PosUpdateManyWithWhereWithoutComplexInput = { where: Prisma.PosScalarWhereInput data: Prisma.XOR } export type PosScalarWhereInput = { AND?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] OR?: Prisma.PosScalarWhereInput[] NOT?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[] id?: Prisma.StringFilter<"Pos"> | string name?: Prisma.StringFilter<"Pos"> | string serial?: Prisma.StringFilter<"Pos"> | string model?: Prisma.StringNullableFilter<"Pos"> | string | null status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string complex_id?: Prisma.StringFilter<"Pos"> | string device_id?: Prisma.StringNullableFilter<"Pos"> | string | null provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null } export type PosCreateWithoutDeviceInput = { 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 provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput } export type PosUncheckedCreateWithoutDeviceInput = { 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 provider_id?: string | null permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput } export type PosCreateOrConnectWithoutDeviceInput = { where: Prisma.PosWhereUniqueInput create: Prisma.XOR } export type PosCreateManyDeviceInputEnvelope = { data: Prisma.PosCreateManyDeviceInput | Prisma.PosCreateManyDeviceInput[] skipDuplicates?: boolean } export type PosUpsertWithWhereUniqueWithoutDeviceInput = { where: Prisma.PosWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PosUpdateWithWhereUniqueWithoutDeviceInput = { where: Prisma.PosWhereUniqueInput data: Prisma.XOR } export type PosUpdateManyWithWhereWithoutDeviceInput = { where: Prisma.PosScalarWhereInput data: Prisma.XOR } export type PosCreateWithoutPermissionPosInput = { 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 salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput } export type PosUncheckedCreateWithoutPermissionPosInput = { 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 salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput } export type PosCreateOrConnectWithoutPermissionPosInput = { where: Prisma.PosWhereUniqueInput create: Prisma.XOR } export type PosUpsertWithoutPermissionPosInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.PosWhereInput } export type PosUpdateToOneWithWhereWithoutPermissionPosInput = { where?: Prisma.PosWhereInput data: Prisma.XOR } export type PosUpdateWithoutPermissionPosInput = { 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 salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateWithoutPermissionPosInput = { 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 salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput } export type PosCreateWithoutProviderInput = { 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 permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput } export type PosUncheckedCreateWithoutProviderInput = { 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 permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput salesInvoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput } export type PosCreateOrConnectWithoutProviderInput = { where: Prisma.PosWhereUniqueInput create: Prisma.XOR } export type PosCreateManyProviderInputEnvelope = { data: Prisma.PosCreateManyProviderInput | Prisma.PosCreateManyProviderInput[] skipDuplicates?: boolean } export type PosUpsertWithWhereUniqueWithoutProviderInput = { where: Prisma.PosWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PosUpdateWithWhereUniqueWithoutProviderInput = { where: Prisma.PosWhereUniqueInput data: Prisma.XOR } export type PosUpdateManyWithWhereWithoutProviderInput = { where: Prisma.PosScalarWhereInput data: Prisma.XOR } 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 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 permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput } export type PosCreateOrConnectWithoutSalesInvoicesInput = { where: Prisma.PosWhereUniqueInput create: Prisma.XOR } export type PosUpsertWithoutSalesInvoicesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.PosWhereInput } export type PosUpdateToOneWithWhereWithoutSalesInvoicesInput = { where?: Prisma.PosWhereInput data: Prisma.XOR } 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 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 permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput } export type PosCreateManyComplexInput = { id?: string name: string serial: string model?: string | null status?: $Enums.POSStatus pos_type: $Enums.POSType created_at?: Date | string updated_at?: Date | string device_id?: string | null provider_id?: string | null } export type PosUpdateWithoutComplexInput = { 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 device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateWithoutComplexInput = { 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 device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateManyWithoutComplexInput = { 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 device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type PosCreateManyDeviceInput = { 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 provider_id?: string | null } export type PosUpdateWithoutDeviceInput = { 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 provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateWithoutDeviceInput = { 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 provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateManyWithoutDeviceInput = { 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 provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type PosCreateManyProviderInput = { 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 } export type PosUpdateWithoutProviderInput = { 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 permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateWithoutProviderInput = { 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 permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput salesInvoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput } export type PosUncheckedUpdateManyWithoutProviderInput = { 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 } /** * Count Type PosCountOutputType */ export type PosCountOutputType = { permissionPos: number salesInvoices: number } export type PosCountOutputTypeSelect = { permissionPos?: boolean | PosCountOutputTypeCountPermissionPosArgs salesInvoices?: boolean | PosCountOutputTypeCountSalesInvoicesArgs } /** * PosCountOutputType without action */ export type PosCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the PosCountOutputType */ select?: Prisma.PosCountOutputTypeSelect | null } /** * PosCountOutputType without action */ export type PosCountOutputTypeCountPermissionPosArgs = { where?: Prisma.PermissionPosWhereInput } /** * PosCountOutputType without action */ export type PosCountOutputTypeCountSalesInvoicesArgs = { where?: Prisma.SalesInvoiceWhereInput } export type PosSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean serial?: boolean model?: boolean status?: boolean pos_type?: boolean created_at?: boolean updated_at?: boolean complex_id?: boolean device_id?: boolean provider_id?: boolean complex?: boolean | Prisma.ComplexDefaultArgs device?: boolean | Prisma.Pos$deviceArgs provider?: boolean | Prisma.Pos$providerArgs permissionPos?: boolean | Prisma.Pos$permissionPosArgs salesInvoices?: boolean | Prisma.Pos$salesInvoicesArgs _count?: boolean | Prisma.PosCountOutputTypeDefaultArgs }, ExtArgs["result"]["pos"]> export type PosSelectScalar = { id?: boolean name?: boolean serial?: boolean model?: boolean status?: boolean pos_type?: boolean created_at?: boolean updated_at?: boolean complex_id?: boolean device_id?: boolean provider_id?: boolean } export type PosOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "serial" | "model" | "status" | "pos_type" | "created_at" | "updated_at" | "complex_id" | "device_id" | "provider_id", ExtArgs["result"]["pos"]> export type PosInclude = { complex?: boolean | Prisma.ComplexDefaultArgs device?: boolean | Prisma.Pos$deviceArgs provider?: boolean | Prisma.Pos$providerArgs permissionPos?: boolean | Prisma.Pos$permissionPosArgs salesInvoices?: boolean | Prisma.Pos$salesInvoicesArgs _count?: boolean | Prisma.PosCountOutputTypeDefaultArgs } export type $PosPayload = { name: "Pos" objects: { complex: Prisma.$ComplexPayload device: Prisma.$DevicePayload | null provider: Prisma.$ProviderPayload | null permissionPos: Prisma.$PermissionPosPayload[] salesInvoices: Prisma.$SalesInvoicePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string serial: string model: string | null status: $Enums.POSStatus pos_type: $Enums.POSType created_at: Date updated_at: Date complex_id: string device_id: string | null provider_id: string | null }, ExtArgs["result"]["pos"]> composites: {} } export type PosGetPayload = runtime.Types.Result.GetResult export type PosCountArgs = Omit & { select?: PosCountAggregateInputType | true } export interface PosDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Pos'], meta: { name: 'Pos' } } /** * Find zero or one Pos that matches the filter. * @param {PosFindUniqueArgs} args - Arguments to find a Pos * @example * // Get one Pos * const pos = await prisma.pos.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Pos that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PosFindUniqueOrThrowArgs} args - Arguments to find a Pos * @example * // Get one Pos * const pos = await prisma.pos.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Pos that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosFindFirstArgs} args - Arguments to find a Pos * @example * // Get one Pos * const pos = await prisma.pos.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Pos that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosFindFirstOrThrowArgs} args - Arguments to find a Pos * @example * // Get one Pos * const pos = await prisma.pos.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Pos that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Pos * const pos = await prisma.pos.findMany() * * // Get first 10 Pos * const pos = await prisma.pos.findMany({ take: 10 }) * * // Only select the `id` * const posWithIdOnly = await prisma.pos.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Pos. * @param {PosCreateArgs} args - Arguments to create a Pos. * @example * // Create one Pos * const Pos = await prisma.pos.create({ * data: { * // ... data to create a Pos * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Pos. * @param {PosCreateManyArgs} args - Arguments to create many Pos. * @example * // Create many Pos * const pos = await prisma.pos.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Pos. * @param {PosDeleteArgs} args - Arguments to delete one Pos. * @example * // Delete one Pos * const Pos = await prisma.pos.delete({ * where: { * // ... filter to delete one Pos * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Pos. * @param {PosUpdateArgs} args - Arguments to update one Pos. * @example * // Update one Pos * const pos = await prisma.pos.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Pos. * @param {PosDeleteManyArgs} args - Arguments to filter Pos to delete. * @example * // Delete a few Pos * const { count } = await prisma.pos.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Pos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Pos * const pos = await prisma.pos.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Pos. * @param {PosUpsertArgs} args - Arguments to update or create a Pos. * @example * // Update or create a Pos * const pos = await prisma.pos.upsert({ * create: { * // ... data to create a Pos * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Pos we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PosClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Pos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosCountArgs} args - Arguments to filter Pos to count. * @example * // Count the number of Pos * const count = await prisma.pos.count({ * where: { * // ... the filter for the Pos we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Pos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Pos. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends PosGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PosGroupByArgs['orderBy'] } : { orderBy?: PosGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetPosGroupByPayload : Prisma.PrismaPromise /** * Fields of the Pos model */ readonly fields: PosFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Pos. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__PosClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" complex = {}>(args?: Prisma.Subset>): Prisma.Prisma__ComplexClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> device = {}>(args?: Prisma.Subset>): Prisma.Prisma__DeviceClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> provider = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> permissionPos = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> salesInvoices = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the Pos model */ export interface PosFieldRefs { readonly id: Prisma.FieldRef<"Pos", 'String'> readonly name: Prisma.FieldRef<"Pos", 'String'> readonly serial: Prisma.FieldRef<"Pos", 'String'> readonly model: Prisma.FieldRef<"Pos", 'String'> readonly status: Prisma.FieldRef<"Pos", 'POSStatus'> readonly pos_type: Prisma.FieldRef<"Pos", 'POSType'> readonly created_at: Prisma.FieldRef<"Pos", 'DateTime'> readonly updated_at: Prisma.FieldRef<"Pos", 'DateTime'> readonly complex_id: Prisma.FieldRef<"Pos", 'String'> readonly device_id: Prisma.FieldRef<"Pos", 'String'> readonly provider_id: Prisma.FieldRef<"Pos", 'String'> } // Custom InputTypes /** * Pos findUnique */ export type PosFindUniqueArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter, which Pos to fetch. */ where: Prisma.PosWhereUniqueInput } /** * Pos findUniqueOrThrow */ export type PosFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter, which Pos to fetch. */ where: Prisma.PosWhereUniqueInput } /** * Pos findFirst */ export type PosFindFirstArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter, which Pos to fetch. */ where?: Prisma.PosWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pos to fetch. */ orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Pos. */ cursor?: Prisma.PosWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pos from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Pos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Pos. */ distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[] } /** * Pos findFirstOrThrow */ export type PosFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter, which Pos to fetch. */ where?: Prisma.PosWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pos to fetch. */ orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Pos. */ cursor?: Prisma.PosWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pos from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Pos. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Pos. */ distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[] } /** * Pos findMany */ export type PosFindManyArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter, which Pos to fetch. */ where?: Prisma.PosWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pos to fetch. */ orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Pos. */ cursor?: Prisma.PosWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pos from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Pos. */ skip?: number distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[] } /** * Pos create */ export type PosCreateArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * The data needed to create a Pos. */ data: Prisma.XOR } /** * Pos createMany */ export type PosCreateManyArgs = { /** * The data used to create many Pos. */ data: Prisma.PosCreateManyInput | Prisma.PosCreateManyInput[] skipDuplicates?: boolean } /** * Pos update */ export type PosUpdateArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * The data needed to update a Pos. */ data: Prisma.XOR /** * Choose, which Pos to update. */ where: Prisma.PosWhereUniqueInput } /** * Pos updateMany */ export type PosUpdateManyArgs = { /** * The data used to update Pos. */ data: Prisma.XOR /** * Filter which Pos to update */ where?: Prisma.PosWhereInput /** * Limit how many Pos to update. */ limit?: number } /** * Pos upsert */ export type PosUpsertArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * The filter to search for the Pos to update in case it exists. */ where: Prisma.PosWhereUniqueInput /** * In case the Pos found by the `where` argument doesn't exist, create a new Pos with this data. */ create: Prisma.XOR /** * In case the Pos was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Pos delete */ export type PosDeleteArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null /** * Filter which Pos to delete. */ where: Prisma.PosWhereUniqueInput } /** * Pos deleteMany */ export type PosDeleteManyArgs = { /** * Filter which Pos to delete */ where?: Prisma.PosWhereInput /** * Limit how many Pos to delete. */ limit?: number } /** * Pos.device */ export type Pos$deviceArgs = { /** * Select specific fields to fetch from the Device */ select?: Prisma.DeviceSelect | null /** * Omit specific fields from the Device */ omit?: Prisma.DeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceInclude | null where?: Prisma.DeviceWhereInput } /** * Pos.provider */ export type Pos$providerArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null where?: Prisma.ProviderWhereInput } /** * Pos.permissionPos */ export type Pos$permissionPosArgs = { /** * Select specific fields to fetch from the PermissionPos */ select?: Prisma.PermissionPosSelect | null /** * Omit specific fields from the PermissionPos */ omit?: Prisma.PermissionPosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PermissionPosInclude | null where?: Prisma.PermissionPosWhereInput orderBy?: Prisma.PermissionPosOrderByWithRelationInput | Prisma.PermissionPosOrderByWithRelationInput[] cursor?: Prisma.PermissionPosWhereUniqueInput take?: number skip?: number distinct?: Prisma.PermissionPosScalarFieldEnum | Prisma.PermissionPosScalarFieldEnum[] } /** * Pos.salesInvoices */ export type Pos$salesInvoicesArgs = { /** * Select specific fields to fetch from the SalesInvoice */ select?: Prisma.SalesInvoiceSelect | null /** * Omit specific fields from the SalesInvoice */ omit?: Prisma.SalesInvoiceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoiceInclude | null where?: Prisma.SalesInvoiceWhereInput orderBy?: Prisma.SalesInvoiceOrderByWithRelationInput | Prisma.SalesInvoiceOrderByWithRelationInput[] cursor?: Prisma.SalesInvoiceWhereUniqueInput take?: number skip?: number distinct?: Prisma.SalesInvoiceScalarFieldEnum | Prisma.SalesInvoiceScalarFieldEnum[] } /** * Pos without action */ export type PosDefaultArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null }