/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AppSyncRun` 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 AppSyncRun * */ export type AppSyncRunModel = runtime.Types.Result.DefaultSelection export type AggregateAppSyncRun = { _count: AppSyncRunCountAggregateOutputType | null _avg: AppSyncRunAvgAggregateOutputType | null _sum: AppSyncRunSumAggregateOutputType | null _min: AppSyncRunMinAggregateOutputType | null _max: AppSyncRunMaxAggregateOutputType | null } export type AppSyncRunAvgAggregateOutputType = { duration: number | null itemsProcessed: number | null itemsCreated: number | null itemsUpdated: number | null itemsFailed: number | null } export type AppSyncRunSumAggregateOutputType = { duration: number | null itemsProcessed: number | null itemsCreated: number | null itemsUpdated: number | null itemsFailed: number | null } export type AppSyncRunMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null appId: string | null tenantId: string | null taskKey: string | null taskName: string | null description: string | null status: string | null executionMode: string | null startedAt: Date | null completedAt: Date | null duration: number | null itemsProcessed: number | null itemsCreated: number | null itemsUpdated: number | null itemsFailed: number | null error: string | null metadata: string | null createdByUserId: string | null } export type AppSyncRunMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null appId: string | null tenantId: string | null taskKey: string | null taskName: string | null description: string | null status: string | null executionMode: string | null startedAt: Date | null completedAt: Date | null duration: number | null itemsProcessed: number | null itemsCreated: number | null itemsUpdated: number | null itemsFailed: number | null error: string | null metadata: string | null createdByUserId: string | null } export type AppSyncRunCountAggregateOutputType = { id: number createdAt: number updatedAt: number appId: number tenantId: number taskKey: number taskName: number description: number status: number executionMode: number startedAt: number completedAt: number duration: number itemsProcessed: number itemsCreated: number itemsUpdated: number itemsFailed: number error: number metadata: number createdByUserId: number _all: number } export type AppSyncRunAvgAggregateInputType = { duration?: true itemsProcessed?: true itemsCreated?: true itemsUpdated?: true itemsFailed?: true } export type AppSyncRunSumAggregateInputType = { duration?: true itemsProcessed?: true itemsCreated?: true itemsUpdated?: true itemsFailed?: true } export type AppSyncRunMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true appId?: true tenantId?: true taskKey?: true taskName?: true description?: true status?: true executionMode?: true startedAt?: true completedAt?: true duration?: true itemsProcessed?: true itemsCreated?: true itemsUpdated?: true itemsFailed?: true error?: true metadata?: true createdByUserId?: true } export type AppSyncRunMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true appId?: true tenantId?: true taskKey?: true taskName?: true description?: true status?: true executionMode?: true startedAt?: true completedAt?: true duration?: true itemsProcessed?: true itemsCreated?: true itemsUpdated?: true itemsFailed?: true error?: true metadata?: true createdByUserId?: true } export type AppSyncRunCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true appId?: true tenantId?: true taskKey?: true taskName?: true description?: true status?: true executionMode?: true startedAt?: true completedAt?: true duration?: true itemsProcessed?: true itemsCreated?: true itemsUpdated?: true itemsFailed?: true error?: true metadata?: true createdByUserId?: true _all?: true } export type AppSyncRunAggregateArgs = { /** * Filter which AppSyncRun to aggregate. */ where?: Prisma.AppSyncRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRuns to fetch. */ orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AppSyncRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRuns 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` AppSyncRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppSyncRuns **/ _count?: true | AppSyncRunCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AppSyncRunAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AppSyncRunSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppSyncRunMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppSyncRunMaxAggregateInputType } export type GetAppSyncRunAggregateType = { [P in keyof T & keyof AggregateAppSyncRun]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AppSyncRunGroupByArgs = { where?: Prisma.AppSyncRunWhereInput orderBy?: Prisma.AppSyncRunOrderByWithAggregationInput | Prisma.AppSyncRunOrderByWithAggregationInput[] by: Prisma.AppSyncRunScalarFieldEnum[] | Prisma.AppSyncRunScalarFieldEnum having?: Prisma.AppSyncRunScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppSyncRunCountAggregateInputType | true _avg?: AppSyncRunAvgAggregateInputType _sum?: AppSyncRunSumAggregateInputType _min?: AppSyncRunMinAggregateInputType _max?: AppSyncRunMaxAggregateInputType } export type AppSyncRunGroupByOutputType = { id: string createdAt: Date updatedAt: Date appId: string tenantId: string taskKey: string taskName: string description: string | null status: string executionMode: string startedAt: Date | null completedAt: Date | null duration: number itemsProcessed: number itemsCreated: number itemsUpdated: number itemsFailed: number error: string | null metadata: string createdByUserId: string | null _count: AppSyncRunCountAggregateOutputType | null _avg: AppSyncRunAvgAggregateOutputType | null _sum: AppSyncRunSumAggregateOutputType | null _min: AppSyncRunMinAggregateOutputType | null _max: AppSyncRunMaxAggregateOutputType | null } export type GetAppSyncRunGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AppSyncRunGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AppSyncRunWhereInput = { AND?: Prisma.AppSyncRunWhereInput | Prisma.AppSyncRunWhereInput[] OR?: Prisma.AppSyncRunWhereInput[] NOT?: Prisma.AppSyncRunWhereInput | Prisma.AppSyncRunWhereInput[] id?: Prisma.StringFilter<"AppSyncRun"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string appId?: Prisma.StringFilter<"AppSyncRun"> | string tenantId?: Prisma.StringFilter<"AppSyncRun"> | string taskKey?: Prisma.StringFilter<"AppSyncRun"> | string taskName?: Prisma.StringFilter<"AppSyncRun"> | string description?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null status?: Prisma.StringFilter<"AppSyncRun"> | string executionMode?: Prisma.StringFilter<"AppSyncRun"> | string startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null duration?: Prisma.IntFilter<"AppSyncRun"> | number itemsProcessed?: Prisma.IntFilter<"AppSyncRun"> | number itemsCreated?: Prisma.IntFilter<"AppSyncRun"> | number itemsUpdated?: Prisma.IntFilter<"AppSyncRun"> | number itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number error?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null metadata?: Prisma.StringFilter<"AppSyncRun"> | string createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null app?: Prisma.XOR tenant?: Prisma.XOR createdByUser?: Prisma.XOR | null logs?: Prisma.AppSyncRunLogListRelationFilter syncItems?: Prisma.AppSyncItemListRelationFilter } export type AppSyncRunOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder appId?: Prisma.SortOrder tenantId?: Prisma.SortOrder taskKey?: Prisma.SortOrder taskName?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder executionMode?: Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder completedAt?: Prisma.SortOrderInput | Prisma.SortOrder duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder app?: Prisma.AppOrderByWithRelationInput tenant?: Prisma.TenantOrderByWithRelationInput createdByUser?: Prisma.UserOrderByWithRelationInput logs?: Prisma.AppSyncRunLogOrderByRelationAggregateInput syncItems?: Prisma.AppSyncItemOrderByRelationAggregateInput } export type AppSyncRunWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AppSyncRunWhereInput | Prisma.AppSyncRunWhereInput[] OR?: Prisma.AppSyncRunWhereInput[] NOT?: Prisma.AppSyncRunWhereInput | Prisma.AppSyncRunWhereInput[] createdAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string appId?: Prisma.StringFilter<"AppSyncRun"> | string tenantId?: Prisma.StringFilter<"AppSyncRun"> | string taskKey?: Prisma.StringFilter<"AppSyncRun"> | string taskName?: Prisma.StringFilter<"AppSyncRun"> | string description?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null status?: Prisma.StringFilter<"AppSyncRun"> | string executionMode?: Prisma.StringFilter<"AppSyncRun"> | string startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null duration?: Prisma.IntFilter<"AppSyncRun"> | number itemsProcessed?: Prisma.IntFilter<"AppSyncRun"> | number itemsCreated?: Prisma.IntFilter<"AppSyncRun"> | number itemsUpdated?: Prisma.IntFilter<"AppSyncRun"> | number itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number error?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null metadata?: Prisma.StringFilter<"AppSyncRun"> | string createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null app?: Prisma.XOR tenant?: Prisma.XOR createdByUser?: Prisma.XOR | null logs?: Prisma.AppSyncRunLogListRelationFilter syncItems?: Prisma.AppSyncItemListRelationFilter }, "id"> export type AppSyncRunOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder appId?: Prisma.SortOrder tenantId?: Prisma.SortOrder taskKey?: Prisma.SortOrder taskName?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder status?: Prisma.SortOrder executionMode?: Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder completedAt?: Prisma.SortOrderInput | Prisma.SortOrder duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder metadata?: Prisma.SortOrder createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AppSyncRunCountOrderByAggregateInput _avg?: Prisma.AppSyncRunAvgOrderByAggregateInput _max?: Prisma.AppSyncRunMaxOrderByAggregateInput _min?: Prisma.AppSyncRunMinOrderByAggregateInput _sum?: Prisma.AppSyncRunSumOrderByAggregateInput } export type AppSyncRunScalarWhereWithAggregatesInput = { AND?: Prisma.AppSyncRunScalarWhereWithAggregatesInput | Prisma.AppSyncRunScalarWhereWithAggregatesInput[] OR?: Prisma.AppSyncRunScalarWhereWithAggregatesInput[] NOT?: Prisma.AppSyncRunScalarWhereWithAggregatesInput | Prisma.AppSyncRunScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncRun"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AppSyncRun"> | Date | string appId?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string tenantId?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string taskKey?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string taskName?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string description?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRun"> | string | null status?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string executionMode?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncRun"> | Date | string | null completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncRun"> | Date | string | null duration?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number itemsProcessed?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number itemsCreated?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number itemsUpdated?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number itemsFailed?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number error?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRun"> | string | null metadata?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRun"> | string | null } export type AppSyncRunCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string app: Prisma.AppCreateNestedOneWithoutSyncRunsInput tenant: Prisma.TenantCreateNestedOneWithoutAppSyncRunsInput createdByUser?: Prisma.UserCreateNestedOneWithoutAppSyncRunsInput logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string app?: Prisma.AppUpdateOneRequiredWithoutSyncRunsNestedInput tenant?: Prisma.TenantUpdateOneRequiredWithoutAppSyncRunsNestedInput createdByUser?: Prisma.UserUpdateOneWithoutAppSyncRunsNestedInput logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null } export type AppSyncRunUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } export type AppSyncRunUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunListRelationFilter = { every?: Prisma.AppSyncRunWhereInput some?: Prisma.AppSyncRunWhereInput none?: Prisma.AppSyncRunWhereInput } export type AppSyncRunOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AppSyncRunCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder appId?: Prisma.SortOrder tenantId?: Prisma.SortOrder taskKey?: Prisma.SortOrder taskName?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder executionMode?: Prisma.SortOrder startedAt?: Prisma.SortOrder completedAt?: Prisma.SortOrder duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder error?: Prisma.SortOrder metadata?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder } export type AppSyncRunAvgOrderByAggregateInput = { duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder } export type AppSyncRunMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder appId?: Prisma.SortOrder tenantId?: Prisma.SortOrder taskKey?: Prisma.SortOrder taskName?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder executionMode?: Prisma.SortOrder startedAt?: Prisma.SortOrder completedAt?: Prisma.SortOrder duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder error?: Prisma.SortOrder metadata?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder } export type AppSyncRunMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder appId?: Prisma.SortOrder tenantId?: Prisma.SortOrder taskKey?: Prisma.SortOrder taskName?: Prisma.SortOrder description?: Prisma.SortOrder status?: Prisma.SortOrder executionMode?: Prisma.SortOrder startedAt?: Prisma.SortOrder completedAt?: Prisma.SortOrder duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder error?: Prisma.SortOrder metadata?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder } export type AppSyncRunSumOrderByAggregateInput = { duration?: Prisma.SortOrder itemsProcessed?: Prisma.SortOrder itemsCreated?: Prisma.SortOrder itemsUpdated?: Prisma.SortOrder itemsFailed?: Prisma.SortOrder } export type AppSyncRunScalarRelationFilter = { is?: Prisma.AppSyncRunWhereInput isNot?: Prisma.AppSyncRunWhereInput } export type AppSyncRunCreateNestedManyWithoutCreatedByUserInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutCreatedByUserInput[] | Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput | Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput[] createMany?: Prisma.AppSyncRunCreateManyCreatedByUserInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutCreatedByUserInput[] | Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput | Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput[] createMany?: Prisma.AppSyncRunCreateManyCreatedByUserInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUpdateManyWithoutCreatedByUserNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutCreatedByUserInput[] | Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput | Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: Prisma.AppSyncRunCreateManyCreatedByUserInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunUncheckedUpdateManyWithoutCreatedByUserNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutCreatedByUserInput[] | Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput | Prisma.AppSyncRunCreateOrConnectWithoutCreatedByUserInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: Prisma.AppSyncRunCreateManyCreatedByUserInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutTenantInput[] | Prisma.AppSyncRunUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutTenantInput | Prisma.AppSyncRunCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AppSyncRunCreateManyTenantInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutTenantInput[] | Prisma.AppSyncRunUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutTenantInput | Prisma.AppSyncRunCreateOrConnectWithoutTenantInput[] createMany?: Prisma.AppSyncRunCreateManyTenantInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutTenantInput[] | Prisma.AppSyncRunUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutTenantInput | Prisma.AppSyncRunCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AppSyncRunCreateManyTenantInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutTenantInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutTenantInput[] | Prisma.AppSyncRunUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutTenantInput | Prisma.AppSyncRunCreateOrConnectWithoutTenantInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutTenantInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.AppSyncRunCreateManyTenantInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutTenantInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutTenantInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunCreateNestedManyWithoutAppInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutAppInput[] | Prisma.AppSyncRunUncheckedCreateWithoutAppInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutAppInput | Prisma.AppSyncRunCreateOrConnectWithoutAppInput[] createMany?: Prisma.AppSyncRunCreateManyAppInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUncheckedCreateNestedManyWithoutAppInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutAppInput[] | Prisma.AppSyncRunUncheckedCreateWithoutAppInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutAppInput | Prisma.AppSyncRunCreateOrConnectWithoutAppInput[] createMany?: Prisma.AppSyncRunCreateManyAppInputEnvelope connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] } export type AppSyncRunUpdateManyWithoutAppNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutAppInput[] | Prisma.AppSyncRunUncheckedCreateWithoutAppInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutAppInput | Prisma.AppSyncRunCreateOrConnectWithoutAppInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutAppInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutAppInput[] createMany?: Prisma.AppSyncRunCreateManyAppInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutAppInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutAppInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutAppInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutAppInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunUncheckedUpdateManyWithoutAppNestedInput = { create?: Prisma.XOR | Prisma.AppSyncRunCreateWithoutAppInput[] | Prisma.AppSyncRunUncheckedCreateWithoutAppInput[] connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutAppInput | Prisma.AppSyncRunCreateOrConnectWithoutAppInput[] upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutAppInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutAppInput[] createMany?: Prisma.AppSyncRunCreateManyAppInputEnvelope set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[] update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutAppInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutAppInput[] updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutAppInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutAppInput[] deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] } export type AppSyncRunCreateNestedOneWithoutLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutLogsInput connect?: Prisma.AppSyncRunWhereUniqueInput } export type AppSyncRunUpdateOneRequiredWithoutLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutLogsInput upsert?: Prisma.AppSyncRunUpsertWithoutLogsInput connect?: Prisma.AppSyncRunWhereUniqueInput update?: Prisma.XOR, Prisma.AppSyncRunUncheckedUpdateWithoutLogsInput> } export type AppSyncRunCreateNestedOneWithoutSyncItemsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutSyncItemsInput connect?: Prisma.AppSyncRunWhereUniqueInput } export type AppSyncRunUpdateOneRequiredWithoutSyncItemsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutSyncItemsInput upsert?: Prisma.AppSyncRunUpsertWithoutSyncItemsInput connect?: Prisma.AppSyncRunWhereUniqueInput update?: Prisma.XOR, Prisma.AppSyncRunUncheckedUpdateWithoutSyncItemsInput> } export type AppSyncRunCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string app: Prisma.AppCreateNestedOneWithoutSyncRunsInput tenant: Prisma.TenantCreateNestedOneWithoutAppSyncRunsInput logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunCreateOrConnectWithoutCreatedByUserInput = { where: Prisma.AppSyncRunWhereUniqueInput create: Prisma.XOR } export type AppSyncRunCreateManyCreatedByUserInputEnvelope = { data: Prisma.AppSyncRunCreateManyCreatedByUserInput | Prisma.AppSyncRunCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.AppSyncRunWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: Prisma.AppSyncRunWhereUniqueInput data: Prisma.XOR } export type AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput = { where: Prisma.AppSyncRunScalarWhereInput data: Prisma.XOR } export type AppSyncRunScalarWhereInput = { AND?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] OR?: Prisma.AppSyncRunScalarWhereInput[] NOT?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[] id?: Prisma.StringFilter<"AppSyncRun"> | string createdAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AppSyncRun"> | Date | string appId?: Prisma.StringFilter<"AppSyncRun"> | string tenantId?: Prisma.StringFilter<"AppSyncRun"> | string taskKey?: Prisma.StringFilter<"AppSyncRun"> | string taskName?: Prisma.StringFilter<"AppSyncRun"> | string description?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null status?: Prisma.StringFilter<"AppSyncRun"> | string executionMode?: Prisma.StringFilter<"AppSyncRun"> | string startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null duration?: Prisma.IntFilter<"AppSyncRun"> | number itemsProcessed?: Prisma.IntFilter<"AppSyncRun"> | number itemsCreated?: Prisma.IntFilter<"AppSyncRun"> | number itemsUpdated?: Prisma.IntFilter<"AppSyncRun"> | number itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number error?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null metadata?: Prisma.StringFilter<"AppSyncRun"> | string createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null } export type AppSyncRunCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string app: Prisma.AppCreateNestedOneWithoutSyncRunsInput createdByUser?: Prisma.UserCreateNestedOneWithoutAppSyncRunsInput logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunCreateOrConnectWithoutTenantInput = { where: Prisma.AppSyncRunWhereUniqueInput create: Prisma.XOR } export type AppSyncRunCreateManyTenantInputEnvelope = { data: Prisma.AppSyncRunCreateManyTenantInput | Prisma.AppSyncRunCreateManyTenantInput[] skipDuplicates?: boolean } export type AppSyncRunUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.AppSyncRunWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppSyncRunUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.AppSyncRunWhereUniqueInput data: Prisma.XOR } export type AppSyncRunUpdateManyWithWhereWithoutTenantInput = { where: Prisma.AppSyncRunScalarWhereInput data: Prisma.XOR } export type AppSyncRunCreateWithoutAppInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string tenant: Prisma.TenantCreateNestedOneWithoutAppSyncRunsInput createdByUser?: Prisma.UserCreateNestedOneWithoutAppSyncRunsInput logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateWithoutAppInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput syncItems?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunCreateOrConnectWithoutAppInput = { where: Prisma.AppSyncRunWhereUniqueInput create: Prisma.XOR } export type AppSyncRunCreateManyAppInputEnvelope = { data: Prisma.AppSyncRunCreateManyAppInput | Prisma.AppSyncRunCreateManyAppInput[] skipDuplicates?: boolean } export type AppSyncRunUpsertWithWhereUniqueWithoutAppInput = { where: Prisma.AppSyncRunWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AppSyncRunUpdateWithWhereUniqueWithoutAppInput = { where: Prisma.AppSyncRunWhereUniqueInput data: Prisma.XOR } export type AppSyncRunUpdateManyWithWhereWithoutAppInput = { where: Prisma.AppSyncRunScalarWhereInput data: Prisma.XOR } export type AppSyncRunCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string app: Prisma.AppCreateNestedOneWithoutSyncRunsInput tenant: Prisma.TenantCreateNestedOneWithoutAppSyncRunsInput createdByUser?: Prisma.UserCreateNestedOneWithoutAppSyncRunsInput syncItems?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateWithoutLogsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null syncItems?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunCreateOrConnectWithoutLogsInput = { where: Prisma.AppSyncRunWhereUniqueInput create: Prisma.XOR } export type AppSyncRunUpsertWithoutLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AppSyncRunWhereInput } export type AppSyncRunUpdateToOneWithWhereWithoutLogsInput = { where?: Prisma.AppSyncRunWhereInput data: Prisma.XOR } export type AppSyncRunUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string app?: Prisma.AppUpdateOneRequiredWithoutSyncRunsNestedInput tenant?: Prisma.TenantUpdateOneRequiredWithoutAppSyncRunsNestedInput createdByUser?: Prisma.UserUpdateOneWithoutAppSyncRunsNestedInput syncItems?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null syncItems?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunCreateWithoutSyncItemsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string app: Prisma.AppCreateNestedOneWithoutSyncRunsInput tenant: Prisma.TenantCreateNestedOneWithoutAppSyncRunsInput createdByUser?: Prisma.UserCreateNestedOneWithoutAppSyncRunsInput logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput } export type AppSyncRunUncheckedCreateWithoutSyncItemsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput } export type AppSyncRunCreateOrConnectWithoutSyncItemsInput = { where: Prisma.AppSyncRunWhereUniqueInput create: Prisma.XOR } export type AppSyncRunUpsertWithoutSyncItemsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AppSyncRunWhereInput } export type AppSyncRunUpdateToOneWithWhereWithoutSyncItemsInput = { where?: Prisma.AppSyncRunWhereInput data: Prisma.XOR } export type AppSyncRunUpdateWithoutSyncItemsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string app?: Prisma.AppUpdateOneRequiredWithoutSyncRunsNestedInput tenant?: Prisma.TenantUpdateOneRequiredWithoutAppSyncRunsNestedInput createdByUser?: Prisma.UserUpdateOneWithoutAppSyncRunsNestedInput logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateWithoutSyncItemsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunCreateManyCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string } export type AppSyncRunUpdateWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string app?: Prisma.AppUpdateOneRequiredWithoutSyncRunsNestedInput tenant?: Prisma.TenantUpdateOneRequiredWithoutAppSyncRunsNestedInput logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateManyWithoutCreatedByUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string } export type AppSyncRunCreateManyTenantInput = { id?: string createdAt?: Date | string updatedAt?: Date | string appId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null } export type AppSyncRunUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string app?: Prisma.AppUpdateOneRequiredWithoutSyncRunsNestedInput createdByUser?: Prisma.UserUpdateOneWithoutAppSyncRunsNestedInput logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string appId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AppSyncRunCreateManyAppInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string taskKey: string taskName: string description?: string | null status?: string executionMode?: string startedAt?: Date | string | null completedAt?: Date | string | null duration?: number itemsProcessed?: number itemsCreated?: number itemsUpdated?: number itemsFailed?: number error?: string | null metadata?: string createdByUserId?: string | null } export type AppSyncRunUpdateWithoutAppInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string tenant?: Prisma.TenantUpdateOneRequiredWithoutAppSyncRunsNestedInput createdByUser?: Prisma.UserUpdateOneWithoutAppSyncRunsNestedInput logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateWithoutAppInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput syncItems?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput } export type AppSyncRunUncheckedUpdateManyWithoutAppInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string taskKey?: Prisma.StringFieldUpdateOperationsInput | string taskName?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null status?: Prisma.StringFieldUpdateOperationsInput | string executionMode?: Prisma.StringFieldUpdateOperationsInput | string startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null duration?: Prisma.IntFieldUpdateOperationsInput | number itemsProcessed?: Prisma.IntFieldUpdateOperationsInput | number itemsCreated?: Prisma.IntFieldUpdateOperationsInput | number itemsUpdated?: Prisma.IntFieldUpdateOperationsInput | number itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null metadata?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type AppSyncRunCountOutputType */ export type AppSyncRunCountOutputType = { logs: number syncItems: number } export type AppSyncRunCountOutputTypeSelect = { logs?: boolean | AppSyncRunCountOutputTypeCountLogsArgs syncItems?: boolean | AppSyncRunCountOutputTypeCountSyncItemsArgs } /** * AppSyncRunCountOutputType without action */ export type AppSyncRunCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AppSyncRunCountOutputType */ select?: Prisma.AppSyncRunCountOutputTypeSelect | null } /** * AppSyncRunCountOutputType without action */ export type AppSyncRunCountOutputTypeCountLogsArgs = { where?: Prisma.AppSyncRunLogWhereInput } /** * AppSyncRunCountOutputType without action */ export type AppSyncRunCountOutputTypeCountSyncItemsArgs = { where?: Prisma.AppSyncItemWhereInput } export type AppSyncRunSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean appId?: boolean tenantId?: boolean taskKey?: boolean taskName?: boolean description?: boolean status?: boolean executionMode?: boolean startedAt?: boolean completedAt?: boolean duration?: boolean itemsProcessed?: boolean itemsCreated?: boolean itemsUpdated?: boolean itemsFailed?: boolean error?: boolean metadata?: boolean createdByUserId?: boolean app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs logs?: boolean | Prisma.AppSyncRun$logsArgs syncItems?: boolean | Prisma.AppSyncRun$syncItemsArgs _count?: boolean | Prisma.AppSyncRunCountOutputTypeDefaultArgs }, ExtArgs["result"]["appSyncRun"]> export type AppSyncRunSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean appId?: boolean tenantId?: boolean taskKey?: boolean taskName?: boolean description?: boolean status?: boolean executionMode?: boolean startedAt?: boolean completedAt?: boolean duration?: boolean itemsProcessed?: boolean itemsCreated?: boolean itemsUpdated?: boolean itemsFailed?: boolean error?: boolean metadata?: boolean createdByUserId?: boolean app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs }, ExtArgs["result"]["appSyncRun"]> export type AppSyncRunSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean appId?: boolean tenantId?: boolean taskKey?: boolean taskName?: boolean description?: boolean status?: boolean executionMode?: boolean startedAt?: boolean completedAt?: boolean duration?: boolean itemsProcessed?: boolean itemsCreated?: boolean itemsUpdated?: boolean itemsFailed?: boolean error?: boolean metadata?: boolean createdByUserId?: boolean app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs }, ExtArgs["result"]["appSyncRun"]> export type AppSyncRunSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean appId?: boolean tenantId?: boolean taskKey?: boolean taskName?: boolean description?: boolean status?: boolean executionMode?: boolean startedAt?: boolean completedAt?: boolean duration?: boolean itemsProcessed?: boolean itemsCreated?: boolean itemsUpdated?: boolean itemsFailed?: boolean error?: boolean metadata?: boolean createdByUserId?: boolean } export type AppSyncRunOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "appId" | "tenantId" | "taskKey" | "taskName" | "description" | "status" | "executionMode" | "startedAt" | "completedAt" | "duration" | "itemsProcessed" | "itemsCreated" | "itemsUpdated" | "itemsFailed" | "error" | "metadata" | "createdByUserId", ExtArgs["result"]["appSyncRun"]> export type AppSyncRunInclude = { app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs logs?: boolean | Prisma.AppSyncRun$logsArgs syncItems?: boolean | Prisma.AppSyncRun$syncItemsArgs _count?: boolean | Prisma.AppSyncRunCountOutputTypeDefaultArgs } export type AppSyncRunIncludeCreateManyAndReturn = { app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs } export type AppSyncRunIncludeUpdateManyAndReturn = { app?: boolean | Prisma.AppDefaultArgs tenant?: boolean | Prisma.TenantDefaultArgs createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs } export type $AppSyncRunPayload = { name: "AppSyncRun" objects: { app: Prisma.$AppPayload tenant: Prisma.$TenantPayload createdByUser: Prisma.$UserPayload | null logs: Prisma.$AppSyncRunLogPayload[] syncItems: Prisma.$AppSyncItemPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date appId: string tenantId: string taskKey: string taskName: string description: string | null status: string executionMode: string startedAt: Date | null completedAt: Date | null duration: number itemsProcessed: number itemsCreated: number itemsUpdated: number itemsFailed: number error: string | null metadata: string createdByUserId: string | null }, ExtArgs["result"]["appSyncRun"]> composites: {} } export type AppSyncRunGetPayload = runtime.Types.Result.GetResult export type AppSyncRunCountArgs = Omit & { select?: AppSyncRunCountAggregateInputType | true } export interface AppSyncRunDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppSyncRun'], meta: { name: 'AppSyncRun' } } /** * Find zero or one AppSyncRun that matches the filter. * @param {AppSyncRunFindUniqueArgs} args - Arguments to find a AppSyncRun * @example * // Get one AppSyncRun * const appSyncRun = await prisma.appSyncRun.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppSyncRun that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppSyncRunFindUniqueOrThrowArgs} args - Arguments to find a AppSyncRun * @example * // Get one AppSyncRun * const appSyncRun = await prisma.appSyncRun.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncRun 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 {AppSyncRunFindFirstArgs} args - Arguments to find a AppSyncRun * @example * // Get one AppSyncRun * const appSyncRun = await prisma.appSyncRun.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppSyncRun 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 {AppSyncRunFindFirstOrThrowArgs} args - Arguments to find a AppSyncRun * @example * // Get one AppSyncRun * const appSyncRun = await prisma.appSyncRun.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppSyncRuns 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 {AppSyncRunFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppSyncRuns * const appSyncRuns = await prisma.appSyncRun.findMany() * * // Get first 10 AppSyncRuns * const appSyncRuns = await prisma.appSyncRun.findMany({ take: 10 }) * * // Only select the `id` * const appSyncRunWithIdOnly = await prisma.appSyncRun.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AppSyncRun. * @param {AppSyncRunCreateArgs} args - Arguments to create a AppSyncRun. * @example * // Create one AppSyncRun * const AppSyncRun = await prisma.appSyncRun.create({ * data: { * // ... data to create a AppSyncRun * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppSyncRuns. * @param {AppSyncRunCreateManyArgs} args - Arguments to create many AppSyncRuns. * @example * // Create many AppSyncRuns * const appSyncRun = await prisma.appSyncRun.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AppSyncRuns and returns the data saved in the database. * @param {AppSyncRunCreateManyAndReturnArgs} args - Arguments to create many AppSyncRuns. * @example * // Create many AppSyncRuns * const appSyncRun = await prisma.appSyncRun.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AppSyncRuns and only return the `id` * const appSyncRunWithIdOnly = await prisma.appSyncRun.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 AppSyncRun. * @param {AppSyncRunDeleteArgs} args - Arguments to delete one AppSyncRun. * @example * // Delete one AppSyncRun * const AppSyncRun = await prisma.appSyncRun.delete({ * where: { * // ... filter to delete one AppSyncRun * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppSyncRun. * @param {AppSyncRunUpdateArgs} args - Arguments to update one AppSyncRun. * @example * // Update one AppSyncRun * const appSyncRun = await prisma.appSyncRun.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppSyncRuns. * @param {AppSyncRunDeleteManyArgs} args - Arguments to filter AppSyncRuns to delete. * @example * // Delete a few AppSyncRuns * const { count } = await prisma.appSyncRun.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppSyncRuns * const appSyncRun = await prisma.appSyncRun.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppSyncRuns and returns the data updated in the database. * @param {AppSyncRunUpdateManyAndReturnArgs} args - Arguments to update many AppSyncRuns. * @example * // Update many AppSyncRuns * const appSyncRun = await prisma.appSyncRun.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AppSyncRuns and only return the `id` * const appSyncRunWithIdOnly = await prisma.appSyncRun.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 AppSyncRun. * @param {AppSyncRunUpsertArgs} args - Arguments to update or create a AppSyncRun. * @example * // Update or create a AppSyncRun * const appSyncRun = await prisma.appSyncRun.upsert({ * create: { * // ... data to create a AppSyncRun * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppSyncRun we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AppSyncRunClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppSyncRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunCountArgs} args - Arguments to filter AppSyncRuns to count. * @example * // Count the number of AppSyncRuns * const count = await prisma.appSyncRun.count({ * where: { * // ... the filter for the AppSyncRuns 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 AppSyncRun. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunAggregateArgs} 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 AppSyncRun. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppSyncRunGroupByArgs} 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 AppSyncRunGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AppSyncRunGroupByArgs['orderBy'] } : { orderBy?: AppSyncRunGroupByArgs['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 ? GetAppSyncRunGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppSyncRun model */ readonly fields: AppSyncRunFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppSyncRun. * 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__AppSyncRunClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" app = {}>(args?: Prisma.Subset>): Prisma.Prisma__AppClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> createdByUser = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> logs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> syncItems = {}>(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 AppSyncRun model */ export interface AppSyncRunFieldRefs { readonly id: Prisma.FieldRef<"AppSyncRun", 'String'> readonly createdAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'> readonly appId: Prisma.FieldRef<"AppSyncRun", 'String'> readonly tenantId: Prisma.FieldRef<"AppSyncRun", 'String'> readonly taskKey: Prisma.FieldRef<"AppSyncRun", 'String'> readonly taskName: Prisma.FieldRef<"AppSyncRun", 'String'> readonly description: Prisma.FieldRef<"AppSyncRun", 'String'> readonly status: Prisma.FieldRef<"AppSyncRun", 'String'> readonly executionMode: Prisma.FieldRef<"AppSyncRun", 'String'> readonly startedAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'> readonly completedAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'> readonly duration: Prisma.FieldRef<"AppSyncRun", 'Int'> readonly itemsProcessed: Prisma.FieldRef<"AppSyncRun", 'Int'> readonly itemsCreated: Prisma.FieldRef<"AppSyncRun", 'Int'> readonly itemsUpdated: Prisma.FieldRef<"AppSyncRun", 'Int'> readonly itemsFailed: Prisma.FieldRef<"AppSyncRun", 'Int'> readonly error: Prisma.FieldRef<"AppSyncRun", 'String'> readonly metadata: Prisma.FieldRef<"AppSyncRun", 'String'> readonly createdByUserId: Prisma.FieldRef<"AppSyncRun", 'String'> } // Custom InputTypes /** * AppSyncRun findUnique */ export type AppSyncRunFindUniqueArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter, which AppSyncRun to fetch. */ where: Prisma.AppSyncRunWhereUniqueInput } /** * AppSyncRun findUniqueOrThrow */ export type AppSyncRunFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter, which AppSyncRun to fetch. */ where: Prisma.AppSyncRunWhereUniqueInput } /** * AppSyncRun findFirst */ export type AppSyncRunFindFirstArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter, which AppSyncRun to fetch. */ where?: Prisma.AppSyncRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRuns to fetch. */ orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncRuns. */ cursor?: Prisma.AppSyncRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRuns 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` AppSyncRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRuns. */ distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[] } /** * AppSyncRun findFirstOrThrow */ export type AppSyncRunFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter, which AppSyncRun to fetch. */ where?: Prisma.AppSyncRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRuns to fetch. */ orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppSyncRuns. */ cursor?: Prisma.AppSyncRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRuns 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` AppSyncRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRuns. */ distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[] } /** * AppSyncRun findMany */ export type AppSyncRunFindManyArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter, which AppSyncRuns to fetch. */ where?: Prisma.AppSyncRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppSyncRuns to fetch. */ orderBy?: Prisma.AppSyncRunOrderByWithRelationInput | Prisma.AppSyncRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppSyncRuns. */ cursor?: Prisma.AppSyncRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppSyncRuns 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` AppSyncRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppSyncRuns. */ distinct?: Prisma.AppSyncRunScalarFieldEnum | Prisma.AppSyncRunScalarFieldEnum[] } /** * AppSyncRun create */ export type AppSyncRunCreateArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * The data needed to create a AppSyncRun. */ data: Prisma.XOR } /** * AppSyncRun createMany */ export type AppSyncRunCreateManyArgs = { /** * The data used to create many AppSyncRuns. */ data: Prisma.AppSyncRunCreateManyInput | Prisma.AppSyncRunCreateManyInput[] skipDuplicates?: boolean } /** * AppSyncRun createManyAndReturn */ export type AppSyncRunCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelectCreateManyAndReturn | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * The data used to create many AppSyncRuns. */ data: Prisma.AppSyncRunCreateManyInput | Prisma.AppSyncRunCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunIncludeCreateManyAndReturn | null } /** * AppSyncRun update */ export type AppSyncRunUpdateArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * The data needed to update a AppSyncRun. */ data: Prisma.XOR /** * Choose, which AppSyncRun to update. */ where: Prisma.AppSyncRunWhereUniqueInput } /** * AppSyncRun updateMany */ export type AppSyncRunUpdateManyArgs = { /** * The data used to update AppSyncRuns. */ data: Prisma.XOR /** * Filter which AppSyncRuns to update */ where?: Prisma.AppSyncRunWhereInput /** * Limit how many AppSyncRuns to update. */ limit?: number } /** * AppSyncRun updateManyAndReturn */ export type AppSyncRunUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelectUpdateManyAndReturn | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * The data used to update AppSyncRuns. */ data: Prisma.XOR /** * Filter which AppSyncRuns to update */ where?: Prisma.AppSyncRunWhereInput /** * Limit how many AppSyncRuns to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunIncludeUpdateManyAndReturn | null } /** * AppSyncRun upsert */ export type AppSyncRunUpsertArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * The filter to search for the AppSyncRun to update in case it exists. */ where: Prisma.AppSyncRunWhereUniqueInput /** * In case the AppSyncRun found by the `where` argument doesn't exist, create a new AppSyncRun with this data. */ create: Prisma.XOR /** * In case the AppSyncRun was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AppSyncRun delete */ export type AppSyncRunDeleteArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null /** * Filter which AppSyncRun to delete. */ where: Prisma.AppSyncRunWhereUniqueInput } /** * AppSyncRun deleteMany */ export type AppSyncRunDeleteManyArgs = { /** * Filter which AppSyncRuns to delete */ where?: Prisma.AppSyncRunWhereInput /** * Limit how many AppSyncRuns to delete. */ limit?: number } /** * AppSyncRun.createdByUser */ export type AppSyncRun$createdByUserArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * AppSyncRun.logs */ export type AppSyncRun$logsArgs = { /** * Select specific fields to fetch from the AppSyncRunLog */ select?: Prisma.AppSyncRunLogSelect | null /** * Omit specific fields from the AppSyncRunLog */ omit?: Prisma.AppSyncRunLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunLogInclude | null where?: Prisma.AppSyncRunLogWhereInput orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[] cursor?: Prisma.AppSyncRunLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.AppSyncRunLogScalarFieldEnum | Prisma.AppSyncRunLogScalarFieldEnum[] } /** * AppSyncRun.syncItems */ export type AppSyncRun$syncItemsArgs = { /** * 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 where?: Prisma.AppSyncItemWhereInput orderBy?: Prisma.AppSyncItemOrderByWithRelationInput | Prisma.AppSyncItemOrderByWithRelationInput[] cursor?: Prisma.AppSyncItemWhereUniqueInput take?: number skip?: number distinct?: Prisma.AppSyncItemScalarFieldEnum | Prisma.AppSyncItemScalarFieldEnum[] } /** * AppSyncRun without action */ export type AppSyncRunDefaultArgs = { /** * Select specific fields to fetch from the AppSyncRun */ select?: Prisma.AppSyncRunSelect | null /** * Omit specific fields from the AppSyncRun */ omit?: Prisma.AppSyncRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AppSyncRunInclude | null }