2026-03-16 00:33:40 +03:30
|
|
|
|
|
|
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
// biome-ignore-all lint: generated file
|
|
|
|
|
// @ts-nocheck
|
|
|
|
|
/*
|
|
|
|
|
* This file exports the `AdminAccount` 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.js"
|
|
|
|
|
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Model AdminAccount
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminAccountPayload>
|
|
|
|
|
|
|
|
|
|
export type AggregateAdminAccount = {
|
|
|
|
|
_count: AdminAccountCountAggregateOutputType | null
|
|
|
|
|
_min: AdminAccountMinAggregateOutputType | null
|
|
|
|
|
_max: AdminAccountMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMinAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string | null
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMaxAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string | null
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCountAggregateOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
created_at: number
|
|
|
|
|
updated_at: number
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: number
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: number
|
|
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMinAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: true
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMaxAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: true
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCountAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: true
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: true
|
|
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AdminAccount to aggregate.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of AdminAccounts to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AdminAccountOrderByWithRelationInput | Prisma.AdminAccountOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the start position
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` AdminAccounts 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` AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Count returned AdminAccounts
|
|
|
|
|
**/
|
|
|
|
|
_count?: true | AdminAccountCountAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the minimum value
|
|
|
|
|
**/
|
|
|
|
|
_min?: AdminAccountMinAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the maximum value
|
|
|
|
|
**/
|
|
|
|
|
_max?: AdminAccountMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetAdminAccountAggregateType<T extends AdminAccountAggregateArgs> = {
|
|
|
|
|
[P in keyof T & keyof AggregateAdminAccount]: P extends '_count' | 'count'
|
|
|
|
|
? T[P] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateAdminAccount[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateAdminAccount[P]>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AdminAccountGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
orderBy?: Prisma.AdminAccountOrderByWithAggregationInput | Prisma.AdminAccountOrderByWithAggregationInput[]
|
|
|
|
|
by: Prisma.AdminAccountScalarFieldEnum[] | Prisma.AdminAccountScalarFieldEnum
|
|
|
|
|
having?: Prisma.AdminAccountScalarWhereWithAggregatesInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
_count?: AdminAccountCountAggregateInputType | true
|
|
|
|
|
_min?: AdminAccountMinAggregateInputType
|
|
|
|
|
_max?: AdminAccountMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountGroupByOutputType = {
|
|
|
|
|
id: string
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string
|
|
|
|
|
_count: AdminAccountCountAggregateOutputType | null
|
|
|
|
|
_min: AdminAccountMinAggregateOutputType | null
|
|
|
|
|
_max: AdminAccountMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetAdminAccountGroupByPayload<T extends AdminAccountGroupByArgs> = Prisma.PrismaPromise<
|
|
|
|
|
Array<
|
|
|
|
|
Prisma.PickEnumerable<AdminAccountGroupByOutputType, T['by']> &
|
|
|
|
|
{
|
|
|
|
|
[P in ((keyof T) & (keyof AdminAccountGroupByOutputType))]: P extends '_count'
|
|
|
|
|
? T[P] extends boolean
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AdminAccountGroupByOutputType[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AdminAccountGroupByOutputType[P]>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AdminAccountWhereInput = {
|
|
|
|
|
AND?: Prisma.AdminAccountWhereInput | Prisma.AdminAccountWhereInput[]
|
|
|
|
|
OR?: Prisma.AdminAccountWhereInput[]
|
|
|
|
|
NOT?: Prisma.AdminAccountWhereInput | Prisma.AdminAccountWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"AdminAccount"> | string
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFilter<"AdminAccount"> | string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.StringFilter<"AdminAccount"> | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: Prisma.XOR<Prisma.AdminScalarRelationFilter, Prisma.AdminWhereInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountOrderByWithRelationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.SortOrder
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: Prisma.AdminOrderByWithRelationInput
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: Prisma.AccountOrderByWithRelationInput
|
|
|
|
|
_relevance?: Prisma.AdminAccountOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
id?: string
|
|
|
|
|
account_id?: string
|
|
|
|
|
AND?: Prisma.AdminAccountWhereInput | Prisma.AdminAccountWhereInput[]
|
|
|
|
|
OR?: Prisma.AdminAccountWhereInput[]
|
|
|
|
|
NOT?: Prisma.AdminAccountWhereInput | Prisma.AdminAccountWhereInput[]
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFilter<"AdminAccount"> | string
|
|
|
|
|
admin?: Prisma.XOR<Prisma.AdminScalarRelationFilter, Prisma.AdminWhereInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
|
|
|
}, "id" | "account_id">
|
|
|
|
|
|
|
|
|
|
export type AdminAccountOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.SortOrder
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.AdminAccountCountOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.AdminAccountMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.AdminAccountMinOrderByAggregateInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountScalarWhereWithAggregatesInput = {
|
|
|
|
|
AND?: Prisma.AdminAccountScalarWhereWithAggregatesInput | Prisma.AdminAccountScalarWhereWithAggregatesInput[]
|
|
|
|
|
OR?: Prisma.AdminAccountScalarWhereWithAggregatesInput[]
|
|
|
|
|
NOT?: Prisma.AdminAccountScalarWhereWithAggregatesInput | Prisma.AdminAccountScalarWhereWithAggregatesInput[]
|
|
|
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminAccount"> | string
|
|
|
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"AdminAccount"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"AdminAccount"> | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringWithAggregatesFilter<"AdminAccount"> | string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.StringWithAggregatesFilter<"AdminAccount"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin: Prisma.AdminCreateNestedOneWithoutAdminAccountsInput
|
2026-03-16 00:33:40 +03:30
|
|
|
account: Prisma.AccountCreateNestedOneWithoutAdmin_accountInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: Prisma.AdminUpdateOneRequiredWithoutAdminAccountsNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: Prisma.AccountUpdateOneRequiredWithoutAdmin_accountNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFieldUpdateOperationsInput | string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateManyInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpdateManyMutationInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedUpdateManyInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFieldUpdateOperationsInput | string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountOrderByRelevanceInput = {
|
|
|
|
|
fields: Prisma.AdminAccountOrderByRelevanceFieldEnum | Prisma.AdminAccountOrderByRelevanceFieldEnum[]
|
|
|
|
|
sort: Prisma.SortOrder
|
|
|
|
|
search: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.SortOrder
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMaxOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.SortOrder
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountMinOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.SortOrder
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountListRelationFilter = {
|
|
|
|
|
every?: Prisma.AdminAccountWhereInput
|
|
|
|
|
some?: Prisma.AdminAccountWhereInput
|
|
|
|
|
none?: Prisma.AdminAccountWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountOrderByRelationAggregateInput = {
|
|
|
|
|
_count?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AdminAccountNullableScalarRelationFilter = {
|
|
|
|
|
is?: Prisma.AdminAccountWhereInput | null
|
|
|
|
|
isNot?: Prisma.AdminAccountWhereInput | null
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type StringFieldUpdateOperationsInput = {
|
|
|
|
|
set?: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type DateTimeFieldUpdateOperationsInput = {
|
|
|
|
|
set?: Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateNestedManyWithoutAdminInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput> | Prisma.AdminAccountCreateWithoutAdminInput[] | Prisma.AdminAccountUncheckedCreateWithoutAdminInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAdminInput | Prisma.AdminAccountCreateOrConnectWithoutAdminInput[]
|
|
|
|
|
createMany?: Prisma.AdminAccountCreateManyAdminInputEnvelope
|
2026-03-16 00:33:40 +03:30
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUncheckedCreateNestedManyWithoutAdminInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput> | Prisma.AdminAccountCreateWithoutAdminInput[] | Prisma.AdminAccountUncheckedCreateWithoutAdminInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAdminInput | Prisma.AdminAccountCreateOrConnectWithoutAdminInput[]
|
|
|
|
|
createMany?: Prisma.AdminAccountCreateManyAdminInputEnvelope
|
2026-03-16 00:33:40 +03:30
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUpdateManyWithoutAdminNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput> | Prisma.AdminAccountCreateWithoutAdminInput[] | Prisma.AdminAccountUncheckedCreateWithoutAdminInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAdminInput | Prisma.AdminAccountCreateOrConnectWithoutAdminInput[]
|
|
|
|
|
upsert?: Prisma.AdminAccountUpsertWithWhereUniqueWithoutAdminInput | Prisma.AdminAccountUpsertWithWhereUniqueWithoutAdminInput[]
|
|
|
|
|
createMany?: Prisma.AdminAccountCreateManyAdminInputEnvelope
|
2026-03-16 00:33:40 +03:30
|
|
|
set?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
2026-04-11 14:47:05 +03:30
|
|
|
update?: Prisma.AdminAccountUpdateWithWhereUniqueWithoutAdminInput | Prisma.AdminAccountUpdateWithWhereUniqueWithoutAdminInput[]
|
|
|
|
|
updateMany?: Prisma.AdminAccountUpdateManyWithWhereWithoutAdminInput | Prisma.AdminAccountUpdateManyWithWhereWithoutAdminInput[]
|
2026-03-16 00:33:40 +03:30
|
|
|
deleteMany?: Prisma.AdminAccountScalarWhereInput | Prisma.AdminAccountScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUncheckedUpdateManyWithoutAdminNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput> | Prisma.AdminAccountCreateWithoutAdminInput[] | Prisma.AdminAccountUncheckedCreateWithoutAdminInput[]
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAdminInput | Prisma.AdminAccountCreateOrConnectWithoutAdminInput[]
|
|
|
|
|
upsert?: Prisma.AdminAccountUpsertWithWhereUniqueWithoutAdminInput | Prisma.AdminAccountUpsertWithWhereUniqueWithoutAdminInput[]
|
|
|
|
|
createMany?: Prisma.AdminAccountCreateManyAdminInputEnvelope
|
2026-03-16 00:33:40 +03:30
|
|
|
set?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput | Prisma.AdminAccountWhereUniqueInput[]
|
2026-04-11 14:47:05 +03:30
|
|
|
update?: Prisma.AdminAccountUpdateWithWhereUniqueWithoutAdminInput | Prisma.AdminAccountUpdateWithWhereUniqueWithoutAdminInput[]
|
|
|
|
|
updateMany?: Prisma.AdminAccountUpdateManyWithWhereWithoutAdminInput | Prisma.AdminAccountUpdateManyWithWhereWithoutAdminInput[]
|
2026-03-16 00:33:40 +03:30
|
|
|
deleteMany?: Prisma.AdminAccountScalarWhereInput | Prisma.AdminAccountScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateNestedOneWithoutAccountInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAccountInput
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedCreateNestedOneWithoutAccountInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAccountInput
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpdateOneWithoutAccountNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAccountInput
|
|
|
|
|
upsert?: Prisma.AdminAccountUpsertWithoutAccountInput
|
|
|
|
|
disconnect?: Prisma.AdminAccountWhereInput | boolean
|
|
|
|
|
delete?: Prisma.AdminAccountWhereInput | boolean
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminAccountUpdateToOneWithWhereWithoutAccountInput, Prisma.AdminAccountUpdateWithoutAccountInput>, Prisma.AdminAccountUncheckedUpdateWithoutAccountInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedUpdateOneWithoutAccountNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
connectOrCreate?: Prisma.AdminAccountCreateOrConnectWithoutAccountInput
|
|
|
|
|
upsert?: Prisma.AdminAccountUpsertWithoutAccountInput
|
|
|
|
|
disconnect?: Prisma.AdminAccountWhereInput | boolean
|
|
|
|
|
delete?: Prisma.AdminAccountWhereInput | boolean
|
|
|
|
|
connect?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminAccountUpdateToOneWithWhereWithoutAccountInput, Prisma.AdminAccountUpdateWithoutAccountInput>, Prisma.AdminAccountUncheckedUpdateWithoutAccountInput>
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountCreateWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
account: Prisma.AccountCreateNestedOneWithoutAdmin_accountInput
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUncheckedCreateWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
account_id: string
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountCreateOrConnectWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
2026-04-11 14:47:05 +03:30
|
|
|
create: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountCreateManyAdminInputEnvelope = {
|
|
|
|
|
data: Prisma.AdminAccountCreateManyAdminInput | Prisma.AdminAccountCreateManyAdminInput[]
|
2026-03-16 00:33:40 +03:30
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUpsertWithWhereUniqueWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
2026-04-11 14:47:05 +03:30
|
|
|
update: Prisma.XOR<Prisma.AdminAccountUpdateWithoutAdminInput, Prisma.AdminAccountUncheckedUpdateWithoutAdminInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.AdminAccountCreateWithoutAdminInput, Prisma.AdminAccountUncheckedCreateWithoutAdminInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUpdateWithWhereUniqueWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
2026-04-11 14:47:05 +03:30
|
|
|
data: Prisma.XOR<Prisma.AdminAccountUpdateWithoutAdminInput, Prisma.AdminAccountUncheckedUpdateWithoutAdminInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUpdateManyWithWhereWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
where: Prisma.AdminAccountScalarWhereInput
|
2026-04-11 14:47:05 +03:30
|
|
|
data: Prisma.XOR<Prisma.AdminAccountUpdateManyMutationInput, Prisma.AdminAccountUncheckedUpdateManyWithoutAdminInput>
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountScalarWhereInput = {
|
|
|
|
|
AND?: Prisma.AdminAccountScalarWhereInput | Prisma.AdminAccountScalarWhereInput[]
|
|
|
|
|
OR?: Prisma.AdminAccountScalarWhereInput[]
|
|
|
|
|
NOT?: Prisma.AdminAccountScalarWhereInput | Prisma.AdminAccountScalarWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"AdminAccount"> | string
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"AdminAccount"> | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFilter<"AdminAccount"> | string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: Prisma.StringFilter<"AdminAccount"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateWithoutAccountInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin: Prisma.AdminCreateNestedOneWithoutAdminAccountsInput
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedCreateWithoutAccountInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCreateOrConnectWithoutAccountInput = {
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpsertWithoutAccountInput = {
|
|
|
|
|
update: Prisma.XOR<Prisma.AdminAccountUpdateWithoutAccountInput, Prisma.AdminAccountUncheckedUpdateWithoutAccountInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.AdminAccountCreateWithoutAccountInput, Prisma.AdminAccountUncheckedCreateWithoutAccountInput>
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpdateToOneWithWhereWithoutAccountInput = {
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.AdminAccountUpdateWithoutAccountInput, Prisma.AdminAccountUncheckedUpdateWithoutAccountInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUpdateWithoutAccountInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: Prisma.AdminUpdateOneRequiredWithoutAdminAccountsNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountUncheckedUpdateWithoutAccountInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: Prisma.StringFieldUpdateOperationsInput | string
|
2026-03-16 00:33:40 +03:30
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountCreateManyAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: string
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
account_id: string
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUpdateWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
account?: Prisma.AccountUpdateOneRequiredWithoutAdmin_accountNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUncheckedUpdateWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountUncheckedUpdateManyWithoutAdminInput = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AdminAccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: boolean
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: boolean
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: boolean | Prisma.AdminDefaultArgs<ExtArgs>
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["adminAccount"]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type AdminAccountSelectScalar = {
|
|
|
|
|
id?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id?: boolean
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type AdminAccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "admin_id" | "account_id", ExtArgs["result"]["adminAccount"]>
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AdminAccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
2026-04-11 14:47:05 +03:30
|
|
|
admin?: boolean | Prisma.AdminDefaultArgs<ExtArgs>
|
2026-03-16 00:33:40 +03:30
|
|
|
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type $AdminAccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
name: "AdminAccount"
|
|
|
|
|
objects: {
|
2026-04-11 14:47:05 +03:30
|
|
|
admin: Prisma.$AdminPayload<ExtArgs>
|
2026-03-16 00:33:40 +03:30
|
|
|
account: Prisma.$AccountPayload<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: string
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
2026-04-11 14:47:05 +03:30
|
|
|
admin_id: string
|
2026-03-16 00:33:40 +03:30
|
|
|
account_id: string
|
|
|
|
|
}, ExtArgs["result"]["adminAccount"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountGetPayload<S extends boolean | null | undefined | AdminAccountDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload, S>
|
|
|
|
|
|
|
|
|
|
export type AdminAccountCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
|
|
|
Omit<AdminAccountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
|
|
|
select?: AdminAccountCountAggregateInputType | true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface AdminAccountDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
|
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminAccount'], meta: { name: 'AdminAccount' } }
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or one AdminAccount that matches the filter.
|
|
|
|
|
* @param {AdminAccountFindUniqueArgs} args - Arguments to find a AdminAccount
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.findUnique({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUnique<T extends AdminAccountFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminAccountFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find one AdminAccount that matches the filter or throw an error with `error.code='P2025'`
|
|
|
|
|
* if no matches were found.
|
|
|
|
|
* @param {AdminAccountFindUniqueOrThrowArgs} args - Arguments to find a AdminAccount
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.findUniqueOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUniqueOrThrow<T extends AdminAccountFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first AdminAccount 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 {AdminAccountFindFirstArgs} args - Arguments to find a AdminAccount
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.findFirst({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirst<T extends AdminAccountFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminAccountFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first AdminAccount 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 {AdminAccountFindFirstOrThrowArgs} args - Arguments to find a AdminAccount
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.findFirstOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirstOrThrow<T extends AdminAccountFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or more AdminAccounts 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 {AdminAccountFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
|
|
|
* @example
|
|
|
|
|
* // Get all AdminAccounts
|
|
|
|
|
* const adminAccounts = await prisma.adminAccount.findMany()
|
|
|
|
|
*
|
|
|
|
|
* // Get first 10 AdminAccounts
|
|
|
|
|
* const adminAccounts = await prisma.adminAccount.findMany({ take: 10 })
|
|
|
|
|
*
|
|
|
|
|
* // Only select the `id`
|
|
|
|
|
* const adminAccountWithIdOnly = await prisma.adminAccount.findMany({ select: { id: true } })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
findMany<T extends AdminAccountFindManyArgs>(args?: Prisma.SelectSubset<T, AdminAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a AdminAccount.
|
|
|
|
|
* @param {AdminAccountCreateArgs} args - Arguments to create a AdminAccount.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create one AdminAccount
|
|
|
|
|
* const AdminAccount = await prisma.adminAccount.create({
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... data to create a AdminAccount
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
create<T extends AdminAccountCreateArgs>(args: Prisma.SelectSubset<T, AdminAccountCreateArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many AdminAccounts.
|
|
|
|
|
* @param {AdminAccountCreateManyArgs} args - Arguments to create many AdminAccounts.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many AdminAccounts
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.createMany({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
createMany<T extends AdminAccountCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete a AdminAccount.
|
|
|
|
|
* @param {AdminAccountDeleteArgs} args - Arguments to delete one AdminAccount.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete one AdminAccount
|
|
|
|
|
* const AdminAccount = await prisma.adminAccount.delete({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... filter to delete one AdminAccount
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
delete<T extends AdminAccountDeleteArgs>(args: Prisma.SelectSubset<T, AdminAccountDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update one AdminAccount.
|
|
|
|
|
* @param {AdminAccountUpdateArgs} args - Arguments to update one AdminAccount.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update one AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.update({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
update<T extends AdminAccountUpdateArgs>(args: Prisma.SelectSubset<T, AdminAccountUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete zero or more AdminAccounts.
|
|
|
|
|
* @param {AdminAccountDeleteManyArgs} args - Arguments to filter AdminAccounts to delete.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete a few AdminAccounts
|
|
|
|
|
* const { count } = await prisma.adminAccount.deleteMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
deleteMany<T extends AdminAccountDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more AdminAccounts.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AdminAccountUpdateManyArgs} args - Arguments to update one or more rows.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many AdminAccounts
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.updateMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
updateMany<T extends AdminAccountUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create or update one AdminAccount.
|
|
|
|
|
* @param {AdminAccountUpsertArgs} args - Arguments to update or create a AdminAccount.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update or create a AdminAccount
|
|
|
|
|
* const adminAccount = await prisma.adminAccount.upsert({
|
|
|
|
|
* create: {
|
|
|
|
|
* // ... data to create a AdminAccount
|
|
|
|
|
* },
|
|
|
|
|
* update: {
|
|
|
|
|
* // ... in case it already exists, update
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the AdminAccount we want to update
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
upsert<T extends AdminAccountUpsertArgs>(args: Prisma.SelectSubset<T, AdminAccountUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminAccountClient<runtime.Types.Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count the number of AdminAccounts.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AdminAccountCountArgs} args - Arguments to filter AdminAccounts to count.
|
|
|
|
|
* @example
|
|
|
|
|
* // Count the number of AdminAccounts
|
|
|
|
|
* const count = await prisma.adminAccount.count({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the AdminAccounts we want to count
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
count<T extends AdminAccountCountArgs>(
|
|
|
|
|
args?: Prisma.Subset<T, AdminAccountCountArgs>,
|
|
|
|
|
): Prisma.PrismaPromise<
|
|
|
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
|
|
|
? T['select'] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T['select'], AdminAccountCountAggregateOutputType>
|
|
|
|
|
: number
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows you to perform aggregations operations on a AdminAccount.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AdminAccountAggregateArgs} 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 AdminAccountAggregateArgs>(args: Prisma.Subset<T, AdminAccountAggregateArgs>): Prisma.PrismaPromise<GetAdminAccountAggregateType<T>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Group by AdminAccount.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {AdminAccountGroupByArgs} 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 AdminAccountGroupByArgs,
|
|
|
|
|
HasSelectOrTake extends Prisma.Or<
|
|
|
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
|
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
|
|
|
>,
|
|
|
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
|
|
|
? { orderBy: AdminAccountGroupByArgs['orderBy'] }
|
|
|
|
|
: { orderBy?: AdminAccountGroupByArgs['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, AdminAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the AdminAccount model
|
|
|
|
|
*/
|
|
|
|
|
readonly fields: AdminAccountFieldRefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The delegate class that acts as a "Promise-like" for AdminAccount.
|
|
|
|
|
* 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__AdminAccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
|
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
2026-04-11 14:47:05 +03:30
|
|
|
admin<T extends Prisma.AdminDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminDefaultArgs<ExtArgs>>): Prisma.Prisma__AdminClient<runtime.Types.Result.GetResult<Prisma.$AdminPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
2026-03-16 00:33:40 +03:30
|
|
|
account<T extends Prisma.AccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AccountDefaultArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<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 AdminAccount model
|
|
|
|
|
*/
|
|
|
|
|
export interface AdminAccountFieldRefs {
|
|
|
|
|
readonly id: Prisma.FieldRef<"AdminAccount", 'String'>
|
|
|
|
|
readonly created_at: Prisma.FieldRef<"AdminAccount", 'DateTime'>
|
|
|
|
|
readonly updated_at: Prisma.FieldRef<"AdminAccount", 'DateTime'>
|
2026-04-11 14:47:05 +03:30
|
|
|
readonly admin_id: Prisma.FieldRef<"AdminAccount", 'String'>
|
2026-03-16 00:33:40 +03:30
|
|
|
readonly account_id: Prisma.FieldRef<"AdminAccount", 'String'>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Custom InputTypes
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount findUnique
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AdminAccount to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount findUniqueOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AdminAccount to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount findFirst
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AdminAccount to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of AdminAccounts to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AdminAccountOrderByWithRelationInput | Prisma.AdminAccountOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` AdminAccounts 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` AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.AdminAccountScalarFieldEnum | Prisma.AdminAccountScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount findFirstOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AdminAccount to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of AdminAccounts to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AdminAccountOrderByWithRelationInput | Prisma.AdminAccountOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` AdminAccounts 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` AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.AdminAccountScalarFieldEnum | Prisma.AdminAccountScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount findMany
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which AdminAccounts to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of AdminAccounts to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.AdminAccountOrderByWithRelationInput | Prisma.AdminAccountOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for listing AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` AdminAccounts 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` AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.AdminAccountScalarFieldEnum | Prisma.AdminAccountScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount create
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to create a AdminAccount.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AdminAccountCreateInput, Prisma.AdminAccountUncheckedCreateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount createMany
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.AdminAccountCreateManyInput | Prisma.AdminAccountCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount update
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to update a AdminAccount.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AdminAccountUpdateInput, Prisma.AdminAccountUncheckedUpdateInput>
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which AdminAccount to update.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount updateMany
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update AdminAccounts.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.AdminAccountUpdateManyMutationInput, Prisma.AdminAccountUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AdminAccounts to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many AdminAccounts to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount upsert
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The filter to search for the AdminAccount to update in case it exists.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* In case the AdminAccount found by the `where` argument doesn't exist, create a new AdminAccount with this data.
|
|
|
|
|
*/
|
|
|
|
|
create: Prisma.XOR<Prisma.AdminAccountCreateInput, Prisma.AdminAccountUncheckedCreateInput>
|
|
|
|
|
/**
|
|
|
|
|
* In case the AdminAccount was found with the provided `where` argument, update it with this data.
|
|
|
|
|
*/
|
|
|
|
|
update: Prisma.XOR<Prisma.AdminAccountUpdateInput, Prisma.AdminAccountUncheckedUpdateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount delete
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AdminAccount to delete.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.AdminAccountWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount deleteMany
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which AdminAccounts to delete
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.AdminAccountWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many AdminAccounts to delete.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* AdminAccount without action
|
|
|
|
|
*/
|
|
|
|
|
export type AdminAccountDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.AdminAccountSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the AdminAccount
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.AdminAccountOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.AdminAccountInclude<ExtArgs> | null
|
|
|
|
|
}
|