/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AppSyncItem` 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model AppSyncItem * */ export type AppSyncItemModel = runtime.Types.Result.DefaultSelection export type AggregateAppSyncItem = { _count: AppSyncItemCountAggregateOutputType | null _min: AppSyncItemMinAggregateOutputType | null _max: AppSyncItemMaxAggregateOutputType | null } export type AppSyncItemMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null syncRunId: string | null objectType: string | null sourceId: string | null destinationId: string | null description: string | null status: string | null action: string | null sourceData: string | null destinationData: string | null error: string | null rolledBackData: string | null rolledBackAt: Date | null } export type AppSyncItemMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null syncRunId: string | null objectType: string | null sourceId: string | null destinationId: string | null description: string | null status: string | null action: string | null sourceData: string | null destinationData: string | null error: string | null rolledBackData: string | null rolledBackAt: Date | null } export type AppSyncItemCountAggregateOutputType = { id: number createdAt: number updatedAt: number syncRunId: number objectType: number sourceId: number destinationId: number description: number status: number action: number sourceData: number destinationData: number error: number rolledBackData: number rolledBackAt: number _all: number } export type AppSyncItemMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true syncRunId?: true objectType?: true sourceId?: true destinationId?: true description?: true status?: true action?: true sourceData?: true destinationData?: true error?: true rolledBackData?: true rolledBackAt?: true } export type AppSyncItemMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true syncRunId?: true objectType?: true sourceId?: true destinationId?: true description?: true status?: true action?: true sourceData?: true destinationData?: true error?: true rolledBackData?: true rolledBackAt?: true } export type AppSyncItemCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true syncRunId?: true objectType?: true sourceId?: true destinationId?: true description?: true status?: true action?: true sourceData?: true destinationData?: true error?: true rolledBackData?: true rolledBackAt?: true _all?: true } export type AppSyncItemAggregateArgs = { /** * Filter which AppSyncItem to aggregate. */ where?: Prisma.AppSyncItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncItems to fetch. */ orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AppSyncItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncItems 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` AppSyncItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppSyncItems **/ _count?: true | AppSyncItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppSyncItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppSyncItemMaxAggregateInputType } export type GetAppSyncItemAggregateType = { [P in keyof T & keyof AggregateAppSyncItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AppSyncItemGroupByArgs = { where?: Prisma.AppSyncItemWhereInput orderBy?: Prisma.AppSyncItemOrderByWithAggregationInput | Prisma.AppSyncItemOrderByWithAggregationInput[] by: Prisma.AppSyncItemScalarFieldEnum[] | Prisma.AppSyncItemScalarFieldEnum having?: Prisma.AppSyncItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppSyncItemCountAggregateInputType | true _min?: AppSyncItemMinAggregateInputType _max?: AppSyncItemMaxAggregateInputType } export type AppSyncItemGroupByOutputType = { id: string createdAt: Date updatedAt: Date syncRunId: string objectType: string sourceId: string destinationId: string | null description: string | null status: string action: string | null sourceData: string destinationData: string | null error: string | null rolledBackData: string | null rolledBackAt: Date | null _count: AppSyncItemCountAggregateOutputType | null _min: AppSyncItemMinAggregateOutputType | null _max: AppSyncItemMaxAggregateOutputType | null } export type GetAppSyncItemGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AppSyncItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AppSyncItemWhereInput = { AND?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[] OR?: Prisma.AppSyncItemWhereInput[] NOT?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[] id?: Prisma.StringFilter<"AppSyncItem"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string objectType?: Prisma.StringFilter<"AppSyncItem"> | string sourceId?: Prisma.StringFilter<"AppSyncItem"> | string destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null status?: Prisma.StringFilter<"AppSyncItem"> | string action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null sourceData?: Prisma.StringFilter<"AppSyncItem"> | string destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null syncRun?: Prisma.XOR } export type AppSyncItemOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder objectType?: Prisma.SortOrder sourceId?: Prisma.SortOrder destinationId?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder action?: Prisma.SortOrderInput | Prisma.SortOrder sourceData?: Prisma.SortOrder destinationData?: Prisma.SortOrderInput | Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder rolledBackData?: Prisma.SortOrderInput | Prisma.SortOrder rolledBackAt?: Prisma.SortOrderInput | Prisma.SortOrder syncRun?: Prisma.AppSyncRunOrderByWithRelationInput } export type AppSyncItemWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[] OR?: Prisma.AppSyncItemWhereInput[] NOT?: Prisma.AppSyncItemWhereInput | Prisma.AppSyncItemWhereInput[] createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string objectType?: Prisma.StringFilter<"AppSyncItem"> | string sourceId?: Prisma.StringFilter<"AppSyncItem"> | string destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null status?: Prisma.StringFilter<"AppSyncItem"> | string action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null sourceData?: Prisma.StringFilter<"AppSyncItem"> | string destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null syncRun?: Prisma.XOR }, "id"> export type AppSyncItemOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder objectType?: Prisma.SortOrder sourceId?: Prisma.SortOrder destinationId?: Prisma.SortOrderInput | Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder action?: Prisma.SortOrderInput | Prisma.SortOrder sourceData?: Prisma.SortOrder destinationData?: Prisma.SortOrderInput | Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder rolledBackData?: Prisma.SortOrderInput | Prisma.SortOrder rolledBackAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AppSyncItemCountOrderByAggregateInput _max?: Prisma.AppSyncItemMaxOrderByAggregateInput _min?: Prisma.AppSyncItemMinOrderByAggregateInput } export type AppSyncItemScalarWhereWithAggregatesInput = { AND?: Prisma.AppSyncItemScalarWhereWithAggregatesInput | Prisma.AppSyncItemScalarWhereWithAggregatesInput[] OR?: Prisma.AppSyncItemScalarWhereWithAggregatesInput[] NOT?: Prisma.AppSyncItemScalarWhereWithAggregatesInput | Prisma.AppSyncItemScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncItem"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncItem"> | Date | string syncRunId?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string objectType?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string sourceId?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string destinationId?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null description?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null status?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string action?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null sourceData?: Prisma.StringWithAggregatesFilter<"AppSyncItem"> | string destinationData?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null error?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null rolledBackData?: Prisma.StringNullableWithAggregatesFilter<"AppSyncItem"> | string | null rolledBackAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncItem"> | Date | string | null } export type AppSyncItemCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null syncRun: Prisma.AppSyncRunCreateNestedOneWithoutSyncItemsInput } export type AppSyncItemUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string syncRunId: string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null } export type AppSyncItemUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null syncRun?: Prisma.AppSyncRunUpdateOneRequiredWithoutSyncItemsNestedInput } export type AppSyncItemUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string syncRunId?: Prisma.StringFieldUpdateOperationsInput | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string syncRunId: string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null } export type AppSyncItemUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string syncRunId?: Prisma.StringFieldUpdateOperationsInput | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemListRelationFilter = { every?: Prisma.AppSyncItemWhereInput some?: Prisma.AppSyncItemWhereInput none?: Prisma.AppSyncItemWhereInput } export type AppSyncItemOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AppSyncItemCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder objectType?: Prisma.SortOrder sourceId?: Prisma.SortOrder destinationId?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder action?: Prisma.SortOrder sourceData?: Prisma.SortOrder destinationData?: Prisma.SortOrder error?: Prisma.SortOrder rolledBackData?: Prisma.SortOrder rolledBackAt?: Prisma.SortOrder } export type AppSyncItemMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder objectType?: Prisma.SortOrder sourceId?: Prisma.SortOrder destinationId?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder action?: Prisma.SortOrder sourceData?: Prisma.SortOrder destinationData?: Prisma.SortOrder error?: Prisma.SortOrder rolledBackData?: Prisma.SortOrder rolledBackAt?: Prisma.SortOrder } export type AppSyncItemMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder syncRunId?: Prisma.SortOrder objectType?: Prisma.SortOrder sourceId?: Prisma.SortOrder destinationId?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder action?: Prisma.SortOrder sourceData?: Prisma.SortOrder destinationData?: Prisma.SortOrder error?: Prisma.SortOrder rolledBackData?: Prisma.SortOrder rolledBackAt?: Prisma.SortOrder } export type AppSyncItemCreateNestedManyWithoutSyncRunInput = { create?: Prisma.XOR | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[] createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] } export type AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput = { create?: Prisma.XOR | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[] createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] } export type AppSyncItemUpdateManyWithoutSyncRunNestedInput = { create?: Prisma.XOR | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[] upsert?: Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput[] createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope set?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] disconnect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] delete?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] update?: Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput[] updateMany?: Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput[] deleteMany?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[] } export type AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput = { create?: Prisma.XOR | Prisma.AppSyncItemCreateWithoutSyncRunInput[] | Prisma.AppSyncItemUncheckedCreateWithoutSyncRunInput[] connectOrCreate?: Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput | Prisma.AppSyncItemCreateOrConnectWithoutSyncRunInput[] upsert?: Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput[] createMany?: Prisma.AppSyncItemCreateManySyncRunInputEnvelope set?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] disconnect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] delete?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] connect?: Prisma.AppSyncItemWhereUniqueInput | Prisma.AppSyncItemWhereUniqueInput[] update?: Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput | Prisma.AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput[] updateMany?: Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput | Prisma.AppSyncItemUpdateManyWithWhereWithoutSyncRunInput[] deleteMany?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[] } export type AppSyncItemCreateWithoutSyncRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null } export type AppSyncItemUncheckedCreateWithoutSyncRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null } export type AppSyncItemCreateOrConnectWithoutSyncRunInput = { where: Prisma.AppSyncItemWhereUniqueInput create: Prisma.XOR } export type AppSyncItemCreateManySyncRunInputEnvelope = { data: Prisma.AppSyncItemCreateManySyncRunInput | Prisma.AppSyncItemCreateManySyncRunInput[] skipDuplicates?: boolean } export type AppSyncItemUpsertWithWhereUniqueWithoutSyncRunInput = { where: Prisma.AppSyncItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppSyncItemUpdateWithWhereUniqueWithoutSyncRunInput = { where: Prisma.AppSyncItemWhereUniqueInput data: Prisma.XOR } export type AppSyncItemUpdateManyWithWhereWithoutSyncRunInput = { where: Prisma.AppSyncItemScalarWhereInput data: Prisma.XOR } export type AppSyncItemScalarWhereInput = { AND?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[] OR?: Prisma.AppSyncItemScalarWhereInput[] NOT?: Prisma.AppSyncItemScalarWhereInput | Prisma.AppSyncItemScalarWhereInput[] id?: Prisma.StringFilter<"AppSyncItem"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncItem"> | Date | string syncRunId?: Prisma.StringFilter<"AppSyncItem"> | string objectType?: Prisma.StringFilter<"AppSyncItem"> | string sourceId?: Prisma.StringFilter<"AppSyncItem"> | string destinationId?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null description?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null status?: Prisma.StringFilter<"AppSyncItem"> | string action?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null sourceData?: Prisma.StringFilter<"AppSyncItem"> | string destinationData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null error?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackData?: Prisma.StringNullableFilter<"AppSyncItem"> | string | null rolledBackAt?: Prisma.DateTimeNullableFilter<"AppSyncItem"> | Date | string | null } export type AppSyncItemCreateManySyncRunInput = { id?: string createdAt?: Date | string updatedAt?: Date | string objectType: string sourceId: string destinationId?: string | null description?: string | null status?: string action?: string | null sourceData: string destinationData?: string | null error?: string | null rolledBackData?: string | null rolledBackAt?: Date | string | null } export type AppSyncItemUpdateWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemUncheckedUpdateWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemUncheckedUpdateManyWithoutSyncRunInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string objectType?: Prisma.StringFieldUpdateOperationsInput | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string destinationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.NullableStringFieldUpdateOperationsInput | string | null sourceData?: Prisma.StringFieldUpdateOperationsInput | string destinationData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackData?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rolledBackAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AppSyncItemSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean syncRunId?: boolean objectType?: boolean sourceId?: boolean destinationId?: boolean description?: boolean status?: boolean action?: boolean sourceData?: boolean destinationData?: boolean error?: boolean rolledBackData?: boolean rolledBackAt?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncItem"]> export type AppSyncItemSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean syncRunId?: boolean objectType?: boolean sourceId?: boolean destinationId?: boolean description?: boolean status?: boolean action?: boolean sourceData?: boolean destinationData?: boolean error?: boolean rolledBackData?: boolean rolledBackAt?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncItem"]> export type AppSyncItemSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean syncRunId?: boolean objectType?: boolean sourceId?: boolean destinationId?: boolean description?: boolean status?: boolean action?: boolean sourceData?: boolean destinationData?: boolean error?: boolean rolledBackData?: boolean rolledBackAt?: boolean syncRun?: boolean | Prisma.AppSyncRunDefaultArgs }, ExtArgs["result"]["appSyncItem"]> export type AppSyncItemSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean syncRunId?: boolean objectType?: boolean sourceId?: boolean destinationId?: boolean description?: boolean status?: boolean action?: boolean sourceData?: boolean destinationData?: boolean error?: boolean rolledBackData?: boolean rolledBackAt?: boolean } export type AppSyncItemOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "syncRunId" | "objectType" | "sourceId" | "destinationId" | "description" | "status" | "action" | "sourceData" | "destinationData" | "error" | "rolledBackData" | "rolledBackAt", ExtArgs["result"]["appSyncItem"]> export type AppSyncItemInclude = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type AppSyncItemIncludeCreateManyAndReturn = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type AppSyncItemIncludeUpdateManyAndReturn = { syncRun?: boolean | Prisma.AppSyncRunDefaultArgs } export type $AppSyncItemPayload = { name: "AppSyncItem" objects: { syncRun: Prisma.$AppSyncRunPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date syncRunId: string objectType: string sourceId: string destinationId: string | null description: string | null status: string action: string | null sourceData: string destinationData: string | null error: string | null rolledBackData: string | null rolledBackAt: Date | null }, ExtArgs["result"]["appSyncItem"]> composites: {} } export type AppSyncItemGetPayload = runtime.Types.Result.GetResult export type AppSyncItemCountArgs = Omit & { select?: AppSyncItemCountAggregateInputType | true } export interface AppSyncItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppSyncItem'], meta: { name: 'AppSyncItem' } } /** * Find zero or one AppSyncItem that matches the filter. * @param {AppSyncItemFindUniqueArgs} args - Arguments to find a AppSyncItem * @example * // Get one AppSyncItem * const appSyncItem = await prisma.appSyncItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppSyncItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppSyncItemFindUniqueOrThrowArgs} args - Arguments to find a AppSyncItem * @example * // Get one AppSyncItem * const appSyncItem = await prisma.appSyncItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncItem 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 {AppSyncItemFindFirstArgs} args - Arguments to find a AppSyncItem * @example * // Get one AppSyncItem * const appSyncItem = await prisma.appSyncItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncItem 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 {AppSyncItemFindFirstOrThrowArgs} args - Arguments to find a AppSyncItem * @example * // Get one AppSyncItem * const appSyncItem = await prisma.appSyncItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppSyncItems 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 {AppSyncItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppSyncItems * const appSyncItems = await prisma.appSyncItem.findMany() * * // Get first 10 AppSyncItems * const appSyncItems = await prisma.appSyncItem.findMany({ take: 10 }) * * // Only select the `id` * const appSyncItemWithIdOnly = await prisma.appSyncItem.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AppSyncItem. * @param {AppSyncItemCreateArgs} args - Arguments to create a AppSyncItem. * @example * // Create one AppSyncItem * const AppSyncItem = await prisma.appSyncItem.create({ * data: { * // ... data to create a AppSyncItem * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppSyncItems. * @param {AppSyncItemCreateManyArgs} args - Arguments to create many AppSyncItems. * @example * // Create many AppSyncItems * const appSyncItem = await prisma.appSyncItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AppSyncItems and returns the data saved in the database. * @param {AppSyncItemCreateManyAndReturnArgs} args - Arguments to create many AppSyncItems. * @example * // Create many AppSyncItems * const appSyncItem = await prisma.appSyncItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AppSyncItems and only return the `id` * const appSyncItemWithIdOnly = await prisma.appSyncItem.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AppSyncItem. * @param {AppSyncItemDeleteArgs} args - Arguments to delete one AppSyncItem. * @example * // Delete one AppSyncItem * const AppSyncItem = await prisma.appSyncItem.delete({ * where: { * // ... filter to delete one AppSyncItem * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppSyncItem. * @param {AppSyncItemUpdateArgs} args - Arguments to update one AppSyncItem. * @example * // Update one AppSyncItem * const appSyncItem = await prisma.appSyncItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppSyncItems. * @param {AppSyncItemDeleteManyArgs} args - Arguments to filter AppSyncItems to delete. * @example * // Delete a few AppSyncItems * const { count } = await prisma.appSyncItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppSyncItems * const appSyncItem = await prisma.appSyncItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncItems and returns the data updated in the database. * @param {AppSyncItemUpdateManyAndReturnArgs} args - Arguments to update many AppSyncItems. * @example * // Update many AppSyncItems * const appSyncItem = await prisma.appSyncItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AppSyncItems and only return the `id` * const appSyncItemWithIdOnly = await prisma.appSyncItem.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AppSyncItem. * @param {AppSyncItemUpsertArgs} args - Arguments to update or create a AppSyncItem. * @example * // Update or create a AppSyncItem * const appSyncItem = await prisma.appSyncItem.upsert({ * create: { * // ... data to create a AppSyncItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppSyncItem we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncItemClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppSyncItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncItemCountArgs} args - Arguments to filter AppSyncItems to count. * @example * // Count the number of AppSyncItems * const count = await prisma.appSyncItem.count({ * where: { * // ... the filter for the AppSyncItems 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 AppSyncItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncItemAggregateArgs} 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 AppSyncItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncItemGroupByArgs} 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 AppSyncItemGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AppSyncItemGroupByArgs['orderBy'] } : { orderBy?: AppSyncItemGroupByArgs['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 ? GetAppSyncItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppSyncItem model */ readonly fields: AppSyncItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppSyncItem. * 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__AppSyncItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" syncRun = {}>(args?: Prisma.Subset>): Prisma.Prisma__AppSyncRunClient, 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 AppSyncItem model */ export interface AppSyncItemFieldRefs { readonly id: Prisma.FieldRef<"AppSyncItem", 'String'> readonly createdAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'> readonly syncRunId: Prisma.FieldRef<"AppSyncItem", 'String'> readonly objectType: Prisma.FieldRef<"AppSyncItem", 'String'> readonly sourceId: Prisma.FieldRef<"AppSyncItem", 'String'> readonly destinationId: Prisma.FieldRef<"AppSyncItem", 'String'> readonly description: Prisma.FieldRef<"AppSyncItem", 'String'> readonly status: Prisma.FieldRef<"AppSyncItem", 'String'> readonly action: Prisma.FieldRef<"AppSyncItem", 'String'> readonly sourceData: Prisma.FieldRef<"AppSyncItem", 'String'> readonly destinationData: Prisma.FieldRef<"AppSyncItem", 'String'> readonly error: Prisma.FieldRef<"AppSyncItem", 'String'> readonly rolledBackData: Prisma.FieldRef<"AppSyncItem", 'String'> readonly rolledBackAt: Prisma.FieldRef<"AppSyncItem", 'DateTime'> } // Custom InputTypes /** * AppSyncItem findUnique */ export type AppSyncItemFindUniqueArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter, which AppSyncItem to fetch. */ where: Prisma.AppSyncItemWhereUniqueInput } /** * AppSyncItem findUniqueOrThrow */ export type AppSyncItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter, which AppSyncItem to fetch. */ where: Prisma.AppSyncItemWhereUniqueInput } /** * AppSyncItem findFirst */ export type AppSyncItemFindFirstArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter, which AppSyncItem to fetch. */ where?: Prisma.AppSyncItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncItems to fetch. */ orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncItems. */ cursor?: Prisma.AppSyncItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncItems 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` AppSyncItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncItems. */ distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[] } /** * AppSyncItem findFirstOrThrow */ export type AppSyncItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter, which AppSyncItem to fetch. */ where?: Prisma.AppSyncItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncItems to fetch. */ orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncItems. */ cursor?: Prisma.AppSyncItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncItems 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` AppSyncItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncItems. */ distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[] } /** * AppSyncItem findMany */ export type AppSyncItemFindManyArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter, which AppSyncItems to fetch. */ where?: Prisma.AppSyncItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncItems to fetch. */ orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppSyncItems. */ cursor?: Prisma.AppSyncItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncItems 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` AppSyncItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncItems. */ distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[] } /** * AppSyncItem create */ export type AppSyncItemCreateArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * The data needed to create a AppSyncItem. */ data: Prisma.XOR } /** * AppSyncItem createMany */ export type AppSyncItemCreateManyArgs = { /** * The data used to create many AppSyncItems. */ data: Prisma.AppSyncItemCreateManyInput | Prisma.AppSyncItemCreateManyInput[] skipDuplicates?: boolean } /** * AppSyncItem createManyAndReturn */ export type AppSyncItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelectCreateManyAndReturn | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * The data used to create many AppSyncItems. */ data: Prisma.AppSyncItemCreateManyInput | Prisma.AppSyncItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemIncludeCreateManyAndReturn | null } /** * AppSyncItem update */ export type AppSyncItemUpdateArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * The data needed to update a AppSyncItem. */ data: Prisma.XOR /** * Choose, which AppSyncItem to update. */ where: Prisma.AppSyncItemWhereUniqueInput } /** * AppSyncItem updateMany */ export type AppSyncItemUpdateManyArgs = { /** * The data used to update AppSyncItems. */ data: Prisma.XOR /** * Filter which AppSyncItems to update */ where?: Prisma.AppSyncItemWhereInput /** * Limit how many AppSyncItems to update. */ limit?: number } /** * AppSyncItem updateManyAndReturn */ export type AppSyncItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * The data used to update AppSyncItems. */ data: Prisma.XOR /** * Filter which AppSyncItems to update */ where?: Prisma.AppSyncItemWhereInput /** * Limit how many AppSyncItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemIncludeUpdateManyAndReturn | null } /** * AppSyncItem upsert */ export type AppSyncItemUpsertArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * The filter to search for the AppSyncItem to update in case it exists. */ where: Prisma.AppSyncItemWhereUniqueInput /** * In case the AppSyncItem found by the `where` argument doesn't exist, create a new AppSyncItem with this data. */ create: Prisma.XOR /** * In case the AppSyncItem was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AppSyncItem delete */ export type AppSyncItemDeleteArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null /** * Filter which AppSyncItem to delete. */ where: Prisma.AppSyncItemWhereUniqueInput } /** * AppSyncItem deleteMany */ export type AppSyncItemDeleteManyArgs = { /** * Filter which AppSyncItems to delete */ where?: Prisma.AppSyncItemWhereInput /** * Limit how many AppSyncItems to delete. */ limit?: number } /** * AppSyncItem without action */ export type AppSyncItemDefaultArgs = { /** * Select specific fields to fetch from the AppSyncItem */ select?: Prisma.AppSyncItemSelect | null /** * Omit specific fields from the AppSyncItem */ omit?: Prisma.AppSyncItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncItemInclude | null }