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