Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/AppSyncRun.ts
T
2026-07-08 16:15:37 +02:00

2052 lines
81 KiB
TypeScript

/* !!! 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
* One sync run for a DataConnection. `summaryText` is the Klartext summary.
*/
export type AppSyncRunModel = runtime.Types.Result.DefaultSelection<Prisma.$AppSyncRunPayload>
export type AggregateAppSyncRun = {
_count: AppSyncRunCountAggregateOutputType | null
_avg: AppSyncRunAvgAggregateOutputType | null
_sum: AppSyncRunSumAggregateOutputType | null
_min: AppSyncRunMinAggregateOutputType | null
_max: AppSyncRunMaxAggregateOutputType | null
}
export type AppSyncRunAvgAggregateOutputType = {
itemsTotal: number | null
itemsSucceeded: number | null
itemsFailed: number | null
}
export type AppSyncRunSumAggregateOutputType = {
itemsTotal: number | null
itemsSucceeded: number | null
itemsFailed: number | null
}
export type AppSyncRunMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
dataConnectionId: string | null
kind: $Enums.AppSyncKind | null
status: $Enums.AppSyncStatus | null
itemsTotal: number | null
itemsSucceeded: number | null
itemsFailed: number | null
summaryText: string | null
startedAt: Date | null
completedAt: Date | null
createdByUserId: string | null
}
export type AppSyncRunMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
dataConnectionId: string | null
kind: $Enums.AppSyncKind | null
status: $Enums.AppSyncStatus | null
itemsTotal: number | null
itemsSucceeded: number | null
itemsFailed: number | null
summaryText: string | null
startedAt: Date | null
completedAt: Date | null
createdByUserId: string | null
}
export type AppSyncRunCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
dataConnectionId: number
kind: number
status: number
itemsTotal: number
itemsSucceeded: number
itemsFailed: number
summaryText: number
startedAt: number
completedAt: number
createdByUserId: number
_all: number
}
export type AppSyncRunAvgAggregateInputType = {
itemsTotal?: true
itemsSucceeded?: true
itemsFailed?: true
}
export type AppSyncRunSumAggregateInputType = {
itemsTotal?: true
itemsSucceeded?: true
itemsFailed?: true
}
export type AppSyncRunMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
dataConnectionId?: true
kind?: true
status?: true
itemsTotal?: true
itemsSucceeded?: true
itemsFailed?: true
summaryText?: true
startedAt?: true
completedAt?: true
createdByUserId?: true
}
export type AppSyncRunMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
dataConnectionId?: true
kind?: true
status?: true
itemsTotal?: true
itemsSucceeded?: true
itemsFailed?: true
summaryText?: true
startedAt?: true
completedAt?: true
createdByUserId?: true
}
export type AppSyncRunCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
dataConnectionId?: true
kind?: true
status?: true
itemsTotal?: true
itemsSucceeded?: true
itemsFailed?: true
summaryText?: true
startedAt?: true
completedAt?: true
createdByUserId?: true
_all?: true
}
export type AppSyncRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* 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<T extends AppSyncRunAggregateArgs> = {
[P in keyof T & keyof AggregateAppSyncRun]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAppSyncRun[P]>
: Prisma.GetScalarType<T[P], AggregateAppSyncRun[P]>
}
export type AppSyncRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
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
tenantId: string
dataConnectionId: string
kind: $Enums.AppSyncKind
status: $Enums.AppSyncStatus
itemsTotal: number
itemsSucceeded: number
itemsFailed: number
summaryText: string | null
startedAt: Date | null
completedAt: Date | null
createdByUserId: string | null
_count: AppSyncRunCountAggregateOutputType | null
_avg: AppSyncRunAvgAggregateOutputType | null
_sum: AppSyncRunSumAggregateOutputType | null
_min: AppSyncRunMinAggregateOutputType | null
_max: AppSyncRunMaxAggregateOutputType | null
}
export type GetAppSyncRunGroupByPayload<T extends AppSyncRunGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AppSyncRunGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AppSyncRunGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AppSyncRunGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AppSyncRunGroupByOutputType[P]>
}
>
>
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
tenantId?: Prisma.StringFilter<"AppSyncRun"> | string
dataConnectionId?: Prisma.StringFilter<"AppSyncRun"> | string
kind?: Prisma.EnumAppSyncKindFilter<"AppSyncRun"> | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFilter<"AppSyncRun"> | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFilter<"AppSyncRun"> | number
itemsSucceeded?: Prisma.IntFilter<"AppSyncRun"> | number
itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number
summaryText?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
dataConnection?: Prisma.XOR<Prisma.DataConnectionScalarRelationFilter, Prisma.DataConnectionWhereInput>
logs?: Prisma.AppSyncRunLogListRelationFilter
items?: Prisma.AppSyncItemListRelationFilter
}
export type AppSyncRunOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
status?: Prisma.SortOrder
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
summaryText?: Prisma.SortOrderInput | Prisma.SortOrder
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
dataConnection?: Prisma.DataConnectionOrderByWithRelationInput
logs?: Prisma.AppSyncRunLogOrderByRelationAggregateInput
items?: 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
tenantId?: Prisma.StringFilter<"AppSyncRun"> | string
dataConnectionId?: Prisma.StringFilter<"AppSyncRun"> | string
kind?: Prisma.EnumAppSyncKindFilter<"AppSyncRun"> | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFilter<"AppSyncRun"> | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFilter<"AppSyncRun"> | number
itemsSucceeded?: Prisma.IntFilter<"AppSyncRun"> | number
itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number
summaryText?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
dataConnection?: Prisma.XOR<Prisma.DataConnectionScalarRelationFilter, Prisma.DataConnectionWhereInput>
logs?: Prisma.AppSyncRunLogListRelationFilter
items?: Prisma.AppSyncItemListRelationFilter
}, "id">
export type AppSyncRunOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
status?: Prisma.SortOrder
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
summaryText?: Prisma.SortOrderInput | Prisma.SortOrder
startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
completedAt?: Prisma.SortOrderInput | 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
tenantId?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string
dataConnectionId?: Prisma.StringWithAggregatesFilter<"AppSyncRun"> | string
kind?: Prisma.EnumAppSyncKindWithAggregatesFilter<"AppSyncRun"> | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusWithAggregatesFilter<"AppSyncRun"> | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number
itemsSucceeded?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number
itemsFailed?: Prisma.IntWithAggregatesFilter<"AppSyncRun"> | number
summaryText?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRun"> | string | null
startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncRun"> | Date | string | null
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AppSyncRun"> | Date | string | null
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"AppSyncRun"> | string | null
}
export type AppSyncRunCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
dataConnection: Prisma.DataConnectionCreateNestedOneWithoutSyncRunsInput
logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput
items?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
dataConnectionId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput
items?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
dataConnection?: Prisma.DataConnectionUpdateOneRequiredWithoutSyncRunsNestedInput
logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput
items?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput
items?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
dataConnectionId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
}
export type AppSyncRunUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AppSyncRunUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
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
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
status?: Prisma.SortOrder
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
summaryText?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
completedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
}
export type AppSyncRunAvgOrderByAggregateInput = {
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
}
export type AppSyncRunMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
status?: Prisma.SortOrder
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
summaryText?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
completedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
}
export type AppSyncRunMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
dataConnectionId?: Prisma.SortOrder
kind?: Prisma.SortOrder
status?: Prisma.SortOrder
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
summaryText?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
completedAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
}
export type AppSyncRunSumOrderByAggregateInput = {
itemsTotal?: Prisma.SortOrder
itemsSucceeded?: Prisma.SortOrder
itemsFailed?: Prisma.SortOrder
}
export type AppSyncRunScalarRelationFilter = {
is?: Prisma.AppSyncRunWhereInput
isNot?: Prisma.AppSyncRunWhereInput
}
export type AppSyncRunCreateNestedManyWithoutDataConnectionInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput> | Prisma.AppSyncRunCreateWithoutDataConnectionInput[] | Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput[]
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput | Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput[]
createMany?: Prisma.AppSyncRunCreateManyDataConnectionInputEnvelope
connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
}
export type AppSyncRunUncheckedCreateNestedManyWithoutDataConnectionInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput> | Prisma.AppSyncRunCreateWithoutDataConnectionInput[] | Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput[]
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput | Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput[]
createMany?: Prisma.AppSyncRunCreateManyDataConnectionInputEnvelope
connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
}
export type AppSyncRunUpdateManyWithoutDataConnectionNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput> | Prisma.AppSyncRunCreateWithoutDataConnectionInput[] | Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput[]
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput | Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput[]
upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutDataConnectionInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutDataConnectionInput[]
createMany?: Prisma.AppSyncRunCreateManyDataConnectionInputEnvelope
set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutDataConnectionInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutDataConnectionInput[]
updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutDataConnectionInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutDataConnectionInput[]
deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[]
}
export type AppSyncRunUncheckedUpdateManyWithoutDataConnectionNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput> | Prisma.AppSyncRunCreateWithoutDataConnectionInput[] | Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput[]
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput | Prisma.AppSyncRunCreateOrConnectWithoutDataConnectionInput[]
upsert?: Prisma.AppSyncRunUpsertWithWhereUniqueWithoutDataConnectionInput | Prisma.AppSyncRunUpsertWithWhereUniqueWithoutDataConnectionInput[]
createMany?: Prisma.AppSyncRunCreateManyDataConnectionInputEnvelope
set?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
disconnect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
delete?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
connect?: Prisma.AppSyncRunWhereUniqueInput | Prisma.AppSyncRunWhereUniqueInput[]
update?: Prisma.AppSyncRunUpdateWithWhereUniqueWithoutDataConnectionInput | Prisma.AppSyncRunUpdateWithWhereUniqueWithoutDataConnectionInput[]
updateMany?: Prisma.AppSyncRunUpdateManyWithWhereWithoutDataConnectionInput | Prisma.AppSyncRunUpdateManyWithWhereWithoutDataConnectionInput[]
deleteMany?: Prisma.AppSyncRunScalarWhereInput | Prisma.AppSyncRunScalarWhereInput[]
}
export type EnumAppSyncKindFieldUpdateOperationsInput = {
set?: $Enums.AppSyncKind
}
export type EnumAppSyncStatusFieldUpdateOperationsInput = {
set?: $Enums.AppSyncStatus
}
export type AppSyncRunCreateNestedOneWithoutLogsInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutLogsInput, Prisma.AppSyncRunUncheckedCreateWithoutLogsInput>
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutLogsInput
connect?: Prisma.AppSyncRunWhereUniqueInput
}
export type AppSyncRunUpdateOneRequiredWithoutLogsNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutLogsInput, Prisma.AppSyncRunUncheckedCreateWithoutLogsInput>
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutLogsInput
upsert?: Prisma.AppSyncRunUpsertWithoutLogsInput
connect?: Prisma.AppSyncRunWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AppSyncRunUpdateToOneWithWhereWithoutLogsInput, Prisma.AppSyncRunUpdateWithoutLogsInput>, Prisma.AppSyncRunUncheckedUpdateWithoutLogsInput>
}
export type AppSyncRunCreateNestedOneWithoutItemsInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutItemsInput
connect?: Prisma.AppSyncRunWhereUniqueInput
}
export type AppSyncRunUpdateOneRequiredWithoutItemsNestedInput = {
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutItemsInput
upsert?: Prisma.AppSyncRunUpsertWithoutItemsInput
connect?: Prisma.AppSyncRunWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.AppSyncRunUpdateToOneWithWhereWithoutItemsInput, Prisma.AppSyncRunUpdateWithoutItemsInput>, Prisma.AppSyncRunUncheckedUpdateWithoutItemsInput>
}
export type AppSyncRunCreateWithoutDataConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput
items?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunUncheckedCreateWithoutDataConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput
items?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunCreateOrConnectWithoutDataConnectionInput = {
where: Prisma.AppSyncRunWhereUniqueInput
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput>
}
export type AppSyncRunCreateManyDataConnectionInputEnvelope = {
data: Prisma.AppSyncRunCreateManyDataConnectionInput | Prisma.AppSyncRunCreateManyDataConnectionInput[]
skipDuplicates?: boolean
}
export type AppSyncRunUpsertWithWhereUniqueWithoutDataConnectionInput = {
where: Prisma.AppSyncRunWhereUniqueInput
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedUpdateWithoutDataConnectionInput>
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedCreateWithoutDataConnectionInput>
}
export type AppSyncRunUpdateWithWhereUniqueWithoutDataConnectionInput = {
where: Prisma.AppSyncRunWhereUniqueInput
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutDataConnectionInput, Prisma.AppSyncRunUncheckedUpdateWithoutDataConnectionInput>
}
export type AppSyncRunUpdateManyWithWhereWithoutDataConnectionInput = {
where: Prisma.AppSyncRunScalarWhereInput
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyWithoutDataConnectionInput>
}
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
tenantId?: Prisma.StringFilter<"AppSyncRun"> | string
dataConnectionId?: Prisma.StringFilter<"AppSyncRun"> | string
kind?: Prisma.EnumAppSyncKindFilter<"AppSyncRun"> | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFilter<"AppSyncRun"> | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFilter<"AppSyncRun"> | number
itemsSucceeded?: Prisma.IntFilter<"AppSyncRun"> | number
itemsFailed?: Prisma.IntFilter<"AppSyncRun"> | number
summaryText?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
startedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
completedAt?: Prisma.DateTimeNullableFilter<"AppSyncRun"> | Date | string | null
createdByUserId?: Prisma.StringNullableFilter<"AppSyncRun"> | string | null
}
export type AppSyncRunCreateWithoutLogsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
dataConnection: Prisma.DataConnectionCreateNestedOneWithoutSyncRunsInput
items?: Prisma.AppSyncItemCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunUncheckedCreateWithoutLogsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
dataConnectionId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
items?: Prisma.AppSyncItemUncheckedCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunCreateOrConnectWithoutLogsInput = {
where: Prisma.AppSyncRunWhereUniqueInput
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutLogsInput, Prisma.AppSyncRunUncheckedCreateWithoutLogsInput>
}
export type AppSyncRunUpsertWithoutLogsInput = {
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutLogsInput, Prisma.AppSyncRunUncheckedUpdateWithoutLogsInput>
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutLogsInput, Prisma.AppSyncRunUncheckedCreateWithoutLogsInput>
where?: Prisma.AppSyncRunWhereInput
}
export type AppSyncRunUpdateToOneWithWhereWithoutLogsInput = {
where?: Prisma.AppSyncRunWhereInput
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutLogsInput, Prisma.AppSyncRunUncheckedUpdateWithoutLogsInput>
}
export type AppSyncRunUpdateWithoutLogsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
dataConnection?: Prisma.DataConnectionUpdateOneRequiredWithoutSyncRunsNestedInput
items?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunUncheckedUpdateWithoutLogsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
items?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunCreateWithoutItemsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
dataConnection: Prisma.DataConnectionCreateNestedOneWithoutSyncRunsInput
logs?: Prisma.AppSyncRunLogCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunUncheckedCreateWithoutItemsInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
dataConnectionId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
logs?: Prisma.AppSyncRunLogUncheckedCreateNestedManyWithoutSyncRunInput
}
export type AppSyncRunCreateOrConnectWithoutItemsInput = {
where: Prisma.AppSyncRunWhereUniqueInput
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutItemsInput>
}
export type AppSyncRunUpsertWithoutItemsInput = {
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutItemsInput, Prisma.AppSyncRunUncheckedUpdateWithoutItemsInput>
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutItemsInput>
where?: Prisma.AppSyncRunWhereInput
}
export type AppSyncRunUpdateToOneWithWhereWithoutItemsInput = {
where?: Prisma.AppSyncRunWhereInput
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutItemsInput, Prisma.AppSyncRunUncheckedUpdateWithoutItemsInput>
}
export type AppSyncRunUpdateWithoutItemsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
dataConnection?: Prisma.DataConnectionUpdateOneRequiredWithoutSyncRunsNestedInput
logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunUncheckedUpdateWithoutItemsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
dataConnectionId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunCreateManyDataConnectionInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
kind?: $Enums.AppSyncKind
status?: $Enums.AppSyncStatus
itemsTotal?: number
itemsSucceeded?: number
itemsFailed?: number
summaryText?: string | null
startedAt?: Date | string | null
completedAt?: Date | string | null
createdByUserId?: string | null
}
export type AppSyncRunUpdateWithoutDataConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
logs?: Prisma.AppSyncRunLogUpdateManyWithoutSyncRunNestedInput
items?: Prisma.AppSyncItemUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunUncheckedUpdateWithoutDataConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
logs?: Prisma.AppSyncRunLogUncheckedUpdateManyWithoutSyncRunNestedInput
items?: Prisma.AppSyncItemUncheckedUpdateManyWithoutSyncRunNestedInput
}
export type AppSyncRunUncheckedUpdateManyWithoutDataConnectionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
kind?: Prisma.EnumAppSyncKindFieldUpdateOperationsInput | $Enums.AppSyncKind
status?: Prisma.EnumAppSyncStatusFieldUpdateOperationsInput | $Enums.AppSyncStatus
itemsTotal?: Prisma.IntFieldUpdateOperationsInput | number
itemsSucceeded?: Prisma.IntFieldUpdateOperationsInput | number
itemsFailed?: Prisma.IntFieldUpdateOperationsInput | number
summaryText?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type AppSyncRunCountOutputType
*/
export type AppSyncRunCountOutputType = {
logs: number
items: number
}
export type AppSyncRunCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
logs?: boolean | AppSyncRunCountOutputTypeCountLogsArgs
items?: boolean | AppSyncRunCountOutputTypeCountItemsArgs
}
/**
* AppSyncRunCountOutputType without action
*/
export type AppSyncRunCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRunCountOutputType
*/
select?: Prisma.AppSyncRunCountOutputTypeSelect<ExtArgs> | null
}
/**
* AppSyncRunCountOutputType without action
*/
export type AppSyncRunCountOutputTypeCountLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppSyncRunLogWhereInput
}
/**
* AppSyncRunCountOutputType without action
*/
export type AppSyncRunCountOutputTypeCountItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AppSyncItemWhereInput
}
export type AppSyncRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
dataConnectionId?: boolean
kind?: boolean
status?: boolean
itemsTotal?: boolean
itemsSucceeded?: boolean
itemsFailed?: boolean
summaryText?: boolean
startedAt?: boolean
completedAt?: boolean
createdByUserId?: boolean
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
logs?: boolean | Prisma.AppSyncRun$logsArgs<ExtArgs>
items?: boolean | Prisma.AppSyncRun$itemsArgs<ExtArgs>
_count?: boolean | Prisma.AppSyncRunCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncRun"]>
export type AppSyncRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
dataConnectionId?: boolean
kind?: boolean
status?: boolean
itemsTotal?: boolean
itemsSucceeded?: boolean
itemsFailed?: boolean
summaryText?: boolean
startedAt?: boolean
completedAt?: boolean
createdByUserId?: boolean
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncRun"]>
export type AppSyncRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
dataConnectionId?: boolean
kind?: boolean
status?: boolean
itemsTotal?: boolean
itemsSucceeded?: boolean
itemsFailed?: boolean
summaryText?: boolean
startedAt?: boolean
completedAt?: boolean
createdByUserId?: boolean
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
}, ExtArgs["result"]["appSyncRun"]>
export type AppSyncRunSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
dataConnectionId?: boolean
kind?: boolean
status?: boolean
itemsTotal?: boolean
itemsSucceeded?: boolean
itemsFailed?: boolean
summaryText?: boolean
startedAt?: boolean
completedAt?: boolean
createdByUserId?: boolean
}
export type AppSyncRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "dataConnectionId" | "kind" | "status" | "itemsTotal" | "itemsSucceeded" | "itemsFailed" | "summaryText" | "startedAt" | "completedAt" | "createdByUserId", ExtArgs["result"]["appSyncRun"]>
export type AppSyncRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
logs?: boolean | Prisma.AppSyncRun$logsArgs<ExtArgs>
items?: boolean | Prisma.AppSyncRun$itemsArgs<ExtArgs>
_count?: boolean | Prisma.AppSyncRunCountOutputTypeDefaultArgs<ExtArgs>
}
export type AppSyncRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
}
export type AppSyncRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
dataConnection?: boolean | Prisma.DataConnectionDefaultArgs<ExtArgs>
}
export type $AppSyncRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AppSyncRun"
objects: {
dataConnection: Prisma.$DataConnectionPayload<ExtArgs>
logs: Prisma.$AppSyncRunLogPayload<ExtArgs>[]
items: Prisma.$AppSyncItemPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
dataConnectionId: string
kind: $Enums.AppSyncKind
status: $Enums.AppSyncStatus
itemsTotal: number
itemsSucceeded: number
itemsFailed: number
summaryText: string | null
startedAt: Date | null
completedAt: Date | null
createdByUserId: string | null
}, ExtArgs["result"]["appSyncRun"]>
composites: {}
}
export type AppSyncRunGetPayload<S extends boolean | null | undefined | AppSyncRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload, S>
export type AppSyncRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AppSyncRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AppSyncRunCountAggregateInputType | true
}
export interface AppSyncRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AppSyncRunFindUniqueArgs>(args: Prisma.SelectSubset<T, AppSyncRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AppSyncRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunFindFirstArgs>(args?: Prisma.SelectSubset<T, AppSyncRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AppSyncRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunFindManyArgs>(args?: Prisma.SelectSubset<T, AppSyncRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunCreateArgs>(args: Prisma.SelectSubset<T, AppSyncRunCreateArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunCreateManyArgs>(args?: Prisma.SelectSubset<T, AppSyncRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends AppSyncRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AppSyncRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunDeleteArgs>(args: Prisma.SelectSubset<T, AppSyncRunDeleteArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunUpdateArgs>(args: Prisma.SelectSubset<T, AppSyncRunUpdateArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, AppSyncRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends AppSyncRunUpdateManyArgs>(args: Prisma.SelectSubset<T, AppSyncRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* 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<T extends AppSyncRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AppSyncRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunUpsertArgs>(args: Prisma.SelectSubset<T, AppSyncRunUpsertArgs<ExtArgs>>): Prisma.Prisma__AppSyncRunClient<runtime.Types.Result.GetResult<Prisma.$AppSyncRunPayload<ExtArgs>, 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<T extends AppSyncRunCountArgs>(
args?: Prisma.Subset<T, AppSyncRunCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AppSyncRunCountAggregateOutputType>
: 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<T extends AppSyncRunAggregateArgs>(args: Prisma.Subset<T, AppSyncRunAggregateArgs>): Prisma.PrismaPromise<GetAppSyncRunAggregateType<T>>
/**
* 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<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AppSyncRunGroupByArgs['orderBy'] }
: { orderBy?: AppSyncRunGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T>
? 'orderBy' extends Prisma.Keys<T>
? 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<T, AppSyncRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppSyncRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
dataConnection<T extends Prisma.DataConnectionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DataConnectionDefaultArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
logs<T extends Prisma.AppSyncRun$logsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppSyncRun$logsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncRunLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
items<T extends Prisma.AppSyncRun$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppSyncRun$itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSyncItemPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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 tenantId: Prisma.FieldRef<"AppSyncRun", 'String'>
readonly dataConnectionId: Prisma.FieldRef<"AppSyncRun", 'String'>
readonly kind: Prisma.FieldRef<"AppSyncRun", 'AppSyncKind'>
readonly status: Prisma.FieldRef<"AppSyncRun", 'AppSyncStatus'>
readonly itemsTotal: Prisma.FieldRef<"AppSyncRun", 'Int'>
readonly itemsSucceeded: Prisma.FieldRef<"AppSyncRun", 'Int'>
readonly itemsFailed: Prisma.FieldRef<"AppSyncRun", 'Int'>
readonly summaryText: Prisma.FieldRef<"AppSyncRun", 'String'>
readonly startedAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'>
readonly completedAt: Prisma.FieldRef<"AppSyncRun", 'DateTime'>
readonly createdByUserId: Prisma.FieldRef<"AppSyncRun", 'String'>
}
// Custom InputTypes
/**
* AppSyncRun findUnique
*/
export type AppSyncRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
/**
* Filter, which AppSyncRun to fetch.
*/
where: Prisma.AppSyncRunWhereUniqueInput
}
/**
* AppSyncRun findUniqueOrThrow
*/
export type AppSyncRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
/**
* Filter, which AppSyncRun to fetch.
*/
where: Prisma.AppSyncRunWhereUniqueInput
}
/**
* AppSyncRun findFirst
*/
export type AppSyncRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
/**
* The data needed to create a AppSyncRun.
*/
data: Prisma.XOR<Prisma.AppSyncRunCreateInput, Prisma.AppSyncRunUncheckedCreateInput>
}
/**
* AppSyncRun createMany
*/
export type AppSyncRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AppSyncRuns.
*/
data: Prisma.AppSyncRunCreateManyInput | Prisma.AppSyncRunCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AppSyncRun createManyAndReturn
*/
export type AppSyncRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | 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<ExtArgs> | null
}
/**
* AppSyncRun update
*/
export type AppSyncRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
/**
* The data needed to update a AppSyncRun.
*/
data: Prisma.XOR<Prisma.AppSyncRunUpdateInput, Prisma.AppSyncRunUncheckedUpdateInput>
/**
* Choose, which AppSyncRun to update.
*/
where: Prisma.AppSyncRunWhereUniqueInput
}
/**
* AppSyncRun updateMany
*/
export type AppSyncRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AppSyncRuns.
*/
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyInput>
/**
* Filter which AppSyncRuns to update
*/
where?: Prisma.AppSyncRunWhereInput
/**
* Limit how many AppSyncRuns to update.
*/
limit?: number
}
/**
* AppSyncRun updateManyAndReturn
*/
export type AppSyncRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* The data used to update AppSyncRuns.
*/
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyInput>
/**
* 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<ExtArgs> | null
}
/**
* AppSyncRun upsert
*/
export type AppSyncRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | 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<Prisma.AppSyncRunCreateInput, Prisma.AppSyncRunUncheckedCreateInput>
/**
* In case the AppSyncRun was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AppSyncRunUpdateInput, Prisma.AppSyncRunUncheckedUpdateInput>
}
/**
* AppSyncRun delete
*/
export type AppSyncRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
/**
* Filter which AppSyncRun to delete.
*/
where: Prisma.AppSyncRunWhereUniqueInput
}
/**
* AppSyncRun deleteMany
*/
export type AppSyncRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AppSyncRuns to delete
*/
where?: Prisma.AppSyncRunWhereInput
/**
* Limit how many AppSyncRuns to delete.
*/
limit?: number
}
/**
* AppSyncRun.logs
*/
export type AppSyncRun$logsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRunLog
*/
select?: Prisma.AppSyncRunLogSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRunLog
*/
omit?: Prisma.AppSyncRunLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunLogInclude<ExtArgs> | null
where?: Prisma.AppSyncRunLogWhereInput
orderBy?: Prisma.AppSyncRunLogOrderByWithRelationInput | Prisma.AppSyncRunLogOrderByWithRelationInput[]
cursor?: Prisma.AppSyncRunLogWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.AppSyncRunLogScalarFieldEnum | Prisma.AppSyncRunLogScalarFieldEnum[]
}
/**
* AppSyncRun.items
*/
export type AppSyncRun$itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncItem
*/
select?: Prisma.AppSyncItemSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncItem
*/
omit?: Prisma.AppSyncItemOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncItemInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AppSyncRun
*/
select?: Prisma.AppSyncRunSelect<ExtArgs> | null
/**
* Omit specific fields from the AppSyncRun
*/
omit?: Prisma.AppSyncRunOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AppSyncRunInclude<ExtArgs> | null
}