procbay-schema 1.0.171 → 1.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/schema.prisma +4 -5
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2900 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
- package/src/prisma/index.d.ts +286683 -0
- package/src/prisma/index.js +2929 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3820 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2862 -0
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,1789 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports the `TicketHistory` model and its related types.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums.ts"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model TicketHistory
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type TicketHistoryModel = runtime.Types.Result.DefaultSelection<Prisma.$TicketHistoryPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateTicketHistory = {
|
|
22
|
-
_count: TicketHistoryCountAggregateOutputType | null
|
|
23
|
-
_avg: TicketHistoryAvgAggregateOutputType | null
|
|
24
|
-
_sum: TicketHistorySumAggregateOutputType | null
|
|
25
|
-
_min: TicketHistoryMinAggregateOutputType | null
|
|
26
|
-
_max: TicketHistoryMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type TicketHistoryAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
ticket_id: number | null
|
|
32
|
-
assigned_to: number | null
|
|
33
|
-
assigned_by: number | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type TicketHistorySumAggregateOutputType = {
|
|
37
|
-
id: number | null
|
|
38
|
-
ticket_id: number | null
|
|
39
|
-
assigned_to: number | null
|
|
40
|
-
assigned_by: number | null
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type TicketHistoryMinAggregateOutputType = {
|
|
44
|
-
id: number | null
|
|
45
|
-
uuid: string | null
|
|
46
|
-
ticket_id: number | null
|
|
47
|
-
assigned_to: number | null
|
|
48
|
-
assigned_by: number | null
|
|
49
|
-
status: $Enums.TicketStatusEnum | null
|
|
50
|
-
updated_at: Date | null
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export type TicketHistoryMaxAggregateOutputType = {
|
|
54
|
-
id: number | null
|
|
55
|
-
uuid: string | null
|
|
56
|
-
ticket_id: number | null
|
|
57
|
-
assigned_to: number | null
|
|
58
|
-
assigned_by: number | null
|
|
59
|
-
status: $Enums.TicketStatusEnum | null
|
|
60
|
-
updated_at: Date | null
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export type TicketHistoryCountAggregateOutputType = {
|
|
64
|
-
id: number
|
|
65
|
-
uuid: number
|
|
66
|
-
ticket_id: number
|
|
67
|
-
assigned_to: number
|
|
68
|
-
assigned_by: number
|
|
69
|
-
status: number
|
|
70
|
-
updated_at: number
|
|
71
|
-
_all: number
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export type TicketHistoryAvgAggregateInputType = {
|
|
76
|
-
id?: true
|
|
77
|
-
ticket_id?: true
|
|
78
|
-
assigned_to?: true
|
|
79
|
-
assigned_by?: true
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type TicketHistorySumAggregateInputType = {
|
|
83
|
-
id?: true
|
|
84
|
-
ticket_id?: true
|
|
85
|
-
assigned_to?: true
|
|
86
|
-
assigned_by?: true
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export type TicketHistoryMinAggregateInputType = {
|
|
90
|
-
id?: true
|
|
91
|
-
uuid?: true
|
|
92
|
-
ticket_id?: true
|
|
93
|
-
assigned_to?: true
|
|
94
|
-
assigned_by?: true
|
|
95
|
-
status?: true
|
|
96
|
-
updated_at?: true
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export type TicketHistoryMaxAggregateInputType = {
|
|
100
|
-
id?: true
|
|
101
|
-
uuid?: true
|
|
102
|
-
ticket_id?: true
|
|
103
|
-
assigned_to?: true
|
|
104
|
-
assigned_by?: true
|
|
105
|
-
status?: true
|
|
106
|
-
updated_at?: true
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export type TicketHistoryCountAggregateInputType = {
|
|
110
|
-
id?: true
|
|
111
|
-
uuid?: true
|
|
112
|
-
ticket_id?: true
|
|
113
|
-
assigned_to?: true
|
|
114
|
-
assigned_by?: true
|
|
115
|
-
status?: true
|
|
116
|
-
updated_at?: true
|
|
117
|
-
_all?: true
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export type TicketHistoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
121
|
-
/**
|
|
122
|
-
* Filter which TicketHistory to aggregate.
|
|
123
|
-
*/
|
|
124
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
125
|
-
/**
|
|
126
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
127
|
-
*
|
|
128
|
-
* Determine the order of TicketHistories to fetch.
|
|
129
|
-
*/
|
|
130
|
-
orderBy?: Prisma.TicketHistoryOrderByWithRelationInput | Prisma.TicketHistoryOrderByWithRelationInput[]
|
|
131
|
-
/**
|
|
132
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
133
|
-
*
|
|
134
|
-
* Sets the start position
|
|
135
|
-
*/
|
|
136
|
-
cursor?: Prisma.TicketHistoryWhereUniqueInput
|
|
137
|
-
/**
|
|
138
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
139
|
-
*
|
|
140
|
-
* Take `±n` TicketHistories from the position of the cursor.
|
|
141
|
-
*/
|
|
142
|
-
take?: number
|
|
143
|
-
/**
|
|
144
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
145
|
-
*
|
|
146
|
-
* Skip the first `n` TicketHistories.
|
|
147
|
-
*/
|
|
148
|
-
skip?: number
|
|
149
|
-
/**
|
|
150
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
-
*
|
|
152
|
-
* Count returned TicketHistories
|
|
153
|
-
**/
|
|
154
|
-
_count?: true | TicketHistoryCountAggregateInputType
|
|
155
|
-
/**
|
|
156
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
-
*
|
|
158
|
-
* Select which fields to average
|
|
159
|
-
**/
|
|
160
|
-
_avg?: TicketHistoryAvgAggregateInputType
|
|
161
|
-
/**
|
|
162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
-
*
|
|
164
|
-
* Select which fields to sum
|
|
165
|
-
**/
|
|
166
|
-
_sum?: TicketHistorySumAggregateInputType
|
|
167
|
-
/**
|
|
168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
-
*
|
|
170
|
-
* Select which fields to find the minimum value
|
|
171
|
-
**/
|
|
172
|
-
_min?: TicketHistoryMinAggregateInputType
|
|
173
|
-
/**
|
|
174
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
-
*
|
|
176
|
-
* Select which fields to find the maximum value
|
|
177
|
-
**/
|
|
178
|
-
_max?: TicketHistoryMaxAggregateInputType
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export type GetTicketHistoryAggregateType<T extends TicketHistoryAggregateArgs> = {
|
|
182
|
-
[P in keyof T & keyof AggregateTicketHistory]: P extends '_count' | 'count'
|
|
183
|
-
? T[P] extends true
|
|
184
|
-
? number
|
|
185
|
-
: Prisma.GetScalarType<T[P], AggregateTicketHistory[P]>
|
|
186
|
-
: Prisma.GetScalarType<T[P], AggregateTicketHistory[P]>
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export type TicketHistoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
193
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
194
|
-
orderBy?: Prisma.TicketHistoryOrderByWithAggregationInput | Prisma.TicketHistoryOrderByWithAggregationInput[]
|
|
195
|
-
by: Prisma.TicketHistoryScalarFieldEnum[] | Prisma.TicketHistoryScalarFieldEnum
|
|
196
|
-
having?: Prisma.TicketHistoryScalarWhereWithAggregatesInput
|
|
197
|
-
take?: number
|
|
198
|
-
skip?: number
|
|
199
|
-
_count?: TicketHistoryCountAggregateInputType | true
|
|
200
|
-
_avg?: TicketHistoryAvgAggregateInputType
|
|
201
|
-
_sum?: TicketHistorySumAggregateInputType
|
|
202
|
-
_min?: TicketHistoryMinAggregateInputType
|
|
203
|
-
_max?: TicketHistoryMaxAggregateInputType
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
export type TicketHistoryGroupByOutputType = {
|
|
207
|
-
id: number
|
|
208
|
-
uuid: string | null
|
|
209
|
-
ticket_id: number | null
|
|
210
|
-
assigned_to: number | null
|
|
211
|
-
assigned_by: number | null
|
|
212
|
-
status: $Enums.TicketStatusEnum
|
|
213
|
-
updated_at: Date
|
|
214
|
-
_count: TicketHistoryCountAggregateOutputType | null
|
|
215
|
-
_avg: TicketHistoryAvgAggregateOutputType | null
|
|
216
|
-
_sum: TicketHistorySumAggregateOutputType | null
|
|
217
|
-
_min: TicketHistoryMinAggregateOutputType | null
|
|
218
|
-
_max: TicketHistoryMaxAggregateOutputType | null
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
export type GetTicketHistoryGroupByPayload<T extends TicketHistoryGroupByArgs> = Prisma.PrismaPromise<
|
|
222
|
-
Array<
|
|
223
|
-
Prisma.PickEnumerable<TicketHistoryGroupByOutputType, T['by']> &
|
|
224
|
-
{
|
|
225
|
-
[P in ((keyof T) & (keyof TicketHistoryGroupByOutputType))]: P extends '_count'
|
|
226
|
-
? T[P] extends boolean
|
|
227
|
-
? number
|
|
228
|
-
: Prisma.GetScalarType<T[P], TicketHistoryGroupByOutputType[P]>
|
|
229
|
-
: Prisma.GetScalarType<T[P], TicketHistoryGroupByOutputType[P]>
|
|
230
|
-
}
|
|
231
|
-
>
|
|
232
|
-
>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
export type TicketHistoryWhereInput = {
|
|
237
|
-
AND?: Prisma.TicketHistoryWhereInput | Prisma.TicketHistoryWhereInput[]
|
|
238
|
-
OR?: Prisma.TicketHistoryWhereInput[]
|
|
239
|
-
NOT?: Prisma.TicketHistoryWhereInput | Prisma.TicketHistoryWhereInput[]
|
|
240
|
-
id?: Prisma.IntFilter<"TicketHistory"> | number
|
|
241
|
-
uuid?: Prisma.StringNullableFilter<"TicketHistory"> | string | null
|
|
242
|
-
ticket_id?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
243
|
-
assigned_to?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
244
|
-
assigned_by?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
245
|
-
status?: Prisma.EnumTicketStatusEnumFilter<"TicketHistory"> | $Enums.TicketStatusEnum
|
|
246
|
-
updated_at?: Prisma.DateTimeFilter<"TicketHistory"> | Date | string
|
|
247
|
-
support_ticket?: Prisma.XOR<Prisma.SupportTicketNullableScalarRelationFilter, Prisma.SupportTicketWhereInput> | null
|
|
248
|
-
assigned_to_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
249
|
-
assigned_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export type TicketHistoryOrderByWithRelationInput = {
|
|
253
|
-
id?: Prisma.SortOrder
|
|
254
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
255
|
-
ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
256
|
-
assigned_to?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
257
|
-
assigned_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
258
|
-
status?: Prisma.SortOrder
|
|
259
|
-
updated_at?: Prisma.SortOrder
|
|
260
|
-
support_ticket?: Prisma.SupportTicketOrderByWithRelationInput
|
|
261
|
-
assigned_to_user?: Prisma.UserOrderByWithRelationInput
|
|
262
|
-
assigned_by_user?: Prisma.UserOrderByWithRelationInput
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
export type TicketHistoryWhereUniqueInput = Prisma.AtLeast<{
|
|
266
|
-
id?: number
|
|
267
|
-
uuid?: string
|
|
268
|
-
AND?: Prisma.TicketHistoryWhereInput | Prisma.TicketHistoryWhereInput[]
|
|
269
|
-
OR?: Prisma.TicketHistoryWhereInput[]
|
|
270
|
-
NOT?: Prisma.TicketHistoryWhereInput | Prisma.TicketHistoryWhereInput[]
|
|
271
|
-
ticket_id?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
272
|
-
assigned_to?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
273
|
-
assigned_by?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
274
|
-
status?: Prisma.EnumTicketStatusEnumFilter<"TicketHistory"> | $Enums.TicketStatusEnum
|
|
275
|
-
updated_at?: Prisma.DateTimeFilter<"TicketHistory"> | Date | string
|
|
276
|
-
support_ticket?: Prisma.XOR<Prisma.SupportTicketNullableScalarRelationFilter, Prisma.SupportTicketWhereInput> | null
|
|
277
|
-
assigned_to_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
278
|
-
assigned_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
279
|
-
}, "id" | "uuid">
|
|
280
|
-
|
|
281
|
-
export type TicketHistoryOrderByWithAggregationInput = {
|
|
282
|
-
id?: Prisma.SortOrder
|
|
283
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
284
|
-
ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
285
|
-
assigned_to?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
286
|
-
assigned_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
287
|
-
status?: Prisma.SortOrder
|
|
288
|
-
updated_at?: Prisma.SortOrder
|
|
289
|
-
_count?: Prisma.TicketHistoryCountOrderByAggregateInput
|
|
290
|
-
_avg?: Prisma.TicketHistoryAvgOrderByAggregateInput
|
|
291
|
-
_max?: Prisma.TicketHistoryMaxOrderByAggregateInput
|
|
292
|
-
_min?: Prisma.TicketHistoryMinOrderByAggregateInput
|
|
293
|
-
_sum?: Prisma.TicketHistorySumOrderByAggregateInput
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export type TicketHistoryScalarWhereWithAggregatesInput = {
|
|
297
|
-
AND?: Prisma.TicketHistoryScalarWhereWithAggregatesInput | Prisma.TicketHistoryScalarWhereWithAggregatesInput[]
|
|
298
|
-
OR?: Prisma.TicketHistoryScalarWhereWithAggregatesInput[]
|
|
299
|
-
NOT?: Prisma.TicketHistoryScalarWhereWithAggregatesInput | Prisma.TicketHistoryScalarWhereWithAggregatesInput[]
|
|
300
|
-
id?: Prisma.IntWithAggregatesFilter<"TicketHistory"> | number
|
|
301
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"TicketHistory"> | string | null
|
|
302
|
-
ticket_id?: Prisma.IntNullableWithAggregatesFilter<"TicketHistory"> | number | null
|
|
303
|
-
assigned_to?: Prisma.IntNullableWithAggregatesFilter<"TicketHistory"> | number | null
|
|
304
|
-
assigned_by?: Prisma.IntNullableWithAggregatesFilter<"TicketHistory"> | number | null
|
|
305
|
-
status?: Prisma.EnumTicketStatusEnumWithAggregatesFilter<"TicketHistory"> | $Enums.TicketStatusEnum
|
|
306
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"TicketHistory"> | Date | string
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export type TicketHistoryCreateInput = {
|
|
310
|
-
uuid?: string | null
|
|
311
|
-
status: $Enums.TicketStatusEnum
|
|
312
|
-
updated_at?: Date | string
|
|
313
|
-
support_ticket?: Prisma.SupportTicketCreateNestedOneWithoutTicket_historyInput
|
|
314
|
-
assigned_to_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_to_userInput
|
|
315
|
-
assigned_by_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_by_userInput
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export type TicketHistoryUncheckedCreateInput = {
|
|
319
|
-
id?: number
|
|
320
|
-
uuid?: string | null
|
|
321
|
-
ticket_id?: number | null
|
|
322
|
-
assigned_to?: number | null
|
|
323
|
-
assigned_by?: number | null
|
|
324
|
-
status: $Enums.TicketStatusEnum
|
|
325
|
-
updated_at?: Date | string
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export type TicketHistoryUpdateInput = {
|
|
329
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
330
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
331
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
332
|
-
support_ticket?: Prisma.SupportTicketUpdateOneWithoutTicket_historyNestedInput
|
|
333
|
-
assigned_to_user?: Prisma.UserUpdateOneWithoutTicket_assignment_to_userNestedInput
|
|
334
|
-
assigned_by_user?: Prisma.UserUpdateOneWithoutTicket_assignment_by_userNestedInput
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type TicketHistoryUncheckedUpdateInput = {
|
|
338
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
339
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
340
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
341
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
342
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
343
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
344
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
export type TicketHistoryCreateManyInput = {
|
|
348
|
-
id?: number
|
|
349
|
-
uuid?: string | null
|
|
350
|
-
ticket_id?: number | null
|
|
351
|
-
assigned_to?: number | null
|
|
352
|
-
assigned_by?: number | null
|
|
353
|
-
status: $Enums.TicketStatusEnum
|
|
354
|
-
updated_at?: Date | string
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
export type TicketHistoryUpdateManyMutationInput = {
|
|
358
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
359
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
360
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export type TicketHistoryUncheckedUpdateManyInput = {
|
|
364
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
365
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
366
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
367
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
368
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
369
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
370
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
export type TicketHistoryListRelationFilter = {
|
|
374
|
-
every?: Prisma.TicketHistoryWhereInput
|
|
375
|
-
some?: Prisma.TicketHistoryWhereInput
|
|
376
|
-
none?: Prisma.TicketHistoryWhereInput
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export type TicketHistoryOrderByRelationAggregateInput = {
|
|
380
|
-
_count?: Prisma.SortOrder
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
export type TicketHistoryCountOrderByAggregateInput = {
|
|
384
|
-
id?: Prisma.SortOrder
|
|
385
|
-
uuid?: Prisma.SortOrder
|
|
386
|
-
ticket_id?: Prisma.SortOrder
|
|
387
|
-
assigned_to?: Prisma.SortOrder
|
|
388
|
-
assigned_by?: Prisma.SortOrder
|
|
389
|
-
status?: Prisma.SortOrder
|
|
390
|
-
updated_at?: Prisma.SortOrder
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export type TicketHistoryAvgOrderByAggregateInput = {
|
|
394
|
-
id?: Prisma.SortOrder
|
|
395
|
-
ticket_id?: Prisma.SortOrder
|
|
396
|
-
assigned_to?: Prisma.SortOrder
|
|
397
|
-
assigned_by?: Prisma.SortOrder
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
export type TicketHistoryMaxOrderByAggregateInput = {
|
|
401
|
-
id?: Prisma.SortOrder
|
|
402
|
-
uuid?: Prisma.SortOrder
|
|
403
|
-
ticket_id?: Prisma.SortOrder
|
|
404
|
-
assigned_to?: Prisma.SortOrder
|
|
405
|
-
assigned_by?: Prisma.SortOrder
|
|
406
|
-
status?: Prisma.SortOrder
|
|
407
|
-
updated_at?: Prisma.SortOrder
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
export type TicketHistoryMinOrderByAggregateInput = {
|
|
411
|
-
id?: Prisma.SortOrder
|
|
412
|
-
uuid?: Prisma.SortOrder
|
|
413
|
-
ticket_id?: Prisma.SortOrder
|
|
414
|
-
assigned_to?: Prisma.SortOrder
|
|
415
|
-
assigned_by?: Prisma.SortOrder
|
|
416
|
-
status?: Prisma.SortOrder
|
|
417
|
-
updated_at?: Prisma.SortOrder
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
export type TicketHistorySumOrderByAggregateInput = {
|
|
421
|
-
id?: Prisma.SortOrder
|
|
422
|
-
ticket_id?: Prisma.SortOrder
|
|
423
|
-
assigned_to?: Prisma.SortOrder
|
|
424
|
-
assigned_by?: Prisma.SortOrder
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
export type TicketHistoryCreateNestedManyWithoutAssigned_by_userInput = {
|
|
428
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_by_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput[]
|
|
429
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput[]
|
|
430
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_by_userInputEnvelope
|
|
431
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
export type TicketHistoryCreateNestedManyWithoutAssigned_to_userInput = {
|
|
435
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_to_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput[]
|
|
436
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput[]
|
|
437
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_to_userInputEnvelope
|
|
438
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
export type TicketHistoryUncheckedCreateNestedManyWithoutAssigned_by_userInput = {
|
|
442
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_by_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput[]
|
|
443
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput[]
|
|
444
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_by_userInputEnvelope
|
|
445
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
export type TicketHistoryUncheckedCreateNestedManyWithoutAssigned_to_userInput = {
|
|
449
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_to_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput[]
|
|
450
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput[]
|
|
451
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_to_userInputEnvelope
|
|
452
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
export type TicketHistoryUpdateManyWithoutAssigned_by_userNestedInput = {
|
|
456
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_by_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput[]
|
|
457
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput[]
|
|
458
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_by_userInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_by_userInput[]
|
|
459
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_by_userInputEnvelope
|
|
460
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
461
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
462
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
463
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
464
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_by_userInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_by_userInput[]
|
|
465
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_by_userInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_by_userInput[]
|
|
466
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
export type TicketHistoryUpdateManyWithoutAssigned_to_userNestedInput = {
|
|
470
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_to_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput[]
|
|
471
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput[]
|
|
472
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_to_userInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_to_userInput[]
|
|
473
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_to_userInputEnvelope
|
|
474
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
475
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
476
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
477
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
478
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_to_userInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_to_userInput[]
|
|
479
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_to_userInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_to_userInput[]
|
|
480
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
export type TicketHistoryUncheckedUpdateManyWithoutAssigned_by_userNestedInput = {
|
|
484
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_by_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput[]
|
|
485
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_by_userInput[]
|
|
486
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_by_userInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_by_userInput[]
|
|
487
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_by_userInputEnvelope
|
|
488
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
489
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
490
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
491
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
492
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_by_userInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_by_userInput[]
|
|
493
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_by_userInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_by_userInput[]
|
|
494
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
export type TicketHistoryUncheckedUpdateManyWithoutAssigned_to_userNestedInput = {
|
|
498
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput> | Prisma.TicketHistoryCreateWithoutAssigned_to_userInput[] | Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput[]
|
|
499
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput | Prisma.TicketHistoryCreateOrConnectWithoutAssigned_to_userInput[]
|
|
500
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_to_userInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutAssigned_to_userInput[]
|
|
501
|
-
createMany?: Prisma.TicketHistoryCreateManyAssigned_to_userInputEnvelope
|
|
502
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
503
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
504
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
505
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
506
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_to_userInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutAssigned_to_userInput[]
|
|
507
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_to_userInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutAssigned_to_userInput[]
|
|
508
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
export type TicketHistoryCreateNestedManyWithoutSupport_ticketInput = {
|
|
512
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketHistoryCreateWithoutSupport_ticketInput[] | Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput[]
|
|
513
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput[]
|
|
514
|
-
createMany?: Prisma.TicketHistoryCreateManySupport_ticketInputEnvelope
|
|
515
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
export type TicketHistoryUncheckedCreateNestedManyWithoutSupport_ticketInput = {
|
|
519
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketHistoryCreateWithoutSupport_ticketInput[] | Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput[]
|
|
520
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput[]
|
|
521
|
-
createMany?: Prisma.TicketHistoryCreateManySupport_ticketInputEnvelope
|
|
522
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export type TicketHistoryUpdateManyWithoutSupport_ticketNestedInput = {
|
|
526
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketHistoryCreateWithoutSupport_ticketInput[] | Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput[]
|
|
527
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput[]
|
|
528
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutSupport_ticketInput[]
|
|
529
|
-
createMany?: Prisma.TicketHistoryCreateManySupport_ticketInputEnvelope
|
|
530
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
531
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
532
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
533
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
534
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutSupport_ticketInput[]
|
|
535
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutSupport_ticketInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutSupport_ticketInput[]
|
|
536
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
export type TicketHistoryUncheckedUpdateManyWithoutSupport_ticketNestedInput = {
|
|
540
|
-
create?: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketHistoryCreateWithoutSupport_ticketInput[] | Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput[]
|
|
541
|
-
connectOrCreate?: Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketHistoryCreateOrConnectWithoutSupport_ticketInput[]
|
|
542
|
-
upsert?: Prisma.TicketHistoryUpsertWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketHistoryUpsertWithWhereUniqueWithoutSupport_ticketInput[]
|
|
543
|
-
createMany?: Prisma.TicketHistoryCreateManySupport_ticketInputEnvelope
|
|
544
|
-
set?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
545
|
-
disconnect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
546
|
-
delete?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
547
|
-
connect?: Prisma.TicketHistoryWhereUniqueInput | Prisma.TicketHistoryWhereUniqueInput[]
|
|
548
|
-
update?: Prisma.TicketHistoryUpdateWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketHistoryUpdateWithWhereUniqueWithoutSupport_ticketInput[]
|
|
549
|
-
updateMany?: Prisma.TicketHistoryUpdateManyWithWhereWithoutSupport_ticketInput | Prisma.TicketHistoryUpdateManyWithWhereWithoutSupport_ticketInput[]
|
|
550
|
-
deleteMany?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export type TicketHistoryCreateWithoutAssigned_by_userInput = {
|
|
554
|
-
uuid?: string | null
|
|
555
|
-
status: $Enums.TicketStatusEnum
|
|
556
|
-
updated_at?: Date | string
|
|
557
|
-
support_ticket?: Prisma.SupportTicketCreateNestedOneWithoutTicket_historyInput
|
|
558
|
-
assigned_to_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_to_userInput
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export type TicketHistoryUncheckedCreateWithoutAssigned_by_userInput = {
|
|
562
|
-
id?: number
|
|
563
|
-
uuid?: string | null
|
|
564
|
-
ticket_id?: number | null
|
|
565
|
-
assigned_to?: number | null
|
|
566
|
-
status: $Enums.TicketStatusEnum
|
|
567
|
-
updated_at?: Date | string
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
export type TicketHistoryCreateOrConnectWithoutAssigned_by_userInput = {
|
|
571
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
572
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput>
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
export type TicketHistoryCreateManyAssigned_by_userInputEnvelope = {
|
|
576
|
-
data: Prisma.TicketHistoryCreateManyAssigned_by_userInput | Prisma.TicketHistoryCreateManyAssigned_by_userInput[]
|
|
577
|
-
skipDuplicates?: boolean
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
export type TicketHistoryCreateWithoutAssigned_to_userInput = {
|
|
581
|
-
uuid?: string | null
|
|
582
|
-
status: $Enums.TicketStatusEnum
|
|
583
|
-
updated_at?: Date | string
|
|
584
|
-
support_ticket?: Prisma.SupportTicketCreateNestedOneWithoutTicket_historyInput
|
|
585
|
-
assigned_by_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_by_userInput
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export type TicketHistoryUncheckedCreateWithoutAssigned_to_userInput = {
|
|
589
|
-
id?: number
|
|
590
|
-
uuid?: string | null
|
|
591
|
-
ticket_id?: number | null
|
|
592
|
-
assigned_by?: number | null
|
|
593
|
-
status: $Enums.TicketStatusEnum
|
|
594
|
-
updated_at?: Date | string
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
export type TicketHistoryCreateOrConnectWithoutAssigned_to_userInput = {
|
|
598
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
599
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput>
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
export type TicketHistoryCreateManyAssigned_to_userInputEnvelope = {
|
|
603
|
-
data: Prisma.TicketHistoryCreateManyAssigned_to_userInput | Prisma.TicketHistoryCreateManyAssigned_to_userInput[]
|
|
604
|
-
skipDuplicates?: boolean
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
export type TicketHistoryUpsertWithWhereUniqueWithoutAssigned_by_userInput = {
|
|
608
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
609
|
-
update: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedUpdateWithoutAssigned_by_userInput>
|
|
610
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_by_userInput>
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
export type TicketHistoryUpdateWithWhereUniqueWithoutAssigned_by_userInput = {
|
|
614
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
615
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutAssigned_by_userInput, Prisma.TicketHistoryUncheckedUpdateWithoutAssigned_by_userInput>
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
export type TicketHistoryUpdateManyWithWhereWithoutAssigned_by_userInput = {
|
|
619
|
-
where: Prisma.TicketHistoryScalarWhereInput
|
|
620
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateManyMutationInput, Prisma.TicketHistoryUncheckedUpdateManyWithoutAssigned_by_userInput>
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export type TicketHistoryScalarWhereInput = {
|
|
624
|
-
AND?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
625
|
-
OR?: Prisma.TicketHistoryScalarWhereInput[]
|
|
626
|
-
NOT?: Prisma.TicketHistoryScalarWhereInput | Prisma.TicketHistoryScalarWhereInput[]
|
|
627
|
-
id?: Prisma.IntFilter<"TicketHistory"> | number
|
|
628
|
-
uuid?: Prisma.StringNullableFilter<"TicketHistory"> | string | null
|
|
629
|
-
ticket_id?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
630
|
-
assigned_to?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
631
|
-
assigned_by?: Prisma.IntNullableFilter<"TicketHistory"> | number | null
|
|
632
|
-
status?: Prisma.EnumTicketStatusEnumFilter<"TicketHistory"> | $Enums.TicketStatusEnum
|
|
633
|
-
updated_at?: Prisma.DateTimeFilter<"TicketHistory"> | Date | string
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export type TicketHistoryUpsertWithWhereUniqueWithoutAssigned_to_userInput = {
|
|
637
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
638
|
-
update: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedUpdateWithoutAssigned_to_userInput>
|
|
639
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedCreateWithoutAssigned_to_userInput>
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
export type TicketHistoryUpdateWithWhereUniqueWithoutAssigned_to_userInput = {
|
|
643
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
644
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutAssigned_to_userInput, Prisma.TicketHistoryUncheckedUpdateWithoutAssigned_to_userInput>
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
export type TicketHistoryUpdateManyWithWhereWithoutAssigned_to_userInput = {
|
|
648
|
-
where: Prisma.TicketHistoryScalarWhereInput
|
|
649
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateManyMutationInput, Prisma.TicketHistoryUncheckedUpdateManyWithoutAssigned_to_userInput>
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export type TicketHistoryCreateWithoutSupport_ticketInput = {
|
|
653
|
-
uuid?: string | null
|
|
654
|
-
status: $Enums.TicketStatusEnum
|
|
655
|
-
updated_at?: Date | string
|
|
656
|
-
assigned_to_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_to_userInput
|
|
657
|
-
assigned_by_user?: Prisma.UserCreateNestedOneWithoutTicket_assignment_by_userInput
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
export type TicketHistoryUncheckedCreateWithoutSupport_ticketInput = {
|
|
661
|
-
id?: number
|
|
662
|
-
uuid?: string | null
|
|
663
|
-
assigned_to?: number | null
|
|
664
|
-
assigned_by?: number | null
|
|
665
|
-
status: $Enums.TicketStatusEnum
|
|
666
|
-
updated_at?: Date | string
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
export type TicketHistoryCreateOrConnectWithoutSupport_ticketInput = {
|
|
670
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
671
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput>
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
export type TicketHistoryCreateManySupport_ticketInputEnvelope = {
|
|
675
|
-
data: Prisma.TicketHistoryCreateManySupport_ticketInput | Prisma.TicketHistoryCreateManySupport_ticketInput[]
|
|
676
|
-
skipDuplicates?: boolean
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
export type TicketHistoryUpsertWithWhereUniqueWithoutSupport_ticketInput = {
|
|
680
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
681
|
-
update: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedUpdateWithoutSupport_ticketInput>
|
|
682
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedCreateWithoutSupport_ticketInput>
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
export type TicketHistoryUpdateWithWhereUniqueWithoutSupport_ticketInput = {
|
|
686
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
687
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateWithoutSupport_ticketInput, Prisma.TicketHistoryUncheckedUpdateWithoutSupport_ticketInput>
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
export type TicketHistoryUpdateManyWithWhereWithoutSupport_ticketInput = {
|
|
691
|
-
where: Prisma.TicketHistoryScalarWhereInput
|
|
692
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateManyMutationInput, Prisma.TicketHistoryUncheckedUpdateManyWithoutSupport_ticketInput>
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export type TicketHistoryCreateManyAssigned_by_userInput = {
|
|
696
|
-
id?: number
|
|
697
|
-
uuid?: string | null
|
|
698
|
-
ticket_id?: number | null
|
|
699
|
-
assigned_to?: number | null
|
|
700
|
-
status: $Enums.TicketStatusEnum
|
|
701
|
-
updated_at?: Date | string
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
export type TicketHistoryCreateManyAssigned_to_userInput = {
|
|
705
|
-
id?: number
|
|
706
|
-
uuid?: string | null
|
|
707
|
-
ticket_id?: number | null
|
|
708
|
-
assigned_by?: number | null
|
|
709
|
-
status: $Enums.TicketStatusEnum
|
|
710
|
-
updated_at?: Date | string
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
export type TicketHistoryUpdateWithoutAssigned_by_userInput = {
|
|
714
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
715
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
716
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
717
|
-
support_ticket?: Prisma.SupportTicketUpdateOneWithoutTicket_historyNestedInput
|
|
718
|
-
assigned_to_user?: Prisma.UserUpdateOneWithoutTicket_assignment_to_userNestedInput
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
export type TicketHistoryUncheckedUpdateWithoutAssigned_by_userInput = {
|
|
722
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
723
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
724
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
725
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
726
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
727
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
export type TicketHistoryUncheckedUpdateManyWithoutAssigned_by_userInput = {
|
|
731
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
732
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
733
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
734
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
735
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
736
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
export type TicketHistoryUpdateWithoutAssigned_to_userInput = {
|
|
740
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
741
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
742
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
743
|
-
support_ticket?: Prisma.SupportTicketUpdateOneWithoutTicket_historyNestedInput
|
|
744
|
-
assigned_by_user?: Prisma.UserUpdateOneWithoutTicket_assignment_by_userNestedInput
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
export type TicketHistoryUncheckedUpdateWithoutAssigned_to_userInput = {
|
|
748
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
749
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
750
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
751
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
752
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
753
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
export type TicketHistoryUncheckedUpdateManyWithoutAssigned_to_userInput = {
|
|
757
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
758
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
759
|
-
ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
760
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
761
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
762
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
export type TicketHistoryCreateManySupport_ticketInput = {
|
|
766
|
-
id?: number
|
|
767
|
-
uuid?: string | null
|
|
768
|
-
assigned_to?: number | null
|
|
769
|
-
assigned_by?: number | null
|
|
770
|
-
status: $Enums.TicketStatusEnum
|
|
771
|
-
updated_at?: Date | string
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
export type TicketHistoryUpdateWithoutSupport_ticketInput = {
|
|
775
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
776
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
777
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
778
|
-
assigned_to_user?: Prisma.UserUpdateOneWithoutTicket_assignment_to_userNestedInput
|
|
779
|
-
assigned_by_user?: Prisma.UserUpdateOneWithoutTicket_assignment_by_userNestedInput
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
export type TicketHistoryUncheckedUpdateWithoutSupport_ticketInput = {
|
|
783
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
784
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
785
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
786
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
787
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
788
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export type TicketHistoryUncheckedUpdateManyWithoutSupport_ticketInput = {
|
|
792
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
793
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
794
|
-
assigned_to?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
795
|
-
assigned_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
796
|
-
status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
|
|
797
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
export type TicketHistorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
803
|
-
id?: boolean
|
|
804
|
-
uuid?: boolean
|
|
805
|
-
ticket_id?: boolean
|
|
806
|
-
assigned_to?: boolean
|
|
807
|
-
assigned_by?: boolean
|
|
808
|
-
status?: boolean
|
|
809
|
-
updated_at?: boolean
|
|
810
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
811
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
812
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
813
|
-
}, ExtArgs["result"]["ticketHistory"]>
|
|
814
|
-
|
|
815
|
-
export type TicketHistorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
816
|
-
id?: boolean
|
|
817
|
-
uuid?: boolean
|
|
818
|
-
ticket_id?: boolean
|
|
819
|
-
assigned_to?: boolean
|
|
820
|
-
assigned_by?: boolean
|
|
821
|
-
status?: boolean
|
|
822
|
-
updated_at?: boolean
|
|
823
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
824
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
825
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
826
|
-
}, ExtArgs["result"]["ticketHistory"]>
|
|
827
|
-
|
|
828
|
-
export type TicketHistorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
829
|
-
id?: boolean
|
|
830
|
-
uuid?: boolean
|
|
831
|
-
ticket_id?: boolean
|
|
832
|
-
assigned_to?: boolean
|
|
833
|
-
assigned_by?: boolean
|
|
834
|
-
status?: boolean
|
|
835
|
-
updated_at?: boolean
|
|
836
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
837
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
838
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
839
|
-
}, ExtArgs["result"]["ticketHistory"]>
|
|
840
|
-
|
|
841
|
-
export type TicketHistorySelectScalar = {
|
|
842
|
-
id?: boolean
|
|
843
|
-
uuid?: boolean
|
|
844
|
-
ticket_id?: boolean
|
|
845
|
-
assigned_to?: boolean
|
|
846
|
-
assigned_by?: boolean
|
|
847
|
-
status?: boolean
|
|
848
|
-
updated_at?: boolean
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
export type TicketHistoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "ticket_id" | "assigned_to" | "assigned_by" | "status" | "updated_at", ExtArgs["result"]["ticketHistory"]>
|
|
852
|
-
export type TicketHistoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
853
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
854
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
855
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
856
|
-
}
|
|
857
|
-
export type TicketHistoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
858
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
859
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
860
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
861
|
-
}
|
|
862
|
-
export type TicketHistoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
863
|
-
support_ticket?: boolean | Prisma.TicketHistory$support_ticketArgs<ExtArgs>
|
|
864
|
-
assigned_to_user?: boolean | Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>
|
|
865
|
-
assigned_by_user?: boolean | Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
export type $TicketHistoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
869
|
-
name: "TicketHistory"
|
|
870
|
-
objects: {
|
|
871
|
-
support_ticket: Prisma.$SupportTicketPayload<ExtArgs> | null
|
|
872
|
-
assigned_to_user: Prisma.$UserPayload<ExtArgs> | null
|
|
873
|
-
assigned_by_user: Prisma.$UserPayload<ExtArgs> | null
|
|
874
|
-
}
|
|
875
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
876
|
-
id: number
|
|
877
|
-
uuid: string | null
|
|
878
|
-
ticket_id: number | null
|
|
879
|
-
assigned_to: number | null
|
|
880
|
-
assigned_by: number | null
|
|
881
|
-
status: $Enums.TicketStatusEnum
|
|
882
|
-
updated_at: Date
|
|
883
|
-
}, ExtArgs["result"]["ticketHistory"]>
|
|
884
|
-
composites: {}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export type TicketHistoryGetPayload<S extends boolean | null | undefined | TicketHistoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload, S>
|
|
888
|
-
|
|
889
|
-
export type TicketHistoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
890
|
-
Omit<TicketHistoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
891
|
-
select?: TicketHistoryCountAggregateInputType | true
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
export interface TicketHistoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
895
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TicketHistory'], meta: { name: 'TicketHistory' } }
|
|
896
|
-
/**
|
|
897
|
-
* Find zero or one TicketHistory that matches the filter.
|
|
898
|
-
* @param {TicketHistoryFindUniqueArgs} args - Arguments to find a TicketHistory
|
|
899
|
-
* @example
|
|
900
|
-
* // Get one TicketHistory
|
|
901
|
-
* const ticketHistory = await prisma.ticketHistory.findUnique({
|
|
902
|
-
* where: {
|
|
903
|
-
* // ... provide filter here
|
|
904
|
-
* }
|
|
905
|
-
* })
|
|
906
|
-
*/
|
|
907
|
-
findUnique<T extends TicketHistoryFindUniqueArgs>(args: Prisma.SelectSubset<T, TicketHistoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* Find one TicketHistory that matches the filter or throw an error with `error.code='P2025'`
|
|
911
|
-
* if no matches were found.
|
|
912
|
-
* @param {TicketHistoryFindUniqueOrThrowArgs} args - Arguments to find a TicketHistory
|
|
913
|
-
* @example
|
|
914
|
-
* // Get one TicketHistory
|
|
915
|
-
* const ticketHistory = await prisma.ticketHistory.findUniqueOrThrow({
|
|
916
|
-
* where: {
|
|
917
|
-
* // ... provide filter here
|
|
918
|
-
* }
|
|
919
|
-
* })
|
|
920
|
-
*/
|
|
921
|
-
findUniqueOrThrow<T extends TicketHistoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TicketHistoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* Find the first TicketHistory that matches the filter.
|
|
925
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
926
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
927
|
-
* @param {TicketHistoryFindFirstArgs} args - Arguments to find a TicketHistory
|
|
928
|
-
* @example
|
|
929
|
-
* // Get one TicketHistory
|
|
930
|
-
* const ticketHistory = await prisma.ticketHistory.findFirst({
|
|
931
|
-
* where: {
|
|
932
|
-
* // ... provide filter here
|
|
933
|
-
* }
|
|
934
|
-
* })
|
|
935
|
-
*/
|
|
936
|
-
findFirst<T extends TicketHistoryFindFirstArgs>(args?: Prisma.SelectSubset<T, TicketHistoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* Find the first TicketHistory that matches the filter or
|
|
940
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
941
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
942
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
943
|
-
* @param {TicketHistoryFindFirstOrThrowArgs} args - Arguments to find a TicketHistory
|
|
944
|
-
* @example
|
|
945
|
-
* // Get one TicketHistory
|
|
946
|
-
* const ticketHistory = await prisma.ticketHistory.findFirstOrThrow({
|
|
947
|
-
* where: {
|
|
948
|
-
* // ... provide filter here
|
|
949
|
-
* }
|
|
950
|
-
* })
|
|
951
|
-
*/
|
|
952
|
-
findFirstOrThrow<T extends TicketHistoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TicketHistoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* Find zero or more TicketHistories that matches the filter.
|
|
956
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
957
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
958
|
-
* @param {TicketHistoryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
959
|
-
* @example
|
|
960
|
-
* // Get all TicketHistories
|
|
961
|
-
* const ticketHistories = await prisma.ticketHistory.findMany()
|
|
962
|
-
*
|
|
963
|
-
* // Get first 10 TicketHistories
|
|
964
|
-
* const ticketHistories = await prisma.ticketHistory.findMany({ take: 10 })
|
|
965
|
-
*
|
|
966
|
-
* // Only select the `id`
|
|
967
|
-
* const ticketHistoryWithIdOnly = await prisma.ticketHistory.findMany({ select: { id: true } })
|
|
968
|
-
*
|
|
969
|
-
*/
|
|
970
|
-
findMany<T extends TicketHistoryFindManyArgs>(args?: Prisma.SelectSubset<T, TicketHistoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* Create a TicketHistory.
|
|
974
|
-
* @param {TicketHistoryCreateArgs} args - Arguments to create a TicketHistory.
|
|
975
|
-
* @example
|
|
976
|
-
* // Create one TicketHistory
|
|
977
|
-
* const TicketHistory = await prisma.ticketHistory.create({
|
|
978
|
-
* data: {
|
|
979
|
-
* // ... data to create a TicketHistory
|
|
980
|
-
* }
|
|
981
|
-
* })
|
|
982
|
-
*
|
|
983
|
-
*/
|
|
984
|
-
create<T extends TicketHistoryCreateArgs>(args: Prisma.SelectSubset<T, TicketHistoryCreateArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* Create many TicketHistories.
|
|
988
|
-
* @param {TicketHistoryCreateManyArgs} args - Arguments to create many TicketHistories.
|
|
989
|
-
* @example
|
|
990
|
-
* // Create many TicketHistories
|
|
991
|
-
* const ticketHistory = await prisma.ticketHistory.createMany({
|
|
992
|
-
* data: [
|
|
993
|
-
* // ... provide data here
|
|
994
|
-
* ]
|
|
995
|
-
* })
|
|
996
|
-
*
|
|
997
|
-
*/
|
|
998
|
-
createMany<T extends TicketHistoryCreateManyArgs>(args?: Prisma.SelectSubset<T, TicketHistoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* Create many TicketHistories and returns the data saved in the database.
|
|
1002
|
-
* @param {TicketHistoryCreateManyAndReturnArgs} args - Arguments to create many TicketHistories.
|
|
1003
|
-
* @example
|
|
1004
|
-
* // Create many TicketHistories
|
|
1005
|
-
* const ticketHistory = await prisma.ticketHistory.createManyAndReturn({
|
|
1006
|
-
* data: [
|
|
1007
|
-
* // ... provide data here
|
|
1008
|
-
* ]
|
|
1009
|
-
* })
|
|
1010
|
-
*
|
|
1011
|
-
* // Create many TicketHistories and only return the `id`
|
|
1012
|
-
* const ticketHistoryWithIdOnly = await prisma.ticketHistory.createManyAndReturn({
|
|
1013
|
-
* select: { id: true },
|
|
1014
|
-
* data: [
|
|
1015
|
-
* // ... provide data here
|
|
1016
|
-
* ]
|
|
1017
|
-
* })
|
|
1018
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1019
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1020
|
-
*
|
|
1021
|
-
*/
|
|
1022
|
-
createManyAndReturn<T extends TicketHistoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TicketHistoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* Delete a TicketHistory.
|
|
1026
|
-
* @param {TicketHistoryDeleteArgs} args - Arguments to delete one TicketHistory.
|
|
1027
|
-
* @example
|
|
1028
|
-
* // Delete one TicketHistory
|
|
1029
|
-
* const TicketHistory = await prisma.ticketHistory.delete({
|
|
1030
|
-
* where: {
|
|
1031
|
-
* // ... filter to delete one TicketHistory
|
|
1032
|
-
* }
|
|
1033
|
-
* })
|
|
1034
|
-
*
|
|
1035
|
-
*/
|
|
1036
|
-
delete<T extends TicketHistoryDeleteArgs>(args: Prisma.SelectSubset<T, TicketHistoryDeleteArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* Update one TicketHistory.
|
|
1040
|
-
* @param {TicketHistoryUpdateArgs} args - Arguments to update one TicketHistory.
|
|
1041
|
-
* @example
|
|
1042
|
-
* // Update one TicketHistory
|
|
1043
|
-
* const ticketHistory = await prisma.ticketHistory.update({
|
|
1044
|
-
* where: {
|
|
1045
|
-
* // ... provide filter here
|
|
1046
|
-
* },
|
|
1047
|
-
* data: {
|
|
1048
|
-
* // ... provide data here
|
|
1049
|
-
* }
|
|
1050
|
-
* })
|
|
1051
|
-
*
|
|
1052
|
-
*/
|
|
1053
|
-
update<T extends TicketHistoryUpdateArgs>(args: Prisma.SelectSubset<T, TicketHistoryUpdateArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* Delete zero or more TicketHistories.
|
|
1057
|
-
* @param {TicketHistoryDeleteManyArgs} args - Arguments to filter TicketHistories to delete.
|
|
1058
|
-
* @example
|
|
1059
|
-
* // Delete a few TicketHistories
|
|
1060
|
-
* const { count } = await prisma.ticketHistory.deleteMany({
|
|
1061
|
-
* where: {
|
|
1062
|
-
* // ... provide filter here
|
|
1063
|
-
* }
|
|
1064
|
-
* })
|
|
1065
|
-
*
|
|
1066
|
-
*/
|
|
1067
|
-
deleteMany<T extends TicketHistoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, TicketHistoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1068
|
-
|
|
1069
|
-
/**
|
|
1070
|
-
* Update zero or more TicketHistories.
|
|
1071
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1072
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1073
|
-
* @param {TicketHistoryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1074
|
-
* @example
|
|
1075
|
-
* // Update many TicketHistories
|
|
1076
|
-
* const ticketHistory = await prisma.ticketHistory.updateMany({
|
|
1077
|
-
* where: {
|
|
1078
|
-
* // ... provide filter here
|
|
1079
|
-
* },
|
|
1080
|
-
* data: {
|
|
1081
|
-
* // ... provide data here
|
|
1082
|
-
* }
|
|
1083
|
-
* })
|
|
1084
|
-
*
|
|
1085
|
-
*/
|
|
1086
|
-
updateMany<T extends TicketHistoryUpdateManyArgs>(args: Prisma.SelectSubset<T, TicketHistoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* Update zero or more TicketHistories and returns the data updated in the database.
|
|
1090
|
-
* @param {TicketHistoryUpdateManyAndReturnArgs} args - Arguments to update many TicketHistories.
|
|
1091
|
-
* @example
|
|
1092
|
-
* // Update many TicketHistories
|
|
1093
|
-
* const ticketHistory = await prisma.ticketHistory.updateManyAndReturn({
|
|
1094
|
-
* where: {
|
|
1095
|
-
* // ... provide filter here
|
|
1096
|
-
* },
|
|
1097
|
-
* data: [
|
|
1098
|
-
* // ... provide data here
|
|
1099
|
-
* ]
|
|
1100
|
-
* })
|
|
1101
|
-
*
|
|
1102
|
-
* // Update zero or more TicketHistories and only return the `id`
|
|
1103
|
-
* const ticketHistoryWithIdOnly = await prisma.ticketHistory.updateManyAndReturn({
|
|
1104
|
-
* select: { id: true },
|
|
1105
|
-
* where: {
|
|
1106
|
-
* // ... provide filter here
|
|
1107
|
-
* },
|
|
1108
|
-
* data: [
|
|
1109
|
-
* // ... provide data here
|
|
1110
|
-
* ]
|
|
1111
|
-
* })
|
|
1112
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1113
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1114
|
-
*
|
|
1115
|
-
*/
|
|
1116
|
-
updateManyAndReturn<T extends TicketHistoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TicketHistoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* Create or update one TicketHistory.
|
|
1120
|
-
* @param {TicketHistoryUpsertArgs} args - Arguments to update or create a TicketHistory.
|
|
1121
|
-
* @example
|
|
1122
|
-
* // Update or create a TicketHistory
|
|
1123
|
-
* const ticketHistory = await prisma.ticketHistory.upsert({
|
|
1124
|
-
* create: {
|
|
1125
|
-
* // ... data to create a TicketHistory
|
|
1126
|
-
* },
|
|
1127
|
-
* update: {
|
|
1128
|
-
* // ... in case it already exists, update
|
|
1129
|
-
* },
|
|
1130
|
-
* where: {
|
|
1131
|
-
* // ... the filter for the TicketHistory we want to update
|
|
1132
|
-
* }
|
|
1133
|
-
* })
|
|
1134
|
-
*/
|
|
1135
|
-
upsert<T extends TicketHistoryUpsertArgs>(args: Prisma.SelectSubset<T, TicketHistoryUpsertArgs<ExtArgs>>): Prisma.Prisma__TicketHistoryClient<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* Count the number of TicketHistories.
|
|
1140
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1141
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1142
|
-
* @param {TicketHistoryCountArgs} args - Arguments to filter TicketHistories to count.
|
|
1143
|
-
* @example
|
|
1144
|
-
* // Count the number of TicketHistories
|
|
1145
|
-
* const count = await prisma.ticketHistory.count({
|
|
1146
|
-
* where: {
|
|
1147
|
-
* // ... the filter for the TicketHistories we want to count
|
|
1148
|
-
* }
|
|
1149
|
-
* })
|
|
1150
|
-
**/
|
|
1151
|
-
count<T extends TicketHistoryCountArgs>(
|
|
1152
|
-
args?: Prisma.Subset<T, TicketHistoryCountArgs>,
|
|
1153
|
-
): Prisma.PrismaPromise<
|
|
1154
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1155
|
-
? T['select'] extends true
|
|
1156
|
-
? number
|
|
1157
|
-
: Prisma.GetScalarType<T['select'], TicketHistoryCountAggregateOutputType>
|
|
1158
|
-
: number
|
|
1159
|
-
>
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* Allows you to perform aggregations operations on a TicketHistory.
|
|
1163
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1164
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1165
|
-
* @param {TicketHistoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1166
|
-
* @example
|
|
1167
|
-
* // Ordered by age ascending
|
|
1168
|
-
* // Where email contains prisma.io
|
|
1169
|
-
* // Limited to the 10 users
|
|
1170
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1171
|
-
* _avg: {
|
|
1172
|
-
* age: true,
|
|
1173
|
-
* },
|
|
1174
|
-
* where: {
|
|
1175
|
-
* email: {
|
|
1176
|
-
* contains: "prisma.io",
|
|
1177
|
-
* },
|
|
1178
|
-
* },
|
|
1179
|
-
* orderBy: {
|
|
1180
|
-
* age: "asc",
|
|
1181
|
-
* },
|
|
1182
|
-
* take: 10,
|
|
1183
|
-
* })
|
|
1184
|
-
**/
|
|
1185
|
-
aggregate<T extends TicketHistoryAggregateArgs>(args: Prisma.Subset<T, TicketHistoryAggregateArgs>): Prisma.PrismaPromise<GetTicketHistoryAggregateType<T>>
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
* Group by TicketHistory.
|
|
1189
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1190
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1191
|
-
* @param {TicketHistoryGroupByArgs} args - Group by arguments.
|
|
1192
|
-
* @example
|
|
1193
|
-
* // Group by city, order by createdAt, get count
|
|
1194
|
-
* const result = await prisma.user.groupBy({
|
|
1195
|
-
* by: ['city', 'createdAt'],
|
|
1196
|
-
* orderBy: {
|
|
1197
|
-
* createdAt: true
|
|
1198
|
-
* },
|
|
1199
|
-
* _count: {
|
|
1200
|
-
* _all: true
|
|
1201
|
-
* },
|
|
1202
|
-
* })
|
|
1203
|
-
*
|
|
1204
|
-
**/
|
|
1205
|
-
groupBy<
|
|
1206
|
-
T extends TicketHistoryGroupByArgs,
|
|
1207
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1208
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1209
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1210
|
-
>,
|
|
1211
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1212
|
-
? { orderBy: TicketHistoryGroupByArgs['orderBy'] }
|
|
1213
|
-
: { orderBy?: TicketHistoryGroupByArgs['orderBy'] },
|
|
1214
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1215
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1216
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1217
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1218
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1219
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1220
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1221
|
-
? `Error: "by" must not be empty.`
|
|
1222
|
-
: HavingValid extends Prisma.False
|
|
1223
|
-
? {
|
|
1224
|
-
[P in HavingFields]: P extends ByFields
|
|
1225
|
-
? never
|
|
1226
|
-
: P extends string
|
|
1227
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1228
|
-
: [
|
|
1229
|
-
Error,
|
|
1230
|
-
'Field ',
|
|
1231
|
-
P,
|
|
1232
|
-
` in "having" needs to be provided in "by"`,
|
|
1233
|
-
]
|
|
1234
|
-
}[HavingFields]
|
|
1235
|
-
: 'take' extends Prisma.Keys<T>
|
|
1236
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1237
|
-
? ByValid extends Prisma.True
|
|
1238
|
-
? {}
|
|
1239
|
-
: {
|
|
1240
|
-
[P in OrderFields]: P extends ByFields
|
|
1241
|
-
? never
|
|
1242
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1243
|
-
}[OrderFields]
|
|
1244
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1245
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1246
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1247
|
-
? ByValid extends Prisma.True
|
|
1248
|
-
? {}
|
|
1249
|
-
: {
|
|
1250
|
-
[P in OrderFields]: P extends ByFields
|
|
1251
|
-
? never
|
|
1252
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1253
|
-
}[OrderFields]
|
|
1254
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1255
|
-
: ByValid extends Prisma.True
|
|
1256
|
-
? {}
|
|
1257
|
-
: {
|
|
1258
|
-
[P in OrderFields]: P extends ByFields
|
|
1259
|
-
? never
|
|
1260
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1261
|
-
}[OrderFields]
|
|
1262
|
-
>(args: Prisma.SubsetIntersection<T, TicketHistoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketHistoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1263
|
-
/**
|
|
1264
|
-
* Fields of the TicketHistory model
|
|
1265
|
-
*/
|
|
1266
|
-
readonly fields: TicketHistoryFieldRefs;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* The delegate class that acts as a "Promise-like" for TicketHistory.
|
|
1271
|
-
* Why is this prefixed with `Prisma__`?
|
|
1272
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1273
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1274
|
-
*/
|
|
1275
|
-
export interface Prisma__TicketHistoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1276
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1277
|
-
support_ticket<T extends Prisma.TicketHistory$support_ticketArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TicketHistory$support_ticketArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1278
|
-
assigned_to_user<T extends Prisma.TicketHistory$assigned_to_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TicketHistory$assigned_to_userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1279
|
-
assigned_by_user<T extends Prisma.TicketHistory$assigned_by_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TicketHistory$assigned_by_userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1280
|
-
/**
|
|
1281
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1282
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1283
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1284
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1285
|
-
*/
|
|
1286
|
-
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>
|
|
1287
|
-
/**
|
|
1288
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1289
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1290
|
-
* @returns A Promise for the completion of the callback.
|
|
1291
|
-
*/
|
|
1292
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1293
|
-
/**
|
|
1294
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1295
|
-
* resolved value cannot be modified from the callback.
|
|
1296
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1297
|
-
* @returns A Promise for the completion of the callback.
|
|
1298
|
-
*/
|
|
1299
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Fields of the TicketHistory model
|
|
1307
|
-
*/
|
|
1308
|
-
export interface TicketHistoryFieldRefs {
|
|
1309
|
-
readonly id: Prisma.FieldRef<"TicketHistory", 'Int'>
|
|
1310
|
-
readonly uuid: Prisma.FieldRef<"TicketHistory", 'String'>
|
|
1311
|
-
readonly ticket_id: Prisma.FieldRef<"TicketHistory", 'Int'>
|
|
1312
|
-
readonly assigned_to: Prisma.FieldRef<"TicketHistory", 'Int'>
|
|
1313
|
-
readonly assigned_by: Prisma.FieldRef<"TicketHistory", 'Int'>
|
|
1314
|
-
readonly status: Prisma.FieldRef<"TicketHistory", 'TicketStatusEnum'>
|
|
1315
|
-
readonly updated_at: Prisma.FieldRef<"TicketHistory", 'DateTime'>
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
// Custom InputTypes
|
|
1320
|
-
/**
|
|
1321
|
-
* TicketHistory findUnique
|
|
1322
|
-
*/
|
|
1323
|
-
export type TicketHistoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1324
|
-
/**
|
|
1325
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1326
|
-
*/
|
|
1327
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1328
|
-
/**
|
|
1329
|
-
* Omit specific fields from the TicketHistory
|
|
1330
|
-
*/
|
|
1331
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1332
|
-
/**
|
|
1333
|
-
* Choose, which related nodes to fetch as well
|
|
1334
|
-
*/
|
|
1335
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1336
|
-
/**
|
|
1337
|
-
* Filter, which TicketHistory to fetch.
|
|
1338
|
-
*/
|
|
1339
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
/**
|
|
1343
|
-
* TicketHistory findUniqueOrThrow
|
|
1344
|
-
*/
|
|
1345
|
-
export type TicketHistoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1346
|
-
/**
|
|
1347
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1348
|
-
*/
|
|
1349
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1350
|
-
/**
|
|
1351
|
-
* Omit specific fields from the TicketHistory
|
|
1352
|
-
*/
|
|
1353
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1354
|
-
/**
|
|
1355
|
-
* Choose, which related nodes to fetch as well
|
|
1356
|
-
*/
|
|
1357
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1358
|
-
/**
|
|
1359
|
-
* Filter, which TicketHistory to fetch.
|
|
1360
|
-
*/
|
|
1361
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* TicketHistory findFirst
|
|
1366
|
-
*/
|
|
1367
|
-
export type TicketHistoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1368
|
-
/**
|
|
1369
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1370
|
-
*/
|
|
1371
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1372
|
-
/**
|
|
1373
|
-
* Omit specific fields from the TicketHistory
|
|
1374
|
-
*/
|
|
1375
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1376
|
-
/**
|
|
1377
|
-
* Choose, which related nodes to fetch as well
|
|
1378
|
-
*/
|
|
1379
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1380
|
-
/**
|
|
1381
|
-
* Filter, which TicketHistory to fetch.
|
|
1382
|
-
*/
|
|
1383
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1384
|
-
/**
|
|
1385
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1386
|
-
*
|
|
1387
|
-
* Determine the order of TicketHistories to fetch.
|
|
1388
|
-
*/
|
|
1389
|
-
orderBy?: Prisma.TicketHistoryOrderByWithRelationInput | Prisma.TicketHistoryOrderByWithRelationInput[]
|
|
1390
|
-
/**
|
|
1391
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1392
|
-
*
|
|
1393
|
-
* Sets the position for searching for TicketHistories.
|
|
1394
|
-
*/
|
|
1395
|
-
cursor?: Prisma.TicketHistoryWhereUniqueInput
|
|
1396
|
-
/**
|
|
1397
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1398
|
-
*
|
|
1399
|
-
* Take `±n` TicketHistories from the position of the cursor.
|
|
1400
|
-
*/
|
|
1401
|
-
take?: number
|
|
1402
|
-
/**
|
|
1403
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1404
|
-
*
|
|
1405
|
-
* Skip the first `n` TicketHistories.
|
|
1406
|
-
*/
|
|
1407
|
-
skip?: number
|
|
1408
|
-
/**
|
|
1409
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1410
|
-
*
|
|
1411
|
-
* Filter by unique combinations of TicketHistories.
|
|
1412
|
-
*/
|
|
1413
|
-
distinct?: Prisma.TicketHistoryScalarFieldEnum | Prisma.TicketHistoryScalarFieldEnum[]
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* TicketHistory findFirstOrThrow
|
|
1418
|
-
*/
|
|
1419
|
-
export type TicketHistoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1420
|
-
/**
|
|
1421
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1422
|
-
*/
|
|
1423
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1424
|
-
/**
|
|
1425
|
-
* Omit specific fields from the TicketHistory
|
|
1426
|
-
*/
|
|
1427
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1428
|
-
/**
|
|
1429
|
-
* Choose, which related nodes to fetch as well
|
|
1430
|
-
*/
|
|
1431
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1432
|
-
/**
|
|
1433
|
-
* Filter, which TicketHistory to fetch.
|
|
1434
|
-
*/
|
|
1435
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1436
|
-
/**
|
|
1437
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1438
|
-
*
|
|
1439
|
-
* Determine the order of TicketHistories to fetch.
|
|
1440
|
-
*/
|
|
1441
|
-
orderBy?: Prisma.TicketHistoryOrderByWithRelationInput | Prisma.TicketHistoryOrderByWithRelationInput[]
|
|
1442
|
-
/**
|
|
1443
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1444
|
-
*
|
|
1445
|
-
* Sets the position for searching for TicketHistories.
|
|
1446
|
-
*/
|
|
1447
|
-
cursor?: Prisma.TicketHistoryWhereUniqueInput
|
|
1448
|
-
/**
|
|
1449
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1450
|
-
*
|
|
1451
|
-
* Take `±n` TicketHistories from the position of the cursor.
|
|
1452
|
-
*/
|
|
1453
|
-
take?: number
|
|
1454
|
-
/**
|
|
1455
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1456
|
-
*
|
|
1457
|
-
* Skip the first `n` TicketHistories.
|
|
1458
|
-
*/
|
|
1459
|
-
skip?: number
|
|
1460
|
-
/**
|
|
1461
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1462
|
-
*
|
|
1463
|
-
* Filter by unique combinations of TicketHistories.
|
|
1464
|
-
*/
|
|
1465
|
-
distinct?: Prisma.TicketHistoryScalarFieldEnum | Prisma.TicketHistoryScalarFieldEnum[]
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* TicketHistory findMany
|
|
1470
|
-
*/
|
|
1471
|
-
export type TicketHistoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1472
|
-
/**
|
|
1473
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1474
|
-
*/
|
|
1475
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1476
|
-
/**
|
|
1477
|
-
* Omit specific fields from the TicketHistory
|
|
1478
|
-
*/
|
|
1479
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1480
|
-
/**
|
|
1481
|
-
* Choose, which related nodes to fetch as well
|
|
1482
|
-
*/
|
|
1483
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1484
|
-
/**
|
|
1485
|
-
* Filter, which TicketHistories to fetch.
|
|
1486
|
-
*/
|
|
1487
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1488
|
-
/**
|
|
1489
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1490
|
-
*
|
|
1491
|
-
* Determine the order of TicketHistories to fetch.
|
|
1492
|
-
*/
|
|
1493
|
-
orderBy?: Prisma.TicketHistoryOrderByWithRelationInput | Prisma.TicketHistoryOrderByWithRelationInput[]
|
|
1494
|
-
/**
|
|
1495
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1496
|
-
*
|
|
1497
|
-
* Sets the position for listing TicketHistories.
|
|
1498
|
-
*/
|
|
1499
|
-
cursor?: Prisma.TicketHistoryWhereUniqueInput
|
|
1500
|
-
/**
|
|
1501
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1502
|
-
*
|
|
1503
|
-
* Take `±n` TicketHistories from the position of the cursor.
|
|
1504
|
-
*/
|
|
1505
|
-
take?: number
|
|
1506
|
-
/**
|
|
1507
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1508
|
-
*
|
|
1509
|
-
* Skip the first `n` TicketHistories.
|
|
1510
|
-
*/
|
|
1511
|
-
skip?: number
|
|
1512
|
-
/**
|
|
1513
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1514
|
-
*
|
|
1515
|
-
* Filter by unique combinations of TicketHistories.
|
|
1516
|
-
*/
|
|
1517
|
-
distinct?: Prisma.TicketHistoryScalarFieldEnum | Prisma.TicketHistoryScalarFieldEnum[]
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* TicketHistory create
|
|
1522
|
-
*/
|
|
1523
|
-
export type TicketHistoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1524
|
-
/**
|
|
1525
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1526
|
-
*/
|
|
1527
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1528
|
-
/**
|
|
1529
|
-
* Omit specific fields from the TicketHistory
|
|
1530
|
-
*/
|
|
1531
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1532
|
-
/**
|
|
1533
|
-
* Choose, which related nodes to fetch as well
|
|
1534
|
-
*/
|
|
1535
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1536
|
-
/**
|
|
1537
|
-
* The data needed to create a TicketHistory.
|
|
1538
|
-
*/
|
|
1539
|
-
data: Prisma.XOR<Prisma.TicketHistoryCreateInput, Prisma.TicketHistoryUncheckedCreateInput>
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
/**
|
|
1543
|
-
* TicketHistory createMany
|
|
1544
|
-
*/
|
|
1545
|
-
export type TicketHistoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1546
|
-
/**
|
|
1547
|
-
* The data used to create many TicketHistories.
|
|
1548
|
-
*/
|
|
1549
|
-
data: Prisma.TicketHistoryCreateManyInput | Prisma.TicketHistoryCreateManyInput[]
|
|
1550
|
-
skipDuplicates?: boolean
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* TicketHistory createManyAndReturn
|
|
1555
|
-
*/
|
|
1556
|
-
export type TicketHistoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1557
|
-
/**
|
|
1558
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1559
|
-
*/
|
|
1560
|
-
select?: Prisma.TicketHistorySelectCreateManyAndReturn<ExtArgs> | null
|
|
1561
|
-
/**
|
|
1562
|
-
* Omit specific fields from the TicketHistory
|
|
1563
|
-
*/
|
|
1564
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1565
|
-
/**
|
|
1566
|
-
* The data used to create many TicketHistories.
|
|
1567
|
-
*/
|
|
1568
|
-
data: Prisma.TicketHistoryCreateManyInput | Prisma.TicketHistoryCreateManyInput[]
|
|
1569
|
-
skipDuplicates?: boolean
|
|
1570
|
-
/**
|
|
1571
|
-
* Choose, which related nodes to fetch as well
|
|
1572
|
-
*/
|
|
1573
|
-
include?: Prisma.TicketHistoryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* TicketHistory update
|
|
1578
|
-
*/
|
|
1579
|
-
export type TicketHistoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1580
|
-
/**
|
|
1581
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1582
|
-
*/
|
|
1583
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1584
|
-
/**
|
|
1585
|
-
* Omit specific fields from the TicketHistory
|
|
1586
|
-
*/
|
|
1587
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1588
|
-
/**
|
|
1589
|
-
* Choose, which related nodes to fetch as well
|
|
1590
|
-
*/
|
|
1591
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1592
|
-
/**
|
|
1593
|
-
* The data needed to update a TicketHistory.
|
|
1594
|
-
*/
|
|
1595
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateInput, Prisma.TicketHistoryUncheckedUpdateInput>
|
|
1596
|
-
/**
|
|
1597
|
-
* Choose, which TicketHistory to update.
|
|
1598
|
-
*/
|
|
1599
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* TicketHistory updateMany
|
|
1604
|
-
*/
|
|
1605
|
-
export type TicketHistoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1606
|
-
/**
|
|
1607
|
-
* The data used to update TicketHistories.
|
|
1608
|
-
*/
|
|
1609
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateManyMutationInput, Prisma.TicketHistoryUncheckedUpdateManyInput>
|
|
1610
|
-
/**
|
|
1611
|
-
* Filter which TicketHistories to update
|
|
1612
|
-
*/
|
|
1613
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1614
|
-
/**
|
|
1615
|
-
* Limit how many TicketHistories to update.
|
|
1616
|
-
*/
|
|
1617
|
-
limit?: number
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
/**
|
|
1621
|
-
* TicketHistory updateManyAndReturn
|
|
1622
|
-
*/
|
|
1623
|
-
export type TicketHistoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1624
|
-
/**
|
|
1625
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1626
|
-
*/
|
|
1627
|
-
select?: Prisma.TicketHistorySelectUpdateManyAndReturn<ExtArgs> | null
|
|
1628
|
-
/**
|
|
1629
|
-
* Omit specific fields from the TicketHistory
|
|
1630
|
-
*/
|
|
1631
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1632
|
-
/**
|
|
1633
|
-
* The data used to update TicketHistories.
|
|
1634
|
-
*/
|
|
1635
|
-
data: Prisma.XOR<Prisma.TicketHistoryUpdateManyMutationInput, Prisma.TicketHistoryUncheckedUpdateManyInput>
|
|
1636
|
-
/**
|
|
1637
|
-
* Filter which TicketHistories to update
|
|
1638
|
-
*/
|
|
1639
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1640
|
-
/**
|
|
1641
|
-
* Limit how many TicketHistories to update.
|
|
1642
|
-
*/
|
|
1643
|
-
limit?: number
|
|
1644
|
-
/**
|
|
1645
|
-
* Choose, which related nodes to fetch as well
|
|
1646
|
-
*/
|
|
1647
|
-
include?: Prisma.TicketHistoryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* TicketHistory upsert
|
|
1652
|
-
*/
|
|
1653
|
-
export type TicketHistoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1654
|
-
/**
|
|
1655
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1656
|
-
*/
|
|
1657
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1658
|
-
/**
|
|
1659
|
-
* Omit specific fields from the TicketHistory
|
|
1660
|
-
*/
|
|
1661
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1662
|
-
/**
|
|
1663
|
-
* Choose, which related nodes to fetch as well
|
|
1664
|
-
*/
|
|
1665
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1666
|
-
/**
|
|
1667
|
-
* The filter to search for the TicketHistory to update in case it exists.
|
|
1668
|
-
*/
|
|
1669
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
1670
|
-
/**
|
|
1671
|
-
* In case the TicketHistory found by the `where` argument doesn't exist, create a new TicketHistory with this data.
|
|
1672
|
-
*/
|
|
1673
|
-
create: Prisma.XOR<Prisma.TicketHistoryCreateInput, Prisma.TicketHistoryUncheckedCreateInput>
|
|
1674
|
-
/**
|
|
1675
|
-
* In case the TicketHistory was found with the provided `where` argument, update it with this data.
|
|
1676
|
-
*/
|
|
1677
|
-
update: Prisma.XOR<Prisma.TicketHistoryUpdateInput, Prisma.TicketHistoryUncheckedUpdateInput>
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
/**
|
|
1681
|
-
* TicketHistory delete
|
|
1682
|
-
*/
|
|
1683
|
-
export type TicketHistoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1684
|
-
/**
|
|
1685
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1686
|
-
*/
|
|
1687
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1688
|
-
/**
|
|
1689
|
-
* Omit specific fields from the TicketHistory
|
|
1690
|
-
*/
|
|
1691
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1692
|
-
/**
|
|
1693
|
-
* Choose, which related nodes to fetch as well
|
|
1694
|
-
*/
|
|
1695
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1696
|
-
/**
|
|
1697
|
-
* Filter which TicketHistory to delete.
|
|
1698
|
-
*/
|
|
1699
|
-
where: Prisma.TicketHistoryWhereUniqueInput
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* TicketHistory deleteMany
|
|
1704
|
-
*/
|
|
1705
|
-
export type TicketHistoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1706
|
-
/**
|
|
1707
|
-
* Filter which TicketHistories to delete
|
|
1708
|
-
*/
|
|
1709
|
-
where?: Prisma.TicketHistoryWhereInput
|
|
1710
|
-
/**
|
|
1711
|
-
* Limit how many TicketHistories to delete.
|
|
1712
|
-
*/
|
|
1713
|
-
limit?: number
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
/**
|
|
1717
|
-
* TicketHistory.support_ticket
|
|
1718
|
-
*/
|
|
1719
|
-
export type TicketHistory$support_ticketArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1720
|
-
/**
|
|
1721
|
-
* Select specific fields to fetch from the SupportTicket
|
|
1722
|
-
*/
|
|
1723
|
-
select?: Prisma.SupportTicketSelect<ExtArgs> | null
|
|
1724
|
-
/**
|
|
1725
|
-
* Omit specific fields from the SupportTicket
|
|
1726
|
-
*/
|
|
1727
|
-
omit?: Prisma.SupportTicketOmit<ExtArgs> | null
|
|
1728
|
-
/**
|
|
1729
|
-
* Choose, which related nodes to fetch as well
|
|
1730
|
-
*/
|
|
1731
|
-
include?: Prisma.SupportTicketInclude<ExtArgs> | null
|
|
1732
|
-
where?: Prisma.SupportTicketWhereInput
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* TicketHistory.assigned_to_user
|
|
1737
|
-
*/
|
|
1738
|
-
export type TicketHistory$assigned_to_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1739
|
-
/**
|
|
1740
|
-
* Select specific fields to fetch from the User
|
|
1741
|
-
*/
|
|
1742
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1743
|
-
/**
|
|
1744
|
-
* Omit specific fields from the User
|
|
1745
|
-
*/
|
|
1746
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1747
|
-
/**
|
|
1748
|
-
* Choose, which related nodes to fetch as well
|
|
1749
|
-
*/
|
|
1750
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1751
|
-
where?: Prisma.UserWhereInput
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* TicketHistory.assigned_by_user
|
|
1756
|
-
*/
|
|
1757
|
-
export type TicketHistory$assigned_by_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1758
|
-
/**
|
|
1759
|
-
* Select specific fields to fetch from the User
|
|
1760
|
-
*/
|
|
1761
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1762
|
-
/**
|
|
1763
|
-
* Omit specific fields from the User
|
|
1764
|
-
*/
|
|
1765
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1766
|
-
/**
|
|
1767
|
-
* Choose, which related nodes to fetch as well
|
|
1768
|
-
*/
|
|
1769
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1770
|
-
where?: Prisma.UserWhereInput
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* TicketHistory without action
|
|
1775
|
-
*/
|
|
1776
|
-
export type TicketHistoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1777
|
-
/**
|
|
1778
|
-
* Select specific fields to fetch from the TicketHistory
|
|
1779
|
-
*/
|
|
1780
|
-
select?: Prisma.TicketHistorySelect<ExtArgs> | null
|
|
1781
|
-
/**
|
|
1782
|
-
* Omit specific fields from the TicketHistory
|
|
1783
|
-
*/
|
|
1784
|
-
omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
|
|
1785
|
-
/**
|
|
1786
|
-
* Choose, which related nodes to fetch as well
|
|
1787
|
-
*/
|
|
1788
|
-
include?: Prisma.TicketHistoryInclude<ExtArgs> | null
|
|
1789
|
-
}
|