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