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.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,2478 +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 `SupportTicket` 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 SupportTicket
17
- *
18
- */
19
- export type SupportTicketModel = runtime.Types.Result.DefaultSelection<Prisma.$SupportTicketPayload>
20
-
21
- export type AggregateSupportTicket = {
22
- _count: SupportTicketCountAggregateOutputType | null
23
- _avg: SupportTicketAvgAggregateOutputType | null
24
- _sum: SupportTicketSumAggregateOutputType | null
25
- _min: SupportTicketMinAggregateOutputType | null
26
- _max: SupportTicketMaxAggregateOutputType | null
27
- }
28
-
29
- export type SupportTicketAvgAggregateOutputType = {
30
- id: number | null
31
- vendor_id: number | null
32
- category_id: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type SupportTicketSumAggregateOutputType = {
39
- id: number | null
40
- vendor_id: number | null
41
- category_id: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type SupportTicketMinAggregateOutputType = {
48
- id: number | null
49
- uuid: string | null
50
- ticket_code: string | null
51
- vendor_id: number | null
52
- subject: string | null
53
- category_id: number | null
54
- priority: $Enums.TicketPriorityEnum | null
55
- description: string | null
56
- status: $Enums.TicketStatusEnum | null
57
- prefered_contact_method: $Enums.TicketContactMethodEnum | null
58
- is_active: boolean | null
59
- is_deleted: boolean | null
60
- created_at: Date | null
61
- created_by: number | null
62
- updated_at: Date | null
63
- updated_by: number | null
64
- deleted_at: Date | null
65
- deleted_by: number | null
66
- }
67
-
68
- export type SupportTicketMaxAggregateOutputType = {
69
- id: number | null
70
- uuid: string | null
71
- ticket_code: string | null
72
- vendor_id: number | null
73
- subject: string | null
74
- category_id: number | null
75
- priority: $Enums.TicketPriorityEnum | null
76
- description: string | null
77
- status: $Enums.TicketStatusEnum | null
78
- prefered_contact_method: $Enums.TicketContactMethodEnum | null
79
- is_active: boolean | null
80
- is_deleted: boolean | null
81
- created_at: Date | null
82
- created_by: number | null
83
- updated_at: Date | null
84
- updated_by: number | null
85
- deleted_at: Date | null
86
- deleted_by: number | null
87
- }
88
-
89
- export type SupportTicketCountAggregateOutputType = {
90
- id: number
91
- uuid: number
92
- ticket_code: number
93
- vendor_id: number
94
- subject: number
95
- category_id: number
96
- priority: number
97
- description: number
98
- attachments: number
99
- status: number
100
- prefered_contact_method: number
101
- is_active: number
102
- is_deleted: number
103
- created_at: number
104
- created_by: number
105
- updated_at: number
106
- updated_by: number
107
- deleted_at: number
108
- deleted_by: number
109
- _all: number
110
- }
111
-
112
-
113
- export type SupportTicketAvgAggregateInputType = {
114
- id?: true
115
- vendor_id?: true
116
- category_id?: true
117
- created_by?: true
118
- updated_by?: true
119
- deleted_by?: true
120
- }
121
-
122
- export type SupportTicketSumAggregateInputType = {
123
- id?: true
124
- vendor_id?: true
125
- category_id?: true
126
- created_by?: true
127
- updated_by?: true
128
- deleted_by?: true
129
- }
130
-
131
- export type SupportTicketMinAggregateInputType = {
132
- id?: true
133
- uuid?: true
134
- ticket_code?: true
135
- vendor_id?: true
136
- subject?: true
137
- category_id?: true
138
- priority?: true
139
- description?: true
140
- status?: true
141
- prefered_contact_method?: true
142
- is_active?: true
143
- is_deleted?: true
144
- created_at?: true
145
- created_by?: true
146
- updated_at?: true
147
- updated_by?: true
148
- deleted_at?: true
149
- deleted_by?: true
150
- }
151
-
152
- export type SupportTicketMaxAggregateInputType = {
153
- id?: true
154
- uuid?: true
155
- ticket_code?: true
156
- vendor_id?: true
157
- subject?: true
158
- category_id?: true
159
- priority?: true
160
- description?: true
161
- status?: true
162
- prefered_contact_method?: true
163
- is_active?: true
164
- is_deleted?: true
165
- created_at?: true
166
- created_by?: true
167
- updated_at?: true
168
- updated_by?: true
169
- deleted_at?: true
170
- deleted_by?: true
171
- }
172
-
173
- export type SupportTicketCountAggregateInputType = {
174
- id?: true
175
- uuid?: true
176
- ticket_code?: true
177
- vendor_id?: true
178
- subject?: true
179
- category_id?: true
180
- priority?: true
181
- description?: true
182
- attachments?: true
183
- status?: true
184
- prefered_contact_method?: true
185
- is_active?: true
186
- is_deleted?: true
187
- created_at?: true
188
- created_by?: true
189
- updated_at?: true
190
- updated_by?: true
191
- deleted_at?: true
192
- deleted_by?: true
193
- _all?: true
194
- }
195
-
196
- export type SupportTicketAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
197
- /**
198
- * Filter which SupportTicket to aggregate.
199
- */
200
- where?: Prisma.SupportTicketWhereInput
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
203
- *
204
- * Determine the order of SupportTickets to fetch.
205
- */
206
- orderBy?: Prisma.SupportTicketOrderByWithRelationInput | Prisma.SupportTicketOrderByWithRelationInput[]
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
209
- *
210
- * Sets the start position
211
- */
212
- cursor?: Prisma.SupportTicketWhereUniqueInput
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
215
- *
216
- * Take `±n` SupportTickets from the position of the cursor.
217
- */
218
- take?: number
219
- /**
220
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
221
- *
222
- * Skip the first `n` SupportTickets.
223
- */
224
- skip?: number
225
- /**
226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
227
- *
228
- * Count returned SupportTickets
229
- **/
230
- _count?: true | SupportTicketCountAggregateInputType
231
- /**
232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
233
- *
234
- * Select which fields to average
235
- **/
236
- _avg?: SupportTicketAvgAggregateInputType
237
- /**
238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
- *
240
- * Select which fields to sum
241
- **/
242
- _sum?: SupportTicketSumAggregateInputType
243
- /**
244
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
245
- *
246
- * Select which fields to find the minimum value
247
- **/
248
- _min?: SupportTicketMinAggregateInputType
249
- /**
250
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
251
- *
252
- * Select which fields to find the maximum value
253
- **/
254
- _max?: SupportTicketMaxAggregateInputType
255
- }
256
-
257
- export type GetSupportTicketAggregateType<T extends SupportTicketAggregateArgs> = {
258
- [P in keyof T & keyof AggregateSupportTicket]: P extends '_count' | 'count'
259
- ? T[P] extends true
260
- ? number
261
- : Prisma.GetScalarType<T[P], AggregateSupportTicket[P]>
262
- : Prisma.GetScalarType<T[P], AggregateSupportTicket[P]>
263
- }
264
-
265
-
266
-
267
-
268
- export type SupportTicketGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
269
- where?: Prisma.SupportTicketWhereInput
270
- orderBy?: Prisma.SupportTicketOrderByWithAggregationInput | Prisma.SupportTicketOrderByWithAggregationInput[]
271
- by: Prisma.SupportTicketScalarFieldEnum[] | Prisma.SupportTicketScalarFieldEnum
272
- having?: Prisma.SupportTicketScalarWhereWithAggregatesInput
273
- take?: number
274
- skip?: number
275
- _count?: SupportTicketCountAggregateInputType | true
276
- _avg?: SupportTicketAvgAggregateInputType
277
- _sum?: SupportTicketSumAggregateInputType
278
- _min?: SupportTicketMinAggregateInputType
279
- _max?: SupportTicketMaxAggregateInputType
280
- }
281
-
282
- export type SupportTicketGroupByOutputType = {
283
- id: number
284
- uuid: string | null
285
- ticket_code: string | null
286
- vendor_id: number | null
287
- subject: string | null
288
- category_id: number | null
289
- priority: $Enums.TicketPriorityEnum
290
- description: string | null
291
- attachments: runtime.JsonValue | null
292
- status: $Enums.TicketStatusEnum
293
- prefered_contact_method: $Enums.TicketContactMethodEnum
294
- is_active: boolean | null
295
- is_deleted: boolean | null
296
- created_at: Date | null
297
- created_by: number | null
298
- updated_at: Date | null
299
- updated_by: number | null
300
- deleted_at: Date | null
301
- deleted_by: number | null
302
- _count: SupportTicketCountAggregateOutputType | null
303
- _avg: SupportTicketAvgAggregateOutputType | null
304
- _sum: SupportTicketSumAggregateOutputType | null
305
- _min: SupportTicketMinAggregateOutputType | null
306
- _max: SupportTicketMaxAggregateOutputType | null
307
- }
308
-
309
- export type GetSupportTicketGroupByPayload<T extends SupportTicketGroupByArgs> = Prisma.PrismaPromise<
310
- Array<
311
- Prisma.PickEnumerable<SupportTicketGroupByOutputType, T['by']> &
312
- {
313
- [P in ((keyof T) & (keyof SupportTicketGroupByOutputType))]: P extends '_count'
314
- ? T[P] extends boolean
315
- ? number
316
- : Prisma.GetScalarType<T[P], SupportTicketGroupByOutputType[P]>
317
- : Prisma.GetScalarType<T[P], SupportTicketGroupByOutputType[P]>
318
- }
319
- >
320
- >
321
-
322
-
323
-
324
- export type SupportTicketWhereInput = {
325
- AND?: Prisma.SupportTicketWhereInput | Prisma.SupportTicketWhereInput[]
326
- OR?: Prisma.SupportTicketWhereInput[]
327
- NOT?: Prisma.SupportTicketWhereInput | Prisma.SupportTicketWhereInput[]
328
- id?: Prisma.IntFilter<"SupportTicket"> | number
329
- uuid?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
330
- ticket_code?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
331
- vendor_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
332
- subject?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
333
- category_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
334
- priority?: Prisma.EnumTicketPriorityEnumFilter<"SupportTicket"> | $Enums.TicketPriorityEnum
335
- description?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
336
- attachments?: Prisma.JsonNullableFilter<"SupportTicket">
337
- status?: Prisma.EnumTicketStatusEnumFilter<"SupportTicket"> | $Enums.TicketStatusEnum
338
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFilter<"SupportTicket"> | $Enums.TicketContactMethodEnum
339
- is_active?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
340
- is_deleted?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
341
- created_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
342
- created_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
343
- updated_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
344
- updated_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
345
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
346
- deleted_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
347
- category?: Prisma.XOR<Prisma.SupportCategoryNullableScalarRelationFilter, Prisma.SupportCategoryWhereInput> | null
348
- assigned_tickets?: Prisma.TicketAssignmentListRelationFilter
349
- ticket_history?: Prisma.TicketHistoryListRelationFilter
350
- ticket_replies?: Prisma.TicketReplyListRelationFilter
351
- }
352
-
353
- export type SupportTicketOrderByWithRelationInput = {
354
- id?: Prisma.SortOrder
355
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
356
- ticket_code?: Prisma.SortOrderInput | Prisma.SortOrder
357
- vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
358
- subject?: Prisma.SortOrderInput | Prisma.SortOrder
359
- category_id?: Prisma.SortOrderInput | Prisma.SortOrder
360
- priority?: Prisma.SortOrder
361
- description?: Prisma.SortOrderInput | Prisma.SortOrder
362
- attachments?: Prisma.SortOrderInput | Prisma.SortOrder
363
- status?: Prisma.SortOrder
364
- prefered_contact_method?: Prisma.SortOrder
365
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
366
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
367
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
368
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
369
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
370
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
371
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
372
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
373
- category?: Prisma.SupportCategoryOrderByWithRelationInput
374
- assigned_tickets?: Prisma.TicketAssignmentOrderByRelationAggregateInput
375
- ticket_history?: Prisma.TicketHistoryOrderByRelationAggregateInput
376
- ticket_replies?: Prisma.TicketReplyOrderByRelationAggregateInput
377
- }
378
-
379
- export type SupportTicketWhereUniqueInput = Prisma.AtLeast<{
380
- id?: number
381
- uuid?: string
382
- ticket_code?: string
383
- AND?: Prisma.SupportTicketWhereInput | Prisma.SupportTicketWhereInput[]
384
- OR?: Prisma.SupportTicketWhereInput[]
385
- NOT?: Prisma.SupportTicketWhereInput | Prisma.SupportTicketWhereInput[]
386
- vendor_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
387
- subject?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
388
- category_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
389
- priority?: Prisma.EnumTicketPriorityEnumFilter<"SupportTicket"> | $Enums.TicketPriorityEnum
390
- description?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
391
- attachments?: Prisma.JsonNullableFilter<"SupportTicket">
392
- status?: Prisma.EnumTicketStatusEnumFilter<"SupportTicket"> | $Enums.TicketStatusEnum
393
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFilter<"SupportTicket"> | $Enums.TicketContactMethodEnum
394
- is_active?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
395
- is_deleted?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
396
- created_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
397
- created_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
398
- updated_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
399
- updated_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
400
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
401
- deleted_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
402
- category?: Prisma.XOR<Prisma.SupportCategoryNullableScalarRelationFilter, Prisma.SupportCategoryWhereInput> | null
403
- assigned_tickets?: Prisma.TicketAssignmentListRelationFilter
404
- ticket_history?: Prisma.TicketHistoryListRelationFilter
405
- ticket_replies?: Prisma.TicketReplyListRelationFilter
406
- }, "id" | "uuid" | "ticket_code">
407
-
408
- export type SupportTicketOrderByWithAggregationInput = {
409
- id?: Prisma.SortOrder
410
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
411
- ticket_code?: Prisma.SortOrderInput | Prisma.SortOrder
412
- vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
413
- subject?: Prisma.SortOrderInput | Prisma.SortOrder
414
- category_id?: Prisma.SortOrderInput | Prisma.SortOrder
415
- priority?: Prisma.SortOrder
416
- description?: Prisma.SortOrderInput | Prisma.SortOrder
417
- attachments?: Prisma.SortOrderInput | Prisma.SortOrder
418
- status?: Prisma.SortOrder
419
- prefered_contact_method?: Prisma.SortOrder
420
- is_active?: Prisma.SortOrderInput | Prisma.SortOrder
421
- is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
422
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
423
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
424
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
425
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
426
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
427
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
428
- _count?: Prisma.SupportTicketCountOrderByAggregateInput
429
- _avg?: Prisma.SupportTicketAvgOrderByAggregateInput
430
- _max?: Prisma.SupportTicketMaxOrderByAggregateInput
431
- _min?: Prisma.SupportTicketMinOrderByAggregateInput
432
- _sum?: Prisma.SupportTicketSumOrderByAggregateInput
433
- }
434
-
435
- export type SupportTicketScalarWhereWithAggregatesInput = {
436
- AND?: Prisma.SupportTicketScalarWhereWithAggregatesInput | Prisma.SupportTicketScalarWhereWithAggregatesInput[]
437
- OR?: Prisma.SupportTicketScalarWhereWithAggregatesInput[]
438
- NOT?: Prisma.SupportTicketScalarWhereWithAggregatesInput | Prisma.SupportTicketScalarWhereWithAggregatesInput[]
439
- id?: Prisma.IntWithAggregatesFilter<"SupportTicket"> | number
440
- uuid?: Prisma.StringNullableWithAggregatesFilter<"SupportTicket"> | string | null
441
- ticket_code?: Prisma.StringNullableWithAggregatesFilter<"SupportTicket"> | string | null
442
- vendor_id?: Prisma.IntNullableWithAggregatesFilter<"SupportTicket"> | number | null
443
- subject?: Prisma.StringNullableWithAggregatesFilter<"SupportTicket"> | string | null
444
- category_id?: Prisma.IntNullableWithAggregatesFilter<"SupportTicket"> | number | null
445
- priority?: Prisma.EnumTicketPriorityEnumWithAggregatesFilter<"SupportTicket"> | $Enums.TicketPriorityEnum
446
- description?: Prisma.StringNullableWithAggregatesFilter<"SupportTicket"> | string | null
447
- attachments?: Prisma.JsonNullableWithAggregatesFilter<"SupportTicket">
448
- status?: Prisma.EnumTicketStatusEnumWithAggregatesFilter<"SupportTicket"> | $Enums.TicketStatusEnum
449
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumWithAggregatesFilter<"SupportTicket"> | $Enums.TicketContactMethodEnum
450
- is_active?: Prisma.BoolNullableWithAggregatesFilter<"SupportTicket"> | boolean | null
451
- is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"SupportTicket"> | boolean | null
452
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SupportTicket"> | Date | string | null
453
- created_by?: Prisma.IntNullableWithAggregatesFilter<"SupportTicket"> | number | null
454
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SupportTicket"> | Date | string | null
455
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"SupportTicket"> | number | null
456
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SupportTicket"> | Date | string | null
457
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"SupportTicket"> | number | null
458
- }
459
-
460
- export type SupportTicketCreateInput = {
461
- uuid?: string | null
462
- ticket_code?: string | null
463
- vendor_id?: number | null
464
- subject?: string | null
465
- priority?: $Enums.TicketPriorityEnum
466
- description?: string | null
467
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
468
- status?: $Enums.TicketStatusEnum
469
- prefered_contact_method: $Enums.TicketContactMethodEnum
470
- is_active?: boolean | null
471
- is_deleted?: boolean | null
472
- created_at?: Date | string | null
473
- created_by?: number | null
474
- updated_at?: Date | string | null
475
- updated_by?: number | null
476
- deleted_at?: Date | string | null
477
- deleted_by?: number | null
478
- category?: Prisma.SupportCategoryCreateNestedOneWithoutTicketsInput
479
- assigned_tickets?: Prisma.TicketAssignmentCreateNestedManyWithoutSupport_ticketInput
480
- ticket_history?: Prisma.TicketHistoryCreateNestedManyWithoutSupport_ticketInput
481
- ticket_replies?: Prisma.TicketReplyCreateNestedManyWithoutSupport_ticketInput
482
- }
483
-
484
- export type SupportTicketUncheckedCreateInput = {
485
- id?: number
486
- uuid?: string | null
487
- ticket_code?: string | null
488
- vendor_id?: number | null
489
- subject?: string | null
490
- category_id?: number | null
491
- priority?: $Enums.TicketPriorityEnum
492
- description?: string | null
493
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
494
- status?: $Enums.TicketStatusEnum
495
- prefered_contact_method: $Enums.TicketContactMethodEnum
496
- is_active?: boolean | null
497
- is_deleted?: boolean | null
498
- created_at?: Date | string | null
499
- created_by?: number | null
500
- updated_at?: Date | string | null
501
- updated_by?: number | null
502
- deleted_at?: Date | string | null
503
- deleted_by?: number | null
504
- assigned_tickets?: Prisma.TicketAssignmentUncheckedCreateNestedManyWithoutSupport_ticketInput
505
- ticket_history?: Prisma.TicketHistoryUncheckedCreateNestedManyWithoutSupport_ticketInput
506
- ticket_replies?: Prisma.TicketReplyUncheckedCreateNestedManyWithoutSupport_ticketInput
507
- }
508
-
509
- export type SupportTicketUpdateInput = {
510
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
511
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
512
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
513
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
514
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
515
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
516
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
517
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
518
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
519
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
520
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
521
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
522
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
523
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
524
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
525
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
526
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
527
- category?: Prisma.SupportCategoryUpdateOneWithoutTicketsNestedInput
528
- assigned_tickets?: Prisma.TicketAssignmentUpdateManyWithoutSupport_ticketNestedInput
529
- ticket_history?: Prisma.TicketHistoryUpdateManyWithoutSupport_ticketNestedInput
530
- ticket_replies?: Prisma.TicketReplyUpdateManyWithoutSupport_ticketNestedInput
531
- }
532
-
533
- export type SupportTicketUncheckedUpdateInput = {
534
- id?: Prisma.IntFieldUpdateOperationsInput | number
535
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
536
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
538
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
539
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
540
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
541
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
542
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
543
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
544
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
545
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
546
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
547
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
548
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
549
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
550
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
551
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
552
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
553
- assigned_tickets?: Prisma.TicketAssignmentUncheckedUpdateManyWithoutSupport_ticketNestedInput
554
- ticket_history?: Prisma.TicketHistoryUncheckedUpdateManyWithoutSupport_ticketNestedInput
555
- ticket_replies?: Prisma.TicketReplyUncheckedUpdateManyWithoutSupport_ticketNestedInput
556
- }
557
-
558
- export type SupportTicketCreateManyInput = {
559
- id?: number
560
- uuid?: string | null
561
- ticket_code?: string | null
562
- vendor_id?: number | null
563
- subject?: string | null
564
- category_id?: number | null
565
- priority?: $Enums.TicketPriorityEnum
566
- description?: string | null
567
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
568
- status?: $Enums.TicketStatusEnum
569
- prefered_contact_method: $Enums.TicketContactMethodEnum
570
- is_active?: boolean | null
571
- is_deleted?: boolean | null
572
- created_at?: Date | string | null
573
- created_by?: number | null
574
- updated_at?: Date | string | null
575
- updated_by?: number | null
576
- deleted_at?: Date | string | null
577
- deleted_by?: number | null
578
- }
579
-
580
- export type SupportTicketUpdateManyMutationInput = {
581
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
582
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
583
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
584
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
585
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
586
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
587
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
588
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
589
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
590
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
591
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
592
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
593
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
594
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
595
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
596
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
597
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
598
- }
599
-
600
- export type SupportTicketUncheckedUpdateManyInput = {
601
- id?: Prisma.IntFieldUpdateOperationsInput | number
602
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
603
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
604
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
605
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
606
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
607
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
608
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
609
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
610
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
611
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
612
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
613
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
614
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
615
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
616
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
617
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
618
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
619
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
620
- }
621
-
622
- export type SupportTicketCountOrderByAggregateInput = {
623
- id?: Prisma.SortOrder
624
- uuid?: Prisma.SortOrder
625
- ticket_code?: Prisma.SortOrder
626
- vendor_id?: Prisma.SortOrder
627
- subject?: Prisma.SortOrder
628
- category_id?: Prisma.SortOrder
629
- priority?: Prisma.SortOrder
630
- description?: Prisma.SortOrder
631
- attachments?: Prisma.SortOrder
632
- status?: Prisma.SortOrder
633
- prefered_contact_method?: Prisma.SortOrder
634
- is_active?: Prisma.SortOrder
635
- is_deleted?: Prisma.SortOrder
636
- created_at?: Prisma.SortOrder
637
- created_by?: Prisma.SortOrder
638
- updated_at?: Prisma.SortOrder
639
- updated_by?: Prisma.SortOrder
640
- deleted_at?: Prisma.SortOrder
641
- deleted_by?: Prisma.SortOrder
642
- }
643
-
644
- export type SupportTicketAvgOrderByAggregateInput = {
645
- id?: Prisma.SortOrder
646
- vendor_id?: Prisma.SortOrder
647
- category_id?: Prisma.SortOrder
648
- created_by?: Prisma.SortOrder
649
- updated_by?: Prisma.SortOrder
650
- deleted_by?: Prisma.SortOrder
651
- }
652
-
653
- export type SupportTicketMaxOrderByAggregateInput = {
654
- id?: Prisma.SortOrder
655
- uuid?: Prisma.SortOrder
656
- ticket_code?: Prisma.SortOrder
657
- vendor_id?: Prisma.SortOrder
658
- subject?: Prisma.SortOrder
659
- category_id?: Prisma.SortOrder
660
- priority?: Prisma.SortOrder
661
- description?: Prisma.SortOrder
662
- status?: Prisma.SortOrder
663
- prefered_contact_method?: Prisma.SortOrder
664
- is_active?: Prisma.SortOrder
665
- is_deleted?: Prisma.SortOrder
666
- created_at?: Prisma.SortOrder
667
- created_by?: Prisma.SortOrder
668
- updated_at?: Prisma.SortOrder
669
- updated_by?: Prisma.SortOrder
670
- deleted_at?: Prisma.SortOrder
671
- deleted_by?: Prisma.SortOrder
672
- }
673
-
674
- export type SupportTicketMinOrderByAggregateInput = {
675
- id?: Prisma.SortOrder
676
- uuid?: Prisma.SortOrder
677
- ticket_code?: Prisma.SortOrder
678
- vendor_id?: Prisma.SortOrder
679
- subject?: Prisma.SortOrder
680
- category_id?: Prisma.SortOrder
681
- priority?: Prisma.SortOrder
682
- description?: Prisma.SortOrder
683
- status?: Prisma.SortOrder
684
- prefered_contact_method?: Prisma.SortOrder
685
- is_active?: Prisma.SortOrder
686
- is_deleted?: Prisma.SortOrder
687
- created_at?: Prisma.SortOrder
688
- created_by?: Prisma.SortOrder
689
- updated_at?: Prisma.SortOrder
690
- updated_by?: Prisma.SortOrder
691
- deleted_at?: Prisma.SortOrder
692
- deleted_by?: Prisma.SortOrder
693
- }
694
-
695
- export type SupportTicketSumOrderByAggregateInput = {
696
- id?: Prisma.SortOrder
697
- vendor_id?: Prisma.SortOrder
698
- category_id?: Prisma.SortOrder
699
- created_by?: Prisma.SortOrder
700
- updated_by?: Prisma.SortOrder
701
- deleted_by?: Prisma.SortOrder
702
- }
703
-
704
- export type SupportTicketNullableScalarRelationFilter = {
705
- is?: Prisma.SupportTicketWhereInput | null
706
- isNot?: Prisma.SupportTicketWhereInput | null
707
- }
708
-
709
- export type SupportTicketListRelationFilter = {
710
- every?: Prisma.SupportTicketWhereInput
711
- some?: Prisma.SupportTicketWhereInput
712
- none?: Prisma.SupportTicketWhereInput
713
- }
714
-
715
- export type SupportTicketOrderByRelationAggregateInput = {
716
- _count?: Prisma.SortOrder
717
- }
718
-
719
- export type EnumTicketPriorityEnumFieldUpdateOperationsInput = {
720
- set?: $Enums.TicketPriorityEnum
721
- }
722
-
723
- export type EnumTicketStatusEnumFieldUpdateOperationsInput = {
724
- set?: $Enums.TicketStatusEnum
725
- }
726
-
727
- export type EnumTicketContactMethodEnumFieldUpdateOperationsInput = {
728
- set?: $Enums.TicketContactMethodEnum
729
- }
730
-
731
- export type SupportTicketCreateNestedOneWithoutAssigned_ticketsInput = {
732
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedCreateWithoutAssigned_ticketsInput>
733
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutAssigned_ticketsInput
734
- connect?: Prisma.SupportTicketWhereUniqueInput
735
- }
736
-
737
- export type SupportTicketUpdateOneWithoutAssigned_ticketsNestedInput = {
738
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedCreateWithoutAssigned_ticketsInput>
739
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutAssigned_ticketsInput
740
- upsert?: Prisma.SupportTicketUpsertWithoutAssigned_ticketsInput
741
- disconnect?: Prisma.SupportTicketWhereInput | boolean
742
- delete?: Prisma.SupportTicketWhereInput | boolean
743
- connect?: Prisma.SupportTicketWhereUniqueInput
744
- update?: Prisma.XOR<Prisma.XOR<Prisma.SupportTicketUpdateToOneWithWhereWithoutAssigned_ticketsInput, Prisma.SupportTicketUpdateWithoutAssigned_ticketsInput>, Prisma.SupportTicketUncheckedUpdateWithoutAssigned_ticketsInput>
745
- }
746
-
747
- export type SupportTicketCreateNestedOneWithoutTicket_historyInput = {
748
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_historyInput>
749
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutTicket_historyInput
750
- connect?: Prisma.SupportTicketWhereUniqueInput
751
- }
752
-
753
- export type SupportTicketUpdateOneWithoutTicket_historyNestedInput = {
754
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_historyInput>
755
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutTicket_historyInput
756
- upsert?: Prisma.SupportTicketUpsertWithoutTicket_historyInput
757
- disconnect?: Prisma.SupportTicketWhereInput | boolean
758
- delete?: Prisma.SupportTicketWhereInput | boolean
759
- connect?: Prisma.SupportTicketWhereUniqueInput
760
- update?: Prisma.XOR<Prisma.XOR<Prisma.SupportTicketUpdateToOneWithWhereWithoutTicket_historyInput, Prisma.SupportTicketUpdateWithoutTicket_historyInput>, Prisma.SupportTicketUncheckedUpdateWithoutTicket_historyInput>
761
- }
762
-
763
- export type SupportTicketCreateNestedOneWithoutTicket_repliesInput = {
764
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_repliesInput>
765
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutTicket_repliesInput
766
- connect?: Prisma.SupportTicketWhereUniqueInput
767
- }
768
-
769
- export type SupportTicketUpdateOneWithoutTicket_repliesNestedInput = {
770
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_repliesInput>
771
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutTicket_repliesInput
772
- upsert?: Prisma.SupportTicketUpsertWithoutTicket_repliesInput
773
- disconnect?: Prisma.SupportTicketWhereInput | boolean
774
- delete?: Prisma.SupportTicketWhereInput | boolean
775
- connect?: Prisma.SupportTicketWhereUniqueInput
776
- update?: Prisma.XOR<Prisma.XOR<Prisma.SupportTicketUpdateToOneWithWhereWithoutTicket_repliesInput, Prisma.SupportTicketUpdateWithoutTicket_repliesInput>, Prisma.SupportTicketUncheckedUpdateWithoutTicket_repliesInput>
777
- }
778
-
779
- export type SupportTicketCreateNestedManyWithoutCategoryInput = {
780
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput> | Prisma.SupportTicketCreateWithoutCategoryInput[] | Prisma.SupportTicketUncheckedCreateWithoutCategoryInput[]
781
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutCategoryInput | Prisma.SupportTicketCreateOrConnectWithoutCategoryInput[]
782
- createMany?: Prisma.SupportTicketCreateManyCategoryInputEnvelope
783
- connect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
784
- }
785
-
786
- export type SupportTicketUncheckedCreateNestedManyWithoutCategoryInput = {
787
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput> | Prisma.SupportTicketCreateWithoutCategoryInput[] | Prisma.SupportTicketUncheckedCreateWithoutCategoryInput[]
788
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutCategoryInput | Prisma.SupportTicketCreateOrConnectWithoutCategoryInput[]
789
- createMany?: Prisma.SupportTicketCreateManyCategoryInputEnvelope
790
- connect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
791
- }
792
-
793
- export type SupportTicketUpdateManyWithoutCategoryNestedInput = {
794
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput> | Prisma.SupportTicketCreateWithoutCategoryInput[] | Prisma.SupportTicketUncheckedCreateWithoutCategoryInput[]
795
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutCategoryInput | Prisma.SupportTicketCreateOrConnectWithoutCategoryInput[]
796
- upsert?: Prisma.SupportTicketUpsertWithWhereUniqueWithoutCategoryInput | Prisma.SupportTicketUpsertWithWhereUniqueWithoutCategoryInput[]
797
- createMany?: Prisma.SupportTicketCreateManyCategoryInputEnvelope
798
- set?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
799
- disconnect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
800
- delete?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
801
- connect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
802
- update?: Prisma.SupportTicketUpdateWithWhereUniqueWithoutCategoryInput | Prisma.SupportTicketUpdateWithWhereUniqueWithoutCategoryInput[]
803
- updateMany?: Prisma.SupportTicketUpdateManyWithWhereWithoutCategoryInput | Prisma.SupportTicketUpdateManyWithWhereWithoutCategoryInput[]
804
- deleteMany?: Prisma.SupportTicketScalarWhereInput | Prisma.SupportTicketScalarWhereInput[]
805
- }
806
-
807
- export type SupportTicketUncheckedUpdateManyWithoutCategoryNestedInput = {
808
- create?: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput> | Prisma.SupportTicketCreateWithoutCategoryInput[] | Prisma.SupportTicketUncheckedCreateWithoutCategoryInput[]
809
- connectOrCreate?: Prisma.SupportTicketCreateOrConnectWithoutCategoryInput | Prisma.SupportTicketCreateOrConnectWithoutCategoryInput[]
810
- upsert?: Prisma.SupportTicketUpsertWithWhereUniqueWithoutCategoryInput | Prisma.SupportTicketUpsertWithWhereUniqueWithoutCategoryInput[]
811
- createMany?: Prisma.SupportTicketCreateManyCategoryInputEnvelope
812
- set?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
813
- disconnect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
814
- delete?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
815
- connect?: Prisma.SupportTicketWhereUniqueInput | Prisma.SupportTicketWhereUniqueInput[]
816
- update?: Prisma.SupportTicketUpdateWithWhereUniqueWithoutCategoryInput | Prisma.SupportTicketUpdateWithWhereUniqueWithoutCategoryInput[]
817
- updateMany?: Prisma.SupportTicketUpdateManyWithWhereWithoutCategoryInput | Prisma.SupportTicketUpdateManyWithWhereWithoutCategoryInput[]
818
- deleteMany?: Prisma.SupportTicketScalarWhereInput | Prisma.SupportTicketScalarWhereInput[]
819
- }
820
-
821
- export type SupportTicketCreateWithoutAssigned_ticketsInput = {
822
- uuid?: string | null
823
- ticket_code?: string | null
824
- vendor_id?: number | null
825
- subject?: string | null
826
- priority?: $Enums.TicketPriorityEnum
827
- description?: string | null
828
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
829
- status?: $Enums.TicketStatusEnum
830
- prefered_contact_method: $Enums.TicketContactMethodEnum
831
- is_active?: boolean | null
832
- is_deleted?: boolean | null
833
- created_at?: Date | string | null
834
- created_by?: number | null
835
- updated_at?: Date | string | null
836
- updated_by?: number | null
837
- deleted_at?: Date | string | null
838
- deleted_by?: number | null
839
- category?: Prisma.SupportCategoryCreateNestedOneWithoutTicketsInput
840
- ticket_history?: Prisma.TicketHistoryCreateNestedManyWithoutSupport_ticketInput
841
- ticket_replies?: Prisma.TicketReplyCreateNestedManyWithoutSupport_ticketInput
842
- }
843
-
844
- export type SupportTicketUncheckedCreateWithoutAssigned_ticketsInput = {
845
- id?: number
846
- uuid?: string | null
847
- ticket_code?: string | null
848
- vendor_id?: number | null
849
- subject?: string | null
850
- category_id?: number | null
851
- priority?: $Enums.TicketPriorityEnum
852
- description?: string | null
853
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
854
- status?: $Enums.TicketStatusEnum
855
- prefered_contact_method: $Enums.TicketContactMethodEnum
856
- is_active?: boolean | null
857
- is_deleted?: boolean | null
858
- created_at?: Date | string | null
859
- created_by?: number | null
860
- updated_at?: Date | string | null
861
- updated_by?: number | null
862
- deleted_at?: Date | string | null
863
- deleted_by?: number | null
864
- ticket_history?: Prisma.TicketHistoryUncheckedCreateNestedManyWithoutSupport_ticketInput
865
- ticket_replies?: Prisma.TicketReplyUncheckedCreateNestedManyWithoutSupport_ticketInput
866
- }
867
-
868
- export type SupportTicketCreateOrConnectWithoutAssigned_ticketsInput = {
869
- where: Prisma.SupportTicketWhereUniqueInput
870
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedCreateWithoutAssigned_ticketsInput>
871
- }
872
-
873
- export type SupportTicketUpsertWithoutAssigned_ticketsInput = {
874
- update: Prisma.XOR<Prisma.SupportTicketUpdateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedUpdateWithoutAssigned_ticketsInput>
875
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedCreateWithoutAssigned_ticketsInput>
876
- where?: Prisma.SupportTicketWhereInput
877
- }
878
-
879
- export type SupportTicketUpdateToOneWithWhereWithoutAssigned_ticketsInput = {
880
- where?: Prisma.SupportTicketWhereInput
881
- data: Prisma.XOR<Prisma.SupportTicketUpdateWithoutAssigned_ticketsInput, Prisma.SupportTicketUncheckedUpdateWithoutAssigned_ticketsInput>
882
- }
883
-
884
- export type SupportTicketUpdateWithoutAssigned_ticketsInput = {
885
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
886
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
887
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
888
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
889
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
890
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
891
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
892
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
893
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
894
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
895
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
896
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
897
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
898
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
899
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
900
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
901
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
902
- category?: Prisma.SupportCategoryUpdateOneWithoutTicketsNestedInput
903
- ticket_history?: Prisma.TicketHistoryUpdateManyWithoutSupport_ticketNestedInput
904
- ticket_replies?: Prisma.TicketReplyUpdateManyWithoutSupport_ticketNestedInput
905
- }
906
-
907
- export type SupportTicketUncheckedUpdateWithoutAssigned_ticketsInput = {
908
- id?: Prisma.IntFieldUpdateOperationsInput | number
909
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
910
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
911
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
912
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
913
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
914
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
915
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
916
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
917
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
918
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
919
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
920
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
921
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
922
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
923
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
924
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
925
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
926
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
927
- ticket_history?: Prisma.TicketHistoryUncheckedUpdateManyWithoutSupport_ticketNestedInput
928
- ticket_replies?: Prisma.TicketReplyUncheckedUpdateManyWithoutSupport_ticketNestedInput
929
- }
930
-
931
- export type SupportTicketCreateWithoutTicket_historyInput = {
932
- uuid?: string | null
933
- ticket_code?: string | null
934
- vendor_id?: number | null
935
- subject?: string | null
936
- priority?: $Enums.TicketPriorityEnum
937
- description?: string | null
938
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
939
- status?: $Enums.TicketStatusEnum
940
- prefered_contact_method: $Enums.TicketContactMethodEnum
941
- is_active?: boolean | null
942
- is_deleted?: boolean | null
943
- created_at?: Date | string | null
944
- created_by?: number | null
945
- updated_at?: Date | string | null
946
- updated_by?: number | null
947
- deleted_at?: Date | string | null
948
- deleted_by?: number | null
949
- category?: Prisma.SupportCategoryCreateNestedOneWithoutTicketsInput
950
- assigned_tickets?: Prisma.TicketAssignmentCreateNestedManyWithoutSupport_ticketInput
951
- ticket_replies?: Prisma.TicketReplyCreateNestedManyWithoutSupport_ticketInput
952
- }
953
-
954
- export type SupportTicketUncheckedCreateWithoutTicket_historyInput = {
955
- id?: number
956
- uuid?: string | null
957
- ticket_code?: string | null
958
- vendor_id?: number | null
959
- subject?: string | null
960
- category_id?: number | null
961
- priority?: $Enums.TicketPriorityEnum
962
- description?: string | null
963
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
964
- status?: $Enums.TicketStatusEnum
965
- prefered_contact_method: $Enums.TicketContactMethodEnum
966
- is_active?: boolean | null
967
- is_deleted?: boolean | null
968
- created_at?: Date | string | null
969
- created_by?: number | null
970
- updated_at?: Date | string | null
971
- updated_by?: number | null
972
- deleted_at?: Date | string | null
973
- deleted_by?: number | null
974
- assigned_tickets?: Prisma.TicketAssignmentUncheckedCreateNestedManyWithoutSupport_ticketInput
975
- ticket_replies?: Prisma.TicketReplyUncheckedCreateNestedManyWithoutSupport_ticketInput
976
- }
977
-
978
- export type SupportTicketCreateOrConnectWithoutTicket_historyInput = {
979
- where: Prisma.SupportTicketWhereUniqueInput
980
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_historyInput>
981
- }
982
-
983
- export type SupportTicketUpsertWithoutTicket_historyInput = {
984
- update: Prisma.XOR<Prisma.SupportTicketUpdateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedUpdateWithoutTicket_historyInput>
985
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_historyInput>
986
- where?: Prisma.SupportTicketWhereInput
987
- }
988
-
989
- export type SupportTicketUpdateToOneWithWhereWithoutTicket_historyInput = {
990
- where?: Prisma.SupportTicketWhereInput
991
- data: Prisma.XOR<Prisma.SupportTicketUpdateWithoutTicket_historyInput, Prisma.SupportTicketUncheckedUpdateWithoutTicket_historyInput>
992
- }
993
-
994
- export type SupportTicketUpdateWithoutTicket_historyInput = {
995
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
996
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
997
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
998
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
999
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1000
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1001
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1002
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1003
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1004
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1005
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1006
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1007
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1008
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1009
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1010
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1011
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1012
- category?: Prisma.SupportCategoryUpdateOneWithoutTicketsNestedInput
1013
- assigned_tickets?: Prisma.TicketAssignmentUpdateManyWithoutSupport_ticketNestedInput
1014
- ticket_replies?: Prisma.TicketReplyUpdateManyWithoutSupport_ticketNestedInput
1015
- }
1016
-
1017
- export type SupportTicketUncheckedUpdateWithoutTicket_historyInput = {
1018
- id?: Prisma.IntFieldUpdateOperationsInput | number
1019
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1020
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1021
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1022
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1023
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1024
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1025
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1026
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1027
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1028
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1029
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1030
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1031
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1032
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1033
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1034
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1035
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1036
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1037
- assigned_tickets?: Prisma.TicketAssignmentUncheckedUpdateManyWithoutSupport_ticketNestedInput
1038
- ticket_replies?: Prisma.TicketReplyUncheckedUpdateManyWithoutSupport_ticketNestedInput
1039
- }
1040
-
1041
- export type SupportTicketCreateWithoutTicket_repliesInput = {
1042
- uuid?: string | null
1043
- ticket_code?: string | null
1044
- vendor_id?: number | null
1045
- subject?: string | null
1046
- priority?: $Enums.TicketPriorityEnum
1047
- description?: string | null
1048
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1049
- status?: $Enums.TicketStatusEnum
1050
- prefered_contact_method: $Enums.TicketContactMethodEnum
1051
- is_active?: boolean | null
1052
- is_deleted?: boolean | null
1053
- created_at?: Date | string | null
1054
- created_by?: number | null
1055
- updated_at?: Date | string | null
1056
- updated_by?: number | null
1057
- deleted_at?: Date | string | null
1058
- deleted_by?: number | null
1059
- category?: Prisma.SupportCategoryCreateNestedOneWithoutTicketsInput
1060
- assigned_tickets?: Prisma.TicketAssignmentCreateNestedManyWithoutSupport_ticketInput
1061
- ticket_history?: Prisma.TicketHistoryCreateNestedManyWithoutSupport_ticketInput
1062
- }
1063
-
1064
- export type SupportTicketUncheckedCreateWithoutTicket_repliesInput = {
1065
- id?: number
1066
- uuid?: string | null
1067
- ticket_code?: string | null
1068
- vendor_id?: number | null
1069
- subject?: string | null
1070
- category_id?: number | null
1071
- priority?: $Enums.TicketPriorityEnum
1072
- description?: string | null
1073
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1074
- status?: $Enums.TicketStatusEnum
1075
- prefered_contact_method: $Enums.TicketContactMethodEnum
1076
- is_active?: boolean | null
1077
- is_deleted?: boolean | null
1078
- created_at?: Date | string | null
1079
- created_by?: number | null
1080
- updated_at?: Date | string | null
1081
- updated_by?: number | null
1082
- deleted_at?: Date | string | null
1083
- deleted_by?: number | null
1084
- assigned_tickets?: Prisma.TicketAssignmentUncheckedCreateNestedManyWithoutSupport_ticketInput
1085
- ticket_history?: Prisma.TicketHistoryUncheckedCreateNestedManyWithoutSupport_ticketInput
1086
- }
1087
-
1088
- export type SupportTicketCreateOrConnectWithoutTicket_repliesInput = {
1089
- where: Prisma.SupportTicketWhereUniqueInput
1090
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_repliesInput>
1091
- }
1092
-
1093
- export type SupportTicketUpsertWithoutTicket_repliesInput = {
1094
- update: Prisma.XOR<Prisma.SupportTicketUpdateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedUpdateWithoutTicket_repliesInput>
1095
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedCreateWithoutTicket_repliesInput>
1096
- where?: Prisma.SupportTicketWhereInput
1097
- }
1098
-
1099
- export type SupportTicketUpdateToOneWithWhereWithoutTicket_repliesInput = {
1100
- where?: Prisma.SupportTicketWhereInput
1101
- data: Prisma.XOR<Prisma.SupportTicketUpdateWithoutTicket_repliesInput, Prisma.SupportTicketUncheckedUpdateWithoutTicket_repliesInput>
1102
- }
1103
-
1104
- export type SupportTicketUpdateWithoutTicket_repliesInput = {
1105
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1106
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1107
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1108
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1109
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1110
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1112
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1113
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1114
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1115
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1116
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1117
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1118
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1119
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1120
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1121
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1122
- category?: Prisma.SupportCategoryUpdateOneWithoutTicketsNestedInput
1123
- assigned_tickets?: Prisma.TicketAssignmentUpdateManyWithoutSupport_ticketNestedInput
1124
- ticket_history?: Prisma.TicketHistoryUpdateManyWithoutSupport_ticketNestedInput
1125
- }
1126
-
1127
- export type SupportTicketUncheckedUpdateWithoutTicket_repliesInput = {
1128
- id?: Prisma.IntFieldUpdateOperationsInput | number
1129
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1130
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1131
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1132
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1133
- category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1134
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1135
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1136
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1137
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1138
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1139
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1140
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1141
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1142
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1143
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1144
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1145
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1146
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1147
- assigned_tickets?: Prisma.TicketAssignmentUncheckedUpdateManyWithoutSupport_ticketNestedInput
1148
- ticket_history?: Prisma.TicketHistoryUncheckedUpdateManyWithoutSupport_ticketNestedInput
1149
- }
1150
-
1151
- export type SupportTicketCreateWithoutCategoryInput = {
1152
- uuid?: string | null
1153
- ticket_code?: string | null
1154
- vendor_id?: number | null
1155
- subject?: string | null
1156
- priority?: $Enums.TicketPriorityEnum
1157
- description?: string | null
1158
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1159
- status?: $Enums.TicketStatusEnum
1160
- prefered_contact_method: $Enums.TicketContactMethodEnum
1161
- is_active?: boolean | null
1162
- is_deleted?: boolean | null
1163
- created_at?: Date | string | null
1164
- created_by?: number | null
1165
- updated_at?: Date | string | null
1166
- updated_by?: number | null
1167
- deleted_at?: Date | string | null
1168
- deleted_by?: number | null
1169
- assigned_tickets?: Prisma.TicketAssignmentCreateNestedManyWithoutSupport_ticketInput
1170
- ticket_history?: Prisma.TicketHistoryCreateNestedManyWithoutSupport_ticketInput
1171
- ticket_replies?: Prisma.TicketReplyCreateNestedManyWithoutSupport_ticketInput
1172
- }
1173
-
1174
- export type SupportTicketUncheckedCreateWithoutCategoryInput = {
1175
- id?: number
1176
- uuid?: string | null
1177
- ticket_code?: string | null
1178
- vendor_id?: number | null
1179
- subject?: string | null
1180
- priority?: $Enums.TicketPriorityEnum
1181
- description?: string | null
1182
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1183
- status?: $Enums.TicketStatusEnum
1184
- prefered_contact_method: $Enums.TicketContactMethodEnum
1185
- is_active?: boolean | null
1186
- is_deleted?: boolean | null
1187
- created_at?: Date | string | null
1188
- created_by?: number | null
1189
- updated_at?: Date | string | null
1190
- updated_by?: number | null
1191
- deleted_at?: Date | string | null
1192
- deleted_by?: number | null
1193
- assigned_tickets?: Prisma.TicketAssignmentUncheckedCreateNestedManyWithoutSupport_ticketInput
1194
- ticket_history?: Prisma.TicketHistoryUncheckedCreateNestedManyWithoutSupport_ticketInput
1195
- ticket_replies?: Prisma.TicketReplyUncheckedCreateNestedManyWithoutSupport_ticketInput
1196
- }
1197
-
1198
- export type SupportTicketCreateOrConnectWithoutCategoryInput = {
1199
- where: Prisma.SupportTicketWhereUniqueInput
1200
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput>
1201
- }
1202
-
1203
- export type SupportTicketCreateManyCategoryInputEnvelope = {
1204
- data: Prisma.SupportTicketCreateManyCategoryInput | Prisma.SupportTicketCreateManyCategoryInput[]
1205
- skipDuplicates?: boolean
1206
- }
1207
-
1208
- export type SupportTicketUpsertWithWhereUniqueWithoutCategoryInput = {
1209
- where: Prisma.SupportTicketWhereUniqueInput
1210
- update: Prisma.XOR<Prisma.SupportTicketUpdateWithoutCategoryInput, Prisma.SupportTicketUncheckedUpdateWithoutCategoryInput>
1211
- create: Prisma.XOR<Prisma.SupportTicketCreateWithoutCategoryInput, Prisma.SupportTicketUncheckedCreateWithoutCategoryInput>
1212
- }
1213
-
1214
- export type SupportTicketUpdateWithWhereUniqueWithoutCategoryInput = {
1215
- where: Prisma.SupportTicketWhereUniqueInput
1216
- data: Prisma.XOR<Prisma.SupportTicketUpdateWithoutCategoryInput, Prisma.SupportTicketUncheckedUpdateWithoutCategoryInput>
1217
- }
1218
-
1219
- export type SupportTicketUpdateManyWithWhereWithoutCategoryInput = {
1220
- where: Prisma.SupportTicketScalarWhereInput
1221
- data: Prisma.XOR<Prisma.SupportTicketUpdateManyMutationInput, Prisma.SupportTicketUncheckedUpdateManyWithoutCategoryInput>
1222
- }
1223
-
1224
- export type SupportTicketScalarWhereInput = {
1225
- AND?: Prisma.SupportTicketScalarWhereInput | Prisma.SupportTicketScalarWhereInput[]
1226
- OR?: Prisma.SupportTicketScalarWhereInput[]
1227
- NOT?: Prisma.SupportTicketScalarWhereInput | Prisma.SupportTicketScalarWhereInput[]
1228
- id?: Prisma.IntFilter<"SupportTicket"> | number
1229
- uuid?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
1230
- ticket_code?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
1231
- vendor_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
1232
- subject?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
1233
- category_id?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
1234
- priority?: Prisma.EnumTicketPriorityEnumFilter<"SupportTicket"> | $Enums.TicketPriorityEnum
1235
- description?: Prisma.StringNullableFilter<"SupportTicket"> | string | null
1236
- attachments?: Prisma.JsonNullableFilter<"SupportTicket">
1237
- status?: Prisma.EnumTicketStatusEnumFilter<"SupportTicket"> | $Enums.TicketStatusEnum
1238
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFilter<"SupportTicket"> | $Enums.TicketContactMethodEnum
1239
- is_active?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
1240
- is_deleted?: Prisma.BoolNullableFilter<"SupportTicket"> | boolean | null
1241
- created_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
1242
- created_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
1243
- updated_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
1244
- updated_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
1245
- deleted_at?: Prisma.DateTimeNullableFilter<"SupportTicket"> | Date | string | null
1246
- deleted_by?: Prisma.IntNullableFilter<"SupportTicket"> | number | null
1247
- }
1248
-
1249
- export type SupportTicketCreateManyCategoryInput = {
1250
- id?: number
1251
- uuid?: string | null
1252
- ticket_code?: string | null
1253
- vendor_id?: number | null
1254
- subject?: string | null
1255
- priority?: $Enums.TicketPriorityEnum
1256
- description?: string | null
1257
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1258
- status?: $Enums.TicketStatusEnum
1259
- prefered_contact_method: $Enums.TicketContactMethodEnum
1260
- is_active?: boolean | null
1261
- is_deleted?: boolean | null
1262
- created_at?: Date | string | null
1263
- created_by?: number | null
1264
- updated_at?: Date | string | null
1265
- updated_by?: number | null
1266
- deleted_at?: Date | string | null
1267
- deleted_by?: number | null
1268
- }
1269
-
1270
- export type SupportTicketUpdateWithoutCategoryInput = {
1271
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1272
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1273
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1274
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1275
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1276
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1277
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1278
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1279
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1280
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1281
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1282
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1283
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1284
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1285
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1286
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1287
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1288
- assigned_tickets?: Prisma.TicketAssignmentUpdateManyWithoutSupport_ticketNestedInput
1289
- ticket_history?: Prisma.TicketHistoryUpdateManyWithoutSupport_ticketNestedInput
1290
- ticket_replies?: Prisma.TicketReplyUpdateManyWithoutSupport_ticketNestedInput
1291
- }
1292
-
1293
- export type SupportTicketUncheckedUpdateWithoutCategoryInput = {
1294
- id?: Prisma.IntFieldUpdateOperationsInput | number
1295
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1296
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1297
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1298
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1299
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1300
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1301
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1302
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1303
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1304
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1305
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1306
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1307
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1308
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1309
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1310
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1311
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1312
- assigned_tickets?: Prisma.TicketAssignmentUncheckedUpdateManyWithoutSupport_ticketNestedInput
1313
- ticket_history?: Prisma.TicketHistoryUncheckedUpdateManyWithoutSupport_ticketNestedInput
1314
- ticket_replies?: Prisma.TicketReplyUncheckedUpdateManyWithoutSupport_ticketNestedInput
1315
- }
1316
-
1317
- export type SupportTicketUncheckedUpdateManyWithoutCategoryInput = {
1318
- id?: Prisma.IntFieldUpdateOperationsInput | number
1319
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1320
- ticket_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1321
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1322
- subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1323
- priority?: Prisma.EnumTicketPriorityEnumFieldUpdateOperationsInput | $Enums.TicketPriorityEnum
1324
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1325
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1326
- status?: Prisma.EnumTicketStatusEnumFieldUpdateOperationsInput | $Enums.TicketStatusEnum
1327
- prefered_contact_method?: Prisma.EnumTicketContactMethodEnumFieldUpdateOperationsInput | $Enums.TicketContactMethodEnum
1328
- is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1329
- is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1330
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1331
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1332
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1333
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1334
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1335
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1336
- }
1337
-
1338
-
1339
- /**
1340
- * Count Type SupportTicketCountOutputType
1341
- */
1342
-
1343
- export type SupportTicketCountOutputType = {
1344
- assigned_tickets: number
1345
- ticket_history: number
1346
- ticket_replies: number
1347
- }
1348
-
1349
- export type SupportTicketCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1350
- assigned_tickets?: boolean | SupportTicketCountOutputTypeCountAssigned_ticketsArgs
1351
- ticket_history?: boolean | SupportTicketCountOutputTypeCountTicket_historyArgs
1352
- ticket_replies?: boolean | SupportTicketCountOutputTypeCountTicket_repliesArgs
1353
- }
1354
-
1355
- /**
1356
- * SupportTicketCountOutputType without action
1357
- */
1358
- export type SupportTicketCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
- /**
1360
- * Select specific fields to fetch from the SupportTicketCountOutputType
1361
- */
1362
- select?: Prisma.SupportTicketCountOutputTypeSelect<ExtArgs> | null
1363
- }
1364
-
1365
- /**
1366
- * SupportTicketCountOutputType without action
1367
- */
1368
- export type SupportTicketCountOutputTypeCountAssigned_ticketsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1369
- where?: Prisma.TicketAssignmentWhereInput
1370
- }
1371
-
1372
- /**
1373
- * SupportTicketCountOutputType without action
1374
- */
1375
- export type SupportTicketCountOutputTypeCountTicket_historyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1376
- where?: Prisma.TicketHistoryWhereInput
1377
- }
1378
-
1379
- /**
1380
- * SupportTicketCountOutputType without action
1381
- */
1382
- export type SupportTicketCountOutputTypeCountTicket_repliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1383
- where?: Prisma.TicketReplyWhereInput
1384
- }
1385
-
1386
-
1387
- export type SupportTicketSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1388
- id?: boolean
1389
- uuid?: boolean
1390
- ticket_code?: boolean
1391
- vendor_id?: boolean
1392
- subject?: boolean
1393
- category_id?: boolean
1394
- priority?: boolean
1395
- description?: boolean
1396
- attachments?: boolean
1397
- status?: boolean
1398
- prefered_contact_method?: boolean
1399
- is_active?: boolean
1400
- is_deleted?: boolean
1401
- created_at?: boolean
1402
- created_by?: boolean
1403
- updated_at?: boolean
1404
- updated_by?: boolean
1405
- deleted_at?: boolean
1406
- deleted_by?: boolean
1407
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1408
- assigned_tickets?: boolean | Prisma.SupportTicket$assigned_ticketsArgs<ExtArgs>
1409
- ticket_history?: boolean | Prisma.SupportTicket$ticket_historyArgs<ExtArgs>
1410
- ticket_replies?: boolean | Prisma.SupportTicket$ticket_repliesArgs<ExtArgs>
1411
- _count?: boolean | Prisma.SupportTicketCountOutputTypeDefaultArgs<ExtArgs>
1412
- }, ExtArgs["result"]["supportTicket"]>
1413
-
1414
- export type SupportTicketSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1415
- id?: boolean
1416
- uuid?: boolean
1417
- ticket_code?: boolean
1418
- vendor_id?: boolean
1419
- subject?: boolean
1420
- category_id?: boolean
1421
- priority?: boolean
1422
- description?: boolean
1423
- attachments?: boolean
1424
- status?: boolean
1425
- prefered_contact_method?: boolean
1426
- is_active?: boolean
1427
- is_deleted?: boolean
1428
- created_at?: boolean
1429
- created_by?: boolean
1430
- updated_at?: boolean
1431
- updated_by?: boolean
1432
- deleted_at?: boolean
1433
- deleted_by?: boolean
1434
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1435
- }, ExtArgs["result"]["supportTicket"]>
1436
-
1437
- export type SupportTicketSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1438
- id?: boolean
1439
- uuid?: boolean
1440
- ticket_code?: boolean
1441
- vendor_id?: boolean
1442
- subject?: boolean
1443
- category_id?: boolean
1444
- priority?: boolean
1445
- description?: boolean
1446
- attachments?: boolean
1447
- status?: boolean
1448
- prefered_contact_method?: boolean
1449
- is_active?: boolean
1450
- is_deleted?: boolean
1451
- created_at?: boolean
1452
- created_by?: boolean
1453
- updated_at?: boolean
1454
- updated_by?: boolean
1455
- deleted_at?: boolean
1456
- deleted_by?: boolean
1457
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1458
- }, ExtArgs["result"]["supportTicket"]>
1459
-
1460
- export type SupportTicketSelectScalar = {
1461
- id?: boolean
1462
- uuid?: boolean
1463
- ticket_code?: boolean
1464
- vendor_id?: boolean
1465
- subject?: boolean
1466
- category_id?: boolean
1467
- priority?: boolean
1468
- description?: boolean
1469
- attachments?: boolean
1470
- status?: boolean
1471
- prefered_contact_method?: boolean
1472
- is_active?: boolean
1473
- is_deleted?: boolean
1474
- created_at?: boolean
1475
- created_by?: boolean
1476
- updated_at?: boolean
1477
- updated_by?: boolean
1478
- deleted_at?: boolean
1479
- deleted_by?: boolean
1480
- }
1481
-
1482
- export type SupportTicketOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "ticket_code" | "vendor_id" | "subject" | "category_id" | "priority" | "description" | "attachments" | "status" | "prefered_contact_method" | "is_active" | "is_deleted" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["supportTicket"]>
1483
- export type SupportTicketInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1484
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1485
- assigned_tickets?: boolean | Prisma.SupportTicket$assigned_ticketsArgs<ExtArgs>
1486
- ticket_history?: boolean | Prisma.SupportTicket$ticket_historyArgs<ExtArgs>
1487
- ticket_replies?: boolean | Prisma.SupportTicket$ticket_repliesArgs<ExtArgs>
1488
- _count?: boolean | Prisma.SupportTicketCountOutputTypeDefaultArgs<ExtArgs>
1489
- }
1490
- export type SupportTicketIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1492
- }
1493
- export type SupportTicketIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1494
- category?: boolean | Prisma.SupportTicket$categoryArgs<ExtArgs>
1495
- }
1496
-
1497
- export type $SupportTicketPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1498
- name: "SupportTicket"
1499
- objects: {
1500
- category: Prisma.$SupportCategoryPayload<ExtArgs> | null
1501
- assigned_tickets: Prisma.$TicketAssignmentPayload<ExtArgs>[]
1502
- ticket_history: Prisma.$TicketHistoryPayload<ExtArgs>[]
1503
- ticket_replies: Prisma.$TicketReplyPayload<ExtArgs>[]
1504
- }
1505
- scalars: runtime.Types.Extensions.GetPayloadResult<{
1506
- id: number
1507
- uuid: string | null
1508
- ticket_code: string | null
1509
- vendor_id: number | null
1510
- subject: string | null
1511
- category_id: number | null
1512
- priority: $Enums.TicketPriorityEnum
1513
- description: string | null
1514
- attachments: runtime.JsonValue | null
1515
- status: $Enums.TicketStatusEnum
1516
- prefered_contact_method: $Enums.TicketContactMethodEnum
1517
- is_active: boolean | null
1518
- is_deleted: boolean | null
1519
- created_at: Date | null
1520
- created_by: number | null
1521
- updated_at: Date | null
1522
- updated_by: number | null
1523
- deleted_at: Date | null
1524
- deleted_by: number | null
1525
- }, ExtArgs["result"]["supportTicket"]>
1526
- composites: {}
1527
- }
1528
-
1529
- export type SupportTicketGetPayload<S extends boolean | null | undefined | SupportTicketDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload, S>
1530
-
1531
- export type SupportTicketCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1532
- Omit<SupportTicketFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1533
- select?: SupportTicketCountAggregateInputType | true
1534
- }
1535
-
1536
- export interface SupportTicketDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1537
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SupportTicket'], meta: { name: 'SupportTicket' } }
1538
- /**
1539
- * Find zero or one SupportTicket that matches the filter.
1540
- * @param {SupportTicketFindUniqueArgs} args - Arguments to find a SupportTicket
1541
- * @example
1542
- * // Get one SupportTicket
1543
- * const supportTicket = await prisma.supportTicket.findUnique({
1544
- * where: {
1545
- * // ... provide filter here
1546
- * }
1547
- * })
1548
- */
1549
- findUnique<T extends SupportTicketFindUniqueArgs>(args: Prisma.SelectSubset<T, SupportTicketFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1550
-
1551
- /**
1552
- * Find one SupportTicket that matches the filter or throw an error with `error.code='P2025'`
1553
- * if no matches were found.
1554
- * @param {SupportTicketFindUniqueOrThrowArgs} args - Arguments to find a SupportTicket
1555
- * @example
1556
- * // Get one SupportTicket
1557
- * const supportTicket = await prisma.supportTicket.findUniqueOrThrow({
1558
- * where: {
1559
- * // ... provide filter here
1560
- * }
1561
- * })
1562
- */
1563
- findUniqueOrThrow<T extends SupportTicketFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SupportTicketFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1564
-
1565
- /**
1566
- * Find the first SupportTicket that matches the filter.
1567
- * Note, that providing `undefined` is treated as the value not being there.
1568
- * Read more here: https://pris.ly/d/null-undefined
1569
- * @param {SupportTicketFindFirstArgs} args - Arguments to find a SupportTicket
1570
- * @example
1571
- * // Get one SupportTicket
1572
- * const supportTicket = await prisma.supportTicket.findFirst({
1573
- * where: {
1574
- * // ... provide filter here
1575
- * }
1576
- * })
1577
- */
1578
- findFirst<T extends SupportTicketFindFirstArgs>(args?: Prisma.SelectSubset<T, SupportTicketFindFirstArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1579
-
1580
- /**
1581
- * Find the first SupportTicket that matches the filter or
1582
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1583
- * Note, that providing `undefined` is treated as the value not being there.
1584
- * Read more here: https://pris.ly/d/null-undefined
1585
- * @param {SupportTicketFindFirstOrThrowArgs} args - Arguments to find a SupportTicket
1586
- * @example
1587
- * // Get one SupportTicket
1588
- * const supportTicket = await prisma.supportTicket.findFirstOrThrow({
1589
- * where: {
1590
- * // ... provide filter here
1591
- * }
1592
- * })
1593
- */
1594
- findFirstOrThrow<T extends SupportTicketFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SupportTicketFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1595
-
1596
- /**
1597
- * Find zero or more SupportTickets that matches the filter.
1598
- * Note, that providing `undefined` is treated as the value not being there.
1599
- * Read more here: https://pris.ly/d/null-undefined
1600
- * @param {SupportTicketFindManyArgs} args - Arguments to filter and select certain fields only.
1601
- * @example
1602
- * // Get all SupportTickets
1603
- * const supportTickets = await prisma.supportTicket.findMany()
1604
- *
1605
- * // Get first 10 SupportTickets
1606
- * const supportTickets = await prisma.supportTicket.findMany({ take: 10 })
1607
- *
1608
- * // Only select the `id`
1609
- * const supportTicketWithIdOnly = await prisma.supportTicket.findMany({ select: { id: true } })
1610
- *
1611
- */
1612
- findMany<T extends SupportTicketFindManyArgs>(args?: Prisma.SelectSubset<T, SupportTicketFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1613
-
1614
- /**
1615
- * Create a SupportTicket.
1616
- * @param {SupportTicketCreateArgs} args - Arguments to create a SupportTicket.
1617
- * @example
1618
- * // Create one SupportTicket
1619
- * const SupportTicket = await prisma.supportTicket.create({
1620
- * data: {
1621
- * // ... data to create a SupportTicket
1622
- * }
1623
- * })
1624
- *
1625
- */
1626
- create<T extends SupportTicketCreateArgs>(args: Prisma.SelectSubset<T, SupportTicketCreateArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1627
-
1628
- /**
1629
- * Create many SupportTickets.
1630
- * @param {SupportTicketCreateManyArgs} args - Arguments to create many SupportTickets.
1631
- * @example
1632
- * // Create many SupportTickets
1633
- * const supportTicket = await prisma.supportTicket.createMany({
1634
- * data: [
1635
- * // ... provide data here
1636
- * ]
1637
- * })
1638
- *
1639
- */
1640
- createMany<T extends SupportTicketCreateManyArgs>(args?: Prisma.SelectSubset<T, SupportTicketCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1641
-
1642
- /**
1643
- * Create many SupportTickets and returns the data saved in the database.
1644
- * @param {SupportTicketCreateManyAndReturnArgs} args - Arguments to create many SupportTickets.
1645
- * @example
1646
- * // Create many SupportTickets
1647
- * const supportTicket = await prisma.supportTicket.createManyAndReturn({
1648
- * data: [
1649
- * // ... provide data here
1650
- * ]
1651
- * })
1652
- *
1653
- * // Create many SupportTickets and only return the `id`
1654
- * const supportTicketWithIdOnly = await prisma.supportTicket.createManyAndReturn({
1655
- * select: { id: true },
1656
- * data: [
1657
- * // ... provide data here
1658
- * ]
1659
- * })
1660
- * Note, that providing `undefined` is treated as the value not being there.
1661
- * Read more here: https://pris.ly/d/null-undefined
1662
- *
1663
- */
1664
- createManyAndReturn<T extends SupportTicketCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SupportTicketCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1665
-
1666
- /**
1667
- * Delete a SupportTicket.
1668
- * @param {SupportTicketDeleteArgs} args - Arguments to delete one SupportTicket.
1669
- * @example
1670
- * // Delete one SupportTicket
1671
- * const SupportTicket = await prisma.supportTicket.delete({
1672
- * where: {
1673
- * // ... filter to delete one SupportTicket
1674
- * }
1675
- * })
1676
- *
1677
- */
1678
- delete<T extends SupportTicketDeleteArgs>(args: Prisma.SelectSubset<T, SupportTicketDeleteArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1679
-
1680
- /**
1681
- * Update one SupportTicket.
1682
- * @param {SupportTicketUpdateArgs} args - Arguments to update one SupportTicket.
1683
- * @example
1684
- * // Update one SupportTicket
1685
- * const supportTicket = await prisma.supportTicket.update({
1686
- * where: {
1687
- * // ... provide filter here
1688
- * },
1689
- * data: {
1690
- * // ... provide data here
1691
- * }
1692
- * })
1693
- *
1694
- */
1695
- update<T extends SupportTicketUpdateArgs>(args: Prisma.SelectSubset<T, SupportTicketUpdateArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1696
-
1697
- /**
1698
- * Delete zero or more SupportTickets.
1699
- * @param {SupportTicketDeleteManyArgs} args - Arguments to filter SupportTickets to delete.
1700
- * @example
1701
- * // Delete a few SupportTickets
1702
- * const { count } = await prisma.supportTicket.deleteMany({
1703
- * where: {
1704
- * // ... provide filter here
1705
- * }
1706
- * })
1707
- *
1708
- */
1709
- deleteMany<T extends SupportTicketDeleteManyArgs>(args?: Prisma.SelectSubset<T, SupportTicketDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1710
-
1711
- /**
1712
- * Update zero or more SupportTickets.
1713
- * Note, that providing `undefined` is treated as the value not being there.
1714
- * Read more here: https://pris.ly/d/null-undefined
1715
- * @param {SupportTicketUpdateManyArgs} args - Arguments to update one or more rows.
1716
- * @example
1717
- * // Update many SupportTickets
1718
- * const supportTicket = await prisma.supportTicket.updateMany({
1719
- * where: {
1720
- * // ... provide filter here
1721
- * },
1722
- * data: {
1723
- * // ... provide data here
1724
- * }
1725
- * })
1726
- *
1727
- */
1728
- updateMany<T extends SupportTicketUpdateManyArgs>(args: Prisma.SelectSubset<T, SupportTicketUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1729
-
1730
- /**
1731
- * Update zero or more SupportTickets and returns the data updated in the database.
1732
- * @param {SupportTicketUpdateManyAndReturnArgs} args - Arguments to update many SupportTickets.
1733
- * @example
1734
- * // Update many SupportTickets
1735
- * const supportTicket = await prisma.supportTicket.updateManyAndReturn({
1736
- * where: {
1737
- * // ... provide filter here
1738
- * },
1739
- * data: [
1740
- * // ... provide data here
1741
- * ]
1742
- * })
1743
- *
1744
- * // Update zero or more SupportTickets and only return the `id`
1745
- * const supportTicketWithIdOnly = await prisma.supportTicket.updateManyAndReturn({
1746
- * select: { id: true },
1747
- * where: {
1748
- * // ... provide filter here
1749
- * },
1750
- * data: [
1751
- * // ... provide data here
1752
- * ]
1753
- * })
1754
- * Note, that providing `undefined` is treated as the value not being there.
1755
- * Read more here: https://pris.ly/d/null-undefined
1756
- *
1757
- */
1758
- updateManyAndReturn<T extends SupportTicketUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SupportTicketUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1759
-
1760
- /**
1761
- * Create or update one SupportTicket.
1762
- * @param {SupportTicketUpsertArgs} args - Arguments to update or create a SupportTicket.
1763
- * @example
1764
- * // Update or create a SupportTicket
1765
- * const supportTicket = await prisma.supportTicket.upsert({
1766
- * create: {
1767
- * // ... data to create a SupportTicket
1768
- * },
1769
- * update: {
1770
- * // ... in case it already exists, update
1771
- * },
1772
- * where: {
1773
- * // ... the filter for the SupportTicket we want to update
1774
- * }
1775
- * })
1776
- */
1777
- upsert<T extends SupportTicketUpsertArgs>(args: Prisma.SelectSubset<T, SupportTicketUpsertArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1778
-
1779
-
1780
- /**
1781
- * Count the number of SupportTickets.
1782
- * Note, that providing `undefined` is treated as the value not being there.
1783
- * Read more here: https://pris.ly/d/null-undefined
1784
- * @param {SupportTicketCountArgs} args - Arguments to filter SupportTickets to count.
1785
- * @example
1786
- * // Count the number of SupportTickets
1787
- * const count = await prisma.supportTicket.count({
1788
- * where: {
1789
- * // ... the filter for the SupportTickets we want to count
1790
- * }
1791
- * })
1792
- **/
1793
- count<T extends SupportTicketCountArgs>(
1794
- args?: Prisma.Subset<T, SupportTicketCountArgs>,
1795
- ): Prisma.PrismaPromise<
1796
- T extends runtime.Types.Utils.Record<'select', any>
1797
- ? T['select'] extends true
1798
- ? number
1799
- : Prisma.GetScalarType<T['select'], SupportTicketCountAggregateOutputType>
1800
- : number
1801
- >
1802
-
1803
- /**
1804
- * Allows you to perform aggregations operations on a SupportTicket.
1805
- * Note, that providing `undefined` is treated as the value not being there.
1806
- * Read more here: https://pris.ly/d/null-undefined
1807
- * @param {SupportTicketAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1808
- * @example
1809
- * // Ordered by age ascending
1810
- * // Where email contains prisma.io
1811
- * // Limited to the 10 users
1812
- * const aggregations = await prisma.user.aggregate({
1813
- * _avg: {
1814
- * age: true,
1815
- * },
1816
- * where: {
1817
- * email: {
1818
- * contains: "prisma.io",
1819
- * },
1820
- * },
1821
- * orderBy: {
1822
- * age: "asc",
1823
- * },
1824
- * take: 10,
1825
- * })
1826
- **/
1827
- aggregate<T extends SupportTicketAggregateArgs>(args: Prisma.Subset<T, SupportTicketAggregateArgs>): Prisma.PrismaPromise<GetSupportTicketAggregateType<T>>
1828
-
1829
- /**
1830
- * Group by SupportTicket.
1831
- * Note, that providing `undefined` is treated as the value not being there.
1832
- * Read more here: https://pris.ly/d/null-undefined
1833
- * @param {SupportTicketGroupByArgs} args - Group by arguments.
1834
- * @example
1835
- * // Group by city, order by createdAt, get count
1836
- * const result = await prisma.user.groupBy({
1837
- * by: ['city', 'createdAt'],
1838
- * orderBy: {
1839
- * createdAt: true
1840
- * },
1841
- * _count: {
1842
- * _all: true
1843
- * },
1844
- * })
1845
- *
1846
- **/
1847
- groupBy<
1848
- T extends SupportTicketGroupByArgs,
1849
- HasSelectOrTake extends Prisma.Or<
1850
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1851
- Prisma.Extends<'take', Prisma.Keys<T>>
1852
- >,
1853
- OrderByArg extends Prisma.True extends HasSelectOrTake
1854
- ? { orderBy: SupportTicketGroupByArgs['orderBy'] }
1855
- : { orderBy?: SupportTicketGroupByArgs['orderBy'] },
1856
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1857
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1858
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1859
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1860
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1861
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1862
- InputErrors extends ByEmpty extends Prisma.True
1863
- ? `Error: "by" must not be empty.`
1864
- : HavingValid extends Prisma.False
1865
- ? {
1866
- [P in HavingFields]: P extends ByFields
1867
- ? never
1868
- : P extends string
1869
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1870
- : [
1871
- Error,
1872
- 'Field ',
1873
- P,
1874
- ` in "having" needs to be provided in "by"`,
1875
- ]
1876
- }[HavingFields]
1877
- : 'take' extends Prisma.Keys<T>
1878
- ? 'orderBy' extends Prisma.Keys<T>
1879
- ? ByValid extends Prisma.True
1880
- ? {}
1881
- : {
1882
- [P in OrderFields]: P extends ByFields
1883
- ? never
1884
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1885
- }[OrderFields]
1886
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1887
- : 'skip' extends Prisma.Keys<T>
1888
- ? 'orderBy' extends Prisma.Keys<T>
1889
- ? ByValid extends Prisma.True
1890
- ? {}
1891
- : {
1892
- [P in OrderFields]: P extends ByFields
1893
- ? never
1894
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1895
- }[OrderFields]
1896
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1897
- : ByValid extends Prisma.True
1898
- ? {}
1899
- : {
1900
- [P in OrderFields]: P extends ByFields
1901
- ? never
1902
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1903
- }[OrderFields]
1904
- >(args: Prisma.SubsetIntersection<T, SupportTicketGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSupportTicketGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1905
- /**
1906
- * Fields of the SupportTicket model
1907
- */
1908
- readonly fields: SupportTicketFieldRefs;
1909
- }
1910
-
1911
- /**
1912
- * The delegate class that acts as a "Promise-like" for SupportTicket.
1913
- * Why is this prefixed with `Prisma__`?
1914
- * Because we want to prevent naming conflicts as mentioned in
1915
- * https://github.com/prisma/prisma-client-js/issues/707
1916
- */
1917
- export interface Prisma__SupportTicketClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1918
- readonly [Symbol.toStringTag]: "PrismaPromise"
1919
- category<T extends Prisma.SupportTicket$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportTicket$categoryArgs<ExtArgs>>): Prisma.Prisma__SupportCategoryClient<runtime.Types.Result.GetResult<Prisma.$SupportCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1920
- assigned_tickets<T extends Prisma.SupportTicket$assigned_ticketsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportTicket$assigned_ticketsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketAssignmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1921
- ticket_history<T extends Prisma.SupportTicket$ticket_historyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportTicket$ticket_historyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketHistoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1922
- ticket_replies<T extends Prisma.SupportTicket$ticket_repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SupportTicket$ticket_repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1923
- /**
1924
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1925
- * @param onfulfilled The callback to execute when the Promise is resolved.
1926
- * @param onrejected The callback to execute when the Promise is rejected.
1927
- * @returns A Promise for the completion of which ever callback is executed.
1928
- */
1929
- 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>
1930
- /**
1931
- * Attaches a callback for only the rejection of the Promise.
1932
- * @param onrejected The callback to execute when the Promise is rejected.
1933
- * @returns A Promise for the completion of the callback.
1934
- */
1935
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1936
- /**
1937
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1938
- * resolved value cannot be modified from the callback.
1939
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1940
- * @returns A Promise for the completion of the callback.
1941
- */
1942
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1943
- }
1944
-
1945
-
1946
-
1947
-
1948
- /**
1949
- * Fields of the SupportTicket model
1950
- */
1951
- export interface SupportTicketFieldRefs {
1952
- readonly id: Prisma.FieldRef<"SupportTicket", 'Int'>
1953
- readonly uuid: Prisma.FieldRef<"SupportTicket", 'String'>
1954
- readonly ticket_code: Prisma.FieldRef<"SupportTicket", 'String'>
1955
- readonly vendor_id: Prisma.FieldRef<"SupportTicket", 'Int'>
1956
- readonly subject: Prisma.FieldRef<"SupportTicket", 'String'>
1957
- readonly category_id: Prisma.FieldRef<"SupportTicket", 'Int'>
1958
- readonly priority: Prisma.FieldRef<"SupportTicket", 'TicketPriorityEnum'>
1959
- readonly description: Prisma.FieldRef<"SupportTicket", 'String'>
1960
- readonly attachments: Prisma.FieldRef<"SupportTicket", 'Json'>
1961
- readonly status: Prisma.FieldRef<"SupportTicket", 'TicketStatusEnum'>
1962
- readonly prefered_contact_method: Prisma.FieldRef<"SupportTicket", 'TicketContactMethodEnum'>
1963
- readonly is_active: Prisma.FieldRef<"SupportTicket", 'Boolean'>
1964
- readonly is_deleted: Prisma.FieldRef<"SupportTicket", 'Boolean'>
1965
- readonly created_at: Prisma.FieldRef<"SupportTicket", 'DateTime'>
1966
- readonly created_by: Prisma.FieldRef<"SupportTicket", 'Int'>
1967
- readonly updated_at: Prisma.FieldRef<"SupportTicket", 'DateTime'>
1968
- readonly updated_by: Prisma.FieldRef<"SupportTicket", 'Int'>
1969
- readonly deleted_at: Prisma.FieldRef<"SupportTicket", 'DateTime'>
1970
- readonly deleted_by: Prisma.FieldRef<"SupportTicket", 'Int'>
1971
- }
1972
-
1973
-
1974
- // Custom InputTypes
1975
- /**
1976
- * SupportTicket findUnique
1977
- */
1978
- export type SupportTicketFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1979
- /**
1980
- * Select specific fields to fetch from the SupportTicket
1981
- */
1982
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
1983
- /**
1984
- * Omit specific fields from the SupportTicket
1985
- */
1986
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
1987
- /**
1988
- * Choose, which related nodes to fetch as well
1989
- */
1990
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
1991
- /**
1992
- * Filter, which SupportTicket to fetch.
1993
- */
1994
- where: Prisma.SupportTicketWhereUniqueInput
1995
- }
1996
-
1997
- /**
1998
- * SupportTicket findUniqueOrThrow
1999
- */
2000
- export type SupportTicketFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2001
- /**
2002
- * Select specific fields to fetch from the SupportTicket
2003
- */
2004
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2005
- /**
2006
- * Omit specific fields from the SupportTicket
2007
- */
2008
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2009
- /**
2010
- * Choose, which related nodes to fetch as well
2011
- */
2012
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2013
- /**
2014
- * Filter, which SupportTicket to fetch.
2015
- */
2016
- where: Prisma.SupportTicketWhereUniqueInput
2017
- }
2018
-
2019
- /**
2020
- * SupportTicket findFirst
2021
- */
2022
- export type SupportTicketFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2023
- /**
2024
- * Select specific fields to fetch from the SupportTicket
2025
- */
2026
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2027
- /**
2028
- * Omit specific fields from the SupportTicket
2029
- */
2030
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2031
- /**
2032
- * Choose, which related nodes to fetch as well
2033
- */
2034
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2035
- /**
2036
- * Filter, which SupportTicket to fetch.
2037
- */
2038
- where?: Prisma.SupportTicketWhereInput
2039
- /**
2040
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2041
- *
2042
- * Determine the order of SupportTickets to fetch.
2043
- */
2044
- orderBy?: Prisma.SupportTicketOrderByWithRelationInput | Prisma.SupportTicketOrderByWithRelationInput[]
2045
- /**
2046
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2047
- *
2048
- * Sets the position for searching for SupportTickets.
2049
- */
2050
- cursor?: Prisma.SupportTicketWhereUniqueInput
2051
- /**
2052
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2053
- *
2054
- * Take `±n` SupportTickets from the position of the cursor.
2055
- */
2056
- take?: number
2057
- /**
2058
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2059
- *
2060
- * Skip the first `n` SupportTickets.
2061
- */
2062
- skip?: number
2063
- /**
2064
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2065
- *
2066
- * Filter by unique combinations of SupportTickets.
2067
- */
2068
- distinct?: Prisma.SupportTicketScalarFieldEnum | Prisma.SupportTicketScalarFieldEnum[]
2069
- }
2070
-
2071
- /**
2072
- * SupportTicket findFirstOrThrow
2073
- */
2074
- export type SupportTicketFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2075
- /**
2076
- * Select specific fields to fetch from the SupportTicket
2077
- */
2078
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2079
- /**
2080
- * Omit specific fields from the SupportTicket
2081
- */
2082
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2083
- /**
2084
- * Choose, which related nodes to fetch as well
2085
- */
2086
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2087
- /**
2088
- * Filter, which SupportTicket to fetch.
2089
- */
2090
- where?: Prisma.SupportTicketWhereInput
2091
- /**
2092
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2093
- *
2094
- * Determine the order of SupportTickets to fetch.
2095
- */
2096
- orderBy?: Prisma.SupportTicketOrderByWithRelationInput | Prisma.SupportTicketOrderByWithRelationInput[]
2097
- /**
2098
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2099
- *
2100
- * Sets the position for searching for SupportTickets.
2101
- */
2102
- cursor?: Prisma.SupportTicketWhereUniqueInput
2103
- /**
2104
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2105
- *
2106
- * Take `±n` SupportTickets from the position of the cursor.
2107
- */
2108
- take?: number
2109
- /**
2110
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2111
- *
2112
- * Skip the first `n` SupportTickets.
2113
- */
2114
- skip?: number
2115
- /**
2116
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2117
- *
2118
- * Filter by unique combinations of SupportTickets.
2119
- */
2120
- distinct?: Prisma.SupportTicketScalarFieldEnum | Prisma.SupportTicketScalarFieldEnum[]
2121
- }
2122
-
2123
- /**
2124
- * SupportTicket findMany
2125
- */
2126
- export type SupportTicketFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2127
- /**
2128
- * Select specific fields to fetch from the SupportTicket
2129
- */
2130
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2131
- /**
2132
- * Omit specific fields from the SupportTicket
2133
- */
2134
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2135
- /**
2136
- * Choose, which related nodes to fetch as well
2137
- */
2138
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2139
- /**
2140
- * Filter, which SupportTickets to fetch.
2141
- */
2142
- where?: Prisma.SupportTicketWhereInput
2143
- /**
2144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2145
- *
2146
- * Determine the order of SupportTickets to fetch.
2147
- */
2148
- orderBy?: Prisma.SupportTicketOrderByWithRelationInput | Prisma.SupportTicketOrderByWithRelationInput[]
2149
- /**
2150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2151
- *
2152
- * Sets the position for listing SupportTickets.
2153
- */
2154
- cursor?: Prisma.SupportTicketWhereUniqueInput
2155
- /**
2156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2157
- *
2158
- * Take `±n` SupportTickets from the position of the cursor.
2159
- */
2160
- take?: number
2161
- /**
2162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2163
- *
2164
- * Skip the first `n` SupportTickets.
2165
- */
2166
- skip?: number
2167
- /**
2168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2169
- *
2170
- * Filter by unique combinations of SupportTickets.
2171
- */
2172
- distinct?: Prisma.SupportTicketScalarFieldEnum | Prisma.SupportTicketScalarFieldEnum[]
2173
- }
2174
-
2175
- /**
2176
- * SupportTicket create
2177
- */
2178
- export type SupportTicketCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2179
- /**
2180
- * Select specific fields to fetch from the SupportTicket
2181
- */
2182
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2183
- /**
2184
- * Omit specific fields from the SupportTicket
2185
- */
2186
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2187
- /**
2188
- * Choose, which related nodes to fetch as well
2189
- */
2190
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2191
- /**
2192
- * The data needed to create a SupportTicket.
2193
- */
2194
- data: Prisma.XOR<Prisma.SupportTicketCreateInput, Prisma.SupportTicketUncheckedCreateInput>
2195
- }
2196
-
2197
- /**
2198
- * SupportTicket createMany
2199
- */
2200
- export type SupportTicketCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2201
- /**
2202
- * The data used to create many SupportTickets.
2203
- */
2204
- data: Prisma.SupportTicketCreateManyInput | Prisma.SupportTicketCreateManyInput[]
2205
- skipDuplicates?: boolean
2206
- }
2207
-
2208
- /**
2209
- * SupportTicket createManyAndReturn
2210
- */
2211
- export type SupportTicketCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2212
- /**
2213
- * Select specific fields to fetch from the SupportTicket
2214
- */
2215
- select?: Prisma.SupportTicketSelectCreateManyAndReturn<ExtArgs> | null
2216
- /**
2217
- * Omit specific fields from the SupportTicket
2218
- */
2219
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2220
- /**
2221
- * The data used to create many SupportTickets.
2222
- */
2223
- data: Prisma.SupportTicketCreateManyInput | Prisma.SupportTicketCreateManyInput[]
2224
- skipDuplicates?: boolean
2225
- /**
2226
- * Choose, which related nodes to fetch as well
2227
- */
2228
- include?: Prisma.SupportTicketIncludeCreateManyAndReturn<ExtArgs> | null
2229
- }
2230
-
2231
- /**
2232
- * SupportTicket update
2233
- */
2234
- export type SupportTicketUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2235
- /**
2236
- * Select specific fields to fetch from the SupportTicket
2237
- */
2238
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2239
- /**
2240
- * Omit specific fields from the SupportTicket
2241
- */
2242
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2243
- /**
2244
- * Choose, which related nodes to fetch as well
2245
- */
2246
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2247
- /**
2248
- * The data needed to update a SupportTicket.
2249
- */
2250
- data: Prisma.XOR<Prisma.SupportTicketUpdateInput, Prisma.SupportTicketUncheckedUpdateInput>
2251
- /**
2252
- * Choose, which SupportTicket to update.
2253
- */
2254
- where: Prisma.SupportTicketWhereUniqueInput
2255
- }
2256
-
2257
- /**
2258
- * SupportTicket updateMany
2259
- */
2260
- export type SupportTicketUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2261
- /**
2262
- * The data used to update SupportTickets.
2263
- */
2264
- data: Prisma.XOR<Prisma.SupportTicketUpdateManyMutationInput, Prisma.SupportTicketUncheckedUpdateManyInput>
2265
- /**
2266
- * Filter which SupportTickets to update
2267
- */
2268
- where?: Prisma.SupportTicketWhereInput
2269
- /**
2270
- * Limit how many SupportTickets to update.
2271
- */
2272
- limit?: number
2273
- }
2274
-
2275
- /**
2276
- * SupportTicket updateManyAndReturn
2277
- */
2278
- export type SupportTicketUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2279
- /**
2280
- * Select specific fields to fetch from the SupportTicket
2281
- */
2282
- select?: Prisma.SupportTicketSelectUpdateManyAndReturn<ExtArgs> | null
2283
- /**
2284
- * Omit specific fields from the SupportTicket
2285
- */
2286
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2287
- /**
2288
- * The data used to update SupportTickets.
2289
- */
2290
- data: Prisma.XOR<Prisma.SupportTicketUpdateManyMutationInput, Prisma.SupportTicketUncheckedUpdateManyInput>
2291
- /**
2292
- * Filter which SupportTickets to update
2293
- */
2294
- where?: Prisma.SupportTicketWhereInput
2295
- /**
2296
- * Limit how many SupportTickets to update.
2297
- */
2298
- limit?: number
2299
- /**
2300
- * Choose, which related nodes to fetch as well
2301
- */
2302
- include?: Prisma.SupportTicketIncludeUpdateManyAndReturn<ExtArgs> | null
2303
- }
2304
-
2305
- /**
2306
- * SupportTicket upsert
2307
- */
2308
- export type SupportTicketUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2309
- /**
2310
- * Select specific fields to fetch from the SupportTicket
2311
- */
2312
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2313
- /**
2314
- * Omit specific fields from the SupportTicket
2315
- */
2316
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2317
- /**
2318
- * Choose, which related nodes to fetch as well
2319
- */
2320
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2321
- /**
2322
- * The filter to search for the SupportTicket to update in case it exists.
2323
- */
2324
- where: Prisma.SupportTicketWhereUniqueInput
2325
- /**
2326
- * In case the SupportTicket found by the `where` argument doesn't exist, create a new SupportTicket with this data.
2327
- */
2328
- create: Prisma.XOR<Prisma.SupportTicketCreateInput, Prisma.SupportTicketUncheckedCreateInput>
2329
- /**
2330
- * In case the SupportTicket was found with the provided `where` argument, update it with this data.
2331
- */
2332
- update: Prisma.XOR<Prisma.SupportTicketUpdateInput, Prisma.SupportTicketUncheckedUpdateInput>
2333
- }
2334
-
2335
- /**
2336
- * SupportTicket delete
2337
- */
2338
- export type SupportTicketDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2339
- /**
2340
- * Select specific fields to fetch from the SupportTicket
2341
- */
2342
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2343
- /**
2344
- * Omit specific fields from the SupportTicket
2345
- */
2346
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2347
- /**
2348
- * Choose, which related nodes to fetch as well
2349
- */
2350
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2351
- /**
2352
- * Filter which SupportTicket to delete.
2353
- */
2354
- where: Prisma.SupportTicketWhereUniqueInput
2355
- }
2356
-
2357
- /**
2358
- * SupportTicket deleteMany
2359
- */
2360
- export type SupportTicketDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2361
- /**
2362
- * Filter which SupportTickets to delete
2363
- */
2364
- where?: Prisma.SupportTicketWhereInput
2365
- /**
2366
- * Limit how many SupportTickets to delete.
2367
- */
2368
- limit?: number
2369
- }
2370
-
2371
- /**
2372
- * SupportTicket.category
2373
- */
2374
- export type SupportTicket$categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2375
- /**
2376
- * Select specific fields to fetch from the SupportCategory
2377
- */
2378
- select?: Prisma.SupportCategorySelect<ExtArgs> | null
2379
- /**
2380
- * Omit specific fields from the SupportCategory
2381
- */
2382
- omit?: Prisma.SupportCategoryOmit<ExtArgs> | null
2383
- /**
2384
- * Choose, which related nodes to fetch as well
2385
- */
2386
- include?: Prisma.SupportCategoryInclude<ExtArgs> | null
2387
- where?: Prisma.SupportCategoryWhereInput
2388
- }
2389
-
2390
- /**
2391
- * SupportTicket.assigned_tickets
2392
- */
2393
- export type SupportTicket$assigned_ticketsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2394
- /**
2395
- * Select specific fields to fetch from the TicketAssignment
2396
- */
2397
- select?: Prisma.TicketAssignmentSelect<ExtArgs> | null
2398
- /**
2399
- * Omit specific fields from the TicketAssignment
2400
- */
2401
- omit?: Prisma.TicketAssignmentOmit<ExtArgs> | null
2402
- /**
2403
- * Choose, which related nodes to fetch as well
2404
- */
2405
- include?: Prisma.TicketAssignmentInclude<ExtArgs> | null
2406
- where?: Prisma.TicketAssignmentWhereInput
2407
- orderBy?: Prisma.TicketAssignmentOrderByWithRelationInput | Prisma.TicketAssignmentOrderByWithRelationInput[]
2408
- cursor?: Prisma.TicketAssignmentWhereUniqueInput
2409
- take?: number
2410
- skip?: number
2411
- distinct?: Prisma.TicketAssignmentScalarFieldEnum | Prisma.TicketAssignmentScalarFieldEnum[]
2412
- }
2413
-
2414
- /**
2415
- * SupportTicket.ticket_history
2416
- */
2417
- export type SupportTicket$ticket_historyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2418
- /**
2419
- * Select specific fields to fetch from the TicketHistory
2420
- */
2421
- select?: Prisma.TicketHistorySelect<ExtArgs> | null
2422
- /**
2423
- * Omit specific fields from the TicketHistory
2424
- */
2425
- omit?: Prisma.TicketHistoryOmit<ExtArgs> | null
2426
- /**
2427
- * Choose, which related nodes to fetch as well
2428
- */
2429
- include?: Prisma.TicketHistoryInclude<ExtArgs> | null
2430
- where?: Prisma.TicketHistoryWhereInput
2431
- orderBy?: Prisma.TicketHistoryOrderByWithRelationInput | Prisma.TicketHistoryOrderByWithRelationInput[]
2432
- cursor?: Prisma.TicketHistoryWhereUniqueInput
2433
- take?: number
2434
- skip?: number
2435
- distinct?: Prisma.TicketHistoryScalarFieldEnum | Prisma.TicketHistoryScalarFieldEnum[]
2436
- }
2437
-
2438
- /**
2439
- * SupportTicket.ticket_replies
2440
- */
2441
- export type SupportTicket$ticket_repliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2442
- /**
2443
- * Select specific fields to fetch from the TicketReply
2444
- */
2445
- select?: Prisma.TicketReplySelect<ExtArgs> | null
2446
- /**
2447
- * Omit specific fields from the TicketReply
2448
- */
2449
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
2450
- /**
2451
- * Choose, which related nodes to fetch as well
2452
- */
2453
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
2454
- where?: Prisma.TicketReplyWhereInput
2455
- orderBy?: Prisma.TicketReplyOrderByWithRelationInput | Prisma.TicketReplyOrderByWithRelationInput[]
2456
- cursor?: Prisma.TicketReplyWhereUniqueInput
2457
- take?: number
2458
- skip?: number
2459
- distinct?: Prisma.TicketReplyScalarFieldEnum | Prisma.TicketReplyScalarFieldEnum[]
2460
- }
2461
-
2462
- /**
2463
- * SupportTicket without action
2464
- */
2465
- export type SupportTicketDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2466
- /**
2467
- * Select specific fields to fetch from the SupportTicket
2468
- */
2469
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
2470
- /**
2471
- * Omit specific fields from the SupportTicket
2472
- */
2473
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
2474
- /**
2475
- * Choose, which related nodes to fetch as well
2476
- */
2477
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
2478
- }