2769 lines
113 KiB
TypeScript
2769 lines
113 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
|
|
*
|
|
*/
|
|
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 = {
|
|
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<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
|
|
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<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
|
|
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<Prisma.AppScalarRelationFilter, Prisma.AppWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | 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<Prisma.AppScalarRelationFilter, Prisma.AppWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
createdByUser?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<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 AppSyncRunCreateNestedOneWithoutSyncItemsInput = {
|
|
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutSyncItemsInput>
|
|
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutSyncItemsInput
|
|
connect?: Prisma.AppSyncRunWhereUniqueInput
|
|
}
|
|
|
|
export type AppSyncRunUpdateOneRequiredWithoutSyncItemsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AppSyncRunCreateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutSyncItemsInput>
|
|
connectOrCreate?: Prisma.AppSyncRunCreateOrConnectWithoutSyncItemsInput
|
|
upsert?: Prisma.AppSyncRunUpsertWithoutSyncItemsInput
|
|
connect?: Prisma.AppSyncRunWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AppSyncRunUpdateToOneWithWhereWithoutSyncItemsInput, Prisma.AppSyncRunUpdateWithoutSyncItemsInput>, 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<Prisma.AppSyncRunCreateWithoutCreatedByUserInput, Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type AppSyncRunCreateManyCreatedByUserInputEnvelope = {
|
|
data: Prisma.AppSyncRunCreateManyCreatedByUserInput | Prisma.AppSyncRunCreateManyCreatedByUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AppSyncRunUpsertWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutCreatedByUserInput, Prisma.AppSyncRunUncheckedUpdateWithoutCreatedByUserInput>
|
|
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutCreatedByUserInput, Prisma.AppSyncRunUncheckedCreateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateWithWhereUniqueWithoutCreatedByUserInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutCreatedByUserInput, Prisma.AppSyncRunUncheckedUpdateWithoutCreatedByUserInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateManyWithWhereWithoutCreatedByUserInput = {
|
|
where: Prisma.AppSyncRunScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyWithoutCreatedByUserInput>
|
|
}
|
|
|
|
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<Prisma.AppSyncRunCreateWithoutTenantInput, Prisma.AppSyncRunUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type AppSyncRunCreateManyTenantInputEnvelope = {
|
|
data: Prisma.AppSyncRunCreateManyTenantInput | Prisma.AppSyncRunCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AppSyncRunUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutTenantInput, Prisma.AppSyncRunUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutTenantInput, Prisma.AppSyncRunUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutTenantInput, Prisma.AppSyncRunUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.AppSyncRunScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
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<Prisma.AppSyncRunCreateWithoutAppInput, Prisma.AppSyncRunUncheckedCreateWithoutAppInput>
|
|
}
|
|
|
|
export type AppSyncRunCreateManyAppInputEnvelope = {
|
|
data: Prisma.AppSyncRunCreateManyAppInput | Prisma.AppSyncRunCreateManyAppInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type AppSyncRunUpsertWithWhereUniqueWithoutAppInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutAppInput, Prisma.AppSyncRunUncheckedUpdateWithoutAppInput>
|
|
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutAppInput, Prisma.AppSyncRunUncheckedCreateWithoutAppInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateWithWhereUniqueWithoutAppInput = {
|
|
where: Prisma.AppSyncRunWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutAppInput, Prisma.AppSyncRunUncheckedUpdateWithoutAppInput>
|
|
}
|
|
|
|
export type AppSyncRunUpdateManyWithWhereWithoutAppInput = {
|
|
where: Prisma.AppSyncRunScalarWhereInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateManyMutationInput, Prisma.AppSyncRunUncheckedUpdateManyWithoutAppInput>
|
|
}
|
|
|
|
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<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
|
|
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<Prisma.AppSyncRunCreateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutSyncItemsInput>
|
|
}
|
|
|
|
export type AppSyncRunUpsertWithoutSyncItemsInput = {
|
|
update: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedUpdateWithoutSyncItemsInput>
|
|
create: Prisma.XOR<Prisma.AppSyncRunCreateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedCreateWithoutSyncItemsInput>
|
|
where?: Prisma.AppSyncRunWhereInput
|
|
}
|
|
|
|
export type AppSyncRunUpdateToOneWithWhereWithoutSyncItemsInput = {
|
|
where?: Prisma.AppSyncRunWhereInput
|
|
data: Prisma.XOR<Prisma.AppSyncRunUpdateWithoutSyncItemsInput, Prisma.AppSyncRunUncheckedUpdateWithoutSyncItemsInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
logs?: boolean | AppSyncRunCountOutputTypeCountLogsArgs
|
|
syncItems?: boolean | AppSyncRunCountOutputTypeCountSyncItemsArgs
|
|
}
|
|
|
|
/**
|
|
* 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 AppSyncRunCountOutputTypeCountSyncItemsArgs<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
|
|
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<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<ExtArgs>
|
|
logs?: boolean | Prisma.AppSyncRun$logsArgs<ExtArgs>
|
|
syncItems?: boolean | Prisma.AppSyncRun$syncItemsArgs<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
|
|
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<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<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
|
|
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<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<ExtArgs>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
app?: boolean | Prisma.AppDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<ExtArgs>
|
|
logs?: boolean | Prisma.AppSyncRun$logsArgs<ExtArgs>
|
|
syncItems?: boolean | Prisma.AppSyncRun$syncItemsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AppSyncRunCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AppSyncRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
app?: boolean | Prisma.AppDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<ExtArgs>
|
|
}
|
|
export type AppSyncRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
app?: boolean | Prisma.AppDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
createdByUser?: boolean | Prisma.AppSyncRun$createdByUserArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AppSyncRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AppSyncRun"
|
|
objects: {
|
|
app: Prisma.$AppPayload<ExtArgs>
|
|
tenant: Prisma.$TenantPayload<ExtArgs>
|
|
createdByUser: Prisma.$UserPayload<ExtArgs> | null
|
|
logs: Prisma.$AppSyncRunLogPayload<ExtArgs>[]
|
|
syncItems: Prisma.$AppSyncItemPayload<ExtArgs>[]
|
|
}
|
|
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<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"
|
|
app<T extends Prisma.AppDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppDefaultArgs<ExtArgs>>): Prisma.Prisma__AppClient<runtime.Types.Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
createdByUser<T extends Prisma.AppSyncRun$createdByUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppSyncRun$createdByUserArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<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>
|
|
syncItems<T extends Prisma.AppSyncRun$syncItemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AppSyncRun$syncItemsArgs<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 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<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.createdByUser
|
|
*/
|
|
export type AppSyncRun$createdByUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* 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.syncItems
|
|
*/
|
|
export type AppSyncRun$syncItemsArgs<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
|
|
}
|