3340 lines
159 KiB
TypeScript
3340 lines
159 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 `AdminUser` 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 AdminUser
|
|
*
|
|
*/
|
|
export type AdminUserModel = runtime.Types.Result.DefaultSelection<Prisma.$AdminUserPayload>
|
|
|
|
export type AggregateAdminUser = {
|
|
_count: AdminUserCountAggregateOutputType | null
|
|
_min: AdminUserMinAggregateOutputType | null
|
|
_max: AdminUserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AdminUserMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
email: string | null
|
|
firstName: string | null
|
|
lastName: string | null
|
|
avatar: string | null
|
|
locale: string | null
|
|
status: $Enums.AdminUserStatus | null
|
|
authentikSubject: string | null
|
|
lastSsoLoginAt: Date | null
|
|
lastLoginIpHash: string | null
|
|
disabledAt: Date | null
|
|
disabledReason: string | null
|
|
}
|
|
|
|
export type AdminUserMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
email: string | null
|
|
firstName: string | null
|
|
lastName: string | null
|
|
avatar: string | null
|
|
locale: string | null
|
|
status: $Enums.AdminUserStatus | null
|
|
authentikSubject: string | null
|
|
lastSsoLoginAt: Date | null
|
|
lastLoginIpHash: string | null
|
|
disabledAt: Date | null
|
|
disabledReason: string | null
|
|
}
|
|
|
|
export type AdminUserCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
email: number
|
|
firstName: number
|
|
lastName: number
|
|
avatar: number
|
|
locale: number
|
|
status: number
|
|
authentikSubject: number
|
|
authentikGroups: number
|
|
lastSsoLoginAt: number
|
|
lastLoginIpHash: number
|
|
disabledAt: number
|
|
disabledReason: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AdminUserMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
email?: true
|
|
firstName?: true
|
|
lastName?: true
|
|
avatar?: true
|
|
locale?: true
|
|
status?: true
|
|
authentikSubject?: true
|
|
lastSsoLoginAt?: true
|
|
lastLoginIpHash?: true
|
|
disabledAt?: true
|
|
disabledReason?: true
|
|
}
|
|
|
|
export type AdminUserMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
email?: true
|
|
firstName?: true
|
|
lastName?: true
|
|
avatar?: true
|
|
locale?: true
|
|
status?: true
|
|
authentikSubject?: true
|
|
lastSsoLoginAt?: true
|
|
lastLoginIpHash?: true
|
|
disabledAt?: true
|
|
disabledReason?: true
|
|
}
|
|
|
|
export type AdminUserCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
email?: true
|
|
firstName?: true
|
|
lastName?: true
|
|
avatar?: true
|
|
locale?: true
|
|
status?: true
|
|
authentikSubject?: true
|
|
authentikGroups?: true
|
|
lastSsoLoginAt?: true
|
|
lastLoginIpHash?: true
|
|
disabledAt?: true
|
|
disabledReason?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AdminUserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminUser to aggregate.
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminUserOrderByWithRelationInput | Prisma.AdminUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AdminUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminUsers 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` AdminUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AdminUsers
|
|
**/
|
|
_count?: true | AdminUserCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AdminUserMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AdminUserMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAdminUserAggregateType<T extends AdminUserAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminUser]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAdminUser[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAdminUser[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminUserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
orderBy?: Prisma.AdminUserOrderByWithAggregationInput | Prisma.AdminUserOrderByWithAggregationInput[]
|
|
by: Prisma.AdminUserScalarFieldEnum[] | Prisma.AdminUserScalarFieldEnum
|
|
having?: Prisma.AdminUserScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AdminUserCountAggregateInputType | true
|
|
_min?: AdminUserMinAggregateInputType
|
|
_max?: AdminUserMaxAggregateInputType
|
|
}
|
|
|
|
export type AdminUserGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar: string | null
|
|
locale: string | null
|
|
status: $Enums.AdminUserStatus
|
|
authentikSubject: string | null
|
|
authentikGroups: string[]
|
|
lastSsoLoginAt: Date | null
|
|
lastLoginIpHash: string | null
|
|
disabledAt: Date | null
|
|
disabledReason: string | null
|
|
_count: AdminUserCountAggregateOutputType | null
|
|
_min: AdminUserMinAggregateOutputType | null
|
|
_max: AdminUserMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAdminUserGroupByPayload<T extends AdminUserGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AdminUserGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminUserGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AdminUserGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AdminUserGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AdminUserWhereInput = {
|
|
AND?: Prisma.AdminUserWhereInput | Prisma.AdminUserWhereInput[]
|
|
OR?: Prisma.AdminUserWhereInput[]
|
|
NOT?: Prisma.AdminUserWhereInput | Prisma.AdminUserWhereInput[]
|
|
id?: Prisma.StringFilter<"AdminUser"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AdminUser"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminUser"> | Date | string
|
|
email?: Prisma.StringFilter<"AdminUser"> | string
|
|
firstName?: Prisma.StringFilter<"AdminUser"> | string
|
|
lastName?: Prisma.StringFilter<"AdminUser"> | string
|
|
avatar?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
locale?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
status?: Prisma.EnumAdminUserStatusFilter<"AdminUser"> | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
authentikGroups?: Prisma.StringNullableListFilter<"AdminUser">
|
|
lastSsoLoginAt?: Prisma.DateTimeNullableFilter<"AdminUser"> | Date | string | null
|
|
lastLoginIpHash?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
disabledAt?: Prisma.DateTimeNullableFilter<"AdminUser"> | Date | string | null
|
|
disabledReason?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
sessions?: Prisma.AdminSessionListRelationFilter
|
|
roles?: Prisma.AdminUserRoleListRelationFilter
|
|
dataConnections?: Prisma.AdminDataConnectionListRelationFilter
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialListRelationFilter
|
|
mailboxes?: Prisma.AdminMailboxListRelationFilter
|
|
phoneConnections?: Prisma.AdminPhoneConnectionListRelationFilter
|
|
calendarConnections?: Prisma.AdminCalendarConnectionListRelationFilter
|
|
notificationDeliveries?: Prisma.NotificationDeliveryListRelationFilter
|
|
supportTicketMessages?: Prisma.SupportTicketMessageListRelationFilter
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteListRelationFilter
|
|
}
|
|
|
|
export type AdminUserOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
firstName?: Prisma.SortOrder
|
|
lastName?: Prisma.SortOrder
|
|
avatar?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
locale?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
authentikSubject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authentikGroups?: Prisma.SortOrder
|
|
lastSsoLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastLoginIpHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
disabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
disabledReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
sessions?: Prisma.AdminSessionOrderByRelationAggregateInput
|
|
roles?: Prisma.AdminUserRoleOrderByRelationAggregateInput
|
|
dataConnections?: Prisma.AdminDataConnectionOrderByRelationAggregateInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialOrderByRelationAggregateInput
|
|
mailboxes?: Prisma.AdminMailboxOrderByRelationAggregateInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionOrderByRelationAggregateInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionOrderByRelationAggregateInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryOrderByRelationAggregateInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageOrderByRelationAggregateInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type AdminUserWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
email?: string
|
|
authentikSubject?: string
|
|
AND?: Prisma.AdminUserWhereInput | Prisma.AdminUserWhereInput[]
|
|
OR?: Prisma.AdminUserWhereInput[]
|
|
NOT?: Prisma.AdminUserWhereInput | Prisma.AdminUserWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AdminUser"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AdminUser"> | Date | string
|
|
firstName?: Prisma.StringFilter<"AdminUser"> | string
|
|
lastName?: Prisma.StringFilter<"AdminUser"> | string
|
|
avatar?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
locale?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
status?: Prisma.EnumAdminUserStatusFilter<"AdminUser"> | $Enums.AdminUserStatus
|
|
authentikGroups?: Prisma.StringNullableListFilter<"AdminUser">
|
|
lastSsoLoginAt?: Prisma.DateTimeNullableFilter<"AdminUser"> | Date | string | null
|
|
lastLoginIpHash?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
disabledAt?: Prisma.DateTimeNullableFilter<"AdminUser"> | Date | string | null
|
|
disabledReason?: Prisma.StringNullableFilter<"AdminUser"> | string | null
|
|
sessions?: Prisma.AdminSessionListRelationFilter
|
|
roles?: Prisma.AdminUserRoleListRelationFilter
|
|
dataConnections?: Prisma.AdminDataConnectionListRelationFilter
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialListRelationFilter
|
|
mailboxes?: Prisma.AdminMailboxListRelationFilter
|
|
phoneConnections?: Prisma.AdminPhoneConnectionListRelationFilter
|
|
calendarConnections?: Prisma.AdminCalendarConnectionListRelationFilter
|
|
notificationDeliveries?: Prisma.NotificationDeliveryListRelationFilter
|
|
supportTicketMessages?: Prisma.SupportTicketMessageListRelationFilter
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteListRelationFilter
|
|
}, "id" | "email" | "authentikSubject">
|
|
|
|
export type AdminUserOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
firstName?: Prisma.SortOrder
|
|
lastName?: Prisma.SortOrder
|
|
avatar?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
locale?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
authentikSubject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authentikGroups?: Prisma.SortOrder
|
|
lastSsoLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastLoginIpHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
disabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
disabledReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AdminUserCountOrderByAggregateInput
|
|
_max?: Prisma.AdminUserMaxOrderByAggregateInput
|
|
_min?: Prisma.AdminUserMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AdminUserScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AdminUserScalarWhereWithAggregatesInput | Prisma.AdminUserScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AdminUserScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AdminUserScalarWhereWithAggregatesInput | Prisma.AdminUserScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AdminUser"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminUser"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AdminUser"> | Date | string
|
|
email?: Prisma.StringWithAggregatesFilter<"AdminUser"> | string
|
|
firstName?: Prisma.StringWithAggregatesFilter<"AdminUser"> | string
|
|
lastName?: Prisma.StringWithAggregatesFilter<"AdminUser"> | string
|
|
avatar?: Prisma.StringNullableWithAggregatesFilter<"AdminUser"> | string | null
|
|
locale?: Prisma.StringNullableWithAggregatesFilter<"AdminUser"> | string | null
|
|
status?: Prisma.EnumAdminUserStatusWithAggregatesFilter<"AdminUser"> | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.StringNullableWithAggregatesFilter<"AdminUser"> | string | null
|
|
authentikGroups?: Prisma.StringNullableListFilter<"AdminUser">
|
|
lastSsoLoginAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminUser"> | Date | string | null
|
|
lastLoginIpHash?: Prisma.StringNullableWithAggregatesFilter<"AdminUser"> | string | null
|
|
disabledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminUser"> | Date | string | null
|
|
disabledReason?: Prisma.StringNullableWithAggregatesFilter<"AdminUser"> | string | null
|
|
}
|
|
|
|
export type AdminUserCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
}
|
|
|
|
export type AdminUserUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type AdminUserNullableScalarRelationFilter = {
|
|
is?: Prisma.AdminUserWhereInput | null
|
|
isNot?: Prisma.AdminUserWhereInput | null
|
|
}
|
|
|
|
export type AdminUserScalarRelationFilter = {
|
|
is?: Prisma.AdminUserWhereInput
|
|
isNot?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
firstName?: Prisma.SortOrder
|
|
lastName?: Prisma.SortOrder
|
|
avatar?: Prisma.SortOrder
|
|
locale?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
authentikSubject?: Prisma.SortOrder
|
|
authentikGroups?: Prisma.SortOrder
|
|
lastSsoLoginAt?: Prisma.SortOrder
|
|
lastLoginIpHash?: Prisma.SortOrder
|
|
disabledAt?: Prisma.SortOrder
|
|
disabledReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminUserMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
firstName?: Prisma.SortOrder
|
|
lastName?: Prisma.SortOrder
|
|
avatar?: Prisma.SortOrder
|
|
locale?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
authentikSubject?: Prisma.SortOrder
|
|
lastSsoLoginAt?: Prisma.SortOrder
|
|
lastLoginIpHash?: Prisma.SortOrder
|
|
disabledAt?: Prisma.SortOrder
|
|
disabledReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminUserMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
firstName?: Prisma.SortOrder
|
|
lastName?: Prisma.SortOrder
|
|
avatar?: Prisma.SortOrder
|
|
locale?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
authentikSubject?: Prisma.SortOrder
|
|
lastSsoLoginAt?: Prisma.SortOrder
|
|
lastLoginIpHash?: Prisma.SortOrder
|
|
disabledAt?: Prisma.SortOrder
|
|
disabledReason?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutAdminTenantNotesAuthoredInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedCreateWithoutAdminTenantNotesAuthoredInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutAdminTenantNotesAuthoredInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneWithoutAdminTenantNotesAuthoredNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedCreateWithoutAdminTenantNotesAuthoredInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutAdminTenantNotesAuthoredInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutAdminTenantNotesAuthoredInput
|
|
disconnect?: Prisma.AdminUserWhereInput | boolean
|
|
delete?: Prisma.AdminUserWhereInput | boolean
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUpdateWithoutAdminTenantNotesAuthoredInput>, Prisma.AdminUserUncheckedUpdateWithoutAdminTenantNotesAuthoredInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutSupportTicketMessagesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedCreateWithoutSupportTicketMessagesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutSupportTicketMessagesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneWithoutSupportTicketMessagesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedCreateWithoutSupportTicketMessagesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutSupportTicketMessagesInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutSupportTicketMessagesInput
|
|
disconnect?: Prisma.AdminUserWhereInput | boolean
|
|
delete?: Prisma.AdminUserWhereInput | boolean
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutSupportTicketMessagesInput, Prisma.AdminUserUpdateWithoutSupportTicketMessagesInput>, Prisma.AdminUserUncheckedUpdateWithoutSupportTicketMessagesInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutCalendarConnectionsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutCalendarConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutCalendarConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutCalendarConnectionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutCalendarConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutCalendarConnectionsInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutCalendarConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutCalendarConnectionsInput, Prisma.AdminUserUpdateWithoutCalendarConnectionsInput>, Prisma.AdminUserUncheckedUpdateWithoutCalendarConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutDataConnectionsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutDataConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutDataConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutDataConnectionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutDataConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutDataConnectionsInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutDataConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutDataConnectionsInput, Prisma.AdminUserUpdateWithoutDataConnectionsInput>, Prisma.AdminUserUncheckedUpdateWithoutDataConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutConnectionCredentialsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedCreateWithoutConnectionCredentialsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutConnectionCredentialsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutConnectionCredentialsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedCreateWithoutConnectionCredentialsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutConnectionCredentialsInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutConnectionCredentialsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutConnectionCredentialsInput, Prisma.AdminUserUpdateWithoutConnectionCredentialsInput>, Prisma.AdminUserUncheckedUpdateWithoutConnectionCredentialsInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutMailboxesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutMailboxesInput, Prisma.AdminUserUncheckedCreateWithoutMailboxesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutMailboxesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutMailboxesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutMailboxesInput, Prisma.AdminUserUncheckedCreateWithoutMailboxesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutMailboxesInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutMailboxesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutMailboxesInput, Prisma.AdminUserUpdateWithoutMailboxesInput>, Prisma.AdminUserUncheckedUpdateWithoutMailboxesInput>
|
|
}
|
|
|
|
export type AdminUserCreateauthentikGroupsInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type EnumAdminUserStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.AdminUserStatus
|
|
}
|
|
|
|
export type AdminUserUpdateauthentikGroupsInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutSessionsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutSessionsInput, Prisma.AdminUserUncheckedCreateWithoutSessionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutSessionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutSessionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutSessionsInput, Prisma.AdminUserUncheckedCreateWithoutSessionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutSessionsInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutSessionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutSessionsInput, Prisma.AdminUserUpdateWithoutSessionsInput>, Prisma.AdminUserUncheckedUpdateWithoutSessionsInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutRolesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutRolesInput, Prisma.AdminUserUncheckedCreateWithoutRolesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutRolesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutRolesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutRolesInput, Prisma.AdminUserUncheckedCreateWithoutRolesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutRolesInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutRolesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutRolesInput, Prisma.AdminUserUpdateWithoutRolesInput>, Prisma.AdminUserUncheckedUpdateWithoutRolesInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutPhoneConnectionsInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutPhoneConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutPhoneConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneRequiredWithoutPhoneConnectionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutPhoneConnectionsInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutPhoneConnectionsInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutPhoneConnectionsInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutPhoneConnectionsInput, Prisma.AdminUserUpdateWithoutPhoneConnectionsInput>, Prisma.AdminUserUncheckedUpdateWithoutPhoneConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserCreateNestedOneWithoutNotificationDeliveriesInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedCreateWithoutNotificationDeliveriesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutNotificationDeliveriesInput
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
export type AdminUserUpdateOneWithoutNotificationDeliveriesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.AdminUserCreateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedCreateWithoutNotificationDeliveriesInput>
|
|
connectOrCreate?: Prisma.AdminUserCreateOrConnectWithoutNotificationDeliveriesInput
|
|
upsert?: Prisma.AdminUserUpsertWithoutNotificationDeliveriesInput
|
|
disconnect?: Prisma.AdminUserWhereInput | boolean
|
|
delete?: Prisma.AdminUserWhereInput | boolean
|
|
connect?: Prisma.AdminUserWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdminUserUpdateToOneWithWhereWithoutNotificationDeliveriesInput, Prisma.AdminUserUpdateWithoutNotificationDeliveriesInput>, Prisma.AdminUserUncheckedUpdateWithoutNotificationDeliveriesInput>
|
|
}
|
|
|
|
export type AdminUserCreateWithoutAdminTenantNotesAuthoredInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutAdminTenantNotesAuthoredInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutAdminTenantNotesAuthoredInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedCreateWithoutAdminTenantNotesAuthoredInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutAdminTenantNotesAuthoredInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedUpdateWithoutAdminTenantNotesAuthoredInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedCreateWithoutAdminTenantNotesAuthoredInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutAdminTenantNotesAuthoredInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutAdminTenantNotesAuthoredInput, Prisma.AdminUserUncheckedUpdateWithoutAdminTenantNotesAuthoredInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutAdminTenantNotesAuthoredInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutAdminTenantNotesAuthoredInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutSupportTicketMessagesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutSupportTicketMessagesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutSupportTicketMessagesInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedCreateWithoutSupportTicketMessagesInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutSupportTicketMessagesInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedUpdateWithoutSupportTicketMessagesInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedCreateWithoutSupportTicketMessagesInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutSupportTicketMessagesInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutSupportTicketMessagesInput, Prisma.AdminUserUncheckedUpdateWithoutSupportTicketMessagesInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutSupportTicketMessagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutSupportTicketMessagesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutCalendarConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutCalendarConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutCalendarConnectionsInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutCalendarConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutCalendarConnectionsInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutCalendarConnectionsInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutCalendarConnectionsInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutCalendarConnectionsInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutCalendarConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutCalendarConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutCalendarConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutCalendarConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutDataConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutDataConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutDataConnectionsInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutDataConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutDataConnectionsInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutDataConnectionsInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutDataConnectionsInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutDataConnectionsInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutDataConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutDataConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutDataConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutDataConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutConnectionCredentialsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutConnectionCredentialsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutConnectionCredentialsInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedCreateWithoutConnectionCredentialsInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutConnectionCredentialsInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedUpdateWithoutConnectionCredentialsInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedCreateWithoutConnectionCredentialsInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutConnectionCredentialsInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutConnectionCredentialsInput, Prisma.AdminUserUncheckedUpdateWithoutConnectionCredentialsInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutConnectionCredentialsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutConnectionCredentialsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutMailboxesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutMailboxesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutMailboxesInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutMailboxesInput, Prisma.AdminUserUncheckedCreateWithoutMailboxesInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutMailboxesInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutMailboxesInput, Prisma.AdminUserUncheckedUpdateWithoutMailboxesInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutMailboxesInput, Prisma.AdminUserUncheckedCreateWithoutMailboxesInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutMailboxesInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutMailboxesInput, Prisma.AdminUserUncheckedUpdateWithoutMailboxesInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutMailboxesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutMailboxesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutSessionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutSessionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutSessionsInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutSessionsInput, Prisma.AdminUserUncheckedCreateWithoutSessionsInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutSessionsInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutSessionsInput, Prisma.AdminUserUncheckedUpdateWithoutSessionsInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutSessionsInput, Prisma.AdminUserUncheckedCreateWithoutSessionsInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutSessionsInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutSessionsInput, Prisma.AdminUserUncheckedUpdateWithoutSessionsInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutSessionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutRolesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutRolesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutRolesInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutRolesInput, Prisma.AdminUserUncheckedCreateWithoutRolesInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutRolesInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutRolesInput, Prisma.AdminUserUncheckedUpdateWithoutRolesInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutRolesInput, Prisma.AdminUserUncheckedCreateWithoutRolesInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutRolesInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutRolesInput, Prisma.AdminUserUncheckedUpdateWithoutRolesInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutRolesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutRolesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutPhoneConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutPhoneConnectionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutPhoneConnectionsInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutPhoneConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutPhoneConnectionsInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutPhoneConnectionsInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedCreateWithoutPhoneConnectionsInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutPhoneConnectionsInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutPhoneConnectionsInput, Prisma.AdminUserUncheckedUpdateWithoutPhoneConnectionsInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutPhoneConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutPhoneConnectionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
notificationDeliveries?: Prisma.NotificationDeliveryUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserCreateWithoutNotificationDeliveriesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserUncheckedCreateWithoutNotificationDeliveriesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar?: string | null
|
|
locale?: string | null
|
|
status?: $Enums.AdminUserStatus
|
|
authentikSubject?: string | null
|
|
authentikGroups?: Prisma.AdminUserCreateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Date | string | null
|
|
lastLoginIpHash?: string | null
|
|
disabledAt?: Date | string | null
|
|
disabledReason?: string | null
|
|
sessions?: Prisma.AdminSessionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
roles?: Prisma.AdminUserRoleUncheckedCreateNestedManyWithoutUserInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedCreateNestedManyWithoutAdminUserInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedCreateNestedManyWithoutAdminUserInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedCreateNestedManyWithoutAdminUserInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedCreateNestedManyWithoutAuthorInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedCreateNestedManyWithoutAuthorInput
|
|
}
|
|
|
|
export type AdminUserCreateOrConnectWithoutNotificationDeliveriesInput = {
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedCreateWithoutNotificationDeliveriesInput>
|
|
}
|
|
|
|
export type AdminUserUpsertWithoutNotificationDeliveriesInput = {
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedUpdateWithoutNotificationDeliveriesInput>
|
|
create: Prisma.XOR<Prisma.AdminUserCreateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedCreateWithoutNotificationDeliveriesInput>
|
|
where?: Prisma.AdminUserWhereInput
|
|
}
|
|
|
|
export type AdminUserUpdateToOneWithWhereWithoutNotificationDeliveriesInput = {
|
|
where?: Prisma.AdminUserWhereInput
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateWithoutNotificationDeliveriesInput, Prisma.AdminUserUncheckedUpdateWithoutNotificationDeliveriesInput>
|
|
}
|
|
|
|
export type AdminUserUpdateWithoutNotificationDeliveriesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
export type AdminUserUncheckedUpdateWithoutNotificationDeliveriesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
firstName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
avatar?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
locale?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
status?: Prisma.EnumAdminUserStatusFieldUpdateOperationsInput | $Enums.AdminUserStatus
|
|
authentikSubject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authentikGroups?: Prisma.AdminUserUpdateauthentikGroupsInput | string[]
|
|
lastSsoLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
lastLoginIpHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
disabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
disabledReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
sessions?: Prisma.AdminSessionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
roles?: Prisma.AdminUserRoleUncheckedUpdateManyWithoutUserNestedInput
|
|
dataConnections?: Prisma.AdminDataConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
connectionCredentials?: Prisma.AdminConnectionCredentialUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
mailboxes?: Prisma.AdminMailboxUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
phoneConnections?: Prisma.AdminPhoneConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
calendarConnections?: Prisma.AdminCalendarConnectionUncheckedUpdateManyWithoutAdminUserNestedInput
|
|
supportTicketMessages?: Prisma.SupportTicketMessageUncheckedUpdateManyWithoutAuthorNestedInput
|
|
adminTenantNotesAuthored?: Prisma.AdminTenantNoteUncheckedUpdateManyWithoutAuthorNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type AdminUserCountOutputType
|
|
*/
|
|
|
|
export type AdminUserCountOutputType = {
|
|
sessions: number
|
|
roles: number
|
|
dataConnections: number
|
|
connectionCredentials: number
|
|
mailboxes: number
|
|
phoneConnections: number
|
|
calendarConnections: number
|
|
notificationDeliveries: number
|
|
supportTicketMessages: number
|
|
adminTenantNotesAuthored: number
|
|
}
|
|
|
|
export type AdminUserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
sessions?: boolean | AdminUserCountOutputTypeCountSessionsArgs
|
|
roles?: boolean | AdminUserCountOutputTypeCountRolesArgs
|
|
dataConnections?: boolean | AdminUserCountOutputTypeCountDataConnectionsArgs
|
|
connectionCredentials?: boolean | AdminUserCountOutputTypeCountConnectionCredentialsArgs
|
|
mailboxes?: boolean | AdminUserCountOutputTypeCountMailboxesArgs
|
|
phoneConnections?: boolean | AdminUserCountOutputTypeCountPhoneConnectionsArgs
|
|
calendarConnections?: boolean | AdminUserCountOutputTypeCountCalendarConnectionsArgs
|
|
notificationDeliveries?: boolean | AdminUserCountOutputTypeCountNotificationDeliveriesArgs
|
|
supportTicketMessages?: boolean | AdminUserCountOutputTypeCountSupportTicketMessagesArgs
|
|
adminTenantNotesAuthored?: boolean | AdminUserCountOutputTypeCountAdminTenantNotesAuthoredArgs
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUserCountOutputType
|
|
*/
|
|
select?: Prisma.AdminUserCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminSessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountRolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminUserRoleWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountDataConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminDataConnectionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountConnectionCredentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminConnectionCredentialWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountMailboxesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminMailboxWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountPhoneConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountCalendarConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminCalendarConnectionWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountNotificationDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.NotificationDeliveryWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountSupportTicketMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.SupportTicketMessageWhereInput
|
|
}
|
|
|
|
/**
|
|
* AdminUserCountOutputType without action
|
|
*/
|
|
export type AdminUserCountOutputTypeCountAdminTenantNotesAuthoredArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AdminTenantNoteWhereInput
|
|
}
|
|
|
|
|
|
export type AdminUserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
email?: boolean
|
|
firstName?: boolean
|
|
lastName?: boolean
|
|
avatar?: boolean
|
|
locale?: boolean
|
|
status?: boolean
|
|
authentikSubject?: boolean
|
|
authentikGroups?: boolean
|
|
lastSsoLoginAt?: boolean
|
|
lastLoginIpHash?: boolean
|
|
disabledAt?: boolean
|
|
disabledReason?: boolean
|
|
sessions?: boolean | Prisma.AdminUser$sessionsArgs<ExtArgs>
|
|
roles?: boolean | Prisma.AdminUser$rolesArgs<ExtArgs>
|
|
dataConnections?: boolean | Prisma.AdminUser$dataConnectionsArgs<ExtArgs>
|
|
connectionCredentials?: boolean | Prisma.AdminUser$connectionCredentialsArgs<ExtArgs>
|
|
mailboxes?: boolean | Prisma.AdminUser$mailboxesArgs<ExtArgs>
|
|
phoneConnections?: boolean | Prisma.AdminUser$phoneConnectionsArgs<ExtArgs>
|
|
calendarConnections?: boolean | Prisma.AdminUser$calendarConnectionsArgs<ExtArgs>
|
|
notificationDeliveries?: boolean | Prisma.AdminUser$notificationDeliveriesArgs<ExtArgs>
|
|
supportTicketMessages?: boolean | Prisma.AdminUser$supportTicketMessagesArgs<ExtArgs>
|
|
adminTenantNotesAuthored?: boolean | Prisma.AdminUser$adminTenantNotesAuthoredArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminUserCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["adminUser"]>
|
|
|
|
export type AdminUserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
email?: boolean
|
|
firstName?: boolean
|
|
lastName?: boolean
|
|
avatar?: boolean
|
|
locale?: boolean
|
|
status?: boolean
|
|
authentikSubject?: boolean
|
|
authentikGroups?: boolean
|
|
lastSsoLoginAt?: boolean
|
|
lastLoginIpHash?: boolean
|
|
disabledAt?: boolean
|
|
disabledReason?: boolean
|
|
}, ExtArgs["result"]["adminUser"]>
|
|
|
|
export type AdminUserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
email?: boolean
|
|
firstName?: boolean
|
|
lastName?: boolean
|
|
avatar?: boolean
|
|
locale?: boolean
|
|
status?: boolean
|
|
authentikSubject?: boolean
|
|
authentikGroups?: boolean
|
|
lastSsoLoginAt?: boolean
|
|
lastLoginIpHash?: boolean
|
|
disabledAt?: boolean
|
|
disabledReason?: boolean
|
|
}, ExtArgs["result"]["adminUser"]>
|
|
|
|
export type AdminUserSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
email?: boolean
|
|
firstName?: boolean
|
|
lastName?: boolean
|
|
avatar?: boolean
|
|
locale?: boolean
|
|
status?: boolean
|
|
authentikSubject?: boolean
|
|
authentikGroups?: boolean
|
|
lastSsoLoginAt?: boolean
|
|
lastLoginIpHash?: boolean
|
|
disabledAt?: boolean
|
|
disabledReason?: boolean
|
|
}
|
|
|
|
export type AdminUserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "email" | "firstName" | "lastName" | "avatar" | "locale" | "status" | "authentikSubject" | "authentikGroups" | "lastSsoLoginAt" | "lastLoginIpHash" | "disabledAt" | "disabledReason", ExtArgs["result"]["adminUser"]>
|
|
export type AdminUserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
sessions?: boolean | Prisma.AdminUser$sessionsArgs<ExtArgs>
|
|
roles?: boolean | Prisma.AdminUser$rolesArgs<ExtArgs>
|
|
dataConnections?: boolean | Prisma.AdminUser$dataConnectionsArgs<ExtArgs>
|
|
connectionCredentials?: boolean | Prisma.AdminUser$connectionCredentialsArgs<ExtArgs>
|
|
mailboxes?: boolean | Prisma.AdminUser$mailboxesArgs<ExtArgs>
|
|
phoneConnections?: boolean | Prisma.AdminUser$phoneConnectionsArgs<ExtArgs>
|
|
calendarConnections?: boolean | Prisma.AdminUser$calendarConnectionsArgs<ExtArgs>
|
|
notificationDeliveries?: boolean | Prisma.AdminUser$notificationDeliveriesArgs<ExtArgs>
|
|
supportTicketMessages?: boolean | Prisma.AdminUser$supportTicketMessagesArgs<ExtArgs>
|
|
adminTenantNotesAuthored?: boolean | Prisma.AdminUser$adminTenantNotesAuthoredArgs<ExtArgs>
|
|
_count?: boolean | Prisma.AdminUserCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type AdminUserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type AdminUserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $AdminUserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AdminUser"
|
|
objects: {
|
|
sessions: Prisma.$AdminSessionPayload<ExtArgs>[]
|
|
roles: Prisma.$AdminUserRolePayload<ExtArgs>[]
|
|
dataConnections: Prisma.$AdminDataConnectionPayload<ExtArgs>[]
|
|
connectionCredentials: Prisma.$AdminConnectionCredentialPayload<ExtArgs>[]
|
|
mailboxes: Prisma.$AdminMailboxPayload<ExtArgs>[]
|
|
phoneConnections: Prisma.$AdminPhoneConnectionPayload<ExtArgs>[]
|
|
calendarConnections: Prisma.$AdminCalendarConnectionPayload<ExtArgs>[]
|
|
notificationDeliveries: Prisma.$NotificationDeliveryPayload<ExtArgs>[]
|
|
supportTicketMessages: Prisma.$SupportTicketMessagePayload<ExtArgs>[]
|
|
adminTenantNotesAuthored: Prisma.$AdminTenantNotePayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
email: string
|
|
firstName: string
|
|
lastName: string
|
|
avatar: string | null
|
|
locale: string | null
|
|
status: $Enums.AdminUserStatus
|
|
authentikSubject: string | null
|
|
authentikGroups: string[]
|
|
lastSsoLoginAt: Date | null
|
|
lastLoginIpHash: string | null
|
|
disabledAt: Date | null
|
|
disabledReason: string | null
|
|
}, ExtArgs["result"]["adminUser"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AdminUserGetPayload<S extends boolean | null | undefined | AdminUserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdminUserPayload, S>
|
|
|
|
export type AdminUserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AdminUserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminUserCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminUserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdminUser'], meta: { name: 'AdminUser' } }
|
|
/**
|
|
* Find zero or one AdminUser that matches the filter.
|
|
* @param {AdminUserFindUniqueArgs} args - Arguments to find a AdminUser
|
|
* @example
|
|
* // Get one AdminUser
|
|
* const adminUser = await prisma.adminUser.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AdminUserFindUniqueArgs>(args: Prisma.SelectSubset<T, AdminUserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AdminUser that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AdminUserFindUniqueOrThrowArgs} args - Arguments to find a AdminUser
|
|
* @example
|
|
* // Get one AdminUser
|
|
* const adminUser = await prisma.adminUser.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AdminUserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdminUserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminUser 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 {AdminUserFindFirstArgs} args - Arguments to find a AdminUser
|
|
* @example
|
|
* // Get one AdminUser
|
|
* const adminUser = await prisma.adminUser.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AdminUserFindFirstArgs>(args?: Prisma.SelectSubset<T, AdminUserFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AdminUser 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 {AdminUserFindFirstOrThrowArgs} args - Arguments to find a AdminUser
|
|
* @example
|
|
* // Get one AdminUser
|
|
* const adminUser = await prisma.adminUser.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AdminUserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdminUserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AdminUsers 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 {AdminUserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AdminUsers
|
|
* const adminUsers = await prisma.adminUser.findMany()
|
|
*
|
|
* // Get first 10 AdminUsers
|
|
* const adminUsers = await prisma.adminUser.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const adminUserWithIdOnly = await prisma.adminUser.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AdminUserFindManyArgs>(args?: Prisma.SelectSubset<T, AdminUserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AdminUser.
|
|
* @param {AdminUserCreateArgs} args - Arguments to create a AdminUser.
|
|
* @example
|
|
* // Create one AdminUser
|
|
* const AdminUser = await prisma.adminUser.create({
|
|
* data: {
|
|
* // ... data to create a AdminUser
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AdminUserCreateArgs>(args: Prisma.SelectSubset<T, AdminUserCreateArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AdminUsers.
|
|
* @param {AdminUserCreateManyArgs} args - Arguments to create many AdminUsers.
|
|
* @example
|
|
* // Create many AdminUsers
|
|
* const adminUser = await prisma.adminUser.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AdminUserCreateManyArgs>(args?: Prisma.SelectSubset<T, AdminUserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AdminUsers and returns the data saved in the database.
|
|
* @param {AdminUserCreateManyAndReturnArgs} args - Arguments to create many AdminUsers.
|
|
* @example
|
|
* // Create many AdminUsers
|
|
* const adminUser = await prisma.adminUser.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AdminUsers and only return the `id`
|
|
* const adminUserWithIdOnly = await prisma.adminUser.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 AdminUserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AdminUserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AdminUser.
|
|
* @param {AdminUserDeleteArgs} args - Arguments to delete one AdminUser.
|
|
* @example
|
|
* // Delete one AdminUser
|
|
* const AdminUser = await prisma.adminUser.delete({
|
|
* where: {
|
|
* // ... filter to delete one AdminUser
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AdminUserDeleteArgs>(args: Prisma.SelectSubset<T, AdminUserDeleteArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AdminUser.
|
|
* @param {AdminUserUpdateArgs} args - Arguments to update one AdminUser.
|
|
* @example
|
|
* // Update one AdminUser
|
|
* const adminUser = await prisma.adminUser.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AdminUserUpdateArgs>(args: Prisma.SelectSubset<T, AdminUserUpdateArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AdminUsers.
|
|
* @param {AdminUserDeleteManyArgs} args - Arguments to filter AdminUsers to delete.
|
|
* @example
|
|
* // Delete a few AdminUsers
|
|
* const { count } = await prisma.adminUser.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AdminUserDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdminUserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminUsers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminUserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AdminUsers
|
|
* const adminUser = await prisma.adminUser.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AdminUserUpdateManyArgs>(args: Prisma.SelectSubset<T, AdminUserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AdminUsers and returns the data updated in the database.
|
|
* @param {AdminUserUpdateManyAndReturnArgs} args - Arguments to update many AdminUsers.
|
|
* @example
|
|
* // Update many AdminUsers
|
|
* const adminUser = await prisma.adminUser.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AdminUsers and only return the `id`
|
|
* const adminUserWithIdOnly = await prisma.adminUser.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 AdminUserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AdminUserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AdminUser.
|
|
* @param {AdminUserUpsertArgs} args - Arguments to update or create a AdminUser.
|
|
* @example
|
|
* // Update or create a AdminUser
|
|
* const adminUser = await prisma.adminUser.upsert({
|
|
* create: {
|
|
* // ... data to create a AdminUser
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AdminUser we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AdminUserUpsertArgs>(args: Prisma.SelectSubset<T, AdminUserUpsertArgs<ExtArgs>>): Prisma.Prisma__AdminUserClient<runtime.Types.Result.GetResult<Prisma.$AdminUserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AdminUsers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminUserCountArgs} args - Arguments to filter AdminUsers to count.
|
|
* @example
|
|
* // Count the number of AdminUsers
|
|
* const count = await prisma.adminUser.count({
|
|
* where: {
|
|
* // ... the filter for the AdminUsers we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AdminUserCountArgs>(
|
|
args?: Prisma.Subset<T, AdminUserCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AdminUserCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AdminUser.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminUserAggregateArgs} 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 AdminUserAggregateArgs>(args: Prisma.Subset<T, AdminUserAggregateArgs>): Prisma.PrismaPromise<GetAdminUserAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AdminUser.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AdminUserGroupByArgs} 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 AdminUserGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AdminUserGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminUserGroupByArgs['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, AdminUserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AdminUser model
|
|
*/
|
|
readonly fields: AdminUserFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AdminUser.
|
|
* 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__AdminUserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
sessions<T extends Prisma.AdminUser$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
roles<T extends Prisma.AdminUser$rolesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$rolesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminUserRolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
dataConnections<T extends Prisma.AdminUser$dataConnectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$dataConnectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminDataConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
connectionCredentials<T extends Prisma.AdminUser$connectionCredentialsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$connectionCredentialsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminConnectionCredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
mailboxes<T extends Prisma.AdminUser$mailboxesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$mailboxesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminMailboxPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
phoneConnections<T extends Prisma.AdminUser$phoneConnectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$phoneConnectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPhoneConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
calendarConnections<T extends Prisma.AdminUser$calendarConnectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$calendarConnectionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminCalendarConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
notificationDeliveries<T extends Prisma.AdminUser$notificationDeliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$notificationDeliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
supportTicketMessages<T extends Prisma.AdminUser$supportTicketMessagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$supportTicketMessagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportTicketMessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
adminTenantNotesAuthored<T extends Prisma.AdminUser$adminTenantNotesAuthoredArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdminUser$adminTenantNotesAuthoredArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminTenantNotePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AdminUser model
|
|
*/
|
|
export interface AdminUserFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AdminUser", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AdminUser", 'DateTime'>
|
|
readonly email: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly firstName: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly lastName: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly avatar: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly locale: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly status: Prisma.FieldRef<"AdminUser", 'AdminUserStatus'>
|
|
readonly authentikSubject: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly authentikGroups: Prisma.FieldRef<"AdminUser", 'String[]'>
|
|
readonly lastSsoLoginAt: Prisma.FieldRef<"AdminUser", 'DateTime'>
|
|
readonly lastLoginIpHash: Prisma.FieldRef<"AdminUser", 'String'>
|
|
readonly disabledAt: Prisma.FieldRef<"AdminUser", 'DateTime'>
|
|
readonly disabledReason: Prisma.FieldRef<"AdminUser", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AdminUser findUnique
|
|
*/
|
|
export type AdminUserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminUser to fetch.
|
|
*/
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminUser findUniqueOrThrow
|
|
*/
|
|
export type AdminUserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminUser to fetch.
|
|
*/
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminUser findFirst
|
|
*/
|
|
export type AdminUserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminUser to fetch.
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminUserOrderByWithRelationInput | Prisma.AdminUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminUsers.
|
|
*/
|
|
cursor?: Prisma.AdminUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminUsers 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` AdminUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminUsers.
|
|
*/
|
|
distinct?: Prisma.AdminUserScalarFieldEnum | Prisma.AdminUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser findFirstOrThrow
|
|
*/
|
|
export type AdminUserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminUser to fetch.
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminUserOrderByWithRelationInput | Prisma.AdminUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AdminUsers.
|
|
*/
|
|
cursor?: Prisma.AdminUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminUsers 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` AdminUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminUsers.
|
|
*/
|
|
distinct?: Prisma.AdminUserScalarFieldEnum | Prisma.AdminUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser findMany
|
|
*/
|
|
export type AdminUserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminUsers to fetch.
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AdminUsers to fetch.
|
|
*/
|
|
orderBy?: Prisma.AdminUserOrderByWithRelationInput | Prisma.AdminUserOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AdminUsers.
|
|
*/
|
|
cursor?: Prisma.AdminUserWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AdminUsers 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` AdminUsers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AdminUsers.
|
|
*/
|
|
distinct?: Prisma.AdminUserScalarFieldEnum | Prisma.AdminUserScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser create
|
|
*/
|
|
export type AdminUserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminUser.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminUserCreateInput, Prisma.AdminUserUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminUser createMany
|
|
*/
|
|
export type AdminUserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminUsers.
|
|
*/
|
|
data: Prisma.AdminUserCreateManyInput | Prisma.AdminUserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminUser createManyAndReturn
|
|
*/
|
|
export type AdminUserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AdminUsers.
|
|
*/
|
|
data: Prisma.AdminUserCreateManyInput | Prisma.AdminUserCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminUser update
|
|
*/
|
|
export type AdminUserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminUser.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateInput, Prisma.AdminUserUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminUser to update.
|
|
*/
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminUser updateMany
|
|
*/
|
|
export type AdminUserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminUsers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateManyMutationInput, Prisma.AdminUserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminUsers to update
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* Limit how many AdminUsers to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminUser updateManyAndReturn
|
|
*/
|
|
export type AdminUserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AdminUsers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AdminUserUpdateManyMutationInput, Prisma.AdminUserUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminUsers to update
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* Limit how many AdminUsers to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminUser upsert
|
|
*/
|
|
export type AdminUserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AdminUser to update in case it exists.
|
|
*/
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
/**
|
|
* In case the AdminUser found by the `where` argument doesn't exist, create a new AdminUser with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AdminUserCreateInput, Prisma.AdminUserUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminUser was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AdminUserUpdateInput, Prisma.AdminUserUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminUser delete
|
|
*/
|
|
export type AdminUserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminUser to delete.
|
|
*/
|
|
where: Prisma.AdminUserWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminUser deleteMany
|
|
*/
|
|
export type AdminUserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminUsers to delete
|
|
*/
|
|
where?: Prisma.AdminUserWhereInput
|
|
/**
|
|
* Limit how many AdminUsers to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminUser.sessions
|
|
*/
|
|
export type AdminUser$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminSession
|
|
*/
|
|
select?: Prisma.AdminSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminSession
|
|
*/
|
|
omit?: Prisma.AdminSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminSessionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminSessionWhereInput
|
|
orderBy?: Prisma.AdminSessionOrderByWithRelationInput | Prisma.AdminSessionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminSessionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminSessionScalarFieldEnum | Prisma.AdminSessionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.roles
|
|
*/
|
|
export type AdminUser$rolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUserRole
|
|
*/
|
|
select?: Prisma.AdminUserRoleSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUserRole
|
|
*/
|
|
omit?: Prisma.AdminUserRoleOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserRoleInclude<ExtArgs> | null
|
|
where?: Prisma.AdminUserRoleWhereInput
|
|
orderBy?: Prisma.AdminUserRoleOrderByWithRelationInput | Prisma.AdminUserRoleOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminUserRoleWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminUserRoleScalarFieldEnum | Prisma.AdminUserRoleScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.dataConnections
|
|
*/
|
|
export type AdminUser$dataConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminDataConnection
|
|
*/
|
|
select?: Prisma.AdminDataConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminDataConnection
|
|
*/
|
|
omit?: Prisma.AdminDataConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminDataConnectionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminDataConnectionWhereInput
|
|
orderBy?: Prisma.AdminDataConnectionOrderByWithRelationInput | Prisma.AdminDataConnectionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminDataConnectionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminDataConnectionScalarFieldEnum | Prisma.AdminDataConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.connectionCredentials
|
|
*/
|
|
export type AdminUser$connectionCredentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminConnectionCredential
|
|
*/
|
|
select?: Prisma.AdminConnectionCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminConnectionCredential
|
|
*/
|
|
omit?: Prisma.AdminConnectionCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminConnectionCredentialInclude<ExtArgs> | null
|
|
where?: Prisma.AdminConnectionCredentialWhereInput
|
|
orderBy?: Prisma.AdminConnectionCredentialOrderByWithRelationInput | Prisma.AdminConnectionCredentialOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminConnectionCredentialWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminConnectionCredentialScalarFieldEnum | Prisma.AdminConnectionCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.mailboxes
|
|
*/
|
|
export type AdminUser$mailboxesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminMailbox
|
|
*/
|
|
select?: Prisma.AdminMailboxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminMailbox
|
|
*/
|
|
omit?: Prisma.AdminMailboxOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminMailboxInclude<ExtArgs> | null
|
|
where?: Prisma.AdminMailboxWhereInput
|
|
orderBy?: Prisma.AdminMailboxOrderByWithRelationInput | Prisma.AdminMailboxOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminMailboxWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminMailboxScalarFieldEnum | Prisma.AdminMailboxScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.phoneConnections
|
|
*/
|
|
export type AdminUser$phoneConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminPhoneConnection
|
|
*/
|
|
select?: Prisma.AdminPhoneConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminPhoneConnection
|
|
*/
|
|
omit?: Prisma.AdminPhoneConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminPhoneConnectionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminPhoneConnectionWhereInput
|
|
orderBy?: Prisma.AdminPhoneConnectionOrderByWithRelationInput | Prisma.AdminPhoneConnectionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminPhoneConnectionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminPhoneConnectionScalarFieldEnum | Prisma.AdminPhoneConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.calendarConnections
|
|
*/
|
|
export type AdminUser$calendarConnectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminCalendarConnection
|
|
*/
|
|
select?: Prisma.AdminCalendarConnectionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminCalendarConnection
|
|
*/
|
|
omit?: Prisma.AdminCalendarConnectionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminCalendarConnectionInclude<ExtArgs> | null
|
|
where?: Prisma.AdminCalendarConnectionWhereInput
|
|
orderBy?: Prisma.AdminCalendarConnectionOrderByWithRelationInput | Prisma.AdminCalendarConnectionOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminCalendarConnectionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminCalendarConnectionScalarFieldEnum | Prisma.AdminCalendarConnectionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.notificationDeliveries
|
|
*/
|
|
export type AdminUser$notificationDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the NotificationDelivery
|
|
*/
|
|
select?: Prisma.NotificationDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the NotificationDelivery
|
|
*/
|
|
omit?: Prisma.NotificationDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.NotificationDeliveryInclude<ExtArgs> | null
|
|
where?: Prisma.NotificationDeliveryWhereInput
|
|
orderBy?: Prisma.NotificationDeliveryOrderByWithRelationInput | Prisma.NotificationDeliveryOrderByWithRelationInput[]
|
|
cursor?: Prisma.NotificationDeliveryWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.NotificationDeliveryScalarFieldEnum | Prisma.NotificationDeliveryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.supportTicketMessages
|
|
*/
|
|
export type AdminUser$supportTicketMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SupportTicketMessage
|
|
*/
|
|
select?: Prisma.SupportTicketMessageSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SupportTicketMessage
|
|
*/
|
|
omit?: Prisma.SupportTicketMessageOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SupportTicketMessageInclude<ExtArgs> | null
|
|
where?: Prisma.SupportTicketMessageWhereInput
|
|
orderBy?: Prisma.SupportTicketMessageOrderByWithRelationInput | Prisma.SupportTicketMessageOrderByWithRelationInput[]
|
|
cursor?: Prisma.SupportTicketMessageWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.SupportTicketMessageScalarFieldEnum | Prisma.SupportTicketMessageScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser.adminTenantNotesAuthored
|
|
*/
|
|
export type AdminUser$adminTenantNotesAuthoredArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminTenantNote
|
|
*/
|
|
select?: Prisma.AdminTenantNoteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminTenantNote
|
|
*/
|
|
omit?: Prisma.AdminTenantNoteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminTenantNoteInclude<ExtArgs> | null
|
|
where?: Prisma.AdminTenantNoteWhereInput
|
|
orderBy?: Prisma.AdminTenantNoteOrderByWithRelationInput | Prisma.AdminTenantNoteOrderByWithRelationInput[]
|
|
cursor?: Prisma.AdminTenantNoteWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AdminTenantNoteScalarFieldEnum | Prisma.AdminTenantNoteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AdminUser without action
|
|
*/
|
|
export type AdminUserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminUser
|
|
*/
|
|
select?: Prisma.AdminUserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminUser
|
|
*/
|
|
omit?: Prisma.AdminUserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AdminUserInclude<ExtArgs> | null
|
|
}
|