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,1640 +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 `TicketReply` 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 TicketReply
17
- *
18
- */
19
- export type TicketReplyModel = runtime.Types.Result.DefaultSelection<Prisma.$TicketReplyPayload>
20
-
21
- export type AggregateTicketReply = {
22
- _count: TicketReplyCountAggregateOutputType | null
23
- _avg: TicketReplyAvgAggregateOutputType | null
24
- _sum: TicketReplySumAggregateOutputType | null
25
- _min: TicketReplyMinAggregateOutputType | null
26
- _max: TicketReplyMaxAggregateOutputType | null
27
- }
28
-
29
- export type TicketReplyAvgAggregateOutputType = {
30
- id: number | null
31
- ticket_id: number | null
32
- user_id: number | null
33
- vendor_id: number | null
34
- }
35
-
36
- export type TicketReplySumAggregateOutputType = {
37
- id: number | null
38
- ticket_id: number | null
39
- user_id: number | null
40
- vendor_id: number | null
41
- }
42
-
43
- export type TicketReplyMinAggregateOutputType = {
44
- id: number | null
45
- uuid: string | null
46
- ticket_id: number | null
47
- user_id: number | null
48
- vendor_id: number | null
49
- message: string | null
50
- created_at: Date | null
51
- }
52
-
53
- export type TicketReplyMaxAggregateOutputType = {
54
- id: number | null
55
- uuid: string | null
56
- ticket_id: number | null
57
- user_id: number | null
58
- vendor_id: number | null
59
- message: string | null
60
- created_at: Date | null
61
- }
62
-
63
- export type TicketReplyCountAggregateOutputType = {
64
- id: number
65
- uuid: number
66
- ticket_id: number
67
- user_id: number
68
- vendor_id: number
69
- message: number
70
- created_at: number
71
- _all: number
72
- }
73
-
74
-
75
- export type TicketReplyAvgAggregateInputType = {
76
- id?: true
77
- ticket_id?: true
78
- user_id?: true
79
- vendor_id?: true
80
- }
81
-
82
- export type TicketReplySumAggregateInputType = {
83
- id?: true
84
- ticket_id?: true
85
- user_id?: true
86
- vendor_id?: true
87
- }
88
-
89
- export type TicketReplyMinAggregateInputType = {
90
- id?: true
91
- uuid?: true
92
- ticket_id?: true
93
- user_id?: true
94
- vendor_id?: true
95
- message?: true
96
- created_at?: true
97
- }
98
-
99
- export type TicketReplyMaxAggregateInputType = {
100
- id?: true
101
- uuid?: true
102
- ticket_id?: true
103
- user_id?: true
104
- vendor_id?: true
105
- message?: true
106
- created_at?: true
107
- }
108
-
109
- export type TicketReplyCountAggregateInputType = {
110
- id?: true
111
- uuid?: true
112
- ticket_id?: true
113
- user_id?: true
114
- vendor_id?: true
115
- message?: true
116
- created_at?: true
117
- _all?: true
118
- }
119
-
120
- export type TicketReplyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
- /**
122
- * Filter which TicketReply to aggregate.
123
- */
124
- where?: Prisma.TicketReplyWhereInput
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
127
- *
128
- * Determine the order of TicketReplies to fetch.
129
- */
130
- orderBy?: Prisma.TicketReplyOrderByWithRelationInput | Prisma.TicketReplyOrderByWithRelationInput[]
131
- /**
132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
133
- *
134
- * Sets the start position
135
- */
136
- cursor?: Prisma.TicketReplyWhereUniqueInput
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
- *
140
- * Take `±n` TicketReplies from the position of the cursor.
141
- */
142
- take?: number
143
- /**
144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
- *
146
- * Skip the first `n` TicketReplies.
147
- */
148
- skip?: number
149
- /**
150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
- *
152
- * Count returned TicketReplies
153
- **/
154
- _count?: true | TicketReplyCountAggregateInputType
155
- /**
156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
- *
158
- * Select which fields to average
159
- **/
160
- _avg?: TicketReplyAvgAggregateInputType
161
- /**
162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
- *
164
- * Select which fields to sum
165
- **/
166
- _sum?: TicketReplySumAggregateInputType
167
- /**
168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
- *
170
- * Select which fields to find the minimum value
171
- **/
172
- _min?: TicketReplyMinAggregateInputType
173
- /**
174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
- *
176
- * Select which fields to find the maximum value
177
- **/
178
- _max?: TicketReplyMaxAggregateInputType
179
- }
180
-
181
- export type GetTicketReplyAggregateType<T extends TicketReplyAggregateArgs> = {
182
- [P in keyof T & keyof AggregateTicketReply]: P extends '_count' | 'count'
183
- ? T[P] extends true
184
- ? number
185
- : Prisma.GetScalarType<T[P], AggregateTicketReply[P]>
186
- : Prisma.GetScalarType<T[P], AggregateTicketReply[P]>
187
- }
188
-
189
-
190
-
191
-
192
- export type TicketReplyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
193
- where?: Prisma.TicketReplyWhereInput
194
- orderBy?: Prisma.TicketReplyOrderByWithAggregationInput | Prisma.TicketReplyOrderByWithAggregationInput[]
195
- by: Prisma.TicketReplyScalarFieldEnum[] | Prisma.TicketReplyScalarFieldEnum
196
- having?: Prisma.TicketReplyScalarWhereWithAggregatesInput
197
- take?: number
198
- skip?: number
199
- _count?: TicketReplyCountAggregateInputType | true
200
- _avg?: TicketReplyAvgAggregateInputType
201
- _sum?: TicketReplySumAggregateInputType
202
- _min?: TicketReplyMinAggregateInputType
203
- _max?: TicketReplyMaxAggregateInputType
204
- }
205
-
206
- export type TicketReplyGroupByOutputType = {
207
- id: number
208
- uuid: string | null
209
- ticket_id: number | null
210
- user_id: number | null
211
- vendor_id: number | null
212
- message: string | null
213
- created_at: Date
214
- _count: TicketReplyCountAggregateOutputType | null
215
- _avg: TicketReplyAvgAggregateOutputType | null
216
- _sum: TicketReplySumAggregateOutputType | null
217
- _min: TicketReplyMinAggregateOutputType | null
218
- _max: TicketReplyMaxAggregateOutputType | null
219
- }
220
-
221
- export type GetTicketReplyGroupByPayload<T extends TicketReplyGroupByArgs> = Prisma.PrismaPromise<
222
- Array<
223
- Prisma.PickEnumerable<TicketReplyGroupByOutputType, T['by']> &
224
- {
225
- [P in ((keyof T) & (keyof TicketReplyGroupByOutputType))]: P extends '_count'
226
- ? T[P] extends boolean
227
- ? number
228
- : Prisma.GetScalarType<T[P], TicketReplyGroupByOutputType[P]>
229
- : Prisma.GetScalarType<T[P], TicketReplyGroupByOutputType[P]>
230
- }
231
- >
232
- >
233
-
234
-
235
-
236
- export type TicketReplyWhereInput = {
237
- AND?: Prisma.TicketReplyWhereInput | Prisma.TicketReplyWhereInput[]
238
- OR?: Prisma.TicketReplyWhereInput[]
239
- NOT?: Prisma.TicketReplyWhereInput | Prisma.TicketReplyWhereInput[]
240
- id?: Prisma.IntFilter<"TicketReply"> | number
241
- uuid?: Prisma.StringNullableFilter<"TicketReply"> | string | null
242
- ticket_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
243
- user_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
244
- vendor_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
245
- message?: Prisma.StringNullableFilter<"TicketReply"> | string | null
246
- created_at?: Prisma.DateTimeFilter<"TicketReply"> | Date | string
247
- support_ticket?: Prisma.XOR<Prisma.SupportTicketNullableScalarRelationFilter, Prisma.SupportTicketWhereInput> | null
248
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
249
- }
250
-
251
- export type TicketReplyOrderByWithRelationInput = {
252
- id?: Prisma.SortOrder
253
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
254
- ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
255
- user_id?: Prisma.SortOrderInput | Prisma.SortOrder
256
- vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
257
- message?: Prisma.SortOrderInput | Prisma.SortOrder
258
- created_at?: Prisma.SortOrder
259
- support_ticket?: Prisma.SupportTicketOrderByWithRelationInput
260
- user?: Prisma.UserOrderByWithRelationInput
261
- }
262
-
263
- export type TicketReplyWhereUniqueInput = Prisma.AtLeast<{
264
- id?: number
265
- uuid?: string
266
- AND?: Prisma.TicketReplyWhereInput | Prisma.TicketReplyWhereInput[]
267
- OR?: Prisma.TicketReplyWhereInput[]
268
- NOT?: Prisma.TicketReplyWhereInput | Prisma.TicketReplyWhereInput[]
269
- ticket_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
270
- user_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
271
- vendor_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
272
- message?: Prisma.StringNullableFilter<"TicketReply"> | string | null
273
- created_at?: Prisma.DateTimeFilter<"TicketReply"> | Date | string
274
- support_ticket?: Prisma.XOR<Prisma.SupportTicketNullableScalarRelationFilter, Prisma.SupportTicketWhereInput> | null
275
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
276
- }, "id" | "uuid">
277
-
278
- export type TicketReplyOrderByWithAggregationInput = {
279
- id?: Prisma.SortOrder
280
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
281
- ticket_id?: Prisma.SortOrderInput | Prisma.SortOrder
282
- user_id?: Prisma.SortOrderInput | Prisma.SortOrder
283
- vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
284
- message?: Prisma.SortOrderInput | Prisma.SortOrder
285
- created_at?: Prisma.SortOrder
286
- _count?: Prisma.TicketReplyCountOrderByAggregateInput
287
- _avg?: Prisma.TicketReplyAvgOrderByAggregateInput
288
- _max?: Prisma.TicketReplyMaxOrderByAggregateInput
289
- _min?: Prisma.TicketReplyMinOrderByAggregateInput
290
- _sum?: Prisma.TicketReplySumOrderByAggregateInput
291
- }
292
-
293
- export type TicketReplyScalarWhereWithAggregatesInput = {
294
- AND?: Prisma.TicketReplyScalarWhereWithAggregatesInput | Prisma.TicketReplyScalarWhereWithAggregatesInput[]
295
- OR?: Prisma.TicketReplyScalarWhereWithAggregatesInput[]
296
- NOT?: Prisma.TicketReplyScalarWhereWithAggregatesInput | Prisma.TicketReplyScalarWhereWithAggregatesInput[]
297
- id?: Prisma.IntWithAggregatesFilter<"TicketReply"> | number
298
- uuid?: Prisma.StringNullableWithAggregatesFilter<"TicketReply"> | string | null
299
- ticket_id?: Prisma.IntNullableWithAggregatesFilter<"TicketReply"> | number | null
300
- user_id?: Prisma.IntNullableWithAggregatesFilter<"TicketReply"> | number | null
301
- vendor_id?: Prisma.IntNullableWithAggregatesFilter<"TicketReply"> | number | null
302
- message?: Prisma.StringNullableWithAggregatesFilter<"TicketReply"> | string | null
303
- created_at?: Prisma.DateTimeWithAggregatesFilter<"TicketReply"> | Date | string
304
- }
305
-
306
- export type TicketReplyCreateInput = {
307
- uuid?: string | null
308
- vendor_id?: number | null
309
- message?: string | null
310
- created_at?: Date | string
311
- support_ticket?: Prisma.SupportTicketCreateNestedOneWithoutTicket_repliesInput
312
- user?: Prisma.UserCreateNestedOneWithoutTicket_repliesInput
313
- }
314
-
315
- export type TicketReplyUncheckedCreateInput = {
316
- id?: number
317
- uuid?: string | null
318
- ticket_id?: number | null
319
- user_id?: number | null
320
- vendor_id?: number | null
321
- message?: string | null
322
- created_at?: Date | string
323
- }
324
-
325
- export type TicketReplyUpdateInput = {
326
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
327
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
328
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
329
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
330
- support_ticket?: Prisma.SupportTicketUpdateOneWithoutTicket_repliesNestedInput
331
- user?: Prisma.UserUpdateOneWithoutTicket_repliesNestedInput
332
- }
333
-
334
- export type TicketReplyUncheckedUpdateInput = {
335
- id?: Prisma.IntFieldUpdateOperationsInput | number
336
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
337
- ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
338
- user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
339
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
340
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
341
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
342
- }
343
-
344
- export type TicketReplyCreateManyInput = {
345
- id?: number
346
- uuid?: string | null
347
- ticket_id?: number | null
348
- user_id?: number | null
349
- vendor_id?: number | null
350
- message?: string | null
351
- created_at?: Date | string
352
- }
353
-
354
- export type TicketReplyUpdateManyMutationInput = {
355
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
356
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
357
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
358
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
359
- }
360
-
361
- export type TicketReplyUncheckedUpdateManyInput = {
362
- id?: Prisma.IntFieldUpdateOperationsInput | number
363
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
364
- ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
365
- user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
366
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
367
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
368
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
369
- }
370
-
371
- export type TicketReplyListRelationFilter = {
372
- every?: Prisma.TicketReplyWhereInput
373
- some?: Prisma.TicketReplyWhereInput
374
- none?: Prisma.TicketReplyWhereInput
375
- }
376
-
377
- export type TicketReplyOrderByRelationAggregateInput = {
378
- _count?: Prisma.SortOrder
379
- }
380
-
381
- export type TicketReplyCountOrderByAggregateInput = {
382
- id?: Prisma.SortOrder
383
- uuid?: Prisma.SortOrder
384
- ticket_id?: Prisma.SortOrder
385
- user_id?: Prisma.SortOrder
386
- vendor_id?: Prisma.SortOrder
387
- message?: Prisma.SortOrder
388
- created_at?: Prisma.SortOrder
389
- }
390
-
391
- export type TicketReplyAvgOrderByAggregateInput = {
392
- id?: Prisma.SortOrder
393
- ticket_id?: Prisma.SortOrder
394
- user_id?: Prisma.SortOrder
395
- vendor_id?: Prisma.SortOrder
396
- }
397
-
398
- export type TicketReplyMaxOrderByAggregateInput = {
399
- id?: Prisma.SortOrder
400
- uuid?: Prisma.SortOrder
401
- ticket_id?: Prisma.SortOrder
402
- user_id?: Prisma.SortOrder
403
- vendor_id?: Prisma.SortOrder
404
- message?: Prisma.SortOrder
405
- created_at?: Prisma.SortOrder
406
- }
407
-
408
- export type TicketReplyMinOrderByAggregateInput = {
409
- id?: Prisma.SortOrder
410
- uuid?: Prisma.SortOrder
411
- ticket_id?: Prisma.SortOrder
412
- user_id?: Prisma.SortOrder
413
- vendor_id?: Prisma.SortOrder
414
- message?: Prisma.SortOrder
415
- created_at?: Prisma.SortOrder
416
- }
417
-
418
- export type TicketReplySumOrderByAggregateInput = {
419
- id?: Prisma.SortOrder
420
- ticket_id?: Prisma.SortOrder
421
- user_id?: Prisma.SortOrder
422
- vendor_id?: Prisma.SortOrder
423
- }
424
-
425
- export type TicketReplyCreateNestedManyWithoutUserInput = {
426
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput> | Prisma.TicketReplyCreateWithoutUserInput[] | Prisma.TicketReplyUncheckedCreateWithoutUserInput[]
427
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutUserInput | Prisma.TicketReplyCreateOrConnectWithoutUserInput[]
428
- createMany?: Prisma.TicketReplyCreateManyUserInputEnvelope
429
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
430
- }
431
-
432
- export type TicketReplyUncheckedCreateNestedManyWithoutUserInput = {
433
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput> | Prisma.TicketReplyCreateWithoutUserInput[] | Prisma.TicketReplyUncheckedCreateWithoutUserInput[]
434
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutUserInput | Prisma.TicketReplyCreateOrConnectWithoutUserInput[]
435
- createMany?: Prisma.TicketReplyCreateManyUserInputEnvelope
436
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
437
- }
438
-
439
- export type TicketReplyUpdateManyWithoutUserNestedInput = {
440
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput> | Prisma.TicketReplyCreateWithoutUserInput[] | Prisma.TicketReplyUncheckedCreateWithoutUserInput[]
441
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutUserInput | Prisma.TicketReplyCreateOrConnectWithoutUserInput[]
442
- upsert?: Prisma.TicketReplyUpsertWithWhereUniqueWithoutUserInput | Prisma.TicketReplyUpsertWithWhereUniqueWithoutUserInput[]
443
- createMany?: Prisma.TicketReplyCreateManyUserInputEnvelope
444
- set?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
445
- disconnect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
446
- delete?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
447
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
448
- update?: Prisma.TicketReplyUpdateWithWhereUniqueWithoutUserInput | Prisma.TicketReplyUpdateWithWhereUniqueWithoutUserInput[]
449
- updateMany?: Prisma.TicketReplyUpdateManyWithWhereWithoutUserInput | Prisma.TicketReplyUpdateManyWithWhereWithoutUserInput[]
450
- deleteMany?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
451
- }
452
-
453
- export type TicketReplyUncheckedUpdateManyWithoutUserNestedInput = {
454
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput> | Prisma.TicketReplyCreateWithoutUserInput[] | Prisma.TicketReplyUncheckedCreateWithoutUserInput[]
455
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutUserInput | Prisma.TicketReplyCreateOrConnectWithoutUserInput[]
456
- upsert?: Prisma.TicketReplyUpsertWithWhereUniqueWithoutUserInput | Prisma.TicketReplyUpsertWithWhereUniqueWithoutUserInput[]
457
- createMany?: Prisma.TicketReplyCreateManyUserInputEnvelope
458
- set?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
459
- disconnect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
460
- delete?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
461
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
462
- update?: Prisma.TicketReplyUpdateWithWhereUniqueWithoutUserInput | Prisma.TicketReplyUpdateWithWhereUniqueWithoutUserInput[]
463
- updateMany?: Prisma.TicketReplyUpdateManyWithWhereWithoutUserInput | Prisma.TicketReplyUpdateManyWithWhereWithoutUserInput[]
464
- deleteMany?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
465
- }
466
-
467
- export type TicketReplyCreateNestedManyWithoutSupport_ticketInput = {
468
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketReplyCreateWithoutSupport_ticketInput[] | Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput[]
469
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput[]
470
- createMany?: Prisma.TicketReplyCreateManySupport_ticketInputEnvelope
471
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
472
- }
473
-
474
- export type TicketReplyUncheckedCreateNestedManyWithoutSupport_ticketInput = {
475
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketReplyCreateWithoutSupport_ticketInput[] | Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput[]
476
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput[]
477
- createMany?: Prisma.TicketReplyCreateManySupport_ticketInputEnvelope
478
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
479
- }
480
-
481
- export type TicketReplyUpdateManyWithoutSupport_ticketNestedInput = {
482
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketReplyCreateWithoutSupport_ticketInput[] | Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput[]
483
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput[]
484
- upsert?: Prisma.TicketReplyUpsertWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketReplyUpsertWithWhereUniqueWithoutSupport_ticketInput[]
485
- createMany?: Prisma.TicketReplyCreateManySupport_ticketInputEnvelope
486
- set?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
487
- disconnect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
488
- delete?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
489
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
490
- update?: Prisma.TicketReplyUpdateWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketReplyUpdateWithWhereUniqueWithoutSupport_ticketInput[]
491
- updateMany?: Prisma.TicketReplyUpdateManyWithWhereWithoutSupport_ticketInput | Prisma.TicketReplyUpdateManyWithWhereWithoutSupport_ticketInput[]
492
- deleteMany?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
493
- }
494
-
495
- export type TicketReplyUncheckedUpdateManyWithoutSupport_ticketNestedInput = {
496
- create?: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput> | Prisma.TicketReplyCreateWithoutSupport_ticketInput[] | Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput[]
497
- connectOrCreate?: Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput | Prisma.TicketReplyCreateOrConnectWithoutSupport_ticketInput[]
498
- upsert?: Prisma.TicketReplyUpsertWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketReplyUpsertWithWhereUniqueWithoutSupport_ticketInput[]
499
- createMany?: Prisma.TicketReplyCreateManySupport_ticketInputEnvelope
500
- set?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
501
- disconnect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
502
- delete?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
503
- connect?: Prisma.TicketReplyWhereUniqueInput | Prisma.TicketReplyWhereUniqueInput[]
504
- update?: Prisma.TicketReplyUpdateWithWhereUniqueWithoutSupport_ticketInput | Prisma.TicketReplyUpdateWithWhereUniqueWithoutSupport_ticketInput[]
505
- updateMany?: Prisma.TicketReplyUpdateManyWithWhereWithoutSupport_ticketInput | Prisma.TicketReplyUpdateManyWithWhereWithoutSupport_ticketInput[]
506
- deleteMany?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
507
- }
508
-
509
- export type TicketReplyCreateWithoutUserInput = {
510
- uuid?: string | null
511
- vendor_id?: number | null
512
- message?: string | null
513
- created_at?: Date | string
514
- support_ticket?: Prisma.SupportTicketCreateNestedOneWithoutTicket_repliesInput
515
- }
516
-
517
- export type TicketReplyUncheckedCreateWithoutUserInput = {
518
- id?: number
519
- uuid?: string | null
520
- ticket_id?: number | null
521
- vendor_id?: number | null
522
- message?: string | null
523
- created_at?: Date | string
524
- }
525
-
526
- export type TicketReplyCreateOrConnectWithoutUserInput = {
527
- where: Prisma.TicketReplyWhereUniqueInput
528
- create: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput>
529
- }
530
-
531
- export type TicketReplyCreateManyUserInputEnvelope = {
532
- data: Prisma.TicketReplyCreateManyUserInput | Prisma.TicketReplyCreateManyUserInput[]
533
- skipDuplicates?: boolean
534
- }
535
-
536
- export type TicketReplyUpsertWithWhereUniqueWithoutUserInput = {
537
- where: Prisma.TicketReplyWhereUniqueInput
538
- update: Prisma.XOR<Prisma.TicketReplyUpdateWithoutUserInput, Prisma.TicketReplyUncheckedUpdateWithoutUserInput>
539
- create: Prisma.XOR<Prisma.TicketReplyCreateWithoutUserInput, Prisma.TicketReplyUncheckedCreateWithoutUserInput>
540
- }
541
-
542
- export type TicketReplyUpdateWithWhereUniqueWithoutUserInput = {
543
- where: Prisma.TicketReplyWhereUniqueInput
544
- data: Prisma.XOR<Prisma.TicketReplyUpdateWithoutUserInput, Prisma.TicketReplyUncheckedUpdateWithoutUserInput>
545
- }
546
-
547
- export type TicketReplyUpdateManyWithWhereWithoutUserInput = {
548
- where: Prisma.TicketReplyScalarWhereInput
549
- data: Prisma.XOR<Prisma.TicketReplyUpdateManyMutationInput, Prisma.TicketReplyUncheckedUpdateManyWithoutUserInput>
550
- }
551
-
552
- export type TicketReplyScalarWhereInput = {
553
- AND?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
554
- OR?: Prisma.TicketReplyScalarWhereInput[]
555
- NOT?: Prisma.TicketReplyScalarWhereInput | Prisma.TicketReplyScalarWhereInput[]
556
- id?: Prisma.IntFilter<"TicketReply"> | number
557
- uuid?: Prisma.StringNullableFilter<"TicketReply"> | string | null
558
- ticket_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
559
- user_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
560
- vendor_id?: Prisma.IntNullableFilter<"TicketReply"> | number | null
561
- message?: Prisma.StringNullableFilter<"TicketReply"> | string | null
562
- created_at?: Prisma.DateTimeFilter<"TicketReply"> | Date | string
563
- }
564
-
565
- export type TicketReplyCreateWithoutSupport_ticketInput = {
566
- uuid?: string | null
567
- vendor_id?: number | null
568
- message?: string | null
569
- created_at?: Date | string
570
- user?: Prisma.UserCreateNestedOneWithoutTicket_repliesInput
571
- }
572
-
573
- export type TicketReplyUncheckedCreateWithoutSupport_ticketInput = {
574
- id?: number
575
- uuid?: string | null
576
- user_id?: number | null
577
- vendor_id?: number | null
578
- message?: string | null
579
- created_at?: Date | string
580
- }
581
-
582
- export type TicketReplyCreateOrConnectWithoutSupport_ticketInput = {
583
- where: Prisma.TicketReplyWhereUniqueInput
584
- create: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput>
585
- }
586
-
587
- export type TicketReplyCreateManySupport_ticketInputEnvelope = {
588
- data: Prisma.TicketReplyCreateManySupport_ticketInput | Prisma.TicketReplyCreateManySupport_ticketInput[]
589
- skipDuplicates?: boolean
590
- }
591
-
592
- export type TicketReplyUpsertWithWhereUniqueWithoutSupport_ticketInput = {
593
- where: Prisma.TicketReplyWhereUniqueInput
594
- update: Prisma.XOR<Prisma.TicketReplyUpdateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedUpdateWithoutSupport_ticketInput>
595
- create: Prisma.XOR<Prisma.TicketReplyCreateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedCreateWithoutSupport_ticketInput>
596
- }
597
-
598
- export type TicketReplyUpdateWithWhereUniqueWithoutSupport_ticketInput = {
599
- where: Prisma.TicketReplyWhereUniqueInput
600
- data: Prisma.XOR<Prisma.TicketReplyUpdateWithoutSupport_ticketInput, Prisma.TicketReplyUncheckedUpdateWithoutSupport_ticketInput>
601
- }
602
-
603
- export type TicketReplyUpdateManyWithWhereWithoutSupport_ticketInput = {
604
- where: Prisma.TicketReplyScalarWhereInput
605
- data: Prisma.XOR<Prisma.TicketReplyUpdateManyMutationInput, Prisma.TicketReplyUncheckedUpdateManyWithoutSupport_ticketInput>
606
- }
607
-
608
- export type TicketReplyCreateManyUserInput = {
609
- id?: number
610
- uuid?: string | null
611
- ticket_id?: number | null
612
- vendor_id?: number | null
613
- message?: string | null
614
- created_at?: Date | string
615
- }
616
-
617
- export type TicketReplyUpdateWithoutUserInput = {
618
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
619
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
620
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
621
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
622
- support_ticket?: Prisma.SupportTicketUpdateOneWithoutTicket_repliesNestedInput
623
- }
624
-
625
- export type TicketReplyUncheckedUpdateWithoutUserInput = {
626
- id?: Prisma.IntFieldUpdateOperationsInput | number
627
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
- ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
629
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
630
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
631
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
632
- }
633
-
634
- export type TicketReplyUncheckedUpdateManyWithoutUserInput = {
635
- id?: Prisma.IntFieldUpdateOperationsInput | number
636
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
637
- ticket_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
638
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
639
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
640
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
641
- }
642
-
643
- export type TicketReplyCreateManySupport_ticketInput = {
644
- id?: number
645
- uuid?: string | null
646
- user_id?: number | null
647
- vendor_id?: number | null
648
- message?: string | null
649
- created_at?: Date | string
650
- }
651
-
652
- export type TicketReplyUpdateWithoutSupport_ticketInput = {
653
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
654
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
655
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
656
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
657
- user?: Prisma.UserUpdateOneWithoutTicket_repliesNestedInput
658
- }
659
-
660
- export type TicketReplyUncheckedUpdateWithoutSupport_ticketInput = {
661
- id?: Prisma.IntFieldUpdateOperationsInput | number
662
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
663
- user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
664
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
665
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
666
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
667
- }
668
-
669
- export type TicketReplyUncheckedUpdateManyWithoutSupport_ticketInput = {
670
- id?: Prisma.IntFieldUpdateOperationsInput | number
671
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
672
- user_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
673
- vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
674
- message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
675
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
676
- }
677
-
678
-
679
-
680
- export type TicketReplySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
681
- id?: boolean
682
- uuid?: boolean
683
- ticket_id?: boolean
684
- user_id?: boolean
685
- vendor_id?: boolean
686
- message?: boolean
687
- created_at?: boolean
688
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
689
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
690
- }, ExtArgs["result"]["ticketReply"]>
691
-
692
- export type TicketReplySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
693
- id?: boolean
694
- uuid?: boolean
695
- ticket_id?: boolean
696
- user_id?: boolean
697
- vendor_id?: boolean
698
- message?: boolean
699
- created_at?: boolean
700
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
701
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
702
- }, ExtArgs["result"]["ticketReply"]>
703
-
704
- export type TicketReplySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
705
- id?: boolean
706
- uuid?: boolean
707
- ticket_id?: boolean
708
- user_id?: boolean
709
- vendor_id?: boolean
710
- message?: boolean
711
- created_at?: boolean
712
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
713
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
714
- }, ExtArgs["result"]["ticketReply"]>
715
-
716
- export type TicketReplySelectScalar = {
717
- id?: boolean
718
- uuid?: boolean
719
- ticket_id?: boolean
720
- user_id?: boolean
721
- vendor_id?: boolean
722
- message?: boolean
723
- created_at?: boolean
724
- }
725
-
726
- export type TicketReplyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "ticket_id" | "user_id" | "vendor_id" | "message" | "created_at", ExtArgs["result"]["ticketReply"]>
727
- export type TicketReplyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
728
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
729
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
730
- }
731
- export type TicketReplyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
732
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
733
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
734
- }
735
- export type TicketReplyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
736
- support_ticket?: boolean | Prisma.TicketReply$support_ticketArgs<ExtArgs>
737
- user?: boolean | Prisma.TicketReply$userArgs<ExtArgs>
738
- }
739
-
740
- export type $TicketReplyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
741
- name: "TicketReply"
742
- objects: {
743
- support_ticket: Prisma.$SupportTicketPayload<ExtArgs> | null
744
- user: Prisma.$UserPayload<ExtArgs> | null
745
- }
746
- scalars: runtime.Types.Extensions.GetPayloadResult<{
747
- id: number
748
- uuid: string | null
749
- ticket_id: number | null
750
- user_id: number | null
751
- vendor_id: number | null
752
- message: string | null
753
- created_at: Date
754
- }, ExtArgs["result"]["ticketReply"]>
755
- composites: {}
756
- }
757
-
758
- export type TicketReplyGetPayload<S extends boolean | null | undefined | TicketReplyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload, S>
759
-
760
- export type TicketReplyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
761
- Omit<TicketReplyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
762
- select?: TicketReplyCountAggregateInputType | true
763
- }
764
-
765
- export interface TicketReplyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
766
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TicketReply'], meta: { name: 'TicketReply' } }
767
- /**
768
- * Find zero or one TicketReply that matches the filter.
769
- * @param {TicketReplyFindUniqueArgs} args - Arguments to find a TicketReply
770
- * @example
771
- * // Get one TicketReply
772
- * const ticketReply = await prisma.ticketReply.findUnique({
773
- * where: {
774
- * // ... provide filter here
775
- * }
776
- * })
777
- */
778
- findUnique<T extends TicketReplyFindUniqueArgs>(args: Prisma.SelectSubset<T, TicketReplyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
779
-
780
- /**
781
- * Find one TicketReply that matches the filter or throw an error with `error.code='P2025'`
782
- * if no matches were found.
783
- * @param {TicketReplyFindUniqueOrThrowArgs} args - Arguments to find a TicketReply
784
- * @example
785
- * // Get one TicketReply
786
- * const ticketReply = await prisma.ticketReply.findUniqueOrThrow({
787
- * where: {
788
- * // ... provide filter here
789
- * }
790
- * })
791
- */
792
- findUniqueOrThrow<T extends TicketReplyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TicketReplyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
793
-
794
- /**
795
- * Find the first TicketReply that matches the filter.
796
- * Note, that providing `undefined` is treated as the value not being there.
797
- * Read more here: https://pris.ly/d/null-undefined
798
- * @param {TicketReplyFindFirstArgs} args - Arguments to find a TicketReply
799
- * @example
800
- * // Get one TicketReply
801
- * const ticketReply = await prisma.ticketReply.findFirst({
802
- * where: {
803
- * // ... provide filter here
804
- * }
805
- * })
806
- */
807
- findFirst<T extends TicketReplyFindFirstArgs>(args?: Prisma.SelectSubset<T, TicketReplyFindFirstArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
808
-
809
- /**
810
- * Find the first TicketReply that matches the filter or
811
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
812
- * Note, that providing `undefined` is treated as the value not being there.
813
- * Read more here: https://pris.ly/d/null-undefined
814
- * @param {TicketReplyFindFirstOrThrowArgs} args - Arguments to find a TicketReply
815
- * @example
816
- * // Get one TicketReply
817
- * const ticketReply = await prisma.ticketReply.findFirstOrThrow({
818
- * where: {
819
- * // ... provide filter here
820
- * }
821
- * })
822
- */
823
- findFirstOrThrow<T extends TicketReplyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TicketReplyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
824
-
825
- /**
826
- * Find zero or more TicketReplies that matches the filter.
827
- * Note, that providing `undefined` is treated as the value not being there.
828
- * Read more here: https://pris.ly/d/null-undefined
829
- * @param {TicketReplyFindManyArgs} args - Arguments to filter and select certain fields only.
830
- * @example
831
- * // Get all TicketReplies
832
- * const ticketReplies = await prisma.ticketReply.findMany()
833
- *
834
- * // Get first 10 TicketReplies
835
- * const ticketReplies = await prisma.ticketReply.findMany({ take: 10 })
836
- *
837
- * // Only select the `id`
838
- * const ticketReplyWithIdOnly = await prisma.ticketReply.findMany({ select: { id: true } })
839
- *
840
- */
841
- findMany<T extends TicketReplyFindManyArgs>(args?: Prisma.SelectSubset<T, TicketReplyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
842
-
843
- /**
844
- * Create a TicketReply.
845
- * @param {TicketReplyCreateArgs} args - Arguments to create a TicketReply.
846
- * @example
847
- * // Create one TicketReply
848
- * const TicketReply = await prisma.ticketReply.create({
849
- * data: {
850
- * // ... data to create a TicketReply
851
- * }
852
- * })
853
- *
854
- */
855
- create<T extends TicketReplyCreateArgs>(args: Prisma.SelectSubset<T, TicketReplyCreateArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
856
-
857
- /**
858
- * Create many TicketReplies.
859
- * @param {TicketReplyCreateManyArgs} args - Arguments to create many TicketReplies.
860
- * @example
861
- * // Create many TicketReplies
862
- * const ticketReply = await prisma.ticketReply.createMany({
863
- * data: [
864
- * // ... provide data here
865
- * ]
866
- * })
867
- *
868
- */
869
- createMany<T extends TicketReplyCreateManyArgs>(args?: Prisma.SelectSubset<T, TicketReplyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
870
-
871
- /**
872
- * Create many TicketReplies and returns the data saved in the database.
873
- * @param {TicketReplyCreateManyAndReturnArgs} args - Arguments to create many TicketReplies.
874
- * @example
875
- * // Create many TicketReplies
876
- * const ticketReply = await prisma.ticketReply.createManyAndReturn({
877
- * data: [
878
- * // ... provide data here
879
- * ]
880
- * })
881
- *
882
- * // Create many TicketReplies and only return the `id`
883
- * const ticketReplyWithIdOnly = await prisma.ticketReply.createManyAndReturn({
884
- * select: { id: true },
885
- * data: [
886
- * // ... provide data here
887
- * ]
888
- * })
889
- * Note, that providing `undefined` is treated as the value not being there.
890
- * Read more here: https://pris.ly/d/null-undefined
891
- *
892
- */
893
- createManyAndReturn<T extends TicketReplyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TicketReplyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
894
-
895
- /**
896
- * Delete a TicketReply.
897
- * @param {TicketReplyDeleteArgs} args - Arguments to delete one TicketReply.
898
- * @example
899
- * // Delete one TicketReply
900
- * const TicketReply = await prisma.ticketReply.delete({
901
- * where: {
902
- * // ... filter to delete one TicketReply
903
- * }
904
- * })
905
- *
906
- */
907
- delete<T extends TicketReplyDeleteArgs>(args: Prisma.SelectSubset<T, TicketReplyDeleteArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
908
-
909
- /**
910
- * Update one TicketReply.
911
- * @param {TicketReplyUpdateArgs} args - Arguments to update one TicketReply.
912
- * @example
913
- * // Update one TicketReply
914
- * const ticketReply = await prisma.ticketReply.update({
915
- * where: {
916
- * // ... provide filter here
917
- * },
918
- * data: {
919
- * // ... provide data here
920
- * }
921
- * })
922
- *
923
- */
924
- update<T extends TicketReplyUpdateArgs>(args: Prisma.SelectSubset<T, TicketReplyUpdateArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
925
-
926
- /**
927
- * Delete zero or more TicketReplies.
928
- * @param {TicketReplyDeleteManyArgs} args - Arguments to filter TicketReplies to delete.
929
- * @example
930
- * // Delete a few TicketReplies
931
- * const { count } = await prisma.ticketReply.deleteMany({
932
- * where: {
933
- * // ... provide filter here
934
- * }
935
- * })
936
- *
937
- */
938
- deleteMany<T extends TicketReplyDeleteManyArgs>(args?: Prisma.SelectSubset<T, TicketReplyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
939
-
940
- /**
941
- * Update zero or more TicketReplies.
942
- * Note, that providing `undefined` is treated as the value not being there.
943
- * Read more here: https://pris.ly/d/null-undefined
944
- * @param {TicketReplyUpdateManyArgs} args - Arguments to update one or more rows.
945
- * @example
946
- * // Update many TicketReplies
947
- * const ticketReply = await prisma.ticketReply.updateMany({
948
- * where: {
949
- * // ... provide filter here
950
- * },
951
- * data: {
952
- * // ... provide data here
953
- * }
954
- * })
955
- *
956
- */
957
- updateMany<T extends TicketReplyUpdateManyArgs>(args: Prisma.SelectSubset<T, TicketReplyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
958
-
959
- /**
960
- * Update zero or more TicketReplies and returns the data updated in the database.
961
- * @param {TicketReplyUpdateManyAndReturnArgs} args - Arguments to update many TicketReplies.
962
- * @example
963
- * // Update many TicketReplies
964
- * const ticketReply = await prisma.ticketReply.updateManyAndReturn({
965
- * where: {
966
- * // ... provide filter here
967
- * },
968
- * data: [
969
- * // ... provide data here
970
- * ]
971
- * })
972
- *
973
- * // Update zero or more TicketReplies and only return the `id`
974
- * const ticketReplyWithIdOnly = await prisma.ticketReply.updateManyAndReturn({
975
- * select: { id: true },
976
- * where: {
977
- * // ... provide filter here
978
- * },
979
- * data: [
980
- * // ... provide data here
981
- * ]
982
- * })
983
- * Note, that providing `undefined` is treated as the value not being there.
984
- * Read more here: https://pris.ly/d/null-undefined
985
- *
986
- */
987
- updateManyAndReturn<T extends TicketReplyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TicketReplyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
988
-
989
- /**
990
- * Create or update one TicketReply.
991
- * @param {TicketReplyUpsertArgs} args - Arguments to update or create a TicketReply.
992
- * @example
993
- * // Update or create a TicketReply
994
- * const ticketReply = await prisma.ticketReply.upsert({
995
- * create: {
996
- * // ... data to create a TicketReply
997
- * },
998
- * update: {
999
- * // ... in case it already exists, update
1000
- * },
1001
- * where: {
1002
- * // ... the filter for the TicketReply we want to update
1003
- * }
1004
- * })
1005
- */
1006
- upsert<T extends TicketReplyUpsertArgs>(args: Prisma.SelectSubset<T, TicketReplyUpsertArgs<ExtArgs>>): Prisma.Prisma__TicketReplyClient<runtime.Types.Result.GetResult<Prisma.$TicketReplyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1007
-
1008
-
1009
- /**
1010
- * Count the number of TicketReplies.
1011
- * Note, that providing `undefined` is treated as the value not being there.
1012
- * Read more here: https://pris.ly/d/null-undefined
1013
- * @param {TicketReplyCountArgs} args - Arguments to filter TicketReplies to count.
1014
- * @example
1015
- * // Count the number of TicketReplies
1016
- * const count = await prisma.ticketReply.count({
1017
- * where: {
1018
- * // ... the filter for the TicketReplies we want to count
1019
- * }
1020
- * })
1021
- **/
1022
- count<T extends TicketReplyCountArgs>(
1023
- args?: Prisma.Subset<T, TicketReplyCountArgs>,
1024
- ): Prisma.PrismaPromise<
1025
- T extends runtime.Types.Utils.Record<'select', any>
1026
- ? T['select'] extends true
1027
- ? number
1028
- : Prisma.GetScalarType<T['select'], TicketReplyCountAggregateOutputType>
1029
- : number
1030
- >
1031
-
1032
- /**
1033
- * Allows you to perform aggregations operations on a TicketReply.
1034
- * Note, that providing `undefined` is treated as the value not being there.
1035
- * Read more here: https://pris.ly/d/null-undefined
1036
- * @param {TicketReplyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1037
- * @example
1038
- * // Ordered by age ascending
1039
- * // Where email contains prisma.io
1040
- * // Limited to the 10 users
1041
- * const aggregations = await prisma.user.aggregate({
1042
- * _avg: {
1043
- * age: true,
1044
- * },
1045
- * where: {
1046
- * email: {
1047
- * contains: "prisma.io",
1048
- * },
1049
- * },
1050
- * orderBy: {
1051
- * age: "asc",
1052
- * },
1053
- * take: 10,
1054
- * })
1055
- **/
1056
- aggregate<T extends TicketReplyAggregateArgs>(args: Prisma.Subset<T, TicketReplyAggregateArgs>): Prisma.PrismaPromise<GetTicketReplyAggregateType<T>>
1057
-
1058
- /**
1059
- * Group by TicketReply.
1060
- * Note, that providing `undefined` is treated as the value not being there.
1061
- * Read more here: https://pris.ly/d/null-undefined
1062
- * @param {TicketReplyGroupByArgs} args - Group by arguments.
1063
- * @example
1064
- * // Group by city, order by createdAt, get count
1065
- * const result = await prisma.user.groupBy({
1066
- * by: ['city', 'createdAt'],
1067
- * orderBy: {
1068
- * createdAt: true
1069
- * },
1070
- * _count: {
1071
- * _all: true
1072
- * },
1073
- * })
1074
- *
1075
- **/
1076
- groupBy<
1077
- T extends TicketReplyGroupByArgs,
1078
- HasSelectOrTake extends Prisma.Or<
1079
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1080
- Prisma.Extends<'take', Prisma.Keys<T>>
1081
- >,
1082
- OrderByArg extends Prisma.True extends HasSelectOrTake
1083
- ? { orderBy: TicketReplyGroupByArgs['orderBy'] }
1084
- : { orderBy?: TicketReplyGroupByArgs['orderBy'] },
1085
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1086
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1087
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1088
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1089
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1090
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1091
- InputErrors extends ByEmpty extends Prisma.True
1092
- ? `Error: "by" must not be empty.`
1093
- : HavingValid extends Prisma.False
1094
- ? {
1095
- [P in HavingFields]: P extends ByFields
1096
- ? never
1097
- : P extends string
1098
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1099
- : [
1100
- Error,
1101
- 'Field ',
1102
- P,
1103
- ` in "having" needs to be provided in "by"`,
1104
- ]
1105
- }[HavingFields]
1106
- : 'take' extends Prisma.Keys<T>
1107
- ? 'orderBy' extends Prisma.Keys<T>
1108
- ? ByValid extends Prisma.True
1109
- ? {}
1110
- : {
1111
- [P in OrderFields]: P extends ByFields
1112
- ? never
1113
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1114
- }[OrderFields]
1115
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1116
- : 'skip' extends Prisma.Keys<T>
1117
- ? 'orderBy' extends Prisma.Keys<T>
1118
- ? ByValid extends Prisma.True
1119
- ? {}
1120
- : {
1121
- [P in OrderFields]: P extends ByFields
1122
- ? never
1123
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1124
- }[OrderFields]
1125
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1126
- : ByValid extends Prisma.True
1127
- ? {}
1128
- : {
1129
- [P in OrderFields]: P extends ByFields
1130
- ? never
1131
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1132
- }[OrderFields]
1133
- >(args: Prisma.SubsetIntersection<T, TicketReplyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTicketReplyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1134
- /**
1135
- * Fields of the TicketReply model
1136
- */
1137
- readonly fields: TicketReplyFieldRefs;
1138
- }
1139
-
1140
- /**
1141
- * The delegate class that acts as a "Promise-like" for TicketReply.
1142
- * Why is this prefixed with `Prisma__`?
1143
- * Because we want to prevent naming conflicts as mentioned in
1144
- * https://github.com/prisma/prisma-client-js/issues/707
1145
- */
1146
- export interface Prisma__TicketReplyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1147
- readonly [Symbol.toStringTag]: "PrismaPromise"
1148
- support_ticket<T extends Prisma.TicketReply$support_ticketArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TicketReply$support_ticketArgs<ExtArgs>>): Prisma.Prisma__SupportTicketClient<runtime.Types.Result.GetResult<Prisma.$SupportTicketPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1149
- user<T extends Prisma.TicketReply$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TicketReply$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1150
- /**
1151
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1152
- * @param onfulfilled The callback to execute when the Promise is resolved.
1153
- * @param onrejected The callback to execute when the Promise is rejected.
1154
- * @returns A Promise for the completion of which ever callback is executed.
1155
- */
1156
- 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>
1157
- /**
1158
- * Attaches a callback for only the rejection of the Promise.
1159
- * @param onrejected The callback to execute when the Promise is rejected.
1160
- * @returns A Promise for the completion of the callback.
1161
- */
1162
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1163
- /**
1164
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1165
- * resolved value cannot be modified from the callback.
1166
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1167
- * @returns A Promise for the completion of the callback.
1168
- */
1169
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1170
- }
1171
-
1172
-
1173
-
1174
-
1175
- /**
1176
- * Fields of the TicketReply model
1177
- */
1178
- export interface TicketReplyFieldRefs {
1179
- readonly id: Prisma.FieldRef<"TicketReply", 'Int'>
1180
- readonly uuid: Prisma.FieldRef<"TicketReply", 'String'>
1181
- readonly ticket_id: Prisma.FieldRef<"TicketReply", 'Int'>
1182
- readonly user_id: Prisma.FieldRef<"TicketReply", 'Int'>
1183
- readonly vendor_id: Prisma.FieldRef<"TicketReply", 'Int'>
1184
- readonly message: Prisma.FieldRef<"TicketReply", 'String'>
1185
- readonly created_at: Prisma.FieldRef<"TicketReply", 'DateTime'>
1186
- }
1187
-
1188
-
1189
- // Custom InputTypes
1190
- /**
1191
- * TicketReply findUnique
1192
- */
1193
- export type TicketReplyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1194
- /**
1195
- * Select specific fields to fetch from the TicketReply
1196
- */
1197
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1198
- /**
1199
- * Omit specific fields from the TicketReply
1200
- */
1201
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1202
- /**
1203
- * Choose, which related nodes to fetch as well
1204
- */
1205
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1206
- /**
1207
- * Filter, which TicketReply to fetch.
1208
- */
1209
- where: Prisma.TicketReplyWhereUniqueInput
1210
- }
1211
-
1212
- /**
1213
- * TicketReply findUniqueOrThrow
1214
- */
1215
- export type TicketReplyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1216
- /**
1217
- * Select specific fields to fetch from the TicketReply
1218
- */
1219
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1220
- /**
1221
- * Omit specific fields from the TicketReply
1222
- */
1223
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1224
- /**
1225
- * Choose, which related nodes to fetch as well
1226
- */
1227
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1228
- /**
1229
- * Filter, which TicketReply to fetch.
1230
- */
1231
- where: Prisma.TicketReplyWhereUniqueInput
1232
- }
1233
-
1234
- /**
1235
- * TicketReply findFirst
1236
- */
1237
- export type TicketReplyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1238
- /**
1239
- * Select specific fields to fetch from the TicketReply
1240
- */
1241
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1242
- /**
1243
- * Omit specific fields from the TicketReply
1244
- */
1245
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1246
- /**
1247
- * Choose, which related nodes to fetch as well
1248
- */
1249
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1250
- /**
1251
- * Filter, which TicketReply to fetch.
1252
- */
1253
- where?: Prisma.TicketReplyWhereInput
1254
- /**
1255
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1256
- *
1257
- * Determine the order of TicketReplies to fetch.
1258
- */
1259
- orderBy?: Prisma.TicketReplyOrderByWithRelationInput | Prisma.TicketReplyOrderByWithRelationInput[]
1260
- /**
1261
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1262
- *
1263
- * Sets the position for searching for TicketReplies.
1264
- */
1265
- cursor?: Prisma.TicketReplyWhereUniqueInput
1266
- /**
1267
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1268
- *
1269
- * Take `±n` TicketReplies from the position of the cursor.
1270
- */
1271
- take?: number
1272
- /**
1273
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1274
- *
1275
- * Skip the first `n` TicketReplies.
1276
- */
1277
- skip?: number
1278
- /**
1279
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1280
- *
1281
- * Filter by unique combinations of TicketReplies.
1282
- */
1283
- distinct?: Prisma.TicketReplyScalarFieldEnum | Prisma.TicketReplyScalarFieldEnum[]
1284
- }
1285
-
1286
- /**
1287
- * TicketReply findFirstOrThrow
1288
- */
1289
- export type TicketReplyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1290
- /**
1291
- * Select specific fields to fetch from the TicketReply
1292
- */
1293
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1294
- /**
1295
- * Omit specific fields from the TicketReply
1296
- */
1297
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1298
- /**
1299
- * Choose, which related nodes to fetch as well
1300
- */
1301
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1302
- /**
1303
- * Filter, which TicketReply to fetch.
1304
- */
1305
- where?: Prisma.TicketReplyWhereInput
1306
- /**
1307
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1308
- *
1309
- * Determine the order of TicketReplies to fetch.
1310
- */
1311
- orderBy?: Prisma.TicketReplyOrderByWithRelationInput | Prisma.TicketReplyOrderByWithRelationInput[]
1312
- /**
1313
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1314
- *
1315
- * Sets the position for searching for TicketReplies.
1316
- */
1317
- cursor?: Prisma.TicketReplyWhereUniqueInput
1318
- /**
1319
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1320
- *
1321
- * Take `±n` TicketReplies from the position of the cursor.
1322
- */
1323
- take?: number
1324
- /**
1325
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1326
- *
1327
- * Skip the first `n` TicketReplies.
1328
- */
1329
- skip?: number
1330
- /**
1331
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1332
- *
1333
- * Filter by unique combinations of TicketReplies.
1334
- */
1335
- distinct?: Prisma.TicketReplyScalarFieldEnum | Prisma.TicketReplyScalarFieldEnum[]
1336
- }
1337
-
1338
- /**
1339
- * TicketReply findMany
1340
- */
1341
- export type TicketReplyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1342
- /**
1343
- * Select specific fields to fetch from the TicketReply
1344
- */
1345
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1346
- /**
1347
- * Omit specific fields from the TicketReply
1348
- */
1349
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1350
- /**
1351
- * Choose, which related nodes to fetch as well
1352
- */
1353
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1354
- /**
1355
- * Filter, which TicketReplies to fetch.
1356
- */
1357
- where?: Prisma.TicketReplyWhereInput
1358
- /**
1359
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1360
- *
1361
- * Determine the order of TicketReplies to fetch.
1362
- */
1363
- orderBy?: Prisma.TicketReplyOrderByWithRelationInput | Prisma.TicketReplyOrderByWithRelationInput[]
1364
- /**
1365
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1366
- *
1367
- * Sets the position for listing TicketReplies.
1368
- */
1369
- cursor?: Prisma.TicketReplyWhereUniqueInput
1370
- /**
1371
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1372
- *
1373
- * Take `±n` TicketReplies from the position of the cursor.
1374
- */
1375
- take?: number
1376
- /**
1377
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1378
- *
1379
- * Skip the first `n` TicketReplies.
1380
- */
1381
- skip?: number
1382
- /**
1383
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1384
- *
1385
- * Filter by unique combinations of TicketReplies.
1386
- */
1387
- distinct?: Prisma.TicketReplyScalarFieldEnum | Prisma.TicketReplyScalarFieldEnum[]
1388
- }
1389
-
1390
- /**
1391
- * TicketReply create
1392
- */
1393
- export type TicketReplyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1394
- /**
1395
- * Select specific fields to fetch from the TicketReply
1396
- */
1397
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1398
- /**
1399
- * Omit specific fields from the TicketReply
1400
- */
1401
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1402
- /**
1403
- * Choose, which related nodes to fetch as well
1404
- */
1405
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1406
- /**
1407
- * The data needed to create a TicketReply.
1408
- */
1409
- data?: Prisma.XOR<Prisma.TicketReplyCreateInput, Prisma.TicketReplyUncheckedCreateInput>
1410
- }
1411
-
1412
- /**
1413
- * TicketReply createMany
1414
- */
1415
- export type TicketReplyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
- /**
1417
- * The data used to create many TicketReplies.
1418
- */
1419
- data: Prisma.TicketReplyCreateManyInput | Prisma.TicketReplyCreateManyInput[]
1420
- skipDuplicates?: boolean
1421
- }
1422
-
1423
- /**
1424
- * TicketReply createManyAndReturn
1425
- */
1426
- export type TicketReplyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1427
- /**
1428
- * Select specific fields to fetch from the TicketReply
1429
- */
1430
- select?: Prisma.TicketReplySelectCreateManyAndReturn<ExtArgs> | null
1431
- /**
1432
- * Omit specific fields from the TicketReply
1433
- */
1434
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1435
- /**
1436
- * The data used to create many TicketReplies.
1437
- */
1438
- data: Prisma.TicketReplyCreateManyInput | Prisma.TicketReplyCreateManyInput[]
1439
- skipDuplicates?: boolean
1440
- /**
1441
- * Choose, which related nodes to fetch as well
1442
- */
1443
- include?: Prisma.TicketReplyIncludeCreateManyAndReturn<ExtArgs> | null
1444
- }
1445
-
1446
- /**
1447
- * TicketReply update
1448
- */
1449
- export type TicketReplyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1450
- /**
1451
- * Select specific fields to fetch from the TicketReply
1452
- */
1453
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1454
- /**
1455
- * Omit specific fields from the TicketReply
1456
- */
1457
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1458
- /**
1459
- * Choose, which related nodes to fetch as well
1460
- */
1461
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1462
- /**
1463
- * The data needed to update a TicketReply.
1464
- */
1465
- data: Prisma.XOR<Prisma.TicketReplyUpdateInput, Prisma.TicketReplyUncheckedUpdateInput>
1466
- /**
1467
- * Choose, which TicketReply to update.
1468
- */
1469
- where: Prisma.TicketReplyWhereUniqueInput
1470
- }
1471
-
1472
- /**
1473
- * TicketReply updateMany
1474
- */
1475
- export type TicketReplyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1476
- /**
1477
- * The data used to update TicketReplies.
1478
- */
1479
- data: Prisma.XOR<Prisma.TicketReplyUpdateManyMutationInput, Prisma.TicketReplyUncheckedUpdateManyInput>
1480
- /**
1481
- * Filter which TicketReplies to update
1482
- */
1483
- where?: Prisma.TicketReplyWhereInput
1484
- /**
1485
- * Limit how many TicketReplies to update.
1486
- */
1487
- limit?: number
1488
- }
1489
-
1490
- /**
1491
- * TicketReply updateManyAndReturn
1492
- */
1493
- export type TicketReplyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1494
- /**
1495
- * Select specific fields to fetch from the TicketReply
1496
- */
1497
- select?: Prisma.TicketReplySelectUpdateManyAndReturn<ExtArgs> | null
1498
- /**
1499
- * Omit specific fields from the TicketReply
1500
- */
1501
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1502
- /**
1503
- * The data used to update TicketReplies.
1504
- */
1505
- data: Prisma.XOR<Prisma.TicketReplyUpdateManyMutationInput, Prisma.TicketReplyUncheckedUpdateManyInput>
1506
- /**
1507
- * Filter which TicketReplies to update
1508
- */
1509
- where?: Prisma.TicketReplyWhereInput
1510
- /**
1511
- * Limit how many TicketReplies to update.
1512
- */
1513
- limit?: number
1514
- /**
1515
- * Choose, which related nodes to fetch as well
1516
- */
1517
- include?: Prisma.TicketReplyIncludeUpdateManyAndReturn<ExtArgs> | null
1518
- }
1519
-
1520
- /**
1521
- * TicketReply upsert
1522
- */
1523
- export type TicketReplyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1524
- /**
1525
- * Select specific fields to fetch from the TicketReply
1526
- */
1527
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1528
- /**
1529
- * Omit specific fields from the TicketReply
1530
- */
1531
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1532
- /**
1533
- * Choose, which related nodes to fetch as well
1534
- */
1535
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1536
- /**
1537
- * The filter to search for the TicketReply to update in case it exists.
1538
- */
1539
- where: Prisma.TicketReplyWhereUniqueInput
1540
- /**
1541
- * In case the TicketReply found by the `where` argument doesn't exist, create a new TicketReply with this data.
1542
- */
1543
- create: Prisma.XOR<Prisma.TicketReplyCreateInput, Prisma.TicketReplyUncheckedCreateInput>
1544
- /**
1545
- * In case the TicketReply was found with the provided `where` argument, update it with this data.
1546
- */
1547
- update: Prisma.XOR<Prisma.TicketReplyUpdateInput, Prisma.TicketReplyUncheckedUpdateInput>
1548
- }
1549
-
1550
- /**
1551
- * TicketReply delete
1552
- */
1553
- export type TicketReplyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1554
- /**
1555
- * Select specific fields to fetch from the TicketReply
1556
- */
1557
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1558
- /**
1559
- * Omit specific fields from the TicketReply
1560
- */
1561
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1562
- /**
1563
- * Choose, which related nodes to fetch as well
1564
- */
1565
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1566
- /**
1567
- * Filter which TicketReply to delete.
1568
- */
1569
- where: Prisma.TicketReplyWhereUniqueInput
1570
- }
1571
-
1572
- /**
1573
- * TicketReply deleteMany
1574
- */
1575
- export type TicketReplyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1576
- /**
1577
- * Filter which TicketReplies to delete
1578
- */
1579
- where?: Prisma.TicketReplyWhereInput
1580
- /**
1581
- * Limit how many TicketReplies to delete.
1582
- */
1583
- limit?: number
1584
- }
1585
-
1586
- /**
1587
- * TicketReply.support_ticket
1588
- */
1589
- export type TicketReply$support_ticketArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1590
- /**
1591
- * Select specific fields to fetch from the SupportTicket
1592
- */
1593
- select?: Prisma.SupportTicketSelect<ExtArgs> | null
1594
- /**
1595
- * Omit specific fields from the SupportTicket
1596
- */
1597
- omit?: Prisma.SupportTicketOmit<ExtArgs> | null
1598
- /**
1599
- * Choose, which related nodes to fetch as well
1600
- */
1601
- include?: Prisma.SupportTicketInclude<ExtArgs> | null
1602
- where?: Prisma.SupportTicketWhereInput
1603
- }
1604
-
1605
- /**
1606
- * TicketReply.user
1607
- */
1608
- export type TicketReply$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1609
- /**
1610
- * Select specific fields to fetch from the User
1611
- */
1612
- select?: Prisma.UserSelect<ExtArgs> | null
1613
- /**
1614
- * Omit specific fields from the User
1615
- */
1616
- omit?: Prisma.UserOmit<ExtArgs> | null
1617
- /**
1618
- * Choose, which related nodes to fetch as well
1619
- */
1620
- include?: Prisma.UserInclude<ExtArgs> | null
1621
- where?: Prisma.UserWhereInput
1622
- }
1623
-
1624
- /**
1625
- * TicketReply without action
1626
- */
1627
- export type TicketReplyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1628
- /**
1629
- * Select specific fields to fetch from the TicketReply
1630
- */
1631
- select?: Prisma.TicketReplySelect<ExtArgs> | null
1632
- /**
1633
- * Omit specific fields from the TicketReply
1634
- */
1635
- omit?: Prisma.TicketReplyOmit<ExtArgs> | null
1636
- /**
1637
- * Choose, which related nodes to fetch as well
1638
- */
1639
- include?: Prisma.TicketReplyInclude<ExtArgs> | null
1640
- }