/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SaleInvoiceFiscals` 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 SaleInvoiceFiscals * */ export type SaleInvoiceFiscalsModel = runtime.Types.Result.DefaultSelection export type AggregateSaleInvoiceFiscals = { _count: SaleInvoiceFiscalsCountAggregateOutputType | null _avg: SaleInvoiceFiscalsAvgAggregateOutputType | null _sum: SaleInvoiceFiscalsSumAggregateOutputType | null _min: SaleInvoiceFiscalsMinAggregateOutputType | null _max: SaleInvoiceFiscalsMaxAggregateOutputType | null } export type SaleInvoiceFiscalsAvgAggregateOutputType = { retry_count: number | null } export type SaleInvoiceFiscalsSumAggregateOutputType = { retry_count: number | null } export type SaleInvoiceFiscalsMinAggregateOutputType = { id: string | null retry_count: number | null last_attempt_at: Date | null created_at: Date | null updated_at: Date | null invoice_id: string | null } export type SaleInvoiceFiscalsMaxAggregateOutputType = { id: string | null retry_count: number | null last_attempt_at: Date | null created_at: Date | null updated_at: Date | null invoice_id: string | null } export type SaleInvoiceFiscalsCountAggregateOutputType = { id: number retry_count: number last_attempt_at: number created_at: number updated_at: number invoice_id: number _all: number } export type SaleInvoiceFiscalsAvgAggregateInputType = { retry_count?: true } export type SaleInvoiceFiscalsSumAggregateInputType = { retry_count?: true } export type SaleInvoiceFiscalsMinAggregateInputType = { id?: true retry_count?: true last_attempt_at?: true created_at?: true updated_at?: true invoice_id?: true } export type SaleInvoiceFiscalsMaxAggregateInputType = { id?: true retry_count?: true last_attempt_at?: true created_at?: true updated_at?: true invoice_id?: true } export type SaleInvoiceFiscalsCountAggregateInputType = { id?: true retry_count?: true last_attempt_at?: true created_at?: true updated_at?: true invoice_id?: true _all?: true } export type SaleInvoiceFiscalsAggregateArgs = { /** * Filter which SaleInvoiceFiscals to aggregate. */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SaleInvoiceFiscals to fetch. */ orderBy?: Prisma.SaleInvoiceFiscalsOrderByWithRelationInput | Prisma.SaleInvoiceFiscalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SaleInvoiceFiscalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SaleInvoiceFiscals 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` SaleInvoiceFiscals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SaleInvoiceFiscals **/ _count?: true | SaleInvoiceFiscalsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SaleInvoiceFiscalsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SaleInvoiceFiscalsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SaleInvoiceFiscalsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SaleInvoiceFiscalsMaxAggregateInputType } export type GetSaleInvoiceFiscalsAggregateType = { [P in keyof T & keyof AggregateSaleInvoiceFiscals]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SaleInvoiceFiscalsGroupByArgs = { where?: Prisma.SaleInvoiceFiscalsWhereInput orderBy?: Prisma.SaleInvoiceFiscalsOrderByWithAggregationInput | Prisma.SaleInvoiceFiscalsOrderByWithAggregationInput[] by: Prisma.SaleInvoiceFiscalsScalarFieldEnum[] | Prisma.SaleInvoiceFiscalsScalarFieldEnum having?: Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SaleInvoiceFiscalsCountAggregateInputType | true _avg?: SaleInvoiceFiscalsAvgAggregateInputType _sum?: SaleInvoiceFiscalsSumAggregateInputType _min?: SaleInvoiceFiscalsMinAggregateInputType _max?: SaleInvoiceFiscalsMaxAggregateInputType } export type SaleInvoiceFiscalsGroupByOutputType = { id: string retry_count: number last_attempt_at: Date | null created_at: Date updated_at: Date invoice_id: string _count: SaleInvoiceFiscalsCountAggregateOutputType | null _avg: SaleInvoiceFiscalsAvgAggregateOutputType | null _sum: SaleInvoiceFiscalsSumAggregateOutputType | null _min: SaleInvoiceFiscalsMinAggregateOutputType | null _max: SaleInvoiceFiscalsMaxAggregateOutputType | null } export type GetSaleInvoiceFiscalsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SaleInvoiceFiscalsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SaleInvoiceFiscalsWhereInput = { AND?: Prisma.SaleInvoiceFiscalsWhereInput | Prisma.SaleInvoiceFiscalsWhereInput[] OR?: Prisma.SaleInvoiceFiscalsWhereInput[] NOT?: Prisma.SaleInvoiceFiscalsWhereInput | Prisma.SaleInvoiceFiscalsWhereInput[] id?: Prisma.StringFilter<"SaleInvoiceFiscals"> | string retry_count?: Prisma.IntFilter<"SaleInvoiceFiscals"> | number last_attempt_at?: Prisma.DateTimeNullableFilter<"SaleInvoiceFiscals"> | Date | string | null created_at?: Prisma.DateTimeFilter<"SaleInvoiceFiscals"> | Date | string updated_at?: Prisma.DateTimeFilter<"SaleInvoiceFiscals"> | Date | string invoice_id?: Prisma.StringFilter<"SaleInvoiceFiscals"> | string invoice?: Prisma.XOR attempts?: Prisma.SaleInvoiceFiscalAttemptsListRelationFilter } export type SaleInvoiceFiscalsOrderByWithRelationInput = { id?: Prisma.SortOrder retry_count?: Prisma.SortOrder last_attempt_at?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder invoice?: Prisma.SalesInvoiceOrderByWithRelationInput attempts?: Prisma.SaleInvoiceFiscalAttemptsOrderByRelationAggregateInput _relevance?: Prisma.SaleInvoiceFiscalsOrderByRelevanceInput } export type SaleInvoiceFiscalsWhereUniqueInput = Prisma.AtLeast<{ id?: string invoice_id?: string AND?: Prisma.SaleInvoiceFiscalsWhereInput | Prisma.SaleInvoiceFiscalsWhereInput[] OR?: Prisma.SaleInvoiceFiscalsWhereInput[] NOT?: Prisma.SaleInvoiceFiscalsWhereInput | Prisma.SaleInvoiceFiscalsWhereInput[] retry_count?: Prisma.IntFilter<"SaleInvoiceFiscals"> | number last_attempt_at?: Prisma.DateTimeNullableFilter<"SaleInvoiceFiscals"> | Date | string | null created_at?: Prisma.DateTimeFilter<"SaleInvoiceFiscals"> | Date | string updated_at?: Prisma.DateTimeFilter<"SaleInvoiceFiscals"> | Date | string invoice?: Prisma.XOR attempts?: Prisma.SaleInvoiceFiscalAttemptsListRelationFilter }, "id" | "invoice_id"> export type SaleInvoiceFiscalsOrderByWithAggregationInput = { id?: Prisma.SortOrder retry_count?: Prisma.SortOrder last_attempt_at?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder _count?: Prisma.SaleInvoiceFiscalsCountOrderByAggregateInput _avg?: Prisma.SaleInvoiceFiscalsAvgOrderByAggregateInput _max?: Prisma.SaleInvoiceFiscalsMaxOrderByAggregateInput _min?: Prisma.SaleInvoiceFiscalsMinOrderByAggregateInput _sum?: Prisma.SaleInvoiceFiscalsSumOrderByAggregateInput } export type SaleInvoiceFiscalsScalarWhereWithAggregatesInput = { AND?: Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput | Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput[] OR?: Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput[] NOT?: Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput | Prisma.SaleInvoiceFiscalsScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"SaleInvoiceFiscals"> | string retry_count?: Prisma.IntWithAggregatesFilter<"SaleInvoiceFiscals"> | number last_attempt_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SaleInvoiceFiscals"> | Date | string | null created_at?: Prisma.DateTimeWithAggregatesFilter<"SaleInvoiceFiscals"> | Date | string updated_at?: Prisma.DateTimeWithAggregatesFilter<"SaleInvoiceFiscals"> | Date | string invoice_id?: Prisma.StringWithAggregatesFilter<"SaleInvoiceFiscals"> | string } export type SaleInvoiceFiscalsCreateInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string invoice: Prisma.SalesInvoiceCreateNestedOneWithoutFiscalInput attempts?: Prisma.SaleInvoiceFiscalAttemptsCreateNestedManyWithoutFiscalInput } export type SaleInvoiceFiscalsUncheckedCreateInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string invoice_id: string attempts?: Prisma.SaleInvoiceFiscalAttemptsUncheckedCreateNestedManyWithoutFiscalInput } export type SaleInvoiceFiscalsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutFiscalNestedInput attempts?: Prisma.SaleInvoiceFiscalAttemptsUpdateManyWithoutFiscalNestedInput } export type SaleInvoiceFiscalsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string attempts?: Prisma.SaleInvoiceFiscalAttemptsUncheckedUpdateManyWithoutFiscalNestedInput } export type SaleInvoiceFiscalsCreateManyInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string invoice_id: string } export type SaleInvoiceFiscalsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type SaleInvoiceFiscalsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string } export type SaleInvoiceFiscalsNullableScalarRelationFilter = { is?: Prisma.SaleInvoiceFiscalsWhereInput | null isNot?: Prisma.SaleInvoiceFiscalsWhereInput | null } export type SaleInvoiceFiscalsOrderByRelevanceInput = { fields: Prisma.SaleInvoiceFiscalsOrderByRelevanceFieldEnum | Prisma.SaleInvoiceFiscalsOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type SaleInvoiceFiscalsCountOrderByAggregateInput = { id?: Prisma.SortOrder retry_count?: Prisma.SortOrder last_attempt_at?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SaleInvoiceFiscalsAvgOrderByAggregateInput = { retry_count?: Prisma.SortOrder } export type SaleInvoiceFiscalsMaxOrderByAggregateInput = { id?: Prisma.SortOrder retry_count?: Prisma.SortOrder last_attempt_at?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SaleInvoiceFiscalsMinOrderByAggregateInput = { id?: Prisma.SortOrder retry_count?: Prisma.SortOrder last_attempt_at?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder invoice_id?: Prisma.SortOrder } export type SaleInvoiceFiscalsSumOrderByAggregateInput = { retry_count?: Prisma.SortOrder } export type SaleInvoiceFiscalsScalarRelationFilter = { is?: Prisma.SaleInvoiceFiscalsWhereInput isNot?: Prisma.SaleInvoiceFiscalsWhereInput } export type SaleInvoiceFiscalsCreateNestedOneWithoutInvoiceInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutInvoiceInput connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput } export type SaleInvoiceFiscalsUncheckedCreateNestedOneWithoutInvoiceInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutInvoiceInput connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput } export type SaleInvoiceFiscalsUpdateOneWithoutInvoiceNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutInvoiceInput upsert?: Prisma.SaleInvoiceFiscalsUpsertWithoutInvoiceInput disconnect?: Prisma.SaleInvoiceFiscalsWhereInput | boolean delete?: Prisma.SaleInvoiceFiscalsWhereInput | boolean connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput update?: Prisma.XOR, Prisma.SaleInvoiceFiscalsUncheckedUpdateWithoutInvoiceInput> } export type SaleInvoiceFiscalsUncheckedUpdateOneWithoutInvoiceNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutInvoiceInput upsert?: Prisma.SaleInvoiceFiscalsUpsertWithoutInvoiceInput disconnect?: Prisma.SaleInvoiceFiscalsWhereInput | boolean delete?: Prisma.SaleInvoiceFiscalsWhereInput | boolean connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput update?: Prisma.XOR, Prisma.SaleInvoiceFiscalsUncheckedUpdateWithoutInvoiceInput> } export type SaleInvoiceFiscalsCreateNestedOneWithoutAttemptsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutAttemptsInput connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput } export type SaleInvoiceFiscalsUpdateOneRequiredWithoutAttemptsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.SaleInvoiceFiscalsCreateOrConnectWithoutAttemptsInput upsert?: Prisma.SaleInvoiceFiscalsUpsertWithoutAttemptsInput connect?: Prisma.SaleInvoiceFiscalsWhereUniqueInput update?: Prisma.XOR, Prisma.SaleInvoiceFiscalsUncheckedUpdateWithoutAttemptsInput> } export type SaleInvoiceFiscalsCreateWithoutInvoiceInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string attempts?: Prisma.SaleInvoiceFiscalAttemptsCreateNestedManyWithoutFiscalInput } export type SaleInvoiceFiscalsUncheckedCreateWithoutInvoiceInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string attempts?: Prisma.SaleInvoiceFiscalAttemptsUncheckedCreateNestedManyWithoutFiscalInput } export type SaleInvoiceFiscalsCreateOrConnectWithoutInvoiceInput = { where: Prisma.SaleInvoiceFiscalsWhereUniqueInput create: Prisma.XOR } export type SaleInvoiceFiscalsUpsertWithoutInvoiceInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.SaleInvoiceFiscalsWhereInput } export type SaleInvoiceFiscalsUpdateToOneWithWhereWithoutInvoiceInput = { where?: Prisma.SaleInvoiceFiscalsWhereInput data: Prisma.XOR } export type SaleInvoiceFiscalsUpdateWithoutInvoiceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string attempts?: Prisma.SaleInvoiceFiscalAttemptsUpdateManyWithoutFiscalNestedInput } export type SaleInvoiceFiscalsUncheckedUpdateWithoutInvoiceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string attempts?: Prisma.SaleInvoiceFiscalAttemptsUncheckedUpdateManyWithoutFiscalNestedInput } export type SaleInvoiceFiscalsCreateWithoutAttemptsInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string invoice: Prisma.SalesInvoiceCreateNestedOneWithoutFiscalInput } export type SaleInvoiceFiscalsUncheckedCreateWithoutAttemptsInput = { id?: string retry_count?: number last_attempt_at?: Date | string | null created_at?: Date | string updated_at?: Date | string invoice_id: string } export type SaleInvoiceFiscalsCreateOrConnectWithoutAttemptsInput = { where: Prisma.SaleInvoiceFiscalsWhereUniqueInput create: Prisma.XOR } export type SaleInvoiceFiscalsUpsertWithoutAttemptsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.SaleInvoiceFiscalsWhereInput } export type SaleInvoiceFiscalsUpdateToOneWithWhereWithoutAttemptsInput = { where?: Prisma.SaleInvoiceFiscalsWhereInput data: Prisma.XOR } export type SaleInvoiceFiscalsUpdateWithoutAttemptsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutFiscalNestedInput } export type SaleInvoiceFiscalsUncheckedUpdateWithoutAttemptsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string retry_count?: Prisma.IntFieldUpdateOperationsInput | number last_attempt_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string invoice_id?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type SaleInvoiceFiscalsCountOutputType */ export type SaleInvoiceFiscalsCountOutputType = { attempts: number } export type SaleInvoiceFiscalsCountOutputTypeSelect = { attempts?: boolean | SaleInvoiceFiscalsCountOutputTypeCountAttemptsArgs } /** * SaleInvoiceFiscalsCountOutputType without action */ export type SaleInvoiceFiscalsCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscalsCountOutputType */ select?: Prisma.SaleInvoiceFiscalsCountOutputTypeSelect | null } /** * SaleInvoiceFiscalsCountOutputType without action */ export type SaleInvoiceFiscalsCountOutputTypeCountAttemptsArgs = { where?: Prisma.SaleInvoiceFiscalAttemptsWhereInput } export type SaleInvoiceFiscalsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean retry_count?: boolean last_attempt_at?: boolean created_at?: boolean updated_at?: boolean invoice_id?: boolean invoice?: boolean | Prisma.SalesInvoiceDefaultArgs attempts?: boolean | Prisma.SaleInvoiceFiscals$attemptsArgs _count?: boolean | Prisma.SaleInvoiceFiscalsCountOutputTypeDefaultArgs }, ExtArgs["result"]["saleInvoiceFiscals"]> export type SaleInvoiceFiscalsSelectScalar = { id?: boolean retry_count?: boolean last_attempt_at?: boolean created_at?: boolean updated_at?: boolean invoice_id?: boolean } export type SaleInvoiceFiscalsOmit = runtime.Types.Extensions.GetOmit<"id" | "retry_count" | "last_attempt_at" | "created_at" | "updated_at" | "invoice_id", ExtArgs["result"]["saleInvoiceFiscals"]> export type SaleInvoiceFiscalsInclude = { invoice?: boolean | Prisma.SalesInvoiceDefaultArgs attempts?: boolean | Prisma.SaleInvoiceFiscals$attemptsArgs _count?: boolean | Prisma.SaleInvoiceFiscalsCountOutputTypeDefaultArgs } export type $SaleInvoiceFiscalsPayload = { name: "SaleInvoiceFiscals" objects: { invoice: Prisma.$SalesInvoicePayload attempts: Prisma.$SaleInvoiceFiscalAttemptsPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string retry_count: number last_attempt_at: Date | null created_at: Date updated_at: Date invoice_id: string }, ExtArgs["result"]["saleInvoiceFiscals"]> composites: {} } export type SaleInvoiceFiscalsGetPayload = runtime.Types.Result.GetResult export type SaleInvoiceFiscalsCountArgs = Omit & { select?: SaleInvoiceFiscalsCountAggregateInputType | true } export interface SaleInvoiceFiscalsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SaleInvoiceFiscals'], meta: { name: 'SaleInvoiceFiscals' } } /** * Find zero or one SaleInvoiceFiscals that matches the filter. * @param {SaleInvoiceFiscalsFindUniqueArgs} args - Arguments to find a SaleInvoiceFiscals * @example * // Get one SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SaleInvoiceFiscals that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SaleInvoiceFiscalsFindUniqueOrThrowArgs} args - Arguments to find a SaleInvoiceFiscals * @example * // Get one SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SaleInvoiceFiscals 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 {SaleInvoiceFiscalsFindFirstArgs} args - Arguments to find a SaleInvoiceFiscals * @example * // Get one SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SaleInvoiceFiscals 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 {SaleInvoiceFiscalsFindFirstOrThrowArgs} args - Arguments to find a SaleInvoiceFiscals * @example * // Get one SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SaleInvoiceFiscals 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 {SaleInvoiceFiscalsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findMany() * * // Get first 10 SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.findMany({ take: 10 }) * * // Only select the `id` * const saleInvoiceFiscalsWithIdOnly = await prisma.saleInvoiceFiscals.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsCreateArgs} args - Arguments to create a SaleInvoiceFiscals. * @example * // Create one SaleInvoiceFiscals * const SaleInvoiceFiscals = await prisma.saleInvoiceFiscals.create({ * data: { * // ... data to create a SaleInvoiceFiscals * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsCreateManyArgs} args - Arguments to create many SaleInvoiceFiscals. * @example * // Create many SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsDeleteArgs} args - Arguments to delete one SaleInvoiceFiscals. * @example * // Delete one SaleInvoiceFiscals * const SaleInvoiceFiscals = await prisma.saleInvoiceFiscals.delete({ * where: { * // ... filter to delete one SaleInvoiceFiscals * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsUpdateArgs} args - Arguments to update one SaleInvoiceFiscals. * @example * // Update one SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsDeleteManyArgs} args - Arguments to filter SaleInvoiceFiscals to delete. * @example * // Delete a few SaleInvoiceFiscals * const { count } = await prisma.saleInvoiceFiscals.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SaleInvoiceFiscals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SaleInvoiceFiscalsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one SaleInvoiceFiscals. * @param {SaleInvoiceFiscalsUpsertArgs} args - Arguments to update or create a SaleInvoiceFiscals. * @example * // Update or create a SaleInvoiceFiscals * const saleInvoiceFiscals = await prisma.saleInvoiceFiscals.upsert({ * create: { * // ... data to create a SaleInvoiceFiscals * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SaleInvoiceFiscals we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SaleInvoiceFiscalsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SaleInvoiceFiscals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SaleInvoiceFiscalsCountArgs} args - Arguments to filter SaleInvoiceFiscals to count. * @example * // Count the number of SaleInvoiceFiscals * const count = await prisma.saleInvoiceFiscals.count({ * where: { * // ... the filter for the SaleInvoiceFiscals 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 SaleInvoiceFiscals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SaleInvoiceFiscalsAggregateArgs} 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 SaleInvoiceFiscals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SaleInvoiceFiscalsGroupByArgs} 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 SaleInvoiceFiscalsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SaleInvoiceFiscalsGroupByArgs['orderBy'] } : { orderBy?: SaleInvoiceFiscalsGroupByArgs['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 ? GetSaleInvoiceFiscalsGroupByPayload : Prisma.PrismaPromise /** * Fields of the SaleInvoiceFiscals model */ readonly fields: SaleInvoiceFiscalsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SaleInvoiceFiscals. * 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__SaleInvoiceFiscalsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" invoice = {}>(args?: Prisma.Subset>): Prisma.Prisma__SalesInvoiceClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> attempts = {}>(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 SaleInvoiceFiscals model */ export interface SaleInvoiceFiscalsFieldRefs { readonly id: Prisma.FieldRef<"SaleInvoiceFiscals", 'String'> readonly retry_count: Prisma.FieldRef<"SaleInvoiceFiscals", 'Int'> readonly last_attempt_at: Prisma.FieldRef<"SaleInvoiceFiscals", 'DateTime'> readonly created_at: Prisma.FieldRef<"SaleInvoiceFiscals", 'DateTime'> readonly updated_at: Prisma.FieldRef<"SaleInvoiceFiscals", 'DateTime'> readonly invoice_id: Prisma.FieldRef<"SaleInvoiceFiscals", 'String'> } // Custom InputTypes /** * SaleInvoiceFiscals findUnique */ export type SaleInvoiceFiscalsFindUniqueArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter, which SaleInvoiceFiscals to fetch. */ where: Prisma.SaleInvoiceFiscalsWhereUniqueInput } /** * SaleInvoiceFiscals findUniqueOrThrow */ export type SaleInvoiceFiscalsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter, which SaleInvoiceFiscals to fetch. */ where: Prisma.SaleInvoiceFiscalsWhereUniqueInput } /** * SaleInvoiceFiscals findFirst */ export type SaleInvoiceFiscalsFindFirstArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter, which SaleInvoiceFiscals to fetch. */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SaleInvoiceFiscals to fetch. */ orderBy?: Prisma.SaleInvoiceFiscalsOrderByWithRelationInput | Prisma.SaleInvoiceFiscalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SaleInvoiceFiscals. */ cursor?: Prisma.SaleInvoiceFiscalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SaleInvoiceFiscals 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` SaleInvoiceFiscals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SaleInvoiceFiscals. */ distinct?: Prisma.SaleInvoiceFiscalsScalarFieldEnum | Prisma.SaleInvoiceFiscalsScalarFieldEnum[] } /** * SaleInvoiceFiscals findFirstOrThrow */ export type SaleInvoiceFiscalsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter, which SaleInvoiceFiscals to fetch. */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SaleInvoiceFiscals to fetch. */ orderBy?: Prisma.SaleInvoiceFiscalsOrderByWithRelationInput | Prisma.SaleInvoiceFiscalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SaleInvoiceFiscals. */ cursor?: Prisma.SaleInvoiceFiscalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SaleInvoiceFiscals 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` SaleInvoiceFiscals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SaleInvoiceFiscals. */ distinct?: Prisma.SaleInvoiceFiscalsScalarFieldEnum | Prisma.SaleInvoiceFiscalsScalarFieldEnum[] } /** * SaleInvoiceFiscals findMany */ export type SaleInvoiceFiscalsFindManyArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter, which SaleInvoiceFiscals to fetch. */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SaleInvoiceFiscals to fetch. */ orderBy?: Prisma.SaleInvoiceFiscalsOrderByWithRelationInput | Prisma.SaleInvoiceFiscalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SaleInvoiceFiscals. */ cursor?: Prisma.SaleInvoiceFiscalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SaleInvoiceFiscals 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` SaleInvoiceFiscals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SaleInvoiceFiscals. */ distinct?: Prisma.SaleInvoiceFiscalsScalarFieldEnum | Prisma.SaleInvoiceFiscalsScalarFieldEnum[] } /** * SaleInvoiceFiscals create */ export type SaleInvoiceFiscalsCreateArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * The data needed to create a SaleInvoiceFiscals. */ data: Prisma.XOR } /** * SaleInvoiceFiscals createMany */ export type SaleInvoiceFiscalsCreateManyArgs = { /** * The data used to create many SaleInvoiceFiscals. */ data: Prisma.SaleInvoiceFiscalsCreateManyInput | Prisma.SaleInvoiceFiscalsCreateManyInput[] skipDuplicates?: boolean } /** * SaleInvoiceFiscals update */ export type SaleInvoiceFiscalsUpdateArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * The data needed to update a SaleInvoiceFiscals. */ data: Prisma.XOR /** * Choose, which SaleInvoiceFiscals to update. */ where: Prisma.SaleInvoiceFiscalsWhereUniqueInput } /** * SaleInvoiceFiscals updateMany */ export type SaleInvoiceFiscalsUpdateManyArgs = { /** * The data used to update SaleInvoiceFiscals. */ data: Prisma.XOR /** * Filter which SaleInvoiceFiscals to update */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * Limit how many SaleInvoiceFiscals to update. */ limit?: number } /** * SaleInvoiceFiscals upsert */ export type SaleInvoiceFiscalsUpsertArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * The filter to search for the SaleInvoiceFiscals to update in case it exists. */ where: Prisma.SaleInvoiceFiscalsWhereUniqueInput /** * In case the SaleInvoiceFiscals found by the `where` argument doesn't exist, create a new SaleInvoiceFiscals with this data. */ create: Prisma.XOR /** * In case the SaleInvoiceFiscals was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SaleInvoiceFiscals delete */ export type SaleInvoiceFiscalsDeleteArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null /** * Filter which SaleInvoiceFiscals to delete. */ where: Prisma.SaleInvoiceFiscalsWhereUniqueInput } /** * SaleInvoiceFiscals deleteMany */ export type SaleInvoiceFiscalsDeleteManyArgs = { /** * Filter which SaleInvoiceFiscals to delete */ where?: Prisma.SaleInvoiceFiscalsWhereInput /** * Limit how many SaleInvoiceFiscals to delete. */ limit?: number } /** * SaleInvoiceFiscals.attempts */ export type SaleInvoiceFiscals$attemptsArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscalAttempts */ select?: Prisma.SaleInvoiceFiscalAttemptsSelect | null /** * Omit specific fields from the SaleInvoiceFiscalAttempts */ omit?: Prisma.SaleInvoiceFiscalAttemptsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalAttemptsInclude | null where?: Prisma.SaleInvoiceFiscalAttemptsWhereInput orderBy?: Prisma.SaleInvoiceFiscalAttemptsOrderByWithRelationInput | Prisma.SaleInvoiceFiscalAttemptsOrderByWithRelationInput[] cursor?: Prisma.SaleInvoiceFiscalAttemptsWhereUniqueInput take?: number skip?: number distinct?: Prisma.SaleInvoiceFiscalAttemptsScalarFieldEnum | Prisma.SaleInvoiceFiscalAttemptsScalarFieldEnum[] } /** * SaleInvoiceFiscals without action */ export type SaleInvoiceFiscalsDefaultArgs = { /** * Select specific fields to fetch from the SaleInvoiceFiscals */ select?: Prisma.SaleInvoiceFiscalsSelect | null /** * Omit specific fields from the SaleInvoiceFiscals */ omit?: Prisma.SaleInvoiceFiscalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SaleInvoiceFiscalsInclude | null }