/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SalesInvoicePayment` 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 SalesInvoicePayment * */ export type SalesInvoicePaymentModel = runtime.Types.Result.DefaultSelection export type AggregateSalesInvoicePayment = { _count: SalesInvoicePaymentCountAggregateOutputType | null _avg: SalesInvoicePaymentAvgAggregateOutputType | null _sum: SalesInvoicePaymentSumAggregateOutputType | null _min: SalesInvoicePaymentMinAggregateOutputType | null _max: SalesInvoicePaymentMaxAggregateOutputType | null } export type SalesInvoicePaymentAvgAggregateOutputType = { amount: runtime.Decimal | null } export type SalesInvoicePaymentSumAggregateOutputType = { amount: runtime.Decimal | null } export type SalesInvoicePaymentMinAggregateOutputType = { id: string | null amount: runtime.Decimal | null payment_method: $Enums.PaymentMethodType | null paid_at: Date | null created_at: Date | null invoice_id: string | null } export type SalesInvoicePaymentMaxAggregateOutputType = { id: string | null amount: runtime.Decimal | null payment_method: $Enums.PaymentMethodType | null paid_at: Date | null created_at: Date | null invoice_id: string | null } export type SalesInvoicePaymentCountAggregateOutputType = { id: number amount: number payment_method: number paid_at: number created_at: number invoice_id: number _all: number } export type SalesInvoicePaymentAvgAggregateInputType = { amount?: true } export type SalesInvoicePaymentSumAggregateInputType = { amount?: true } export type SalesInvoicePaymentMinAggregateInputType = { id?: true amount?: true payment_method?: true paid_at?: true created_at?: true invoice_id?: true } export type SalesInvoicePaymentMaxAggregateInputType = { id?: true amount?: true payment_method?: true paid_at?: true created_at?: true invoice_id?: true } export type SalesInvoicePaymentCountAggregateInputType = { id?: true amount?: true payment_method?: true paid_at?: true created_at?: true invoice_id?: true _all?: true } export type SalesInvoicePaymentAggregateArgs = { /** * Filter which SalesInvoicePayment to aggregate. */ where?: Prisma.SalesInvoicePaymentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SalesInvoicePayments to fetch. */ orderBy?: Prisma.SalesInvoicePaymentOrderByWithRelationInput | Prisma.SalesInvoicePaymentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SalesInvoicePaymentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SalesInvoicePayments 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` SalesInvoicePayments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SalesInvoicePayments **/ _count?: true | SalesInvoicePaymentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SalesInvoicePaymentAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SalesInvoicePaymentSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SalesInvoicePaymentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SalesInvoicePaymentMaxAggregateInputType } export type GetSalesInvoicePaymentAggregateType = { [P in keyof T & keyof AggregateSalesInvoicePayment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SalesInvoicePaymentGroupByArgs = { where?: Prisma.SalesInvoicePaymentWhereInput orderBy?: Prisma.SalesInvoicePaymentOrderByWithAggregationInput | Prisma.SalesInvoicePaymentOrderByWithAggregationInput[] by: Prisma.SalesInvoicePaymentScalarFieldEnum[] | Prisma.SalesInvoicePaymentScalarFieldEnum having?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput take?: number skip?: number _count?: SalesInvoicePaymentCountAggregateInputType | true _avg?: SalesInvoicePaymentAvgAggregateInputType _sum?: SalesInvoicePaymentSumAggregateInputType _min?: SalesInvoicePaymentMinAggregateInputType _max?: SalesInvoicePaymentMaxAggregateInputType } export type SalesInvoicePaymentGroupByOutputType = { id: string amount: runtime.Decimal payment_method: $Enums.PaymentMethodType paid_at: Date created_at: Date invoice_id: string _count: SalesInvoicePaymentCountAggregateOutputType | null _avg: SalesInvoicePaymentAvgAggregateOutputType | null _sum: SalesInvoicePaymentSumAggregateOutputType | null _min: SalesInvoicePaymentMinAggregateOutputType | null _max: SalesInvoicePaymentMaxAggregateOutputType | null } export type GetSalesInvoicePaymentGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SalesInvoicePaymentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SalesInvoicePaymentWhereInput = { AND?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[] OR?: Prisma.SalesInvoicePaymentWhereInput[] NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[] id?: Prisma.StringFilter<"SalesInvoicePayment"> | string amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string terminal_info?: Prisma.XOR | null invoice?: Prisma.XOR } export type SalesInvoicePaymentOrderByWithRelationInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder payment_method?: Prisma.SortOrder paid_at?: Prisma.SortOrder created_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoOrderByWithRelationInput invoice?: Prisma.SalesInvoiceOrderByWithRelationInput _relevance?: Prisma.SalesInvoicePaymentOrderByRelevanceInput } export type SalesInvoicePaymentWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[] OR?: Prisma.SalesInvoicePaymentWhereInput[] NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[] amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string terminal_info?: Prisma.XOR | null invoice?: Prisma.XOR }, "id"> export type SalesInvoicePaymentOrderByWithAggregationInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder payment_method?: Prisma.SortOrder paid_at?: Prisma.SortOrder created_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder _count?: Prisma.SalesInvoicePaymentCountOrderByAggregateInput _avg?: Prisma.SalesInvoicePaymentAvgOrderByAggregateInput _max?: Prisma.SalesInvoicePaymentMaxOrderByAggregateInput _min?: Prisma.SalesInvoicePaymentMinOrderByAggregateInput _sum?: Prisma.SalesInvoicePaymentSumOrderByAggregateInput } export type SalesInvoicePaymentScalarWhereWithAggregatesInput = { AND?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput | Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[] OR?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[] NOT?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput | Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string amount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeWithAggregatesFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string } export type SalesInvoicePaymentCreateInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoCreateNestedOneWithoutPaymentInput invoice: Prisma.SalesInvoiceCreateNestedOneWithoutPaymentsInput } export type SalesInvoicePaymentUncheckedCreateInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string invoice_id: string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUncheckedCreateNestedOneWithoutPaymentInput } export type SalesInvoicePaymentUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUpdateOneWithoutPaymentNestedInput invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutPaymentsNestedInput } export type SalesInvoicePaymentUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUncheckedUpdateOneWithoutPaymentNestedInput } export type SalesInvoicePaymentCreateManyInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string invoice_id: string } export type SalesInvoicePaymentUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SalesInvoicePaymentUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string } export type SalesInvoicePaymentListRelationFilter = { every?: Prisma.SalesInvoicePaymentWhereInput some?: Prisma.SalesInvoicePaymentWhereInput none?: Prisma.SalesInvoicePaymentWhereInput } export type SalesInvoicePaymentOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type SalesInvoicePaymentOrderByRelevanceInput = { fields: Prisma.SalesInvoicePaymentOrderByRelevanceFieldEnum | Prisma.SalesInvoicePaymentOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type SalesInvoicePaymentCountOrderByAggregateInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder payment_method?: Prisma.SortOrder paid_at?: Prisma.SortOrder created_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SalesInvoicePaymentAvgOrderByAggregateInput = { amount?: Prisma.SortOrder } export type SalesInvoicePaymentMaxOrderByAggregateInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder payment_method?: Prisma.SortOrder paid_at?: Prisma.SortOrder created_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SalesInvoicePaymentMinOrderByAggregateInput = { id?: Prisma.SortOrder amount?: Prisma.SortOrder payment_method?: Prisma.SortOrder paid_at?: Prisma.SortOrder created_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SalesInvoicePaymentSumOrderByAggregateInput = { amount?: Prisma.SortOrder } export type SalesInvoicePaymentScalarRelationFilter = { is?: Prisma.SalesInvoicePaymentWhereInput isNot?: Prisma.SalesInvoicePaymentWhereInput } export type SalesInvoicePaymentCreateNestedManyWithoutInvoiceInput = { create?: Prisma.XOR | Prisma.SalesInvoicePaymentCreateWithoutInvoiceInput[] | Prisma.SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput[] connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput | Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput[] createMany?: Prisma.SalesInvoicePaymentCreateManyInvoiceInputEnvelope connect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] } export type SalesInvoicePaymentUncheckedCreateNestedManyWithoutInvoiceInput = { create?: Prisma.XOR | Prisma.SalesInvoicePaymentCreateWithoutInvoiceInput[] | Prisma.SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput[] connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput | Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput[] createMany?: Prisma.SalesInvoicePaymentCreateManyInvoiceInputEnvelope connect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] } export type SalesInvoicePaymentUpdateManyWithoutInvoiceNestedInput = { create?: Prisma.XOR | Prisma.SalesInvoicePaymentCreateWithoutInvoiceInput[] | Prisma.SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput[] connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput | Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput[] upsert?: Prisma.SalesInvoicePaymentUpsertWithWhereUniqueWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpsertWithWhereUniqueWithoutInvoiceInput[] createMany?: Prisma.SalesInvoicePaymentCreateManyInvoiceInputEnvelope set?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] disconnect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] delete?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] connect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] update?: Prisma.SalesInvoicePaymentUpdateWithWhereUniqueWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpdateWithWhereUniqueWithoutInvoiceInput[] updateMany?: Prisma.SalesInvoicePaymentUpdateManyWithWhereWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpdateManyWithWhereWithoutInvoiceInput[] deleteMany?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[] } export type SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceNestedInput = { create?: Prisma.XOR | Prisma.SalesInvoicePaymentCreateWithoutInvoiceInput[] | Prisma.SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput[] connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput | Prisma.SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput[] upsert?: Prisma.SalesInvoicePaymentUpsertWithWhereUniqueWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpsertWithWhereUniqueWithoutInvoiceInput[] createMany?: Prisma.SalesInvoicePaymentCreateManyInvoiceInputEnvelope set?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] disconnect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] delete?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] connect?: Prisma.SalesInvoicePaymentWhereUniqueInput | Prisma.SalesInvoicePaymentWhereUniqueInput[] update?: Prisma.SalesInvoicePaymentUpdateWithWhereUniqueWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpdateWithWhereUniqueWithoutInvoiceInput[] updateMany?: Prisma.SalesInvoicePaymentUpdateManyWithWhereWithoutInvoiceInput | Prisma.SalesInvoicePaymentUpdateManyWithWhereWithoutInvoiceInput[] deleteMany?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[] } export type EnumPaymentMethodTypeFieldUpdateOperationsInput = { set?: $Enums.PaymentMethodType } export type SalesInvoicePaymentCreateNestedOneWithoutTerminal_infoInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutTerminal_infoInput connect?: Prisma.SalesInvoicePaymentWhereUniqueInput } export type SalesInvoicePaymentUpdateOneRequiredWithoutTerminal_infoNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SalesInvoicePaymentCreateOrConnectWithoutTerminal_infoInput upsert?: Prisma.SalesInvoicePaymentUpsertWithoutTerminal_infoInput connect?: Prisma.SalesInvoicePaymentWhereUniqueInput update?: Prisma.XOR, Prisma.SalesInvoicePaymentUncheckedUpdateWithoutTerminal_infoInput> } export type SalesInvoicePaymentCreateWithoutInvoiceInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoCreateNestedOneWithoutPaymentInput } export type SalesInvoicePaymentUncheckedCreateWithoutInvoiceInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUncheckedCreateNestedOneWithoutPaymentInput } export type SalesInvoicePaymentCreateOrConnectWithoutInvoiceInput = { where: Prisma.SalesInvoicePaymentWhereUniqueInput create: Prisma.XOR } export type SalesInvoicePaymentCreateManyInvoiceInputEnvelope = { data: Prisma.SalesInvoicePaymentCreateManyInvoiceInput | Prisma.SalesInvoicePaymentCreateManyInvoiceInput[] skipDuplicates?: boolean } export type SalesInvoicePaymentUpsertWithWhereUniqueWithoutInvoiceInput = { where: Prisma.SalesInvoicePaymentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type SalesInvoicePaymentUpdateWithWhereUniqueWithoutInvoiceInput = { where: Prisma.SalesInvoicePaymentWhereUniqueInput data: Prisma.XOR } export type SalesInvoicePaymentUpdateManyWithWhereWithoutInvoiceInput = { where: Prisma.SalesInvoicePaymentScalarWhereInput data: Prisma.XOR } export type SalesInvoicePaymentScalarWhereInput = { AND?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[] OR?: Prisma.SalesInvoicePaymentScalarWhereInput[] NOT?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[] id?: Prisma.StringFilter<"SalesInvoicePayment"> | string amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string } export type SalesInvoicePaymentCreateWithoutTerminal_infoInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string invoice: Prisma.SalesInvoiceCreateNestedOneWithoutPaymentsInput } export type SalesInvoicePaymentUncheckedCreateWithoutTerminal_infoInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string invoice_id: string } export type SalesInvoicePaymentCreateOrConnectWithoutTerminal_infoInput = { where: Prisma.SalesInvoicePaymentWhereUniqueInput create: Prisma.XOR } export type SalesInvoicePaymentUpsertWithoutTerminal_infoInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.SalesInvoicePaymentWhereInput } export type SalesInvoicePaymentUpdateToOneWithWhereWithoutTerminal_infoInput = { where?: Prisma.SalesInvoicePaymentWhereInput data: Prisma.XOR } export type SalesInvoicePaymentUpdateWithoutTerminal_infoInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutPaymentsNestedInput } export type SalesInvoicePaymentUncheckedUpdateWithoutTerminal_infoInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string } export type SalesInvoicePaymentCreateManyInvoiceInput = { id?: string amount: runtime.Decimal | runtime.DecimalJsLike | number | string payment_method: $Enums.PaymentMethodType paid_at: Date | string created_at?: Date | string } export type SalesInvoicePaymentUpdateWithoutInvoiceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUpdateOneWithoutPaymentNestedInput } export type SalesInvoicePaymentUncheckedUpdateWithoutInvoiceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string terminal_info?: Prisma.SalesInvoicePaymentTerminalInfoUncheckedUpdateOneWithoutPaymentNestedInput } export type SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SalesInvoicePaymentSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean amount?: boolean payment_method?: boolean paid_at?: boolean created_at?: boolean invoice_id?: boolean terminal_info?: boolean | Prisma.SalesInvoicePayment$terminal_infoArgs invoice?: boolean | Prisma.SalesInvoiceDefaultArgs }, ExtArgs["result"]["salesInvoicePayment"]> export type SalesInvoicePaymentSelectScalar = { id?: boolean amount?: boolean payment_method?: boolean paid_at?: boolean created_at?: boolean invoice_id?: boolean } export type SalesInvoicePaymentOmit = runtime.Types.Extensions.GetOmit<"id" | "amount" | "payment_method" | "paid_at" | "created_at" | "invoice_id", ExtArgs["result"]["salesInvoicePayment"]> export type SalesInvoicePaymentInclude = { terminal_info?: boolean | Prisma.SalesInvoicePayment$terminal_infoArgs invoice?: boolean | Prisma.SalesInvoiceDefaultArgs } export type $SalesInvoicePaymentPayload = { name: "SalesInvoicePayment" objects: { terminal_info: Prisma.$SalesInvoicePaymentTerminalInfoPayload | null invoice: Prisma.$SalesInvoicePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string amount: runtime.Decimal payment_method: $Enums.PaymentMethodType paid_at: Date created_at: Date invoice_id: string }, ExtArgs["result"]["salesInvoicePayment"]> composites: {} } export type SalesInvoicePaymentGetPayload = runtime.Types.Result.GetResult export type SalesInvoicePaymentCountArgs = Omit & { select?: SalesInvoicePaymentCountAggregateInputType | true } export interface SalesInvoicePaymentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SalesInvoicePayment'], meta: { name: 'SalesInvoicePayment' } } /** * Find zero or one SalesInvoicePayment that matches the filter. * @param {SalesInvoicePaymentFindUniqueArgs} args - Arguments to find a SalesInvoicePayment * @example * // Get one SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SalesInvoicePayment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SalesInvoicePaymentFindUniqueOrThrowArgs} args - Arguments to find a SalesInvoicePayment * @example * // Get one SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SalesInvoicePayment 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 {SalesInvoicePaymentFindFirstArgs} args - Arguments to find a SalesInvoicePayment * @example * // Get one SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SalesInvoicePayment 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 {SalesInvoicePaymentFindFirstOrThrowArgs} args - Arguments to find a SalesInvoicePayment * @example * // Get one SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SalesInvoicePayments 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 {SalesInvoicePaymentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SalesInvoicePayments * const salesInvoicePayments = await prisma.salesInvoicePayment.findMany() * * // Get first 10 SalesInvoicePayments * const salesInvoicePayments = await prisma.salesInvoicePayment.findMany({ take: 10 }) * * // Only select the `id` * const salesInvoicePaymentWithIdOnly = await prisma.salesInvoicePayment.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SalesInvoicePayment. * @param {SalesInvoicePaymentCreateArgs} args - Arguments to create a SalesInvoicePayment. * @example * // Create one SalesInvoicePayment * const SalesInvoicePayment = await prisma.salesInvoicePayment.create({ * data: { * // ... data to create a SalesInvoicePayment * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SalesInvoicePayments. * @param {SalesInvoicePaymentCreateManyArgs} args - Arguments to create many SalesInvoicePayments. * @example * // Create many SalesInvoicePayments * const salesInvoicePayment = await prisma.salesInvoicePayment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a SalesInvoicePayment. * @param {SalesInvoicePaymentDeleteArgs} args - Arguments to delete one SalesInvoicePayment. * @example * // Delete one SalesInvoicePayment * const SalesInvoicePayment = await prisma.salesInvoicePayment.delete({ * where: { * // ... filter to delete one SalesInvoicePayment * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SalesInvoicePayment. * @param {SalesInvoicePaymentUpdateArgs} args - Arguments to update one SalesInvoicePayment. * @example * // Update one SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SalesInvoicePayments. * @param {SalesInvoicePaymentDeleteManyArgs} args - Arguments to filter SalesInvoicePayments to delete. * @example * // Delete a few SalesInvoicePayments * const { count } = await prisma.salesInvoicePayment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SalesInvoicePayments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SalesInvoicePaymentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SalesInvoicePayments * const salesInvoicePayment = await prisma.salesInvoicePayment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one SalesInvoicePayment. * @param {SalesInvoicePaymentUpsertArgs} args - Arguments to update or create a SalesInvoicePayment. * @example * // Update or create a SalesInvoicePayment * const salesInvoicePayment = await prisma.salesInvoicePayment.upsert({ * create: { * // ... data to create a SalesInvoicePayment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SalesInvoicePayment we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SalesInvoicePaymentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SalesInvoicePayments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SalesInvoicePaymentCountArgs} args - Arguments to filter SalesInvoicePayments to count. * @example * // Count the number of SalesInvoicePayments * const count = await prisma.salesInvoicePayment.count({ * where: { * // ... the filter for the SalesInvoicePayments 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 SalesInvoicePayment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SalesInvoicePaymentAggregateArgs} 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 SalesInvoicePayment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SalesInvoicePaymentGroupByArgs} 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 SalesInvoicePaymentGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SalesInvoicePaymentGroupByArgs['orderBy'] } : { orderBy?: SalesInvoicePaymentGroupByArgs['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 ? GetSalesInvoicePaymentGroupByPayload : Prisma.PrismaPromise /** * Fields of the SalesInvoicePayment model */ readonly fields: SalesInvoicePaymentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SalesInvoicePayment. * 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__SalesInvoicePaymentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" terminal_info = {}>(args?: Prisma.Subset>): Prisma.Prisma__SalesInvoicePaymentTerminalInfoClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> invoice = {}>(args?: Prisma.Subset>): Prisma.Prisma__SalesInvoiceClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 SalesInvoicePayment model */ export interface SalesInvoicePaymentFieldRefs { readonly id: Prisma.FieldRef<"SalesInvoicePayment", 'String'> readonly amount: Prisma.FieldRef<"SalesInvoicePayment", 'Decimal'> readonly payment_method: Prisma.FieldRef<"SalesInvoicePayment", 'PaymentMethodType'> readonly paid_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'> readonly created_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'> readonly invoice_id: Prisma.FieldRef<"SalesInvoicePayment", 'String'> } // Custom InputTypes /** * SalesInvoicePayment findUnique */ export type SalesInvoicePaymentFindUniqueArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter, which SalesInvoicePayment to fetch. */ where: Prisma.SalesInvoicePaymentWhereUniqueInput } /** * SalesInvoicePayment findUniqueOrThrow */ export type SalesInvoicePaymentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter, which SalesInvoicePayment to fetch. */ where: Prisma.SalesInvoicePaymentWhereUniqueInput } /** * SalesInvoicePayment findFirst */ export type SalesInvoicePaymentFindFirstArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter, which SalesInvoicePayment to fetch. */ where?: Prisma.SalesInvoicePaymentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SalesInvoicePayments to fetch. */ orderBy?: Prisma.SalesInvoicePaymentOrderByWithRelationInput | Prisma.SalesInvoicePaymentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SalesInvoicePayments. */ cursor?: Prisma.SalesInvoicePaymentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SalesInvoicePayments 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` SalesInvoicePayments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SalesInvoicePayments. */ distinct?: Prisma.SalesInvoicePaymentScalarFieldEnum | Prisma.SalesInvoicePaymentScalarFieldEnum[] } /** * SalesInvoicePayment findFirstOrThrow */ export type SalesInvoicePaymentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter, which SalesInvoicePayment to fetch. */ where?: Prisma.SalesInvoicePaymentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SalesInvoicePayments to fetch. */ orderBy?: Prisma.SalesInvoicePaymentOrderByWithRelationInput | Prisma.SalesInvoicePaymentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SalesInvoicePayments. */ cursor?: Prisma.SalesInvoicePaymentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SalesInvoicePayments 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` SalesInvoicePayments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SalesInvoicePayments. */ distinct?: Prisma.SalesInvoicePaymentScalarFieldEnum | Prisma.SalesInvoicePaymentScalarFieldEnum[] } /** * SalesInvoicePayment findMany */ export type SalesInvoicePaymentFindManyArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter, which SalesInvoicePayments to fetch. */ where?: Prisma.SalesInvoicePaymentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SalesInvoicePayments to fetch. */ orderBy?: Prisma.SalesInvoicePaymentOrderByWithRelationInput | Prisma.SalesInvoicePaymentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SalesInvoicePayments. */ cursor?: Prisma.SalesInvoicePaymentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SalesInvoicePayments 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` SalesInvoicePayments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SalesInvoicePayments. */ distinct?: Prisma.SalesInvoicePaymentScalarFieldEnum | Prisma.SalesInvoicePaymentScalarFieldEnum[] } /** * SalesInvoicePayment create */ export type SalesInvoicePaymentCreateArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * The data needed to create a SalesInvoicePayment. */ data: Prisma.XOR } /** * SalesInvoicePayment createMany */ export type SalesInvoicePaymentCreateManyArgs = { /** * The data used to create many SalesInvoicePayments. */ data: Prisma.SalesInvoicePaymentCreateManyInput | Prisma.SalesInvoicePaymentCreateManyInput[] skipDuplicates?: boolean } /** * SalesInvoicePayment update */ export type SalesInvoicePaymentUpdateArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * The data needed to update a SalesInvoicePayment. */ data: Prisma.XOR /** * Choose, which SalesInvoicePayment to update. */ where: Prisma.SalesInvoicePaymentWhereUniqueInput } /** * SalesInvoicePayment updateMany */ export type SalesInvoicePaymentUpdateManyArgs = { /** * The data used to update SalesInvoicePayments. */ data: Prisma.XOR /** * Filter which SalesInvoicePayments to update */ where?: Prisma.SalesInvoicePaymentWhereInput /** * Limit how many SalesInvoicePayments to update. */ limit?: number } /** * SalesInvoicePayment upsert */ export type SalesInvoicePaymentUpsertArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * The filter to search for the SalesInvoicePayment to update in case it exists. */ where: Prisma.SalesInvoicePaymentWhereUniqueInput /** * In case the SalesInvoicePayment found by the `where` argument doesn't exist, create a new SalesInvoicePayment with this data. */ create: Prisma.XOR /** * In case the SalesInvoicePayment was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SalesInvoicePayment delete */ export type SalesInvoicePaymentDeleteArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null /** * Filter which SalesInvoicePayment to delete. */ where: Prisma.SalesInvoicePaymentWhereUniqueInput } /** * SalesInvoicePayment deleteMany */ export type SalesInvoicePaymentDeleteManyArgs = { /** * Filter which SalesInvoicePayments to delete */ where?: Prisma.SalesInvoicePaymentWhereInput /** * Limit how many SalesInvoicePayments to delete. */ limit?: number } /** * SalesInvoicePayment.terminal_info */ export type SalesInvoicePayment$terminal_infoArgs = { /** * Select specific fields to fetch from the SalesInvoicePaymentTerminalInfo */ select?: Prisma.SalesInvoicePaymentTerminalInfoSelect | null /** * Omit specific fields from the SalesInvoicePaymentTerminalInfo */ omit?: Prisma.SalesInvoicePaymentTerminalInfoOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentTerminalInfoInclude | null where?: Prisma.SalesInvoicePaymentTerminalInfoWhereInput } /** * SalesInvoicePayment without action */ export type SalesInvoicePaymentDefaultArgs = { /** * Select specific fields to fetch from the SalesInvoicePayment */ select?: Prisma.SalesInvoicePaymentSelect | null /** * Omit specific fields from the SalesInvoicePayment */ omit?: Prisma.SalesInvoicePaymentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoicePaymentInclude | null }