1548 lines
60 KiB
TypeScript
1548 lines
60 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 `ApiKeyEntity` 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 ApiKeyEntity
|
|
*
|
|
*/
|
|
export type ApiKeyEntityModel = runtime.Types.Result.DefaultSelection<Prisma.$ApiKeyEntityPayload>
|
|
|
|
export type AggregateApiKeyEntity = {
|
|
_count: ApiKeyEntityCountAggregateOutputType | null
|
|
_min: ApiKeyEntityMinAggregateOutputType | null
|
|
_max: ApiKeyEntityMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ApiKeyEntityMinAggregateOutputType = {
|
|
id: string | null
|
|
apiKeyId: string | null
|
|
entityId: string | null
|
|
create: boolean | null
|
|
read: boolean | null
|
|
update: boolean | null
|
|
delete: boolean | null
|
|
}
|
|
|
|
export type ApiKeyEntityMaxAggregateOutputType = {
|
|
id: string | null
|
|
apiKeyId: string | null
|
|
entityId: string | null
|
|
create: boolean | null
|
|
read: boolean | null
|
|
update: boolean | null
|
|
delete: boolean | null
|
|
}
|
|
|
|
export type ApiKeyEntityCountAggregateOutputType = {
|
|
id: number
|
|
apiKeyId: number
|
|
entityId: number
|
|
create: number
|
|
read: number
|
|
update: number
|
|
delete: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ApiKeyEntityMinAggregateInputType = {
|
|
id?: true
|
|
apiKeyId?: true
|
|
entityId?: true
|
|
create?: true
|
|
read?: true
|
|
update?: true
|
|
delete?: true
|
|
}
|
|
|
|
export type ApiKeyEntityMaxAggregateInputType = {
|
|
id?: true
|
|
apiKeyId?: true
|
|
entityId?: true
|
|
create?: true
|
|
read?: true
|
|
update?: true
|
|
delete?: true
|
|
}
|
|
|
|
export type ApiKeyEntityCountAggregateInputType = {
|
|
id?: true
|
|
apiKeyId?: true
|
|
entityId?: true
|
|
create?: true
|
|
read?: true
|
|
update?: true
|
|
delete?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ApiKeyEntityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ApiKeyEntity to aggregate.
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ApiKeyEntities to fetch.
|
|
*/
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ApiKeyEntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ApiKeyEntities 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` ApiKeyEntities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ApiKeyEntities
|
|
**/
|
|
_count?: true | ApiKeyEntityCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ApiKeyEntityMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ApiKeyEntityMaxAggregateInputType
|
|
}
|
|
|
|
export type GetApiKeyEntityAggregateType<T extends ApiKeyEntityAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateApiKeyEntity]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateApiKeyEntity[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateApiKeyEntity[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ApiKeyEntityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithAggregationInput | Prisma.ApiKeyEntityOrderByWithAggregationInput[]
|
|
by: Prisma.ApiKeyEntityScalarFieldEnum[] | Prisma.ApiKeyEntityScalarFieldEnum
|
|
having?: Prisma.ApiKeyEntityScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ApiKeyEntityCountAggregateInputType | true
|
|
_min?: ApiKeyEntityMinAggregateInputType
|
|
_max?: ApiKeyEntityMaxAggregateInputType
|
|
}
|
|
|
|
export type ApiKeyEntityGroupByOutputType = {
|
|
id: string
|
|
apiKeyId: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
_count: ApiKeyEntityCountAggregateOutputType | null
|
|
_min: ApiKeyEntityMinAggregateOutputType | null
|
|
_max: ApiKeyEntityMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetApiKeyEntityGroupByPayload<T extends ApiKeyEntityGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ApiKeyEntityGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ApiKeyEntityGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ApiKeyEntityGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ApiKeyEntityGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ApiKeyEntityWhereInput = {
|
|
AND?: Prisma.ApiKeyEntityWhereInput | Prisma.ApiKeyEntityWhereInput[]
|
|
OR?: Prisma.ApiKeyEntityWhereInput[]
|
|
NOT?: Prisma.ApiKeyEntityWhereInput | Prisma.ApiKeyEntityWhereInput[]
|
|
id?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
apiKeyId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
entityId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
create?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
read?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
update?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
delete?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
apiKey?: Prisma.XOR<Prisma.ApiKeyScalarRelationFilter, Prisma.ApiKeyWhereInput>
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
}
|
|
|
|
export type ApiKeyEntityOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
create?: Prisma.SortOrder
|
|
read?: Prisma.SortOrder
|
|
update?: Prisma.SortOrder
|
|
delete?: Prisma.SortOrder
|
|
apiKey?: Prisma.ApiKeyOrderByWithRelationInput
|
|
entity?: Prisma.EntityOrderByWithRelationInput
|
|
}
|
|
|
|
export type ApiKeyEntityWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.ApiKeyEntityWhereInput | Prisma.ApiKeyEntityWhereInput[]
|
|
OR?: Prisma.ApiKeyEntityWhereInput[]
|
|
NOT?: Prisma.ApiKeyEntityWhereInput | Prisma.ApiKeyEntityWhereInput[]
|
|
apiKeyId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
entityId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
create?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
read?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
update?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
delete?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
apiKey?: Prisma.XOR<Prisma.ApiKeyScalarRelationFilter, Prisma.ApiKeyWhereInput>
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
}, "id">
|
|
|
|
export type ApiKeyEntityOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
create?: Prisma.SortOrder
|
|
read?: Prisma.SortOrder
|
|
update?: Prisma.SortOrder
|
|
delete?: Prisma.SortOrder
|
|
_count?: Prisma.ApiKeyEntityCountOrderByAggregateInput
|
|
_max?: Prisma.ApiKeyEntityMaxOrderByAggregateInput
|
|
_min?: Prisma.ApiKeyEntityMinOrderByAggregateInput
|
|
}
|
|
|
|
export type ApiKeyEntityScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ApiKeyEntityScalarWhereWithAggregatesInput | Prisma.ApiKeyEntityScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ApiKeyEntityScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ApiKeyEntityScalarWhereWithAggregatesInput | Prisma.ApiKeyEntityScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"ApiKeyEntity"> | string
|
|
apiKeyId?: Prisma.StringWithAggregatesFilter<"ApiKeyEntity"> | string
|
|
entityId?: Prisma.StringWithAggregatesFilter<"ApiKeyEntity"> | string
|
|
create?: Prisma.BoolWithAggregatesFilter<"ApiKeyEntity"> | boolean
|
|
read?: Prisma.BoolWithAggregatesFilter<"ApiKeyEntity"> | boolean
|
|
update?: Prisma.BoolWithAggregatesFilter<"ApiKeyEntity"> | boolean
|
|
delete?: Prisma.BoolWithAggregatesFilter<"ApiKeyEntity"> | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateInput = {
|
|
id?: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
apiKey: Prisma.ApiKeyCreateNestedOneWithoutEntitiesInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutApiKeysInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedCreateInput = {
|
|
id?: string
|
|
apiKeyId: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
apiKey?: Prisma.ApiKeyUpdateOneRequiredWithoutEntitiesNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutApiKeysNestedInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
apiKeyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateManyInput = {
|
|
id?: string
|
|
apiKeyId: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
apiKeyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityListRelationFilter = {
|
|
every?: Prisma.ApiKeyEntityWhereInput
|
|
some?: Prisma.ApiKeyEntityWhereInput
|
|
none?: Prisma.ApiKeyEntityWhereInput
|
|
}
|
|
|
|
export type ApiKeyEntityOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ApiKeyEntityCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
create?: Prisma.SortOrder
|
|
read?: Prisma.SortOrder
|
|
update?: Prisma.SortOrder
|
|
delete?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ApiKeyEntityMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
create?: Prisma.SortOrder
|
|
read?: Prisma.SortOrder
|
|
update?: Prisma.SortOrder
|
|
delete?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ApiKeyEntityMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
create?: Prisma.SortOrder
|
|
read?: Prisma.SortOrder
|
|
update?: Prisma.SortOrder
|
|
delete?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ApiKeyEntityCreateNestedManyWithoutApiKeyInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput> | Prisma.ApiKeyEntityCreateWithoutApiKeyInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput | Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyApiKeyInputEnvelope
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedCreateNestedManyWithoutApiKeyInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput> | Prisma.ApiKeyEntityCreateWithoutApiKeyInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput | Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyApiKeyInputEnvelope
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateManyWithoutApiKeyNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput> | Prisma.ApiKeyEntityCreateWithoutApiKeyInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput | Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput[]
|
|
upsert?: Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutApiKeyInput | Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutApiKeyInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyApiKeyInputEnvelope
|
|
set?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
disconnect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
delete?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
update?: Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutApiKeyInput | Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutApiKeyInput[]
|
|
updateMany?: Prisma.ApiKeyEntityUpdateManyWithWhereWithoutApiKeyInput | Prisma.ApiKeyEntityUpdateManyWithWhereWithoutApiKeyInput[]
|
|
deleteMany?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateManyWithoutApiKeyNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput> | Prisma.ApiKeyEntityCreateWithoutApiKeyInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput | Prisma.ApiKeyEntityCreateOrConnectWithoutApiKeyInput[]
|
|
upsert?: Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutApiKeyInput | Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutApiKeyInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyApiKeyInputEnvelope
|
|
set?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
disconnect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
delete?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
update?: Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutApiKeyInput | Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutApiKeyInput[]
|
|
updateMany?: Prisma.ApiKeyEntityUpdateManyWithWhereWithoutApiKeyInput | Prisma.ApiKeyEntityUpdateManyWithWhereWithoutApiKeyInput[]
|
|
deleteMany?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput> | Prisma.ApiKeyEntityCreateWithoutEntityInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput | Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyEntityInputEnvelope
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput> | Prisma.ApiKeyEntityCreateWithoutEntityInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput | Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyEntityInputEnvelope
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput> | Prisma.ApiKeyEntityCreateWithoutEntityInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput | Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutEntityInput | Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyEntityInputEnvelope
|
|
set?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
disconnect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
delete?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
update?: Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutEntityInput | Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.ApiKeyEntityUpdateManyWithWhereWithoutEntityInput | Prisma.ApiKeyEntityUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput> | Prisma.ApiKeyEntityCreateWithoutEntityInput[] | Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput | Prisma.ApiKeyEntityCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutEntityInput | Prisma.ApiKeyEntityUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.ApiKeyEntityCreateManyEntityInputEnvelope
|
|
set?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
disconnect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
delete?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
connect?: Prisma.ApiKeyEntityWhereUniqueInput | Prisma.ApiKeyEntityWhereUniqueInput[]
|
|
update?: Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutEntityInput | Prisma.ApiKeyEntityUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.ApiKeyEntityUpdateManyWithWhereWithoutEntityInput | Prisma.ApiKeyEntityUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
}
|
|
|
|
export type ApiKeyEntityCreateWithoutApiKeyInput = {
|
|
id?: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
entity: Prisma.EntityCreateNestedOneWithoutApiKeysInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedCreateWithoutApiKeyInput = {
|
|
id?: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateOrConnectWithoutApiKeyInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput>
|
|
}
|
|
|
|
export type ApiKeyEntityCreateManyApiKeyInputEnvelope = {
|
|
data: Prisma.ApiKeyEntityCreateManyApiKeyInput | Prisma.ApiKeyEntityCreateManyApiKeyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpsertWithWhereUniqueWithoutApiKeyInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ApiKeyEntityUpdateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedUpdateWithoutApiKeyInput>
|
|
create: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedCreateWithoutApiKeyInput>
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateWithWhereUniqueWithoutApiKeyInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateWithoutApiKeyInput, Prisma.ApiKeyEntityUncheckedUpdateWithoutApiKeyInput>
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateManyWithWhereWithoutApiKeyInput = {
|
|
where: Prisma.ApiKeyEntityScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateManyMutationInput, Prisma.ApiKeyEntityUncheckedUpdateManyWithoutApiKeyInput>
|
|
}
|
|
|
|
export type ApiKeyEntityScalarWhereInput = {
|
|
AND?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
OR?: Prisma.ApiKeyEntityScalarWhereInput[]
|
|
NOT?: Prisma.ApiKeyEntityScalarWhereInput | Prisma.ApiKeyEntityScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
apiKeyId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
entityId?: Prisma.StringFilter<"ApiKeyEntity"> | string
|
|
create?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
read?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
update?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
delete?: Prisma.BoolFilter<"ApiKeyEntity"> | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateWithoutEntityInput = {
|
|
id?: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
apiKey: Prisma.ApiKeyCreateNestedOneWithoutEntitiesInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedCreateWithoutEntityInput = {
|
|
id?: string
|
|
apiKeyId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateOrConnectWithoutEntityInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type ApiKeyEntityCreateManyEntityInputEnvelope = {
|
|
data: Prisma.ApiKeyEntityCreateManyEntityInput | Prisma.ApiKeyEntityCreateManyEntityInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpsertWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ApiKeyEntityUpdateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedUpdateWithoutEntityInput>
|
|
create: Prisma.XOR<Prisma.ApiKeyEntityCreateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateWithoutEntityInput, Prisma.ApiKeyEntityUncheckedUpdateWithoutEntityInput>
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateManyWithWhereWithoutEntityInput = {
|
|
where: Prisma.ApiKeyEntityScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateManyMutationInput, Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityInput>
|
|
}
|
|
|
|
export type ApiKeyEntityCreateManyApiKeyInput = {
|
|
id?: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateWithoutApiKeyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutApiKeysNestedInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateWithoutApiKeyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateManyWithoutApiKeyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityCreateManyEntityInput = {
|
|
id?: string
|
|
apiKeyId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
apiKey?: Prisma.ApiKeyUpdateOneRequiredWithoutEntitiesNestedInput
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
apiKeyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type ApiKeyEntityUncheckedUpdateManyWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
apiKeyId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
create?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
read?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
update?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
delete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
|
|
export type ApiKeyEntitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
apiKeyId?: boolean
|
|
entityId?: boolean
|
|
create?: boolean
|
|
read?: boolean
|
|
update?: boolean
|
|
delete?: boolean
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["apiKeyEntity"]>
|
|
|
|
export type ApiKeyEntitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
apiKeyId?: boolean
|
|
entityId?: boolean
|
|
create?: boolean
|
|
read?: boolean
|
|
update?: boolean
|
|
delete?: boolean
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["apiKeyEntity"]>
|
|
|
|
export type ApiKeyEntitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
apiKeyId?: boolean
|
|
entityId?: boolean
|
|
create?: boolean
|
|
read?: boolean
|
|
update?: boolean
|
|
delete?: boolean
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["apiKeyEntity"]>
|
|
|
|
export type ApiKeyEntitySelectScalar = {
|
|
id?: boolean
|
|
apiKeyId?: boolean
|
|
entityId?: boolean
|
|
create?: boolean
|
|
read?: boolean
|
|
update?: boolean
|
|
delete?: boolean
|
|
}
|
|
|
|
export type ApiKeyEntityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "apiKeyId" | "entityId" | "create" | "read" | "update" | "delete", ExtArgs["result"]["apiKeyEntity"]>
|
|
export type ApiKeyEntityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
export type ApiKeyEntityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
export type ApiKeyEntityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
apiKey?: boolean | Prisma.ApiKeyDefaultArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $ApiKeyEntityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ApiKeyEntity"
|
|
objects: {
|
|
apiKey: Prisma.$ApiKeyPayload<ExtArgs>
|
|
entity: Prisma.$EntityPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
apiKeyId: string
|
|
entityId: string
|
|
create: boolean
|
|
read: boolean
|
|
update: boolean
|
|
delete: boolean
|
|
}, ExtArgs["result"]["apiKeyEntity"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ApiKeyEntityGetPayload<S extends boolean | null | undefined | ApiKeyEntityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload, S>
|
|
|
|
export type ApiKeyEntityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ApiKeyEntityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ApiKeyEntityCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ApiKeyEntityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ApiKeyEntity'], meta: { name: 'ApiKeyEntity' } }
|
|
/**
|
|
* Find zero or one ApiKeyEntity that matches the filter.
|
|
* @param {ApiKeyEntityFindUniqueArgs} args - Arguments to find a ApiKeyEntity
|
|
* @example
|
|
* // Get one ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ApiKeyEntityFindUniqueArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ApiKeyEntity that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ApiKeyEntityFindUniqueOrThrowArgs} args - Arguments to find a ApiKeyEntity
|
|
* @example
|
|
* // Get one ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ApiKeyEntityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ApiKeyEntity 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 {ApiKeyEntityFindFirstArgs} args - Arguments to find a ApiKeyEntity
|
|
* @example
|
|
* // Get one ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ApiKeyEntityFindFirstArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityFindFirstArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ApiKeyEntity 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 {ApiKeyEntityFindFirstOrThrowArgs} args - Arguments to find a ApiKeyEntity
|
|
* @example
|
|
* // Get one ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ApiKeyEntityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ApiKeyEntities 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 {ApiKeyEntityFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ApiKeyEntities
|
|
* const apiKeyEntities = await prisma.apiKeyEntity.findMany()
|
|
*
|
|
* // Get first 10 ApiKeyEntities
|
|
* const apiKeyEntities = await prisma.apiKeyEntity.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const apiKeyEntityWithIdOnly = await prisma.apiKeyEntity.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ApiKeyEntityFindManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ApiKeyEntity.
|
|
* @param {ApiKeyEntityCreateArgs} args - Arguments to create a ApiKeyEntity.
|
|
* @example
|
|
* // Create one ApiKeyEntity
|
|
* const ApiKeyEntity = await prisma.apiKeyEntity.create({
|
|
* data: {
|
|
* // ... data to create a ApiKeyEntity
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ApiKeyEntityCreateArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityCreateArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ApiKeyEntities.
|
|
* @param {ApiKeyEntityCreateManyArgs} args - Arguments to create many ApiKeyEntities.
|
|
* @example
|
|
* // Create many ApiKeyEntities
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ApiKeyEntityCreateManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many ApiKeyEntities and returns the data saved in the database.
|
|
* @param {ApiKeyEntityCreateManyAndReturnArgs} args - Arguments to create many ApiKeyEntities.
|
|
* @example
|
|
* // Create many ApiKeyEntities
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many ApiKeyEntities and only return the `id`
|
|
* const apiKeyEntityWithIdOnly = await prisma.apiKeyEntity.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 ApiKeyEntityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a ApiKeyEntity.
|
|
* @param {ApiKeyEntityDeleteArgs} args - Arguments to delete one ApiKeyEntity.
|
|
* @example
|
|
* // Delete one ApiKeyEntity
|
|
* const ApiKeyEntity = await prisma.apiKeyEntity.delete({
|
|
* where: {
|
|
* // ... filter to delete one ApiKeyEntity
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ApiKeyEntityDeleteArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityDeleteArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ApiKeyEntity.
|
|
* @param {ApiKeyEntityUpdateArgs} args - Arguments to update one ApiKeyEntity.
|
|
* @example
|
|
* // Update one ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ApiKeyEntityUpdateArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityUpdateArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ApiKeyEntities.
|
|
* @param {ApiKeyEntityDeleteManyArgs} args - Arguments to filter ApiKeyEntities to delete.
|
|
* @example
|
|
* // Delete a few ApiKeyEntities
|
|
* const { count } = await prisma.apiKeyEntity.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ApiKeyEntityDeleteManyArgs>(args?: Prisma.SelectSubset<T, ApiKeyEntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ApiKeyEntities.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ApiKeyEntityUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ApiKeyEntities
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ApiKeyEntityUpdateManyArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ApiKeyEntities and returns the data updated in the database.
|
|
* @param {ApiKeyEntityUpdateManyAndReturnArgs} args - Arguments to update many ApiKeyEntities.
|
|
* @example
|
|
* // Update many ApiKeyEntities
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more ApiKeyEntities and only return the `id`
|
|
* const apiKeyEntityWithIdOnly = await prisma.apiKeyEntity.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 ApiKeyEntityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one ApiKeyEntity.
|
|
* @param {ApiKeyEntityUpsertArgs} args - Arguments to update or create a ApiKeyEntity.
|
|
* @example
|
|
* // Update or create a ApiKeyEntity
|
|
* const apiKeyEntity = await prisma.apiKeyEntity.upsert({
|
|
* create: {
|
|
* // ... data to create a ApiKeyEntity
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ApiKeyEntity we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ApiKeyEntityUpsertArgs>(args: Prisma.SelectSubset<T, ApiKeyEntityUpsertArgs<ExtArgs>>): Prisma.Prisma__ApiKeyEntityClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ApiKeyEntities.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ApiKeyEntityCountArgs} args - Arguments to filter ApiKeyEntities to count.
|
|
* @example
|
|
* // Count the number of ApiKeyEntities
|
|
* const count = await prisma.apiKeyEntity.count({
|
|
* where: {
|
|
* // ... the filter for the ApiKeyEntities we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ApiKeyEntityCountArgs>(
|
|
args?: Prisma.Subset<T, ApiKeyEntityCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ApiKeyEntityCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ApiKeyEntity.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ApiKeyEntityAggregateArgs} 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 ApiKeyEntityAggregateArgs>(args: Prisma.Subset<T, ApiKeyEntityAggregateArgs>): Prisma.PrismaPromise<GetApiKeyEntityAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ApiKeyEntity.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ApiKeyEntityGroupByArgs} 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 ApiKeyEntityGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ApiKeyEntityGroupByArgs['orderBy'] }
|
|
: { orderBy?: ApiKeyEntityGroupByArgs['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, ApiKeyEntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApiKeyEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ApiKeyEntity model
|
|
*/
|
|
readonly fields: ApiKeyEntityFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ApiKeyEntity.
|
|
* 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__ApiKeyEntityClient<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.ApiKeyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApiKeyDefaultArgs<ExtArgs>>): Prisma.Prisma__ApiKeyClient<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
entity<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, 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<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 ApiKeyEntity model
|
|
*/
|
|
export interface ApiKeyEntityFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ApiKeyEntity", 'String'>
|
|
readonly apiKeyId: Prisma.FieldRef<"ApiKeyEntity", 'String'>
|
|
readonly entityId: Prisma.FieldRef<"ApiKeyEntity", 'String'>
|
|
readonly create: Prisma.FieldRef<"ApiKeyEntity", 'Boolean'>
|
|
readonly read: Prisma.FieldRef<"ApiKeyEntity", 'Boolean'>
|
|
readonly update: Prisma.FieldRef<"ApiKeyEntity", 'Boolean'>
|
|
readonly delete: Prisma.FieldRef<"ApiKeyEntity", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ApiKeyEntity findUnique
|
|
*/
|
|
export type ApiKeyEntityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ApiKeyEntity to fetch.
|
|
*/
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity findUniqueOrThrow
|
|
*/
|
|
export type ApiKeyEntityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ApiKeyEntity to fetch.
|
|
*/
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity findFirst
|
|
*/
|
|
export type ApiKeyEntityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ApiKeyEntity to fetch.
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ApiKeyEntities to fetch.
|
|
*/
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ApiKeyEntities.
|
|
*/
|
|
cursor?: Prisma.ApiKeyEntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ApiKeyEntities 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` ApiKeyEntities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ApiKeyEntities.
|
|
*/
|
|
distinct?: Prisma.ApiKeyEntityScalarFieldEnum | Prisma.ApiKeyEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity findFirstOrThrow
|
|
*/
|
|
export type ApiKeyEntityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ApiKeyEntity to fetch.
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ApiKeyEntities to fetch.
|
|
*/
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ApiKeyEntities.
|
|
*/
|
|
cursor?: Prisma.ApiKeyEntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ApiKeyEntities 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` ApiKeyEntities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ApiKeyEntities.
|
|
*/
|
|
distinct?: Prisma.ApiKeyEntityScalarFieldEnum | Prisma.ApiKeyEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity findMany
|
|
*/
|
|
export type ApiKeyEntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ApiKeyEntities to fetch.
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ApiKeyEntities to fetch.
|
|
*/
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ApiKeyEntities.
|
|
*/
|
|
cursor?: Prisma.ApiKeyEntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ApiKeyEntities 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` ApiKeyEntities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ApiKeyEntities.
|
|
*/
|
|
distinct?: Prisma.ApiKeyEntityScalarFieldEnum | Prisma.ApiKeyEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity create
|
|
*/
|
|
export type ApiKeyEntityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ApiKeyEntity.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityCreateInput, Prisma.ApiKeyEntityUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity createMany
|
|
*/
|
|
export type ApiKeyEntityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ApiKeyEntities.
|
|
*/
|
|
data: Prisma.ApiKeyEntityCreateManyInput | Prisma.ApiKeyEntityCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity createManyAndReturn
|
|
*/
|
|
export type ApiKeyEntityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ApiKeyEntities.
|
|
*/
|
|
data: Prisma.ApiKeyEntityCreateManyInput | Prisma.ApiKeyEntityCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity update
|
|
*/
|
|
export type ApiKeyEntityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ApiKeyEntity.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateInput, Prisma.ApiKeyEntityUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ApiKeyEntity to update.
|
|
*/
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity updateMany
|
|
*/
|
|
export type ApiKeyEntityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ApiKeyEntities.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateManyMutationInput, Prisma.ApiKeyEntityUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ApiKeyEntities to update
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* Limit how many ApiKeyEntities to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity updateManyAndReturn
|
|
*/
|
|
export type ApiKeyEntityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ApiKeyEntities.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ApiKeyEntityUpdateManyMutationInput, Prisma.ApiKeyEntityUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ApiKeyEntities to update
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* Limit how many ApiKeyEntities to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity upsert
|
|
*/
|
|
export type ApiKeyEntityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ApiKeyEntity to update in case it exists.
|
|
*/
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
/**
|
|
* In case the ApiKeyEntity found by the `where` argument doesn't exist, create a new ApiKeyEntity with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ApiKeyEntityCreateInput, Prisma.ApiKeyEntityUncheckedCreateInput>
|
|
/**
|
|
* In case the ApiKeyEntity was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ApiKeyEntityUpdateInput, Prisma.ApiKeyEntityUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity delete
|
|
*/
|
|
export type ApiKeyEntityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which ApiKeyEntity to delete.
|
|
*/
|
|
where: Prisma.ApiKeyEntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity deleteMany
|
|
*/
|
|
export type ApiKeyEntityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ApiKeyEntities to delete
|
|
*/
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
/**
|
|
* Limit how many ApiKeyEntities to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ApiKeyEntity without action
|
|
*/
|
|
export type ApiKeyEntityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
}
|