1211 lines
42 KiB
TypeScript
1211 lines
42 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 `ticket_msg` 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"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model ticket_msg
|
|
*
|
|
*/
|
|
export type ticket_msgModel = runtime.Types.Result.DefaultSelection<Prisma.$ticket_msgPayload>
|
|
|
|
export type AggregateTicket_msg = {
|
|
_count: Ticket_msgCountAggregateOutputType | null
|
|
_avg: Ticket_msgAvgAggregateOutputType | null
|
|
_sum: Ticket_msgSumAggregateOutputType | null
|
|
_min: Ticket_msgMinAggregateOutputType | null
|
|
_max: Ticket_msgMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Ticket_msgAvgAggregateOutputType = {
|
|
id: number | null
|
|
ticket_id: number | null
|
|
staff_id: number | null
|
|
date_orig: number | null
|
|
important: number | null
|
|
}
|
|
|
|
export type Ticket_msgSumAggregateOutputType = {
|
|
id: bigint | null
|
|
ticket_id: bigint | null
|
|
staff_id: bigint | null
|
|
date_orig: bigint | null
|
|
important: number | null
|
|
}
|
|
|
|
export type Ticket_msgMinAggregateOutputType = {
|
|
id: bigint | null
|
|
ticket_id: bigint | null
|
|
staff_id: bigint | null
|
|
msg: string | null
|
|
date_orig: bigint | null
|
|
unread_csv: string | null
|
|
public: boolean | null
|
|
important: number | null
|
|
update_timestamp: Date | null
|
|
}
|
|
|
|
export type Ticket_msgMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
ticket_id: bigint | null
|
|
staff_id: bigint | null
|
|
msg: string | null
|
|
date_orig: bigint | null
|
|
unread_csv: string | null
|
|
public: boolean | null
|
|
important: number | null
|
|
update_timestamp: Date | null
|
|
}
|
|
|
|
export type Ticket_msgCountAggregateOutputType = {
|
|
id: number
|
|
ticket_id: number
|
|
staff_id: number
|
|
msg: number
|
|
date_orig: number
|
|
unread_csv: number
|
|
public: number
|
|
important: number
|
|
update_timestamp: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Ticket_msgAvgAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
staff_id?: true
|
|
date_orig?: true
|
|
important?: true
|
|
}
|
|
|
|
export type Ticket_msgSumAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
staff_id?: true
|
|
date_orig?: true
|
|
important?: true
|
|
}
|
|
|
|
export type Ticket_msgMinAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
staff_id?: true
|
|
msg?: true
|
|
date_orig?: true
|
|
unread_csv?: true
|
|
public?: true
|
|
important?: true
|
|
update_timestamp?: true
|
|
}
|
|
|
|
export type Ticket_msgMaxAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
staff_id?: true
|
|
msg?: true
|
|
date_orig?: true
|
|
unread_csv?: true
|
|
public?: true
|
|
important?: true
|
|
update_timestamp?: true
|
|
}
|
|
|
|
export type Ticket_msgCountAggregateInputType = {
|
|
id?: true
|
|
ticket_id?: true
|
|
staff_id?: true
|
|
msg?: true
|
|
date_orig?: true
|
|
unread_csv?: true
|
|
public?: true
|
|
important?: true
|
|
update_timestamp?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Ticket_msgAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ticket_msg to aggregate.
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_msgs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_msgOrderByWithRelationInput | Prisma.ticket_msgOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ticket_msgWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_msgs 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` ticket_msgs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ticket_msgs
|
|
**/
|
|
_count?: true | Ticket_msgCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Ticket_msgAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Ticket_msgSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Ticket_msgMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Ticket_msgMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTicket_msgAggregateType<T extends Ticket_msgAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTicket_msg]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTicket_msg[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTicket_msg[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ticket_msgGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ticket_msgWhereInput
|
|
orderBy?: Prisma.ticket_msgOrderByWithAggregationInput | Prisma.ticket_msgOrderByWithAggregationInput[]
|
|
by: Prisma.Ticket_msgScalarFieldEnum[] | Prisma.Ticket_msgScalarFieldEnum
|
|
having?: Prisma.ticket_msgScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Ticket_msgCountAggregateInputType | true
|
|
_avg?: Ticket_msgAvgAggregateInputType
|
|
_sum?: Ticket_msgSumAggregateInputType
|
|
_min?: Ticket_msgMinAggregateInputType
|
|
_max?: Ticket_msgMaxAggregateInputType
|
|
}
|
|
|
|
export type Ticket_msgGroupByOutputType = {
|
|
id: bigint
|
|
ticket_id: bigint
|
|
staff_id: bigint
|
|
msg: string | null
|
|
date_orig: bigint | null
|
|
unread_csv: string
|
|
public: boolean | null
|
|
important: number
|
|
update_timestamp: Date
|
|
_count: Ticket_msgCountAggregateOutputType | null
|
|
_avg: Ticket_msgAvgAggregateOutputType | null
|
|
_sum: Ticket_msgSumAggregateOutputType | null
|
|
_min: Ticket_msgMinAggregateOutputType | null
|
|
_max: Ticket_msgMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetTicket_msgGroupByPayload<T extends ticket_msgGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Ticket_msgGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Ticket_msgGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Ticket_msgGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Ticket_msgGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ticket_msgWhereInput = {
|
|
AND?: Prisma.ticket_msgWhereInput | Prisma.ticket_msgWhereInput[]
|
|
OR?: Prisma.ticket_msgWhereInput[]
|
|
NOT?: Prisma.ticket_msgWhereInput | Prisma.ticket_msgWhereInput[]
|
|
id?: Prisma.BigIntFilter<"ticket_msg"> | bigint | number
|
|
ticket_id?: Prisma.BigIntFilter<"ticket_msg"> | bigint | number
|
|
staff_id?: Prisma.BigIntFilter<"ticket_msg"> | bigint | number
|
|
msg?: Prisma.StringNullableFilter<"ticket_msg"> | string | null
|
|
date_orig?: Prisma.BigIntNullableFilter<"ticket_msg"> | bigint | number | null
|
|
unread_csv?: Prisma.StringFilter<"ticket_msg"> | string
|
|
public?: Prisma.BoolNullableFilter<"ticket_msg"> | boolean | null
|
|
important?: Prisma.IntFilter<"ticket_msg"> | number
|
|
update_timestamp?: Prisma.DateTimeFilter<"ticket_msg"> | Date | string
|
|
}
|
|
|
|
export type ticket_msgOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
msg?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
unread_csv?: Prisma.SortOrder
|
|
public?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
update_timestamp?: Prisma.SortOrder
|
|
_relevance?: Prisma.ticket_msgOrderByRelevanceInput
|
|
}
|
|
|
|
export type ticket_msgWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.ticket_msgWhereInput | Prisma.ticket_msgWhereInput[]
|
|
OR?: Prisma.ticket_msgWhereInput[]
|
|
NOT?: Prisma.ticket_msgWhereInput | Prisma.ticket_msgWhereInput[]
|
|
ticket_id?: Prisma.BigIntFilter<"ticket_msg"> | bigint | number
|
|
staff_id?: Prisma.BigIntFilter<"ticket_msg"> | bigint | number
|
|
msg?: Prisma.StringNullableFilter<"ticket_msg"> | string | null
|
|
date_orig?: Prisma.BigIntNullableFilter<"ticket_msg"> | bigint | number | null
|
|
unread_csv?: Prisma.StringFilter<"ticket_msg"> | string
|
|
public?: Prisma.BoolNullableFilter<"ticket_msg"> | boolean | null
|
|
important?: Prisma.IntFilter<"ticket_msg"> | number
|
|
update_timestamp?: Prisma.DateTimeFilter<"ticket_msg"> | Date | string
|
|
}, "id">
|
|
|
|
export type ticket_msgOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
msg?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
unread_csv?: Prisma.SortOrder
|
|
public?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
update_timestamp?: Prisma.SortOrder
|
|
_count?: Prisma.ticket_msgCountOrderByAggregateInput
|
|
_avg?: Prisma.ticket_msgAvgOrderByAggregateInput
|
|
_max?: Prisma.ticket_msgMaxOrderByAggregateInput
|
|
_min?: Prisma.ticket_msgMinOrderByAggregateInput
|
|
_sum?: Prisma.ticket_msgSumOrderByAggregateInput
|
|
}
|
|
|
|
export type ticket_msgScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ticket_msgScalarWhereWithAggregatesInput | Prisma.ticket_msgScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ticket_msgScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ticket_msgScalarWhereWithAggregatesInput | Prisma.ticket_msgScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"ticket_msg"> | bigint | number
|
|
ticket_id?: Prisma.BigIntWithAggregatesFilter<"ticket_msg"> | bigint | number
|
|
staff_id?: Prisma.BigIntWithAggregatesFilter<"ticket_msg"> | bigint | number
|
|
msg?: Prisma.StringNullableWithAggregatesFilter<"ticket_msg"> | string | null
|
|
date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"ticket_msg"> | bigint | number | null
|
|
unread_csv?: Prisma.StringWithAggregatesFilter<"ticket_msg"> | string
|
|
public?: Prisma.BoolNullableWithAggregatesFilter<"ticket_msg"> | boolean | null
|
|
important?: Prisma.IntWithAggregatesFilter<"ticket_msg"> | number
|
|
update_timestamp?: Prisma.DateTimeWithAggregatesFilter<"ticket_msg"> | Date | string
|
|
}
|
|
|
|
export type ticket_msgCreateInput = {
|
|
id?: bigint | number
|
|
ticket_id: bigint | number
|
|
staff_id?: bigint | number
|
|
msg?: string | null
|
|
date_orig?: bigint | number | null
|
|
unread_csv: string
|
|
public?: boolean | null
|
|
important?: number
|
|
update_timestamp?: Date | string
|
|
}
|
|
|
|
export type ticket_msgUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
ticket_id: bigint | number
|
|
staff_id?: bigint | number
|
|
msg?: string | null
|
|
date_orig?: bigint | number | null
|
|
unread_csv: string
|
|
public?: boolean | null
|
|
important?: number
|
|
update_timestamp?: Date | string
|
|
}
|
|
|
|
export type ticket_msgUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ticket_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
msg?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
unread_csv?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
important?: Prisma.IntFieldUpdateOperationsInput | number
|
|
update_timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ticket_msgUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ticket_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
msg?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
unread_csv?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
important?: Prisma.IntFieldUpdateOperationsInput | number
|
|
update_timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ticket_msgCreateManyInput = {
|
|
id?: bigint | number
|
|
ticket_id: bigint | number
|
|
staff_id?: bigint | number
|
|
msg?: string | null
|
|
date_orig?: bigint | number | null
|
|
unread_csv: string
|
|
public?: boolean | null
|
|
important?: number
|
|
update_timestamp?: Date | string
|
|
}
|
|
|
|
export type ticket_msgUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ticket_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
msg?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
unread_csv?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
important?: Prisma.IntFieldUpdateOperationsInput | number
|
|
update_timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ticket_msgUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
ticket_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
staff_id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
msg?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
|
|
unread_csv?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
important?: Prisma.IntFieldUpdateOperationsInput | number
|
|
update_timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ticket_msgOrderByRelevanceInput = {
|
|
fields: Prisma.ticket_msgOrderByRelevanceFieldEnum | Prisma.ticket_msgOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type ticket_msgCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
msg?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
unread_csv?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
update_timestamp?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_msgAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_msgMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
msg?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
unread_csv?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
update_timestamp?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_msgMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
msg?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
unread_csv?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
update_timestamp?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ticket_msgSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
ticket_id?: Prisma.SortOrder
|
|
staff_id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
important?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type ticket_msgSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
ticket_id?: boolean
|
|
staff_id?: boolean
|
|
msg?: boolean
|
|
date_orig?: boolean
|
|
unread_csv?: boolean
|
|
public?: boolean
|
|
important?: boolean
|
|
update_timestamp?: boolean
|
|
}, ExtArgs["result"]["ticket_msg"]>
|
|
|
|
|
|
|
|
export type ticket_msgSelectScalar = {
|
|
id?: boolean
|
|
ticket_id?: boolean
|
|
staff_id?: boolean
|
|
msg?: boolean
|
|
date_orig?: boolean
|
|
unread_csv?: boolean
|
|
public?: boolean
|
|
important?: boolean
|
|
update_timestamp?: boolean
|
|
}
|
|
|
|
export type ticket_msgOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "ticket_id" | "staff_id" | "msg" | "date_orig" | "unread_csv" | "public" | "important" | "update_timestamp", ExtArgs["result"]["ticket_msg"]>
|
|
|
|
export type $ticket_msgPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ticket_msg"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
ticket_id: bigint
|
|
staff_id: bigint
|
|
msg: string | null
|
|
date_orig: bigint | null
|
|
unread_csv: string
|
|
public: boolean | null
|
|
important: number
|
|
update_timestamp: Date
|
|
}, ExtArgs["result"]["ticket_msg"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ticket_msgGetPayload<S extends boolean | null | undefined | ticket_msgDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload, S>
|
|
|
|
export type ticket_msgCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ticket_msgFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Ticket_msgCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ticket_msgDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ticket_msg'], meta: { name: 'ticket_msg' } }
|
|
/**
|
|
* Find zero or one Ticket_msg that matches the filter.
|
|
* @param {ticket_msgFindUniqueArgs} args - Arguments to find a Ticket_msg
|
|
* @example
|
|
* // Get one Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ticket_msgFindUniqueArgs>(args: Prisma.SelectSubset<T, ticket_msgFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Ticket_msg that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ticket_msgFindUniqueOrThrowArgs} args - Arguments to find a Ticket_msg
|
|
* @example
|
|
* // Get one Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ticket_msgFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ticket_msgFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Ticket_msg 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 {ticket_msgFindFirstArgs} args - Arguments to find a Ticket_msg
|
|
* @example
|
|
* // Get one Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ticket_msgFindFirstArgs>(args?: Prisma.SelectSubset<T, ticket_msgFindFirstArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Ticket_msg 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 {ticket_msgFindFirstOrThrowArgs} args - Arguments to find a Ticket_msg
|
|
* @example
|
|
* // Get one Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ticket_msgFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ticket_msgFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Ticket_msgs 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 {ticket_msgFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Ticket_msgs
|
|
* const ticket_msgs = await prisma.ticket_msg.findMany()
|
|
*
|
|
* // Get first 10 Ticket_msgs
|
|
* const ticket_msgs = await prisma.ticket_msg.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const ticket_msgWithIdOnly = await prisma.ticket_msg.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ticket_msgFindManyArgs>(args?: Prisma.SelectSubset<T, ticket_msgFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Ticket_msg.
|
|
* @param {ticket_msgCreateArgs} args - Arguments to create a Ticket_msg.
|
|
* @example
|
|
* // Create one Ticket_msg
|
|
* const Ticket_msg = await prisma.ticket_msg.create({
|
|
* data: {
|
|
* // ... data to create a Ticket_msg
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ticket_msgCreateArgs>(args: Prisma.SelectSubset<T, ticket_msgCreateArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Ticket_msgs.
|
|
* @param {ticket_msgCreateManyArgs} args - Arguments to create many Ticket_msgs.
|
|
* @example
|
|
* // Create many Ticket_msgs
|
|
* const ticket_msg = await prisma.ticket_msg.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ticket_msgCreateManyArgs>(args?: Prisma.SelectSubset<T, ticket_msgCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Ticket_msg.
|
|
* @param {ticket_msgDeleteArgs} args - Arguments to delete one Ticket_msg.
|
|
* @example
|
|
* // Delete one Ticket_msg
|
|
* const Ticket_msg = await prisma.ticket_msg.delete({
|
|
* where: {
|
|
* // ... filter to delete one Ticket_msg
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ticket_msgDeleteArgs>(args: Prisma.SelectSubset<T, ticket_msgDeleteArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Ticket_msg.
|
|
* @param {ticket_msgUpdateArgs} args - Arguments to update one Ticket_msg.
|
|
* @example
|
|
* // Update one Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ticket_msgUpdateArgs>(args: Prisma.SelectSubset<T, ticket_msgUpdateArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Ticket_msgs.
|
|
* @param {ticket_msgDeleteManyArgs} args - Arguments to filter Ticket_msgs to delete.
|
|
* @example
|
|
* // Delete a few Ticket_msgs
|
|
* const { count } = await prisma.ticket_msg.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ticket_msgDeleteManyArgs>(args?: Prisma.SelectSubset<T, ticket_msgDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Ticket_msgs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_msgUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Ticket_msgs
|
|
* const ticket_msg = await prisma.ticket_msg.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ticket_msgUpdateManyArgs>(args: Prisma.SelectSubset<T, ticket_msgUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Ticket_msg.
|
|
* @param {ticket_msgUpsertArgs} args - Arguments to update or create a Ticket_msg.
|
|
* @example
|
|
* // Update or create a Ticket_msg
|
|
* const ticket_msg = await prisma.ticket_msg.upsert({
|
|
* create: {
|
|
* // ... data to create a Ticket_msg
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Ticket_msg we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ticket_msgUpsertArgs>(args: Prisma.SelectSubset<T, ticket_msgUpsertArgs<ExtArgs>>): Prisma.Prisma__ticket_msgClient<runtime.Types.Result.GetResult<Prisma.$ticket_msgPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Ticket_msgs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_msgCountArgs} args - Arguments to filter Ticket_msgs to count.
|
|
* @example
|
|
* // Count the number of Ticket_msgs
|
|
* const count = await prisma.ticket_msg.count({
|
|
* where: {
|
|
* // ... the filter for the Ticket_msgs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ticket_msgCountArgs>(
|
|
args?: Prisma.Subset<T, ticket_msgCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Ticket_msgCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Ticket_msg.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Ticket_msgAggregateArgs} 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 Ticket_msgAggregateArgs>(args: Prisma.Subset<T, Ticket_msgAggregateArgs>): Prisma.PrismaPromise<GetTicket_msgAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Ticket_msg.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ticket_msgGroupByArgs} 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 ticket_msgGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ticket_msgGroupByArgs['orderBy'] }
|
|
: { orderBy?: ticket_msgGroupByArgs['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, ticket_msgGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicket_msgGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ticket_msg model
|
|
*/
|
|
readonly fields: ticket_msgFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ticket_msg.
|
|
* 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__ticket_msgClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 ticket_msg model
|
|
*/
|
|
export interface ticket_msgFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ticket_msg", 'BigInt'>
|
|
readonly ticket_id: Prisma.FieldRef<"ticket_msg", 'BigInt'>
|
|
readonly staff_id: Prisma.FieldRef<"ticket_msg", 'BigInt'>
|
|
readonly msg: Prisma.FieldRef<"ticket_msg", 'String'>
|
|
readonly date_orig: Prisma.FieldRef<"ticket_msg", 'BigInt'>
|
|
readonly unread_csv: Prisma.FieldRef<"ticket_msg", 'String'>
|
|
readonly public: Prisma.FieldRef<"ticket_msg", 'Boolean'>
|
|
readonly important: Prisma.FieldRef<"ticket_msg", 'Int'>
|
|
readonly update_timestamp: Prisma.FieldRef<"ticket_msg", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ticket_msg findUnique
|
|
*/
|
|
export type ticket_msgFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_msg to fetch.
|
|
*/
|
|
where: Prisma.ticket_msgWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_msg findUniqueOrThrow
|
|
*/
|
|
export type ticket_msgFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_msg to fetch.
|
|
*/
|
|
where: Prisma.ticket_msgWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_msg findFirst
|
|
*/
|
|
export type ticket_msgFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_msg to fetch.
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_msgs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_msgOrderByWithRelationInput | Prisma.ticket_msgOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ticket_msgs.
|
|
*/
|
|
cursor?: Prisma.ticket_msgWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_msgs 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` ticket_msgs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ticket_msgs.
|
|
*/
|
|
distinct?: Prisma.Ticket_msgScalarFieldEnum | Prisma.Ticket_msgScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_msg findFirstOrThrow
|
|
*/
|
|
export type ticket_msgFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_msg to fetch.
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_msgs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_msgOrderByWithRelationInput | Prisma.ticket_msgOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ticket_msgs.
|
|
*/
|
|
cursor?: Prisma.ticket_msgWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_msgs 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` ticket_msgs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ticket_msgs.
|
|
*/
|
|
distinct?: Prisma.Ticket_msgScalarFieldEnum | Prisma.Ticket_msgScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_msg findMany
|
|
*/
|
|
export type ticket_msgFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ticket_msgs to fetch.
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ticket_msgs to fetch.
|
|
*/
|
|
orderBy?: Prisma.ticket_msgOrderByWithRelationInput | Prisma.ticket_msgOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ticket_msgs.
|
|
*/
|
|
cursor?: Prisma.ticket_msgWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ticket_msgs 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` ticket_msgs.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Ticket_msgScalarFieldEnum | Prisma.Ticket_msgScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ticket_msg create
|
|
*/
|
|
export type ticket_msgCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ticket_msg.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_msgCreateInput, Prisma.ticket_msgUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ticket_msg createMany
|
|
*/
|
|
export type ticket_msgCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ticket_msgs.
|
|
*/
|
|
data: Prisma.ticket_msgCreateManyInput | Prisma.ticket_msgCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ticket_msg update
|
|
*/
|
|
export type ticket_msgUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ticket_msg.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_msgUpdateInput, Prisma.ticket_msgUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ticket_msg to update.
|
|
*/
|
|
where: Prisma.ticket_msgWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_msg updateMany
|
|
*/
|
|
export type ticket_msgUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ticket_msgs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ticket_msgUpdateManyMutationInput, Prisma.ticket_msgUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ticket_msgs to update
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* Limit how many ticket_msgs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ticket_msg upsert
|
|
*/
|
|
export type ticket_msgUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ticket_msg to update in case it exists.
|
|
*/
|
|
where: Prisma.ticket_msgWhereUniqueInput
|
|
/**
|
|
* In case the ticket_msg found by the `where` argument doesn't exist, create a new ticket_msg with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ticket_msgCreateInput, Prisma.ticket_msgUncheckedCreateInput>
|
|
/**
|
|
* In case the ticket_msg was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ticket_msgUpdateInput, Prisma.ticket_msgUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ticket_msg delete
|
|
*/
|
|
export type ticket_msgDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which ticket_msg to delete.
|
|
*/
|
|
where: Prisma.ticket_msgWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ticket_msg deleteMany
|
|
*/
|
|
export type ticket_msgDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ticket_msgs to delete
|
|
*/
|
|
where?: Prisma.ticket_msgWhereInput
|
|
/**
|
|
* Limit how many ticket_msgs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ticket_msg without action
|
|
*/
|
|
export type ticket_msgDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ticket_msg
|
|
*/
|
|
select?: Prisma.ticket_msgSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ticket_msg
|
|
*/
|
|
omit?: Prisma.ticket_msgOmit<ExtArgs> | null
|
|
}
|