procbay-schema 1.0.171 → 1.0.175

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