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