/* !!! 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 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 url: string | null action: string | null details: string | null } export type LogMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null userId: string | null apiKeyId: string | null url: string | null action: string | null details: string | null } export type LogCountAggregateOutputType = { id: number createdAt: number tenantId: number userId: number apiKeyId: number url: number action: number details: number _all: number } export type LogMinAggregateInputType = { id?: true createdAt?: true tenantId?: true userId?: true apiKeyId?: true url?: true action?: true details?: true } export type LogMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true userId?: true apiKeyId?: true url?: true action?: true details?: true } export type LogCountAggregateInputType = { id?: true createdAt?: true tenantId?: true userId?: true apiKeyId?: true url?: true action?: true details?: true _all?: true } export type LogAggregateArgs = { /** * 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 = { [P in keyof T & keyof AggregateLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type LogGroupByArgs = { 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 url: string action: string details: string | null _count: LogCountAggregateOutputType | null _min: LogMinAggregateOutputType | null _max: LogMaxAggregateOutputType | null } export type GetLogGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof LogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 url?: Prisma.StringFilter<"Log"> | string action?: Prisma.StringFilter<"Log"> | string details?: Prisma.StringNullableFilter<"Log"> | string | null apiKey?: Prisma.XOR | null tenant?: Prisma.XOR | null user?: Prisma.XOR | null } export type LogOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder apiKeyId?: Prisma.SortOrderInput | Prisma.SortOrder url?: Prisma.SortOrder action?: Prisma.SortOrder details?: Prisma.SortOrderInput | Prisma.SortOrder apiKey?: Prisma.ApiKeyOrderByWithRelationInput tenant?: Prisma.TenantOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput } 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 url?: Prisma.StringFilter<"Log"> | string action?: Prisma.StringFilter<"Log"> | string details?: Prisma.StringNullableFilter<"Log"> | string | null apiKey?: Prisma.XOR | null tenant?: Prisma.XOR | null user?: Prisma.XOR | null }, "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 url?: Prisma.SortOrder action?: Prisma.SortOrder details?: 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 url?: Prisma.StringWithAggregatesFilter<"Log"> | string action?: Prisma.StringWithAggregatesFilter<"Log"> | string details?: Prisma.StringNullableWithAggregatesFilter<"Log"> | string | null } export type LogCreateInput = { id?: string createdAt?: Date | string url: string action: string details?: string | null apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutLogsInput } export type LogUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId?: string | null userId?: string | null apiKeyId?: string | null url: string action: string details?: string | null } 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 tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput user?: Prisma.UserUpdateOneWithoutLogsNestedInput } 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 url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogCreateManyInput = { id?: string createdAt?: Date | string tenantId?: string | null userId?: string | null apiKeyId?: string | null url: string action: string details?: 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 url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: 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 url?: Prisma.SortOrder action?: Prisma.SortOrder details?: Prisma.SortOrder } export type LogMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder userId?: Prisma.SortOrder apiKeyId?: Prisma.SortOrder url?: Prisma.SortOrder action?: Prisma.SortOrder details?: Prisma.SortOrder } export type LogMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder userId?: Prisma.SortOrder apiKeyId?: Prisma.SortOrder url?: Prisma.SortOrder action?: Prisma.SortOrder details?: Prisma.SortOrder } export type LogCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | 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[] connectOrCreate?: Prisma.LogCreateOrConnectWithoutUserInput | Prisma.LogCreateOrConnectWithoutUserInput[] createMany?: Prisma.LogCreateManyUserInputEnvelope connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[] } export type LogUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | 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[] 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[] connectOrCreate?: Prisma.LogCreateOrConnectWithoutTenantInput | Prisma.LogCreateOrConnectWithoutTenantInput[] createMany?: Prisma.LogCreateManyTenantInputEnvelope connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[] } export type LogUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | 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[] 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[] 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[] connectOrCreate?: Prisma.LogCreateOrConnectWithoutApiKeyInput | Prisma.LogCreateOrConnectWithoutApiKeyInput[] createMany?: Prisma.LogCreateManyApiKeyInputEnvelope connect?: Prisma.LogWhereUniqueInput | Prisma.LogWhereUniqueInput[] } export type LogUncheckedCreateNestedManyWithoutApiKeyInput = { create?: Prisma.XOR | 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[] 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[] 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 LogCreateWithoutUserInput = { id?: string createdAt?: Date | string url: string action: string details?: string | null apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput } export type LogUncheckedCreateWithoutUserInput = { id?: string createdAt?: Date | string tenantId?: string | null apiKeyId?: string | null url: string action: string details?: string | null } export type LogCreateOrConnectWithoutUserInput = { where: Prisma.LogWhereUniqueInput create: Prisma.XOR } export type LogCreateManyUserInputEnvelope = { data: Prisma.LogCreateManyUserInput | Prisma.LogCreateManyUserInput[] skipDuplicates?: boolean } export type LogUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.LogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type LogUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.LogWhereUniqueInput data: Prisma.XOR } export type LogUpdateManyWithWhereWithoutUserInput = { where: Prisma.LogScalarWhereInput data: Prisma.XOR } 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 url?: Prisma.StringFilter<"Log"> | string action?: Prisma.StringFilter<"Log"> | string details?: Prisma.StringNullableFilter<"Log"> | string | null } export type LogCreateWithoutTenantInput = { id?: string createdAt?: Date | string url: string action: string details?: string | null apiKey?: Prisma.ApiKeyCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutLogsInput } export type LogUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string userId?: string | null apiKeyId?: string | null url: string action: string details?: string | null } export type LogCreateOrConnectWithoutTenantInput = { where: Prisma.LogWhereUniqueInput create: Prisma.XOR } export type LogCreateManyTenantInputEnvelope = { data: Prisma.LogCreateManyTenantInput | Prisma.LogCreateManyTenantInput[] skipDuplicates?: boolean } export type LogUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.LogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type LogUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.LogWhereUniqueInput data: Prisma.XOR } export type LogUpdateManyWithWhereWithoutTenantInput = { where: Prisma.LogScalarWhereInput data: Prisma.XOR } export type LogCreateWithoutApiKeyInput = { id?: string createdAt?: Date | string url: string action: string details?: string | null tenant?: Prisma.TenantCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutLogsInput } export type LogUncheckedCreateWithoutApiKeyInput = { id?: string createdAt?: Date | string tenantId?: string | null userId?: string | null url: string action: string details?: string | null } export type LogCreateOrConnectWithoutApiKeyInput = { where: Prisma.LogWhereUniqueInput create: Prisma.XOR } export type LogCreateManyApiKeyInputEnvelope = { data: Prisma.LogCreateManyApiKeyInput | Prisma.LogCreateManyApiKeyInput[] skipDuplicates?: boolean } export type LogUpsertWithWhereUniqueWithoutApiKeyInput = { where: Prisma.LogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type LogUpdateWithWhereUniqueWithoutApiKeyInput = { where: Prisma.LogWhereUniqueInput data: Prisma.XOR } export type LogUpdateManyWithWhereWithoutApiKeyInput = { where: Prisma.LogScalarWhereInput data: Prisma.XOR } export type LogCreateManyUserInput = { id?: string createdAt?: Date | string tenantId?: string | null apiKeyId?: string | null url: string action: string details?: 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 tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput } export type LogUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogCreateManyTenantInput = { id?: string createdAt?: Date | string userId?: string | null apiKeyId?: string | null url: string action: string details?: 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 user?: Prisma.UserUpdateOneWithoutLogsNestedInput } export type LogUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogCreateManyApiKeyInput = { id?: string createdAt?: Date | string tenantId?: string | null userId?: string | null url: string action: string details?: 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 tenant?: Prisma.TenantUpdateOneWithoutLogsNestedInput user?: Prisma.UserUpdateOneWithoutLogsNestedInput } export type LogUncheckedUpdateWithoutApiKeyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogUncheckedUpdateManyWithoutApiKeyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null url?: Prisma.StringFieldUpdateOperationsInput | string action?: Prisma.StringFieldUpdateOperationsInput | string details?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type LogSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean userId?: boolean apiKeyId?: boolean url?: boolean action?: boolean details?: boolean apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs }, ExtArgs["result"]["log"]> export type LogSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean userId?: boolean apiKeyId?: boolean url?: boolean action?: boolean details?: boolean apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs }, ExtArgs["result"]["log"]> export type LogSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean userId?: boolean apiKeyId?: boolean url?: boolean action?: boolean details?: boolean apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs }, ExtArgs["result"]["log"]> export type LogSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean userId?: boolean apiKeyId?: boolean url?: boolean action?: boolean details?: boolean } export type LogOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "userId" | "apiKeyId" | "url" | "action" | "details", ExtArgs["result"]["log"]> export type LogInclude = { apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs } export type LogIncludeCreateManyAndReturn = { apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs } export type LogIncludeUpdateManyAndReturn = { apiKey?: boolean | Prisma.Log$apiKeyArgs tenant?: boolean | Prisma.Log$tenantArgs user?: boolean | Prisma.Log$userArgs } export type $LogPayload = { name: "Log" objects: { apiKey: Prisma.$ApiKeyPayload | null tenant: Prisma.$TenantPayload | null user: Prisma.$UserPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string | null userId: string | null apiKeyId: string | null url: string action: string details: string | null }, ExtArgs["result"]["log"]> composites: {} } export type LogGetPayload = runtime.Types.Result.GetResult export type LogCountArgs = Omit & { select?: LogCountAggregateInputType | true } export interface LogDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LogClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: LogGroupByArgs['orderBy'] } : { orderBy?: LogGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetLogGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" apiKey = {}>(args?: Prisma.Subset>): Prisma.Prisma__ApiKeyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 url: Prisma.FieldRef<"Log", 'String'> readonly action: Prisma.FieldRef<"Log", 'String'> readonly details: Prisma.FieldRef<"Log", 'String'> } // Custom InputTypes /** * Log findUnique */ export type LogFindUniqueArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null /** * Filter, which Log to fetch. */ where: Prisma.LogWhereUniqueInput } /** * Log findUniqueOrThrow */ export type LogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null /** * Filter, which Log to fetch. */ where: Prisma.LogWhereUniqueInput } /** * Log findFirst */ export type LogFindFirstArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | 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 = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | 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 = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | 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 = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null /** * The data needed to create a Log. */ data: Prisma.XOR } /** * Log createMany */ export type LogCreateManyArgs = { /** * The data used to create many Logs. */ data: Prisma.LogCreateManyInput | Prisma.LogCreateManyInput[] skipDuplicates?: boolean } /** * Log createManyAndReturn */ export type LogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelectCreateManyAndReturn | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | 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 | null } /** * Log update */ export type LogUpdateArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null /** * The data needed to update a Log. */ data: Prisma.XOR /** * Choose, which Log to update. */ where: Prisma.LogWhereUniqueInput } /** * Log updateMany */ export type LogUpdateManyArgs = { /** * The data used to update Logs. */ data: Prisma.XOR /** * Filter which Logs to update */ where?: Prisma.LogWhereInput /** * Limit how many Logs to update. */ limit?: number } /** * Log updateManyAndReturn */ export type LogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelectUpdateManyAndReturn | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * The data used to update Logs. */ data: Prisma.XOR /** * 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 | null } /** * Log upsert */ export type LogUpsertArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | 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 /** * In case the Log was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Log delete */ export type LogDeleteArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null /** * Filter which Log to delete. */ where: Prisma.LogWhereUniqueInput } /** * Log deleteMany */ export type LogDeleteManyArgs = { /** * Filter which Logs to delete */ where?: Prisma.LogWhereInput /** * Limit how many Logs to delete. */ limit?: number } /** * Log.apiKey */ export type Log$apiKeyArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: Prisma.ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: Prisma.ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ApiKeyInclude | null where?: Prisma.ApiKeyWhereInput } /** * Log.tenant */ export type Log$tenantArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null where?: Prisma.TenantWhereInput } /** * Log.user */ export type Log$userArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * Log without action */ export type LogDefaultArgs = { /** * Select specific fields to fetch from the Log */ select?: Prisma.LogSelect | null /** * Omit specific fields from the Log */ omit?: Prisma.LogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LogInclude | null }