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