Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/Log.ts
T

2389 lines
93 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 `Log` 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 Log
*
*/
export type LogModel = runtime.Types.Result.DefaultSelection<Prisma.$LogPayload>
export type AggregateLog = {
_count: LogCountAggregateOutputType | null
_min: LogMinAggregateOutputType | null
_max: LogMaxAggregateOutputType | null
}
export type LogMinAggregateOutputType = {
id: string | null
createdAt: Date | null
tenantId: string | null
userId: string | null
apiKeyId: string | null
rowId: string | null
url: string | null
action: string | null
details: string | null
commentId: string | null
}
export type LogMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
tenantId: string | null
userId: string | null
apiKeyId: string | null
rowId: string | null
url: string | null
action: string | null
details: string | null
commentId: string | null
}
export type LogCountAggregateOutputType = {
id: number
createdAt: number
tenantId: number
userId: number
apiKeyId: number
rowId: number
url: number
action: number
details: number
commentId: number
_all: number
}
export type LogMinAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
userId?: true
apiKeyId?: true
rowId?: true
url?: true
action?: true
details?: true
commentId?: true
}
export type LogMaxAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
userId?: true
apiKeyId?: true
rowId?: true
url?: true
action?: true
details?: true
commentId?: true
}
export type LogCountAggregateInputType = {
id?: true
createdAt?: true
tenantId?: true
userId?: true
apiKeyId?: true
rowId?: true
url?: true
action?: true
details?: true
commentId?: true
_all?: true
}
export type LogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Log to aggregate.
*/
where?: Prisma.LogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Logs to fetch.
*/
orderBy?: Prisma.LogOrderByWithRelationInput | Prisma.LogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.LogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Logs 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` Logs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Logs
**/
_count?: true | LogCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: LogMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: LogMaxAggregateInputType
}
export type GetLogAggregateType<T extends LogAggregateArgs> = {
[P in keyof T & keyof AggregateLog]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateLog[P]>
: Prisma.GetScalarType<T[P], AggregateLog[P]>
}
export type LogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.LogWhereInput
orderBy?: Prisma.LogOrderByWithAggregationInput | Prisma.LogOrderByWithAggregationInput[]
by: Prisma.LogScalarFieldEnum[] | Prisma.LogScalarFieldEnum
having?: Prisma.LogScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: LogCountAggregateInputType | true
_min?: LogMinAggregateInputType
_max?: LogMaxAggregateInputType
}
export type LogGroupByOutputType = {
id: string
createdAt: Date
tenantId: string | null
userId: string | null
apiKeyId: string | null
rowId: string | null
url: string
action: string
details: string | null
commentId: string | null
_count: LogCountAggregateOutputType | null
_min: LogMinAggregateOutputType | null
_max: LogMaxAggregateOutputType | null
}
export type GetLogGroupByPayload<T extends LogGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<LogGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof LogGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], LogGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], LogGroupByOutputType[P]>
}
>
>
export type LogWhereInput = {
AND?: Prisma.LogWhereInput | Prisma.LogWhereInput[]
OR?: Prisma.LogWhereInput[]
NOT?: Prisma.LogWhereInput | Prisma.LogWhereInput[]
id?: Prisma.StringFilter<"Log"> | string
createdAt?: Prisma.DateTimeFilter<"Log"> | Date | string
tenantId?: Prisma.StringNullableFilter<"Log"> | string | null
userId?: Prisma.StringNullableFilter<"Log"> | string | null
apiKeyId?: Prisma.StringNullableFilter<"Log"> | string | null
rowId?: Prisma.StringNullableFilter<"Log"> | string | null
url?: Prisma.StringFilter<"Log"> | string
action?: Prisma.StringFilter<"Log"> | string
details?: Prisma.StringNullableFilter<"Log"> | string | null
commentId?: Prisma.StringNullableFilter<"Log"> | string | null
apiKey?: Prisma.XOR<Prisma.ApiKeyNullableScalarRelationFilter, Prisma.ApiKeyWhereInput> | null
comment?: Prisma.XOR<Prisma.RowCommentNullableScalarRelationFilter, Prisma.RowCommentWhereInput> | null
row?: Prisma.XOR<Prisma.RowNullableScalarRelationFilter, Prisma.RowWhereInput> | null
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
webhookLogs?: Prisma.EntityWebhookLogListRelationFilter
}
export type LogOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
userId?: Prisma.SortOrderInput | Prisma.SortOrder
apiKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
rowId?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrder
action?: Prisma.SortOrder
details?: Prisma.SortOrderInput | Prisma.SortOrder
commentId?: Prisma.SortOrderInput | Prisma.SortOrder
apiKey?: Prisma.ApiKeyOrderByWithRelationInput
comment?: Prisma.RowCommentOrderByWithRelationInput
row?: Prisma.RowOrderByWithRelationInput
tenant?: Prisma.TenantOrderByWithRelationInput
user?: Prisma.UserOrderByWithRelationInput
webhookLogs?: Prisma.EntityWebhookLogOrderByRelationAggregateInput
}
export type LogWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.LogWhereInput | Prisma.LogWhereInput[]
OR?: Prisma.LogWhereInput[]
NOT?: Prisma.LogWhereInput | Prisma.LogWhereInput[]
createdAt?: Prisma.DateTimeFilter<"Log"> | Date | string
tenantId?: Prisma.StringNullableFilter<"Log"> | string | null
userId?: Prisma.StringNullableFilter<"Log"> | string | null
apiKeyId?: Prisma.StringNullableFilter<"Log"> | string | null
rowId?: Prisma.StringNullableFilter<"Log"> | string | null
url?: Prisma.StringFilter<"Log"> | string
action?: Prisma.StringFilter<"Log"> | string
details?: Prisma.StringNullableFilter<"Log"> | string | null
commentId?: Prisma.StringNullableFilter<"Log"> | string | null
apiKey?: Prisma.XOR<Prisma.ApiKeyNullableScalarRelationFilter, Prisma.ApiKeyWhereInput> | null
comment?: Prisma.XOR<Prisma.RowCommentNullableScalarRelationFilter, Prisma.RowCommentWhereInput> | null
row?: Prisma.XOR<Prisma.RowNullableScalarRelationFilter, Prisma.RowWhereInput> | null
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
webhookLogs?: Prisma.EntityWebhookLogListRelationFilter
}, "id">
export type LogOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
userId?: Prisma.SortOrderInput | Prisma.SortOrder
apiKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
rowId?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrder
action?: Prisma.SortOrder
details?: Prisma.SortOrderInput | Prisma.SortOrder
commentId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.LogCountOrderByAggregateInput
_max?: Prisma.LogMaxOrderByAggregateInput
_min?: Prisma.LogMinOrderByAggregateInput
}
export type LogScalarWhereWithAggregatesInput = {
AND?: Prisma.LogScalarWhereWithAggregatesInput | Prisma.LogScalarWhereWithAggregatesInput[]
OR?: Prisma.LogScalarWhereWithAggregatesInput[]
NOT?: Prisma.LogScalarWhereWithAggregatesInput | Prisma.LogScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"Log"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Log"> | Date | string
tenantId?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
userId?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
apiKeyId?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
rowId?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
url?: Prisma.StringWithAggregatesFilter<"Log"> | string
action?: Prisma.StringWithAggregatesFilter<"Log"> | string
details?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
commentId?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null
}
export type LogCreateInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogCreateManyInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogListRelationFilter = {
every?: Prisma.LogWhereInput
some?: Prisma.LogWhereInput
none?: Prisma.LogWhereInput
}
export type LogOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type LogCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
userId?: Prisma.SortOrder
apiKeyId?: Prisma.SortOrder
rowId?: Prisma.SortOrder
url?: Prisma.SortOrder
action?: Prisma.SortOrder
details?: Prisma.SortOrder
commentId?: Prisma.SortOrder
}
export type LogMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
userId?: Prisma.SortOrder
apiKeyId?: Prisma.SortOrder
rowId?: Prisma.SortOrder
url?: Prisma.SortOrder
action?: Prisma.SortOrder
details?: Prisma.SortOrder
commentId?: Prisma.SortOrder
}
export type LogMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
userId?: Prisma.SortOrder
apiKeyId?: Prisma.SortOrder
rowId?: Prisma.SortOrder
url?: Prisma.SortOrder
action?: Prisma.SortOrder
details?: Prisma.SortOrder
commentId?: Prisma.SortOrder
}
export type LogScalarRelationFilter = {
is?: Prisma.LogWhereInput
isNot?: Prisma.LogWhereInput
}
export type LogCreateNestedManyWithoutUserInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput> | Prisma.LogCreateWithoutUserInput[] | Prisma.LogUncheckedCreateWithoutUserInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutUserInput | Prisma.LogCreateOrConnectWithoutUserInput[]
createMany?: Prisma.LogCreateManyUserInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUncheckedCreateNestedManyWithoutUserInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput> | Prisma.LogCreateWithoutUserInput[] | Prisma.LogUncheckedCreateWithoutUserInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutUserInput | Prisma.LogCreateOrConnectWithoutUserInput[]
createMany?: Prisma.LogCreateManyUserInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUpdateManyWithoutUserNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput> | Prisma.LogCreateWithoutUserInput[] | Prisma.LogUncheckedCreateWithoutUserInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutUserInput | Prisma.LogCreateOrConnectWithoutUserInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutUserInput | Prisma.LogUpsertWithWhereUniqueWithoutUserInput[]
createMany?: Prisma.LogCreateManyUserInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutUserInput | Prisma.LogUpdateWithWhereUniqueWithoutUserInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutUserInput | Prisma.LogUpdateManyWithWhereWithoutUserInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogUncheckedUpdateManyWithoutUserNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput> | Prisma.LogCreateWithoutUserInput[] | Prisma.LogUncheckedCreateWithoutUserInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutUserInput | Prisma.LogCreateOrConnectWithoutUserInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutUserInput | Prisma.LogUpsertWithWhereUniqueWithoutUserInput[]
createMany?: Prisma.LogCreateManyUserInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutUserInput | Prisma.LogUpdateWithWhereUniqueWithoutUserInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutUserInput | Prisma.LogUpdateManyWithWhereWithoutUserInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput> | Prisma.LogCreateWithoutTenantInput[] | Prisma.LogUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutTenantInput | Prisma.LogCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.LogCreateManyTenantInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUncheckedCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput> | Prisma.LogCreateWithoutTenantInput[] | Prisma.LogUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutTenantInput | Prisma.LogCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.LogCreateManyTenantInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput> | Prisma.LogCreateWithoutTenantInput[] | Prisma.LogUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutTenantInput | Prisma.LogCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutTenantInput | Prisma.LogUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.LogCreateManyTenantInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutTenantInput | Prisma.LogUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutTenantInput | Prisma.LogUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogUncheckedUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput> | Prisma.LogCreateWithoutTenantInput[] | Prisma.LogUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutTenantInput | Prisma.LogCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutTenantInput | Prisma.LogUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.LogCreateManyTenantInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutTenantInput | Prisma.LogUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutTenantInput | Prisma.LogUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogCreateNestedManyWithoutApiKeyInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput> | Prisma.LogCreateWithoutApiKeyInput[] | Prisma.LogUncheckedCreateWithoutApiKeyInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutApiKeyInput | Prisma.LogCreateOrConnectWithoutApiKeyInput[]
createMany?: Prisma.LogCreateManyApiKeyInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUncheckedCreateNestedManyWithoutApiKeyInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput> | Prisma.LogCreateWithoutApiKeyInput[] | Prisma.LogUncheckedCreateWithoutApiKeyInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutApiKeyInput | Prisma.LogCreateOrConnectWithoutApiKeyInput[]
createMany?: Prisma.LogCreateManyApiKeyInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUpdateManyWithoutApiKeyNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput> | Prisma.LogCreateWithoutApiKeyInput[] | Prisma.LogUncheckedCreateWithoutApiKeyInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutApiKeyInput | Prisma.LogCreateOrConnectWithoutApiKeyInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutApiKeyInput | Prisma.LogUpsertWithWhereUniqueWithoutApiKeyInput[]
createMany?: Prisma.LogCreateManyApiKeyInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutApiKeyInput | Prisma.LogUpdateWithWhereUniqueWithoutApiKeyInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutApiKeyInput | Prisma.LogUpdateManyWithWhereWithoutApiKeyInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogUncheckedUpdateManyWithoutApiKeyNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput> | Prisma.LogCreateWithoutApiKeyInput[] | Prisma.LogUncheckedCreateWithoutApiKeyInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutApiKeyInput | Prisma.LogCreateOrConnectWithoutApiKeyInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutApiKeyInput | Prisma.LogUpsertWithWhereUniqueWithoutApiKeyInput[]
createMany?: Prisma.LogCreateManyApiKeyInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutApiKeyInput | Prisma.LogUpdateWithWhereUniqueWithoutApiKeyInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutApiKeyInput | Prisma.LogUpdateManyWithWhereWithoutApiKeyInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogCreateNestedOneWithoutWebhookLogsInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutWebhookLogsInput, Prisma.LogUncheckedCreateWithoutWebhookLogsInput>
connectOrCreate?: Prisma.LogCreateOrConnectWithoutWebhookLogsInput
connect?: Prisma.LogWhereUniqueInput
}
export type LogUpdateOneRequiredWithoutWebhookLogsNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutWebhookLogsInput, Prisma.LogUncheckedCreateWithoutWebhookLogsInput>
connectOrCreate?: Prisma.LogCreateOrConnectWithoutWebhookLogsInput
upsert?: Prisma.LogUpsertWithoutWebhookLogsInput
connect?: Prisma.LogWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.LogUpdateToOneWithWhereWithoutWebhookLogsInput, Prisma.LogUpdateWithoutWebhookLogsInput>, Prisma.LogUncheckedUpdateWithoutWebhookLogsInput>
}
export type LogCreateNestedManyWithoutRowInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput> | Prisma.LogCreateWithoutRowInput[] | Prisma.LogUncheckedCreateWithoutRowInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutRowInput | Prisma.LogCreateOrConnectWithoutRowInput[]
createMany?: Prisma.LogCreateManyRowInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUncheckedCreateNestedManyWithoutRowInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput> | Prisma.LogCreateWithoutRowInput[] | Prisma.LogUncheckedCreateWithoutRowInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutRowInput | Prisma.LogCreateOrConnectWithoutRowInput[]
createMany?: Prisma.LogCreateManyRowInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUpdateManyWithoutRowNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput> | Prisma.LogCreateWithoutRowInput[] | Prisma.LogUncheckedCreateWithoutRowInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutRowInput | Prisma.LogCreateOrConnectWithoutRowInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutRowInput | Prisma.LogUpsertWithWhereUniqueWithoutRowInput[]
createMany?: Prisma.LogCreateManyRowInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutRowInput | Prisma.LogUpdateWithWhereUniqueWithoutRowInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutRowInput | Prisma.LogUpdateManyWithWhereWithoutRowInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogUncheckedUpdateManyWithoutRowNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput> | Prisma.LogCreateWithoutRowInput[] | Prisma.LogUncheckedCreateWithoutRowInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutRowInput | Prisma.LogCreateOrConnectWithoutRowInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutRowInput | Prisma.LogUpsertWithWhereUniqueWithoutRowInput[]
createMany?: Prisma.LogCreateManyRowInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutRowInput | Prisma.LogUpdateWithWhereUniqueWithoutRowInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutRowInput | Prisma.LogUpdateManyWithWhereWithoutRowInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogCreateNestedManyWithoutCommentInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput> | Prisma.LogCreateWithoutCommentInput[] | Prisma.LogUncheckedCreateWithoutCommentInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutCommentInput | Prisma.LogCreateOrConnectWithoutCommentInput[]
createMany?: Prisma.LogCreateManyCommentInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUncheckedCreateNestedManyWithoutCommentInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput> | Prisma.LogCreateWithoutCommentInput[] | Prisma.LogUncheckedCreateWithoutCommentInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutCommentInput | Prisma.LogCreateOrConnectWithoutCommentInput[]
createMany?: Prisma.LogCreateManyCommentInputEnvelope
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
}
export type LogUpdateManyWithoutCommentNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput> | Prisma.LogCreateWithoutCommentInput[] | Prisma.LogUncheckedCreateWithoutCommentInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutCommentInput | Prisma.LogCreateOrConnectWithoutCommentInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutCommentInput | Prisma.LogUpsertWithWhereUniqueWithoutCommentInput[]
createMany?: Prisma.LogCreateManyCommentInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutCommentInput | Prisma.LogUpdateWithWhereUniqueWithoutCommentInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutCommentInput | Prisma.LogUpdateManyWithWhereWithoutCommentInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogUncheckedUpdateManyWithoutCommentNestedInput = {
create?: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput> | Prisma.LogCreateWithoutCommentInput[] | Prisma.LogUncheckedCreateWithoutCommentInput[]
connectOrCreate?: Prisma.LogCreateOrConnectWithoutCommentInput | Prisma.LogCreateOrConnectWithoutCommentInput[]
upsert?: Prisma.LogUpsertWithWhereUniqueWithoutCommentInput | Prisma.LogUpsertWithWhereUniqueWithoutCommentInput[]
createMany?: Prisma.LogCreateManyCommentInputEnvelope
set?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
disconnect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
delete?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[]
update?: Prisma.LogUpdateWithWhereUniqueWithoutCommentInput | Prisma.LogUpdateWithWhereUniqueWithoutCommentInput[]
updateMany?: Prisma.LogUpdateManyWithWhereWithoutCommentInput | Prisma.LogUpdateManyWithWhereWithoutCommentInput[]
deleteMany?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
}
export type LogCreateWithoutUserInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateWithoutUserInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogCreateOrConnectWithoutUserInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput>
}
export type LogCreateManyUserInputEnvelope = {
data: Prisma.LogCreateManyUserInput | Prisma.LogCreateManyUserInput[]
skipDuplicates?: boolean
}
export type LogUpsertWithWhereUniqueWithoutUserInput = {
where: Prisma.LogWhereUniqueInput
update: Prisma.XOR<Prisma.LogUpdateWithoutUserInput, Prisma.LogUncheckedUpdateWithoutUserInput>
create: Prisma.XOR<Prisma.LogCreateWithoutUserInput, Prisma.LogUncheckedCreateWithoutUserInput>
}
export type LogUpdateWithWhereUniqueWithoutUserInput = {
where: Prisma.LogWhereUniqueInput
data: Prisma.XOR<Prisma.LogUpdateWithoutUserInput, Prisma.LogUncheckedUpdateWithoutUserInput>
}
export type LogUpdateManyWithWhereWithoutUserInput = {
where: Prisma.LogScalarWhereInput
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyWithoutUserInput>
}
export type LogScalarWhereInput = {
AND?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
OR?: Prisma.LogScalarWhereInput[]
NOT?: Prisma.LogScalarWhereInput | Prisma.LogScalarWhereInput[]
id?: Prisma.StringFilter<"Log"> | string
createdAt?: Prisma.DateTimeFilter<"Log"> | Date | string
tenantId?: Prisma.StringNullableFilter<"Log"> | string | null
userId?: Prisma.StringNullableFilter<"Log"> | string | null
apiKeyId?: Prisma.StringNullableFilter<"Log"> | string | null
rowId?: Prisma.StringNullableFilter<"Log"> | string | null
url?: Prisma.StringFilter<"Log"> | string
action?: Prisma.StringFilter<"Log"> | string
details?: Prisma.StringNullableFilter<"Log"> | string | null
commentId?: Prisma.StringNullableFilter<"Log"> | string | null
}
export type LogCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogCreateOrConnectWithoutTenantInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput>
}
export type LogCreateManyTenantInputEnvelope = {
data: Prisma.LogCreateManyTenantInput | Prisma.LogCreateManyTenantInput[]
skipDuplicates?: boolean
}
export type LogUpsertWithWhereUniqueWithoutTenantInput = {
where: Prisma.LogWhereUniqueInput
update: Prisma.XOR<Prisma.LogUpdateWithoutTenantInput, Prisma.LogUncheckedUpdateWithoutTenantInput>
create: Prisma.XOR<Prisma.LogCreateWithoutTenantInput, Prisma.LogUncheckedCreateWithoutTenantInput>
}
export type LogUpdateWithWhereUniqueWithoutTenantInput = {
where: Prisma.LogWhereUniqueInput
data: Prisma.XOR<Prisma.LogUpdateWithoutTenantInput, Prisma.LogUncheckedUpdateWithoutTenantInput>
}
export type LogUpdateManyWithWhereWithoutTenantInput = {
where: Prisma.LogScalarWhereInput
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyWithoutTenantInput>
}
export type LogCreateWithoutApiKeyInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateWithoutApiKeyInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogCreateOrConnectWithoutApiKeyInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput>
}
export type LogCreateManyApiKeyInputEnvelope = {
data: Prisma.LogCreateManyApiKeyInput | Prisma.LogCreateManyApiKeyInput[]
skipDuplicates?: boolean
}
export type LogUpsertWithWhereUniqueWithoutApiKeyInput = {
where: Prisma.LogWhereUniqueInput
update: Prisma.XOR<Prisma.LogUpdateWithoutApiKeyInput, Prisma.LogUncheckedUpdateWithoutApiKeyInput>
create: Prisma.XOR<Prisma.LogCreateWithoutApiKeyInput, Prisma.LogUncheckedCreateWithoutApiKeyInput>
}
export type LogUpdateWithWhereUniqueWithoutApiKeyInput = {
where: Prisma.LogWhereUniqueInput
data: Prisma.XOR<Prisma.LogUpdateWithoutApiKeyInput, Prisma.LogUncheckedUpdateWithoutApiKeyInput>
}
export type LogUpdateManyWithWhereWithoutApiKeyInput = {
where: Prisma.LogScalarWhereInput
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyWithoutApiKeyInput>
}
export type LogCreateWithoutWebhookLogsInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
}
export type LogUncheckedCreateWithoutWebhookLogsInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogCreateOrConnectWithoutWebhookLogsInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutWebhookLogsInput, Prisma.LogUncheckedCreateWithoutWebhookLogsInput>
}
export type LogUpsertWithoutWebhookLogsInput = {
update: Prisma.XOR<Prisma.LogUpdateWithoutWebhookLogsInput, Prisma.LogUncheckedUpdateWithoutWebhookLogsInput>
create: Prisma.XOR<Prisma.LogCreateWithoutWebhookLogsInput, Prisma.LogUncheckedCreateWithoutWebhookLogsInput>
where?: Prisma.LogWhereInput
}
export type LogUpdateToOneWithWhereWithoutWebhookLogsInput = {
where?: Prisma.LogWhereInput
data: Prisma.XOR<Prisma.LogUpdateWithoutWebhookLogsInput, Prisma.LogUncheckedUpdateWithoutWebhookLogsInput>
}
export type LogUpdateWithoutWebhookLogsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
}
export type LogUncheckedUpdateWithoutWebhookLogsInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogCreateWithoutRowInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
comment?: Prisma.RowCommentCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateWithoutRowInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogCreateOrConnectWithoutRowInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput>
}
export type LogCreateManyRowInputEnvelope = {
data: Prisma.LogCreateManyRowInput | Prisma.LogCreateManyRowInput[]
skipDuplicates?: boolean
}
export type LogUpsertWithWhereUniqueWithoutRowInput = {
where: Prisma.LogWhereUniqueInput
update: Prisma.XOR<Prisma.LogUpdateWithoutRowInput, Prisma.LogUncheckedUpdateWithoutRowInput>
create: Prisma.XOR<Prisma.LogCreateWithoutRowInput, Prisma.LogUncheckedCreateWithoutRowInput>
}
export type LogUpdateWithWhereUniqueWithoutRowInput = {
where: Prisma.LogWhereUniqueInput
data: Prisma.XOR<Prisma.LogUpdateWithoutRowInput, Prisma.LogUncheckedUpdateWithoutRowInput>
}
export type LogUpdateManyWithWhereWithoutRowInput = {
where: Prisma.LogScalarWhereInput
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyWithoutRowInput>
}
export type LogCreateWithoutCommentInput = {
id?: string
createdAt?: Date | string
url: string
action: string
details?: string | null
apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput
row?: Prisma.RowCreateNestedOneWithoutLogsInput
tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput
user?: Prisma.UserCreateNestedOneWithoutLogsInput
webhookLogs?: Prisma.EntityWebhookLogCreateNestedManyWithoutLogInput
}
export type LogUncheckedCreateWithoutCommentInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedCreateNestedManyWithoutLogInput
}
export type LogCreateOrConnectWithoutCommentInput = {
where: Prisma.LogWhereUniqueInput
create: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput>
}
export type LogCreateManyCommentInputEnvelope = {
data: Prisma.LogCreateManyCommentInput | Prisma.LogCreateManyCommentInput[]
skipDuplicates?: boolean
}
export type LogUpsertWithWhereUniqueWithoutCommentInput = {
where: Prisma.LogWhereUniqueInput
update: Prisma.XOR<Prisma.LogUpdateWithoutCommentInput, Prisma.LogUncheckedUpdateWithoutCommentInput>
create: Prisma.XOR<Prisma.LogCreateWithoutCommentInput, Prisma.LogUncheckedCreateWithoutCommentInput>
}
export type LogUpdateWithWhereUniqueWithoutCommentInput = {
where: Prisma.LogWhereUniqueInput
data: Prisma.XOR<Prisma.LogUpdateWithoutCommentInput, Prisma.LogUncheckedUpdateWithoutCommentInput>
}
export type LogUpdateManyWithWhereWithoutCommentInput = {
where: Prisma.LogScalarWhereInput
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyWithoutCommentInput>
}
export type LogCreateManyUserInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogUpdateWithoutUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateWithoutUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateManyWithoutUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogCreateManyTenantInput = {
id?: string
createdAt?: Date | string
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateManyWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogCreateManyApiKeyInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogUpdateWithoutApiKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateWithoutApiKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateManyWithoutApiKeyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogCreateManyRowInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
url: string
action: string
details?: string | null
commentId?: string | null
}
export type LogUpdateWithoutRowInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
comment?: Prisma.RowCommentUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateWithoutRowInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateManyWithoutRowInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LogCreateManyCommentInput = {
id?: string
createdAt?: Date | string
tenantId?: string | null
userId?: string | null
apiKeyId?: string | null
rowId?: string | null
url: string
action: string
details?: string | null
}
export type LogUpdateWithoutCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKey?: Prisma.ApiKeyUpdateOneWithoutLogsNestedInput
row?: Prisma.RowUpdateOneWithoutLogsNestedInput
tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput
user?: Prisma.UserUpdateOneWithoutLogsNestedInput
webhookLogs?: Prisma.EntityWebhookLogUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateWithoutCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
webhookLogs?: Prisma.EntityWebhookLogUncheckedUpdateManyWithoutLogNestedInput
}
export type LogUncheckedUpdateManyWithoutCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
/**
* Count Type LogCountOutputType
*/
export type LogCountOutputType = {
webhookLogs: number
}
export type LogCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
webhookLogs?: boolean | LogCountOutputTypeCountWebhookLogsArgs
}
/**
* LogCountOutputType without action
*/
export type LogCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LogCountOutputType
*/
select?: Prisma.LogCountOutputTypeSelect<ExtArgs> | null
}
/**
* LogCountOutputType without action
*/
export type LogCountOutputTypeCountWebhookLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.EntityWebhookLogWhereInput
}
export type LogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
userId?: boolean
apiKeyId?: boolean
rowId?: boolean
url?: boolean
action?: boolean
details?: boolean
commentId?: boolean
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
webhookLogs?: boolean | Prisma.Log$webhookLogsArgs<ExtArgs>
_count?: boolean | Prisma.LogCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["log"]>
export type LogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
userId?: boolean
apiKeyId?: boolean
rowId?: boolean
url?: boolean
action?: boolean
details?: boolean
commentId?: boolean
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
}, ExtArgs["result"]["log"]>
export type LogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
tenantId?: boolean
userId?: boolean
apiKeyId?: boolean
rowId?: boolean
url?: boolean
action?: boolean
details?: boolean
commentId?: boolean
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
}, ExtArgs["result"]["log"]>
export type LogSelectScalar = {
id?: boolean
createdAt?: boolean
tenantId?: boolean
userId?: boolean
apiKeyId?: boolean
rowId?: boolean
url?: boolean
action?: boolean
details?: boolean
commentId?: boolean
}
export type LogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "userId" | "apiKeyId" | "rowId" | "url" | "action" | "details" | "commentId", ExtArgs["result"]["log"]>
export type LogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
webhookLogs?: boolean | Prisma.Log$webhookLogsArgs<ExtArgs>
_count?: boolean | Prisma.LogCountOutputTypeDefaultArgs<ExtArgs>
}
export type LogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
}
export type LogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
apiKey?: boolean | Prisma.Log$apiKeyArgs<ExtArgs>
comment?: boolean | Prisma.Log$commentArgs<ExtArgs>
row?: boolean | Prisma.Log$rowArgs<ExtArgs>
tenant?: boolean | Prisma.Log$tenantArgs<ExtArgs>
user?: boolean | Prisma.Log$userArgs<ExtArgs>
}
export type $LogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "Log"
objects: {
apiKey: Prisma.$ApiKeyPayload<ExtArgs> | null
comment: Prisma.$RowCommentPayload<ExtArgs> | null
row: Prisma.$RowPayload<ExtArgs> | null
tenant: Prisma.$TenantPayload<ExtArgs> | null
user: Prisma.$UserPayload<ExtArgs> | null
webhookLogs: Prisma.$EntityWebhookLogPayload<ExtArgs>[]
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
tenantId: string | null
userId: string | null
apiKeyId: string | null
rowId: string | null
url: string
action: string
details: string | null
commentId: string | null
}, ExtArgs["result"]["log"]>
composites: {}
}
export type LogGetPayload<S extends boolean | null | undefined | LogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LogPayload, S>
export type LogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<LogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: LogCountAggregateInputType | true
}
export interface LogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Log'], meta: { name: 'Log' } }
/**
* Find zero or one Log that matches the filter.
* @param {LogFindUniqueArgs} args - Arguments to find a Log
* @example
* // Get one Log
* const log = await prisma.log.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends LogFindUniqueArgs>(args: Prisma.SelectSubset<T, LogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Log that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {LogFindUniqueOrThrowArgs} args - Arguments to find a Log
* @example
* // Get one Log
* const log = await prisma.log.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends LogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Log 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 {LogFindFirstArgs} args - Arguments to find a Log
* @example
* // Get one Log
* const log = await prisma.log.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends LogFindFirstArgs>(args?: Prisma.SelectSubset<T, LogFindFirstArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Log 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 {LogFindFirstOrThrowArgs} args - Arguments to find a Log
* @example
* // Get one Log
* const log = await prisma.log.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends LogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Logs 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 {LogFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Logs
* const logs = await prisma.log.findMany()
*
* // Get first 10 Logs
* const logs = await prisma.log.findMany({ take: 10 })
*
* // Only select the `id`
* const logWithIdOnly = await prisma.log.findMany({ select: { id: true } })
*
*/
findMany<T extends LogFindManyArgs>(args?: Prisma.SelectSubset<T, LogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Log.
* @param {LogCreateArgs} args - Arguments to create a Log.
* @example
* // Create one Log
* const Log = await prisma.log.create({
* data: {
* // ... data to create a Log
* }
* })
*
*/
create<T extends LogCreateArgs>(args: Prisma.SelectSubset<T, LogCreateArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Logs.
* @param {LogCreateManyArgs} args - Arguments to create many Logs.
* @example
* // Create many Logs
* const log = await prisma.log.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends LogCreateManyArgs>(args?: Prisma.SelectSubset<T, LogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Logs and returns the data saved in the database.
* @param {LogCreateManyAndReturnArgs} args - Arguments to create many Logs.
* @example
* // Create many Logs
* const log = await prisma.log.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Logs and only return the `id`
* const logWithIdOnly = await prisma.log.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 LogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Log.
* @param {LogDeleteArgs} args - Arguments to delete one Log.
* @example
* // Delete one Log
* const Log = await prisma.log.delete({
* where: {
* // ... filter to delete one Log
* }
* })
*
*/
delete<T extends LogDeleteArgs>(args: Prisma.SelectSubset<T, LogDeleteArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Log.
* @param {LogUpdateArgs} args - Arguments to update one Log.
* @example
* // Update one Log
* const log = await prisma.log.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends LogUpdateArgs>(args: Prisma.SelectSubset<T, LogUpdateArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Logs.
* @param {LogDeleteManyArgs} args - Arguments to filter Logs to delete.
* @example
* // Delete a few Logs
* const { count } = await prisma.log.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends LogDeleteManyArgs>(args?: Prisma.SelectSubset<T, LogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Logs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LogUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Logs
* const log = await prisma.log.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends LogUpdateManyArgs>(args: Prisma.SelectSubset<T, LogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Logs and returns the data updated in the database.
* @param {LogUpdateManyAndReturnArgs} args - Arguments to update many Logs.
* @example
* // Update many Logs
* const log = await prisma.log.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Logs and only return the `id`
* const logWithIdOnly = await prisma.log.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 LogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Log.
* @param {LogUpsertArgs} args - Arguments to update or create a Log.
* @example
* // Update or create a Log
* const log = await prisma.log.upsert({
* create: {
* // ... data to create a Log
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Log we want to update
* }
* })
*/
upsert<T extends LogUpsertArgs>(args: Prisma.SelectSubset<T, LogUpsertArgs<ExtArgs>>): Prisma.Prisma__LogClient<runtime.Types.Result.GetResult<Prisma.$LogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Logs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LogCountArgs} args - Arguments to filter Logs to count.
* @example
* // Count the number of Logs
* const count = await prisma.log.count({
* where: {
* // ... the filter for the Logs we want to count
* }
* })
**/
count<T extends LogCountArgs>(
args?: Prisma.Subset<T, LogCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], LogCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Log.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LogAggregateArgs} 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 LogAggregateArgs>(args: Prisma.Subset<T, LogAggregateArgs>): Prisma.PrismaPromise<GetLogAggregateType<T>>
/**
* Group by Log.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LogGroupByArgs} 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 LogGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: LogGroupByArgs['orderBy'] }
: { orderBy?: LogGroupByArgs['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, LogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the Log model
*/
readonly fields: LogFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for Log.
* 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__LogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
apiKey<T extends Prisma.Log$apiKeyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$apiKeyArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
comment<T extends Prisma.Log$commentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$commentArgs<ExtArgs>>): Prisma.Prisma__RowCommentClient<runtime.Types.Result.GetResult<Prisma.$RowCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
row<T extends Prisma.Log$rowArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$rowArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
tenant<T extends Prisma.Log$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
user<T extends Prisma.Log$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
webhookLogs<T extends Prisma.Log$webhookLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Log$webhookLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookLogPayload<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 Log model
*/
export interface LogFieldRefs {
readonly id: Prisma.FieldRef<"Log", 'String'>
readonly createdAt: Prisma.FieldRef<"Log", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"Log", 'String'>
readonly userId: Prisma.FieldRef<"Log", 'String'>
readonly apiKeyId: Prisma.FieldRef<"Log", 'String'>
readonly rowId: Prisma.FieldRef<"Log", 'String'>
readonly url: Prisma.FieldRef<"Log", 'String'>
readonly action: Prisma.FieldRef<"Log", 'String'>
readonly details: Prisma.FieldRef<"Log", 'String'>
readonly commentId: Prisma.FieldRef<"Log", 'String'>
}
// Custom InputTypes
/**
* Log findUnique
*/
export type LogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter, which Log to fetch.
*/
where: Prisma.LogWhereUniqueInput
}
/**
* Log findUniqueOrThrow
*/
export type LogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter, which Log to fetch.
*/
where: Prisma.LogWhereUniqueInput
}
/**
* Log findFirst
*/
export type LogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter, which Log to fetch.
*/
where?: Prisma.LogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Logs to fetch.
*/
orderBy?: Prisma.LogOrderByWithRelationInput | Prisma.LogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Logs.
*/
cursor?: Prisma.LogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Logs 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` Logs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Logs.
*/
distinct?: Prisma.LogScalarFieldEnum | Prisma.LogScalarFieldEnum[]
}
/**
* Log findFirstOrThrow
*/
export type LogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter, which Log to fetch.
*/
where?: Prisma.LogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Logs to fetch.
*/
orderBy?: Prisma.LogOrderByWithRelationInput | Prisma.LogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for Logs.
*/
cursor?: Prisma.LogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Logs 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` Logs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Logs.
*/
distinct?: Prisma.LogScalarFieldEnum | Prisma.LogScalarFieldEnum[]
}
/**
* Log findMany
*/
export type LogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter, which Logs to fetch.
*/
where?: Prisma.LogWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Logs to fetch.
*/
orderBy?: Prisma.LogOrderByWithRelationInput | Prisma.LogOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing Logs.
*/
cursor?: Prisma.LogWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Logs 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` Logs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of Logs.
*/
distinct?: Prisma.LogScalarFieldEnum | Prisma.LogScalarFieldEnum[]
}
/**
* Log create
*/
export type LogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* The data needed to create a Log.
*/
data: Prisma.XOR<Prisma.LogCreateInput, Prisma.LogUncheckedCreateInput>
}
/**
* Log createMany
*/
export type LogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many Logs.
*/
data: Prisma.LogCreateManyInput | Prisma.LogCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Log createManyAndReturn
*/
export type LogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* The data used to create many Logs.
*/
data: Prisma.LogCreateManyInput | Prisma.LogCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Log update
*/
export type LogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* The data needed to update a Log.
*/
data: Prisma.XOR<Prisma.LogUpdateInput, Prisma.LogUncheckedUpdateInput>
/**
* Choose, which Log to update.
*/
where: Prisma.LogWhereUniqueInput
}
/**
* Log updateMany
*/
export type LogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update Logs.
*/
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyInput>
/**
* Filter which Logs to update
*/
where?: Prisma.LogWhereInput
/**
* Limit how many Logs to update.
*/
limit?: number
}
/**
* Log updateManyAndReturn
*/
export type LogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* The data used to update Logs.
*/
data: Prisma.XOR<Prisma.LogUpdateManyMutationInput, Prisma.LogUncheckedUpdateManyInput>
/**
* Filter which Logs to update
*/
where?: Prisma.LogWhereInput
/**
* Limit how many Logs to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* Log upsert
*/
export type LogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* The filter to search for the Log to update in case it exists.
*/
where: Prisma.LogWhereUniqueInput
/**
* In case the Log found by the `where` argument doesn't exist, create a new Log with this data.
*/
create: Prisma.XOR<Prisma.LogCreateInput, Prisma.LogUncheckedCreateInput>
/**
* In case the Log was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.LogUpdateInput, Prisma.LogUncheckedUpdateInput>
}
/**
* Log delete
*/
export type LogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
/**
* Filter which Log to delete.
*/
where: Prisma.LogWhereUniqueInput
}
/**
* Log deleteMany
*/
export type LogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Logs to delete
*/
where?: Prisma.LogWhereInput
/**
* Limit how many Logs to delete.
*/
limit?: number
}
/**
* Log.apiKey
*/
export type Log$apiKeyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: Prisma.ApiKeySelect<ExtArgs> | null
/**
* Omit specific fields from the ApiKey
*/
omit?: Prisma.ApiKeyOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ApiKeyInclude<ExtArgs> | null
where?: Prisma.ApiKeyWhereInput
}
/**
* Log.comment
*/
export type Log$commentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowComment
*/
select?: Prisma.RowCommentSelect<ExtArgs> | null
/**
* Omit specific fields from the RowComment
*/
omit?: Prisma.RowCommentOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentInclude<ExtArgs> | null
where?: Prisma.RowCommentWhereInput
}
/**
* Log.row
*/
export type Log$rowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Row
*/
select?: Prisma.RowSelect<ExtArgs> | null
/**
* Omit specific fields from the Row
*/
omit?: Prisma.RowOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowInclude<ExtArgs> | null
where?: Prisma.RowWhereInput
}
/**
* Log.tenant
*/
export type Log$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Tenant
*/
select?: Prisma.TenantSelect<ExtArgs> | null
/**
* Omit specific fields from the Tenant
*/
omit?: Prisma.TenantOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.TenantInclude<ExtArgs> | null
where?: Prisma.TenantWhereInput
}
/**
* Log.user
*/
export type Log$userArgs<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
}
/**
* Log.webhookLogs
*/
export type Log$webhookLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the EntityWebhookLog
*/
select?: Prisma.EntityWebhookLogSelect<ExtArgs> | null
/**
* Omit specific fields from the EntityWebhookLog
*/
omit?: Prisma.EntityWebhookLogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.EntityWebhookLogInclude<ExtArgs> | null
where?: Prisma.EntityWebhookLogWhereInput
orderBy?: Prisma.EntityWebhookLogOrderByWithRelationInput | Prisma.EntityWebhookLogOrderByWithRelationInput[]
cursor?: Prisma.EntityWebhookLogWhereUniqueInput
take?: number
skip?: number
distinct?: Prisma.EntityWebhookLogScalarFieldEnum | Prisma.EntityWebhookLogScalarFieldEnum[]
}
/**
* Log without action
*/
export type LogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Log
*/
select?: Prisma.LogSelect<ExtArgs> | null
/**
* Omit specific fields from the Log
*/
omit?: Prisma.LogOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LogInclude<ExtArgs> | null
}