procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,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 `ItemDocument` 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 ItemDocument
17
- *
18
- */
19
- export type ItemDocumentModel = runtime.Types.Result.DefaultSelection<Prisma.$ItemDocumentPayload>
20
-
21
- export type AggregateItemDocument = {
22
- _count: ItemDocumentCountAggregateOutputType | null
23
- _avg: ItemDocumentAvgAggregateOutputType | null
24
- _sum: ItemDocumentSumAggregateOutputType | null
25
- _min: ItemDocumentMinAggregateOutputType | null
26
- _max: ItemDocumentMaxAggregateOutputType | null
27
- }
28
-
29
- export type ItemDocumentAvgAggregateOutputType = {
30
- id: number | null
31
- item_id: number | null
32
- created_by: number | null
33
- }
34
-
35
- export type ItemDocumentSumAggregateOutputType = {
36
- id: number | null
37
- item_id: number | null
38
- created_by: number | null
39
- }
40
-
41
- export type ItemDocumentMinAggregateOutputType = {
42
- id: number | null
43
- uuid: string | null
44
- item_id: number | null
45
- original_document: string | null
46
- optimized_image: string | null
47
- thumbnail_image: string | null
48
- original_name: string | null
49
- original_extension: string | null
50
- created_at: Date | null
51
- created_by: number | null
52
- }
53
-
54
- export type ItemDocumentMaxAggregateOutputType = {
55
- id: number | null
56
- uuid: string | null
57
- item_id: number | null
58
- original_document: string | null
59
- optimized_image: string | null
60
- thumbnail_image: string | null
61
- original_name: string | null
62
- original_extension: string | null
63
- created_at: Date | null
64
- created_by: number | null
65
- }
66
-
67
- export type ItemDocumentCountAggregateOutputType = {
68
- id: number
69
- uuid: number
70
- item_id: number
71
- original_document: number
72
- optimized_image: number
73
- thumbnail_image: number
74
- original_name: number
75
- original_extension: number
76
- created_at: number
77
- created_by: number
78
- _all: number
79
- }
80
-
81
-
82
- export type ItemDocumentAvgAggregateInputType = {
83
- id?: true
84
- item_id?: true
85
- created_by?: true
86
- }
87
-
88
- export type ItemDocumentSumAggregateInputType = {
89
- id?: true
90
- item_id?: true
91
- created_by?: true
92
- }
93
-
94
- export type ItemDocumentMinAggregateInputType = {
95
- id?: true
96
- uuid?: true
97
- item_id?: true
98
- original_document?: true
99
- optimized_image?: true
100
- thumbnail_image?: true
101
- original_name?: true
102
- original_extension?: true
103
- created_at?: true
104
- created_by?: true
105
- }
106
-
107
- export type ItemDocumentMaxAggregateInputType = {
108
- id?: true
109
- uuid?: true
110
- item_id?: true
111
- original_document?: true
112
- optimized_image?: true
113
- thumbnail_image?: true
114
- original_name?: true
115
- original_extension?: true
116
- created_at?: true
117
- created_by?: true
118
- }
119
-
120
- export type ItemDocumentCountAggregateInputType = {
121
- id?: true
122
- uuid?: true
123
- item_id?: true
124
- original_document?: true
125
- optimized_image?: true
126
- thumbnail_image?: true
127
- original_name?: true
128
- original_extension?: true
129
- created_at?: true
130
- created_by?: true
131
- _all?: true
132
- }
133
-
134
- export type ItemDocumentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
- /**
136
- * Filter which ItemDocument to aggregate.
137
- */
138
- where?: Prisma.ItemDocumentWhereInput
139
- /**
140
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
141
- *
142
- * Determine the order of ItemDocuments to fetch.
143
- */
144
- orderBy?: Prisma.ItemDocumentOrderByWithRelationInput | Prisma.ItemDocumentOrderByWithRelationInput[]
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.ItemDocumentWhereUniqueInput
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
- *
154
- * Take `±n` ItemDocuments 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` ItemDocuments.
161
- */
162
- skip?: number
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
- *
166
- * Count returned ItemDocuments
167
- **/
168
- _count?: true | ItemDocumentCountAggregateInputType
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?: ItemDocumentAvgAggregateInputType
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?: ItemDocumentSumAggregateInputType
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?: ItemDocumentMinAggregateInputType
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?: ItemDocumentMaxAggregateInputType
193
- }
194
-
195
- export type GetItemDocumentAggregateType<T extends ItemDocumentAggregateArgs> = {
196
- [P in keyof T & keyof AggregateItemDocument]: P extends '_count' | 'count'
197
- ? T[P] extends true
198
- ? number
199
- : Prisma.GetScalarType<T[P], AggregateItemDocument[P]>
200
- : Prisma.GetScalarType<T[P], AggregateItemDocument[P]>
201
- }
202
-
203
-
204
-
205
-
206
- export type ItemDocumentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
207
- where?: Prisma.ItemDocumentWhereInput
208
- orderBy?: Prisma.ItemDocumentOrderByWithAggregationInput | Prisma.ItemDocumentOrderByWithAggregationInput[]
209
- by: Prisma.ItemDocumentScalarFieldEnum[] | Prisma.ItemDocumentScalarFieldEnum
210
- having?: Prisma.ItemDocumentScalarWhereWithAggregatesInput
211
- take?: number
212
- skip?: number
213
- _count?: ItemDocumentCountAggregateInputType | true
214
- _avg?: ItemDocumentAvgAggregateInputType
215
- _sum?: ItemDocumentSumAggregateInputType
216
- _min?: ItemDocumentMinAggregateInputType
217
- _max?: ItemDocumentMaxAggregateInputType
218
- }
219
-
220
- export type ItemDocumentGroupByOutputType = {
221
- id: number
222
- uuid: string | null
223
- item_id: number | null
224
- original_document: string | null
225
- optimized_image: string | null
226
- thumbnail_image: string | null
227
- original_name: string | null
228
- original_extension: string | null
229
- created_at: Date | null
230
- created_by: number | null
231
- _count: ItemDocumentCountAggregateOutputType | null
232
- _avg: ItemDocumentAvgAggregateOutputType | null
233
- _sum: ItemDocumentSumAggregateOutputType | null
234
- _min: ItemDocumentMinAggregateOutputType | null
235
- _max: ItemDocumentMaxAggregateOutputType | null
236
- }
237
-
238
- export type GetItemDocumentGroupByPayload<T extends ItemDocumentGroupByArgs> = Prisma.PrismaPromise<
239
- Array<
240
- Prisma.PickEnumerable<ItemDocumentGroupByOutputType, T['by']> &
241
- {
242
- [P in ((keyof T) & (keyof ItemDocumentGroupByOutputType))]: P extends '_count'
243
- ? T[P] extends boolean
244
- ? number
245
- : Prisma.GetScalarType<T[P], ItemDocumentGroupByOutputType[P]>
246
- : Prisma.GetScalarType<T[P], ItemDocumentGroupByOutputType[P]>
247
- }
248
- >
249
- >
250
-
251
-
252
-
253
- export type ItemDocumentWhereInput = {
254
- AND?: Prisma.ItemDocumentWhereInput | Prisma.ItemDocumentWhereInput[]
255
- OR?: Prisma.ItemDocumentWhereInput[]
256
- NOT?: Prisma.ItemDocumentWhereInput | Prisma.ItemDocumentWhereInput[]
257
- id?: Prisma.IntFilter<"ItemDocument"> | number
258
- uuid?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
259
- item_id?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
260
- original_document?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
261
- optimized_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
262
- thumbnail_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
263
- original_name?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
264
- original_extension?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
265
- created_at?: Prisma.DateTimeNullableFilter<"ItemDocument"> | Date | string | null
266
- created_by?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
267
- item?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
268
- }
269
-
270
- export type ItemDocumentOrderByWithRelationInput = {
271
- id?: Prisma.SortOrder
272
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
273
- item_id?: Prisma.SortOrderInput | Prisma.SortOrder
274
- original_document?: Prisma.SortOrderInput | Prisma.SortOrder
275
- optimized_image?: Prisma.SortOrderInput | Prisma.SortOrder
276
- thumbnail_image?: Prisma.SortOrderInput | Prisma.SortOrder
277
- original_name?: Prisma.SortOrderInput | Prisma.SortOrder
278
- original_extension?: Prisma.SortOrderInput | Prisma.SortOrder
279
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
280
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
281
- item?: Prisma.ItemOrderByWithRelationInput
282
- }
283
-
284
- export type ItemDocumentWhereUniqueInput = Prisma.AtLeast<{
285
- id?: number
286
- uuid?: string
287
- AND?: Prisma.ItemDocumentWhereInput | Prisma.ItemDocumentWhereInput[]
288
- OR?: Prisma.ItemDocumentWhereInput[]
289
- NOT?: Prisma.ItemDocumentWhereInput | Prisma.ItemDocumentWhereInput[]
290
- item_id?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
291
- original_document?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
292
- optimized_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
293
- thumbnail_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
294
- original_name?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
295
- original_extension?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
296
- created_at?: Prisma.DateTimeNullableFilter<"ItemDocument"> | Date | string | null
297
- created_by?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
298
- item?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
299
- }, "id" | "uuid">
300
-
301
- export type ItemDocumentOrderByWithAggregationInput = {
302
- id?: Prisma.SortOrder
303
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
304
- item_id?: Prisma.SortOrderInput | Prisma.SortOrder
305
- original_document?: Prisma.SortOrderInput | Prisma.SortOrder
306
- optimized_image?: Prisma.SortOrderInput | Prisma.SortOrder
307
- thumbnail_image?: Prisma.SortOrderInput | Prisma.SortOrder
308
- original_name?: Prisma.SortOrderInput | Prisma.SortOrder
309
- original_extension?: Prisma.SortOrderInput | Prisma.SortOrder
310
- created_at?: Prisma.SortOrderInput | Prisma.SortOrder
311
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
312
- _count?: Prisma.ItemDocumentCountOrderByAggregateInput
313
- _avg?: Prisma.ItemDocumentAvgOrderByAggregateInput
314
- _max?: Prisma.ItemDocumentMaxOrderByAggregateInput
315
- _min?: Prisma.ItemDocumentMinOrderByAggregateInput
316
- _sum?: Prisma.ItemDocumentSumOrderByAggregateInput
317
- }
318
-
319
- export type ItemDocumentScalarWhereWithAggregatesInput = {
320
- AND?: Prisma.ItemDocumentScalarWhereWithAggregatesInput | Prisma.ItemDocumentScalarWhereWithAggregatesInput[]
321
- OR?: Prisma.ItemDocumentScalarWhereWithAggregatesInput[]
322
- NOT?: Prisma.ItemDocumentScalarWhereWithAggregatesInput | Prisma.ItemDocumentScalarWhereWithAggregatesInput[]
323
- id?: Prisma.IntWithAggregatesFilter<"ItemDocument"> | number
324
- uuid?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
325
- item_id?: Prisma.IntNullableWithAggregatesFilter<"ItemDocument"> | number | null
326
- original_document?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
327
- optimized_image?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
328
- thumbnail_image?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
329
- original_name?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
330
- original_extension?: Prisma.StringNullableWithAggregatesFilter<"ItemDocument"> | string | null
331
- created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"ItemDocument"> | Date | string | null
332
- created_by?: Prisma.IntNullableWithAggregatesFilter<"ItemDocument"> | number | null
333
- }
334
-
335
- export type ItemDocumentCreateInput = {
336
- uuid?: string | null
337
- original_document?: string | null
338
- optimized_image?: string | null
339
- thumbnail_image?: string | null
340
- original_name?: string | null
341
- original_extension?: string | null
342
- created_at?: Date | string | null
343
- created_by?: number | null
344
- item?: Prisma.ItemCreateNestedOneWithoutItem_documentsInput
345
- }
346
-
347
- export type ItemDocumentUncheckedCreateInput = {
348
- id?: number
349
- uuid?: string | null
350
- item_id?: number | null
351
- original_document?: string | null
352
- optimized_image?: string | null
353
- thumbnail_image?: string | null
354
- original_name?: string | null
355
- original_extension?: string | null
356
- created_at?: Date | string | null
357
- created_by?: number | null
358
- }
359
-
360
- export type ItemDocumentUpdateInput = {
361
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
362
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
363
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
364
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
365
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
366
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
367
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
368
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
369
- item?: Prisma.ItemUpdateOneWithoutItem_documentsNestedInput
370
- }
371
-
372
- export type ItemDocumentUncheckedUpdateInput = {
373
- id?: Prisma.IntFieldUpdateOperationsInput | number
374
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
375
- item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
376
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
377
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
378
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
379
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
380
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
381
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
382
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
383
- }
384
-
385
- export type ItemDocumentCreateManyInput = {
386
- id?: number
387
- uuid?: string | null
388
- item_id?: number | null
389
- original_document?: string | null
390
- optimized_image?: string | null
391
- thumbnail_image?: string | null
392
- original_name?: string | null
393
- original_extension?: string | null
394
- created_at?: Date | string | null
395
- created_by?: number | null
396
- }
397
-
398
- export type ItemDocumentUpdateManyMutationInput = {
399
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
400
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
401
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
402
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
403
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
404
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
405
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
406
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
407
- }
408
-
409
- export type ItemDocumentUncheckedUpdateManyInput = {
410
- id?: Prisma.IntFieldUpdateOperationsInput | number
411
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
412
- item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
413
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
414
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
415
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
416
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
417
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
418
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
419
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
420
- }
421
-
422
- export type ItemDocumentListRelationFilter = {
423
- every?: Prisma.ItemDocumentWhereInput
424
- some?: Prisma.ItemDocumentWhereInput
425
- none?: Prisma.ItemDocumentWhereInput
426
- }
427
-
428
- export type ItemDocumentOrderByRelationAggregateInput = {
429
- _count?: Prisma.SortOrder
430
- }
431
-
432
- export type ItemDocumentCountOrderByAggregateInput = {
433
- id?: Prisma.SortOrder
434
- uuid?: Prisma.SortOrder
435
- item_id?: Prisma.SortOrder
436
- original_document?: Prisma.SortOrder
437
- optimized_image?: Prisma.SortOrder
438
- thumbnail_image?: Prisma.SortOrder
439
- original_name?: Prisma.SortOrder
440
- original_extension?: Prisma.SortOrder
441
- created_at?: Prisma.SortOrder
442
- created_by?: Prisma.SortOrder
443
- }
444
-
445
- export type ItemDocumentAvgOrderByAggregateInput = {
446
- id?: Prisma.SortOrder
447
- item_id?: Prisma.SortOrder
448
- created_by?: Prisma.SortOrder
449
- }
450
-
451
- export type ItemDocumentMaxOrderByAggregateInput = {
452
- id?: Prisma.SortOrder
453
- uuid?: Prisma.SortOrder
454
- item_id?: Prisma.SortOrder
455
- original_document?: Prisma.SortOrder
456
- optimized_image?: Prisma.SortOrder
457
- thumbnail_image?: Prisma.SortOrder
458
- original_name?: Prisma.SortOrder
459
- original_extension?: Prisma.SortOrder
460
- created_at?: Prisma.SortOrder
461
- created_by?: Prisma.SortOrder
462
- }
463
-
464
- export type ItemDocumentMinOrderByAggregateInput = {
465
- id?: Prisma.SortOrder
466
- uuid?: Prisma.SortOrder
467
- item_id?: Prisma.SortOrder
468
- original_document?: Prisma.SortOrder
469
- optimized_image?: Prisma.SortOrder
470
- thumbnail_image?: Prisma.SortOrder
471
- original_name?: Prisma.SortOrder
472
- original_extension?: Prisma.SortOrder
473
- created_at?: Prisma.SortOrder
474
- created_by?: Prisma.SortOrder
475
- }
476
-
477
- export type ItemDocumentSumOrderByAggregateInput = {
478
- id?: Prisma.SortOrder
479
- item_id?: Prisma.SortOrder
480
- created_by?: Prisma.SortOrder
481
- }
482
-
483
- export type ItemDocumentCreateNestedManyWithoutItemInput = {
484
- create?: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput> | Prisma.ItemDocumentCreateWithoutItemInput[] | Prisma.ItemDocumentUncheckedCreateWithoutItemInput[]
485
- connectOrCreate?: Prisma.ItemDocumentCreateOrConnectWithoutItemInput | Prisma.ItemDocumentCreateOrConnectWithoutItemInput[]
486
- createMany?: Prisma.ItemDocumentCreateManyItemInputEnvelope
487
- connect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
488
- }
489
-
490
- export type ItemDocumentUncheckedCreateNestedManyWithoutItemInput = {
491
- create?: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput> | Prisma.ItemDocumentCreateWithoutItemInput[] | Prisma.ItemDocumentUncheckedCreateWithoutItemInput[]
492
- connectOrCreate?: Prisma.ItemDocumentCreateOrConnectWithoutItemInput | Prisma.ItemDocumentCreateOrConnectWithoutItemInput[]
493
- createMany?: Prisma.ItemDocumentCreateManyItemInputEnvelope
494
- connect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
495
- }
496
-
497
- export type ItemDocumentUpdateManyWithoutItemNestedInput = {
498
- create?: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput> | Prisma.ItemDocumentCreateWithoutItemInput[] | Prisma.ItemDocumentUncheckedCreateWithoutItemInput[]
499
- connectOrCreate?: Prisma.ItemDocumentCreateOrConnectWithoutItemInput | Prisma.ItemDocumentCreateOrConnectWithoutItemInput[]
500
- upsert?: Prisma.ItemDocumentUpsertWithWhereUniqueWithoutItemInput | Prisma.ItemDocumentUpsertWithWhereUniqueWithoutItemInput[]
501
- createMany?: Prisma.ItemDocumentCreateManyItemInputEnvelope
502
- set?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
503
- disconnect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
504
- delete?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
505
- connect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
506
- update?: Prisma.ItemDocumentUpdateWithWhereUniqueWithoutItemInput | Prisma.ItemDocumentUpdateWithWhereUniqueWithoutItemInput[]
507
- updateMany?: Prisma.ItemDocumentUpdateManyWithWhereWithoutItemInput | Prisma.ItemDocumentUpdateManyWithWhereWithoutItemInput[]
508
- deleteMany?: Prisma.ItemDocumentScalarWhereInput | Prisma.ItemDocumentScalarWhereInput[]
509
- }
510
-
511
- export type ItemDocumentUncheckedUpdateManyWithoutItemNestedInput = {
512
- create?: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput> | Prisma.ItemDocumentCreateWithoutItemInput[] | Prisma.ItemDocumentUncheckedCreateWithoutItemInput[]
513
- connectOrCreate?: Prisma.ItemDocumentCreateOrConnectWithoutItemInput | Prisma.ItemDocumentCreateOrConnectWithoutItemInput[]
514
- upsert?: Prisma.ItemDocumentUpsertWithWhereUniqueWithoutItemInput | Prisma.ItemDocumentUpsertWithWhereUniqueWithoutItemInput[]
515
- createMany?: Prisma.ItemDocumentCreateManyItemInputEnvelope
516
- set?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
517
- disconnect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
518
- delete?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
519
- connect?: Prisma.ItemDocumentWhereUniqueInput | Prisma.ItemDocumentWhereUniqueInput[]
520
- update?: Prisma.ItemDocumentUpdateWithWhereUniqueWithoutItemInput | Prisma.ItemDocumentUpdateWithWhereUniqueWithoutItemInput[]
521
- updateMany?: Prisma.ItemDocumentUpdateManyWithWhereWithoutItemInput | Prisma.ItemDocumentUpdateManyWithWhereWithoutItemInput[]
522
- deleteMany?: Prisma.ItemDocumentScalarWhereInput | Prisma.ItemDocumentScalarWhereInput[]
523
- }
524
-
525
- export type ItemDocumentCreateWithoutItemInput = {
526
- uuid?: string | null
527
- original_document?: string | null
528
- optimized_image?: string | null
529
- thumbnail_image?: string | null
530
- original_name?: string | null
531
- original_extension?: string | null
532
- created_at?: Date | string | null
533
- created_by?: number | null
534
- }
535
-
536
- export type ItemDocumentUncheckedCreateWithoutItemInput = {
537
- id?: number
538
- uuid?: string | null
539
- original_document?: string | null
540
- optimized_image?: string | null
541
- thumbnail_image?: string | null
542
- original_name?: string | null
543
- original_extension?: string | null
544
- created_at?: Date | string | null
545
- created_by?: number | null
546
- }
547
-
548
- export type ItemDocumentCreateOrConnectWithoutItemInput = {
549
- where: Prisma.ItemDocumentWhereUniqueInput
550
- create: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput>
551
- }
552
-
553
- export type ItemDocumentCreateManyItemInputEnvelope = {
554
- data: Prisma.ItemDocumentCreateManyItemInput | Prisma.ItemDocumentCreateManyItemInput[]
555
- skipDuplicates?: boolean
556
- }
557
-
558
- export type ItemDocumentUpsertWithWhereUniqueWithoutItemInput = {
559
- where: Prisma.ItemDocumentWhereUniqueInput
560
- update: Prisma.XOR<Prisma.ItemDocumentUpdateWithoutItemInput, Prisma.ItemDocumentUncheckedUpdateWithoutItemInput>
561
- create: Prisma.XOR<Prisma.ItemDocumentCreateWithoutItemInput, Prisma.ItemDocumentUncheckedCreateWithoutItemInput>
562
- }
563
-
564
- export type ItemDocumentUpdateWithWhereUniqueWithoutItemInput = {
565
- where: Prisma.ItemDocumentWhereUniqueInput
566
- data: Prisma.XOR<Prisma.ItemDocumentUpdateWithoutItemInput, Prisma.ItemDocumentUncheckedUpdateWithoutItemInput>
567
- }
568
-
569
- export type ItemDocumentUpdateManyWithWhereWithoutItemInput = {
570
- where: Prisma.ItemDocumentScalarWhereInput
571
- data: Prisma.XOR<Prisma.ItemDocumentUpdateManyMutationInput, Prisma.ItemDocumentUncheckedUpdateManyWithoutItemInput>
572
- }
573
-
574
- export type ItemDocumentScalarWhereInput = {
575
- AND?: Prisma.ItemDocumentScalarWhereInput | Prisma.ItemDocumentScalarWhereInput[]
576
- OR?: Prisma.ItemDocumentScalarWhereInput[]
577
- NOT?: Prisma.ItemDocumentScalarWhereInput | Prisma.ItemDocumentScalarWhereInput[]
578
- id?: Prisma.IntFilter<"ItemDocument"> | number
579
- uuid?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
580
- item_id?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
581
- original_document?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
582
- optimized_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
583
- thumbnail_image?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
584
- original_name?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
585
- original_extension?: Prisma.StringNullableFilter<"ItemDocument"> | string | null
586
- created_at?: Prisma.DateTimeNullableFilter<"ItemDocument"> | Date | string | null
587
- created_by?: Prisma.IntNullableFilter<"ItemDocument"> | number | null
588
- }
589
-
590
- export type ItemDocumentCreateManyItemInput = {
591
- id?: number
592
- uuid?: string | null
593
- original_document?: string | null
594
- optimized_image?: string | null
595
- thumbnail_image?: string | null
596
- original_name?: string | null
597
- original_extension?: string | null
598
- created_at?: Date | string | null
599
- created_by?: number | null
600
- }
601
-
602
- export type ItemDocumentUpdateWithoutItemInput = {
603
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
604
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
605
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
606
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
607
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
608
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
609
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
610
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
611
- }
612
-
613
- export type ItemDocumentUncheckedUpdateWithoutItemInput = {
614
- id?: Prisma.IntFieldUpdateOperationsInput | number
615
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
616
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
617
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
618
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
619
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
620
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
621
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
622
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
623
- }
624
-
625
- export type ItemDocumentUncheckedUpdateManyWithoutItemInput = {
626
- id?: Prisma.IntFieldUpdateOperationsInput | number
627
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
- original_document?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
629
- optimized_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
630
- thumbnail_image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
631
- original_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
632
- original_extension?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
633
- created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
634
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
635
- }
636
-
637
-
638
-
639
- export type ItemDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
640
- id?: boolean
641
- uuid?: boolean
642
- item_id?: boolean
643
- original_document?: boolean
644
- optimized_image?: boolean
645
- thumbnail_image?: boolean
646
- original_name?: boolean
647
- original_extension?: boolean
648
- created_at?: boolean
649
- created_by?: boolean
650
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
651
- }, ExtArgs["result"]["itemDocument"]>
652
-
653
- export type ItemDocumentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
654
- id?: boolean
655
- uuid?: boolean
656
- item_id?: boolean
657
- original_document?: boolean
658
- optimized_image?: boolean
659
- thumbnail_image?: boolean
660
- original_name?: boolean
661
- original_extension?: boolean
662
- created_at?: boolean
663
- created_by?: boolean
664
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
665
- }, ExtArgs["result"]["itemDocument"]>
666
-
667
- export type ItemDocumentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
668
- id?: boolean
669
- uuid?: boolean
670
- item_id?: boolean
671
- original_document?: boolean
672
- optimized_image?: boolean
673
- thumbnail_image?: boolean
674
- original_name?: boolean
675
- original_extension?: boolean
676
- created_at?: boolean
677
- created_by?: boolean
678
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
679
- }, ExtArgs["result"]["itemDocument"]>
680
-
681
- export type ItemDocumentSelectScalar = {
682
- id?: boolean
683
- uuid?: boolean
684
- item_id?: boolean
685
- original_document?: boolean
686
- optimized_image?: boolean
687
- thumbnail_image?: boolean
688
- original_name?: boolean
689
- original_extension?: boolean
690
- created_at?: boolean
691
- created_by?: boolean
692
- }
693
-
694
- export type ItemDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "item_id" | "original_document" | "optimized_image" | "thumbnail_image" | "original_name" | "original_extension" | "created_at" | "created_by", ExtArgs["result"]["itemDocument"]>
695
- export type ItemDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
696
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
697
- }
698
- export type ItemDocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
699
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
700
- }
701
- export type ItemDocumentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
702
- item?: boolean | Prisma.ItemDocument$itemArgs<ExtArgs>
703
- }
704
-
705
- export type $ItemDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
706
- name: "ItemDocument"
707
- objects: {
708
- item: Prisma.$ItemPayload<ExtArgs> | null
709
- }
710
- scalars: runtime.Types.Extensions.GetPayloadResult<{
711
- id: number
712
- uuid: string | null
713
- item_id: number | null
714
- original_document: string | null
715
- optimized_image: string | null
716
- thumbnail_image: string | null
717
- original_name: string | null
718
- original_extension: string | null
719
- created_at: Date | null
720
- created_by: number | null
721
- }, ExtArgs["result"]["itemDocument"]>
722
- composites: {}
723
- }
724
-
725
- export type ItemDocumentGetPayload<S extends boolean | null | undefined | ItemDocumentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload, S>
726
-
727
- export type ItemDocumentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
728
- Omit<ItemDocumentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
729
- select?: ItemDocumentCountAggregateInputType | true
730
- }
731
-
732
- export interface ItemDocumentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
733
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ItemDocument'], meta: { name: 'ItemDocument' } }
734
- /**
735
- * Find zero or one ItemDocument that matches the filter.
736
- * @param {ItemDocumentFindUniqueArgs} args - Arguments to find a ItemDocument
737
- * @example
738
- * // Get one ItemDocument
739
- * const itemDocument = await prisma.itemDocument.findUnique({
740
- * where: {
741
- * // ... provide filter here
742
- * }
743
- * })
744
- */
745
- findUnique<T extends ItemDocumentFindUniqueArgs>(args: Prisma.SelectSubset<T, ItemDocumentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
746
-
747
- /**
748
- * Find one ItemDocument that matches the filter or throw an error with `error.code='P2025'`
749
- * if no matches were found.
750
- * @param {ItemDocumentFindUniqueOrThrowArgs} args - Arguments to find a ItemDocument
751
- * @example
752
- * // Get one ItemDocument
753
- * const itemDocument = await prisma.itemDocument.findUniqueOrThrow({
754
- * where: {
755
- * // ... provide filter here
756
- * }
757
- * })
758
- */
759
- findUniqueOrThrow<T extends ItemDocumentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ItemDocumentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
760
-
761
- /**
762
- * Find the first ItemDocument 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 {ItemDocumentFindFirstArgs} args - Arguments to find a ItemDocument
766
- * @example
767
- * // Get one ItemDocument
768
- * const itemDocument = await prisma.itemDocument.findFirst({
769
- * where: {
770
- * // ... provide filter here
771
- * }
772
- * })
773
- */
774
- findFirst<T extends ItemDocumentFindFirstArgs>(args?: Prisma.SelectSubset<T, ItemDocumentFindFirstArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
775
-
776
- /**
777
- * Find the first ItemDocument 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 {ItemDocumentFindFirstOrThrowArgs} args - Arguments to find a ItemDocument
782
- * @example
783
- * // Get one ItemDocument
784
- * const itemDocument = await prisma.itemDocument.findFirstOrThrow({
785
- * where: {
786
- * // ... provide filter here
787
- * }
788
- * })
789
- */
790
- findFirstOrThrow<T extends ItemDocumentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ItemDocumentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
791
-
792
- /**
793
- * Find zero or more ItemDocuments 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 {ItemDocumentFindManyArgs} args - Arguments to filter and select certain fields only.
797
- * @example
798
- * // Get all ItemDocuments
799
- * const itemDocuments = await prisma.itemDocument.findMany()
800
- *
801
- * // Get first 10 ItemDocuments
802
- * const itemDocuments = await prisma.itemDocument.findMany({ take: 10 })
803
- *
804
- * // Only select the `id`
805
- * const itemDocumentWithIdOnly = await prisma.itemDocument.findMany({ select: { id: true } })
806
- *
807
- */
808
- findMany<T extends ItemDocumentFindManyArgs>(args?: Prisma.SelectSubset<T, ItemDocumentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
809
-
810
- /**
811
- * Create a ItemDocument.
812
- * @param {ItemDocumentCreateArgs} args - Arguments to create a ItemDocument.
813
- * @example
814
- * // Create one ItemDocument
815
- * const ItemDocument = await prisma.itemDocument.create({
816
- * data: {
817
- * // ... data to create a ItemDocument
818
- * }
819
- * })
820
- *
821
- */
822
- create<T extends ItemDocumentCreateArgs>(args: Prisma.SelectSubset<T, ItemDocumentCreateArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
823
-
824
- /**
825
- * Create many ItemDocuments.
826
- * @param {ItemDocumentCreateManyArgs} args - Arguments to create many ItemDocuments.
827
- * @example
828
- * // Create many ItemDocuments
829
- * const itemDocument = await prisma.itemDocument.createMany({
830
- * data: [
831
- * // ... provide data here
832
- * ]
833
- * })
834
- *
835
- */
836
- createMany<T extends ItemDocumentCreateManyArgs>(args?: Prisma.SelectSubset<T, ItemDocumentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
837
-
838
- /**
839
- * Create many ItemDocuments and returns the data saved in the database.
840
- * @param {ItemDocumentCreateManyAndReturnArgs} args - Arguments to create many ItemDocuments.
841
- * @example
842
- * // Create many ItemDocuments
843
- * const itemDocument = await prisma.itemDocument.createManyAndReturn({
844
- * data: [
845
- * // ... provide data here
846
- * ]
847
- * })
848
- *
849
- * // Create many ItemDocuments and only return the `id`
850
- * const itemDocumentWithIdOnly = await prisma.itemDocument.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 ItemDocumentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ItemDocumentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
861
-
862
- /**
863
- * Delete a ItemDocument.
864
- * @param {ItemDocumentDeleteArgs} args - Arguments to delete one ItemDocument.
865
- * @example
866
- * // Delete one ItemDocument
867
- * const ItemDocument = await prisma.itemDocument.delete({
868
- * where: {
869
- * // ... filter to delete one ItemDocument
870
- * }
871
- * })
872
- *
873
- */
874
- delete<T extends ItemDocumentDeleteArgs>(args: Prisma.SelectSubset<T, ItemDocumentDeleteArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
875
-
876
- /**
877
- * Update one ItemDocument.
878
- * @param {ItemDocumentUpdateArgs} args - Arguments to update one ItemDocument.
879
- * @example
880
- * // Update one ItemDocument
881
- * const itemDocument = await prisma.itemDocument.update({
882
- * where: {
883
- * // ... provide filter here
884
- * },
885
- * data: {
886
- * // ... provide data here
887
- * }
888
- * })
889
- *
890
- */
891
- update<T extends ItemDocumentUpdateArgs>(args: Prisma.SelectSubset<T, ItemDocumentUpdateArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
892
-
893
- /**
894
- * Delete zero or more ItemDocuments.
895
- * @param {ItemDocumentDeleteManyArgs} args - Arguments to filter ItemDocuments to delete.
896
- * @example
897
- * // Delete a few ItemDocuments
898
- * const { count } = await prisma.itemDocument.deleteMany({
899
- * where: {
900
- * // ... provide filter here
901
- * }
902
- * })
903
- *
904
- */
905
- deleteMany<T extends ItemDocumentDeleteManyArgs>(args?: Prisma.SelectSubset<T, ItemDocumentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
906
-
907
- /**
908
- * Update zero or more ItemDocuments.
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 {ItemDocumentUpdateManyArgs} args - Arguments to update one or more rows.
912
- * @example
913
- * // Update many ItemDocuments
914
- * const itemDocument = await prisma.itemDocument.updateMany({
915
- * where: {
916
- * // ... provide filter here
917
- * },
918
- * data: {
919
- * // ... provide data here
920
- * }
921
- * })
922
- *
923
- */
924
- updateMany<T extends ItemDocumentUpdateManyArgs>(args: Prisma.SelectSubset<T, ItemDocumentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
925
-
926
- /**
927
- * Update zero or more ItemDocuments and returns the data updated in the database.
928
- * @param {ItemDocumentUpdateManyAndReturnArgs} args - Arguments to update many ItemDocuments.
929
- * @example
930
- * // Update many ItemDocuments
931
- * const itemDocument = await prisma.itemDocument.updateManyAndReturn({
932
- * where: {
933
- * // ... provide filter here
934
- * },
935
- * data: [
936
- * // ... provide data here
937
- * ]
938
- * })
939
- *
940
- * // Update zero or more ItemDocuments and only return the `id`
941
- * const itemDocumentWithIdOnly = await prisma.itemDocument.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 ItemDocumentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ItemDocumentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
955
-
956
- /**
957
- * Create or update one ItemDocument.
958
- * @param {ItemDocumentUpsertArgs} args - Arguments to update or create a ItemDocument.
959
- * @example
960
- * // Update or create a ItemDocument
961
- * const itemDocument = await prisma.itemDocument.upsert({
962
- * create: {
963
- * // ... data to create a ItemDocument
964
- * },
965
- * update: {
966
- * // ... in case it already exists, update
967
- * },
968
- * where: {
969
- * // ... the filter for the ItemDocument we want to update
970
- * }
971
- * })
972
- */
973
- upsert<T extends ItemDocumentUpsertArgs>(args: Prisma.SelectSubset<T, ItemDocumentUpsertArgs<ExtArgs>>): Prisma.Prisma__ItemDocumentClient<runtime.Types.Result.GetResult<Prisma.$ItemDocumentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
974
-
975
-
976
- /**
977
- * Count the number of ItemDocuments.
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 {ItemDocumentCountArgs} args - Arguments to filter ItemDocuments to count.
981
- * @example
982
- * // Count the number of ItemDocuments
983
- * const count = await prisma.itemDocument.count({
984
- * where: {
985
- * // ... the filter for the ItemDocuments we want to count
986
- * }
987
- * })
988
- **/
989
- count<T extends ItemDocumentCountArgs>(
990
- args?: Prisma.Subset<T, ItemDocumentCountArgs>,
991
- ): Prisma.PrismaPromise<
992
- T extends runtime.Types.Utils.Record<'select', any>
993
- ? T['select'] extends true
994
- ? number
995
- : Prisma.GetScalarType<T['select'], ItemDocumentCountAggregateOutputType>
996
- : number
997
- >
998
-
999
- /**
1000
- * Allows you to perform aggregations operations on a ItemDocument.
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 {ItemDocumentAggregateArgs} 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 ItemDocumentAggregateArgs>(args: Prisma.Subset<T, ItemDocumentAggregateArgs>): Prisma.PrismaPromise<GetItemDocumentAggregateType<T>>
1024
-
1025
- /**
1026
- * Group by ItemDocument.
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 {ItemDocumentGroupByArgs} 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 ItemDocumentGroupByArgs,
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: ItemDocumentGroupByArgs['orderBy'] }
1051
- : { orderBy?: ItemDocumentGroupByArgs['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, ItemDocumentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetItemDocumentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1101
- /**
1102
- * Fields of the ItemDocument model
1103
- */
1104
- readonly fields: ItemDocumentFieldRefs;
1105
- }
1106
-
1107
- /**
1108
- * The delegate class that acts as a "Promise-like" for ItemDocument.
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__ItemDocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1114
- readonly [Symbol.toStringTag]: "PrismaPromise"
1115
- item<T extends Prisma.ItemDocument$itemArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ItemDocument$itemArgs<ExtArgs>>): Prisma.Prisma__ItemClient<runtime.Types.Result.GetResult<Prisma.$ItemPayload<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 ItemDocument model
1143
- */
1144
- export interface ItemDocumentFieldRefs {
1145
- readonly id: Prisma.FieldRef<"ItemDocument", 'Int'>
1146
- readonly uuid: Prisma.FieldRef<"ItemDocument", 'String'>
1147
- readonly item_id: Prisma.FieldRef<"ItemDocument", 'Int'>
1148
- readonly original_document: Prisma.FieldRef<"ItemDocument", 'String'>
1149
- readonly optimized_image: Prisma.FieldRef<"ItemDocument", 'String'>
1150
- readonly thumbnail_image: Prisma.FieldRef<"ItemDocument", 'String'>
1151
- readonly original_name: Prisma.FieldRef<"ItemDocument", 'String'>
1152
- readonly original_extension: Prisma.FieldRef<"ItemDocument", 'String'>
1153
- readonly created_at: Prisma.FieldRef<"ItemDocument", 'DateTime'>
1154
- readonly created_by: Prisma.FieldRef<"ItemDocument", 'Int'>
1155
- }
1156
-
1157
-
1158
- // Custom InputTypes
1159
- /**
1160
- * ItemDocument findUnique
1161
- */
1162
- export type ItemDocumentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1163
- /**
1164
- * Select specific fields to fetch from the ItemDocument
1165
- */
1166
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1167
- /**
1168
- * Omit specific fields from the ItemDocument
1169
- */
1170
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1171
- /**
1172
- * Choose, which related nodes to fetch as well
1173
- */
1174
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1175
- /**
1176
- * Filter, which ItemDocument to fetch.
1177
- */
1178
- where: Prisma.ItemDocumentWhereUniqueInput
1179
- }
1180
-
1181
- /**
1182
- * ItemDocument findUniqueOrThrow
1183
- */
1184
- export type ItemDocumentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1185
- /**
1186
- * Select specific fields to fetch from the ItemDocument
1187
- */
1188
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1189
- /**
1190
- * Omit specific fields from the ItemDocument
1191
- */
1192
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1193
- /**
1194
- * Choose, which related nodes to fetch as well
1195
- */
1196
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1197
- /**
1198
- * Filter, which ItemDocument to fetch.
1199
- */
1200
- where: Prisma.ItemDocumentWhereUniqueInput
1201
- }
1202
-
1203
- /**
1204
- * ItemDocument findFirst
1205
- */
1206
- export type ItemDocumentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1207
- /**
1208
- * Select specific fields to fetch from the ItemDocument
1209
- */
1210
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1211
- /**
1212
- * Omit specific fields from the ItemDocument
1213
- */
1214
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1215
- /**
1216
- * Choose, which related nodes to fetch as well
1217
- */
1218
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1219
- /**
1220
- * Filter, which ItemDocument to fetch.
1221
- */
1222
- where?: Prisma.ItemDocumentWhereInput
1223
- /**
1224
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1225
- *
1226
- * Determine the order of ItemDocuments to fetch.
1227
- */
1228
- orderBy?: Prisma.ItemDocumentOrderByWithRelationInput | Prisma.ItemDocumentOrderByWithRelationInput[]
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 ItemDocuments.
1233
- */
1234
- cursor?: Prisma.ItemDocumentWhereUniqueInput
1235
- /**
1236
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1237
- *
1238
- * Take `±n` ItemDocuments 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` ItemDocuments.
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 ItemDocuments.
1251
- */
1252
- distinct?: Prisma.ItemDocumentScalarFieldEnum | Prisma.ItemDocumentScalarFieldEnum[]
1253
- }
1254
-
1255
- /**
1256
- * ItemDocument findFirstOrThrow
1257
- */
1258
- export type ItemDocumentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1259
- /**
1260
- * Select specific fields to fetch from the ItemDocument
1261
- */
1262
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1263
- /**
1264
- * Omit specific fields from the ItemDocument
1265
- */
1266
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1267
- /**
1268
- * Choose, which related nodes to fetch as well
1269
- */
1270
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1271
- /**
1272
- * Filter, which ItemDocument to fetch.
1273
- */
1274
- where?: Prisma.ItemDocumentWhereInput
1275
- /**
1276
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1277
- *
1278
- * Determine the order of ItemDocuments to fetch.
1279
- */
1280
- orderBy?: Prisma.ItemDocumentOrderByWithRelationInput | Prisma.ItemDocumentOrderByWithRelationInput[]
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 ItemDocuments.
1285
- */
1286
- cursor?: Prisma.ItemDocumentWhereUniqueInput
1287
- /**
1288
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1289
- *
1290
- * Take `±n` ItemDocuments 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` ItemDocuments.
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 ItemDocuments.
1303
- */
1304
- distinct?: Prisma.ItemDocumentScalarFieldEnum | Prisma.ItemDocumentScalarFieldEnum[]
1305
- }
1306
-
1307
- /**
1308
- * ItemDocument findMany
1309
- */
1310
- export type ItemDocumentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1311
- /**
1312
- * Select specific fields to fetch from the ItemDocument
1313
- */
1314
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1315
- /**
1316
- * Omit specific fields from the ItemDocument
1317
- */
1318
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1319
- /**
1320
- * Choose, which related nodes to fetch as well
1321
- */
1322
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1323
- /**
1324
- * Filter, which ItemDocuments to fetch.
1325
- */
1326
- where?: Prisma.ItemDocumentWhereInput
1327
- /**
1328
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1329
- *
1330
- * Determine the order of ItemDocuments to fetch.
1331
- */
1332
- orderBy?: Prisma.ItemDocumentOrderByWithRelationInput | Prisma.ItemDocumentOrderByWithRelationInput[]
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 ItemDocuments.
1337
- */
1338
- cursor?: Prisma.ItemDocumentWhereUniqueInput
1339
- /**
1340
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1341
- *
1342
- * Take `±n` ItemDocuments 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` ItemDocuments.
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 ItemDocuments.
1355
- */
1356
- distinct?: Prisma.ItemDocumentScalarFieldEnum | Prisma.ItemDocumentScalarFieldEnum[]
1357
- }
1358
-
1359
- /**
1360
- * ItemDocument create
1361
- */
1362
- export type ItemDocumentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1363
- /**
1364
- * Select specific fields to fetch from the ItemDocument
1365
- */
1366
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1367
- /**
1368
- * Omit specific fields from the ItemDocument
1369
- */
1370
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1371
- /**
1372
- * Choose, which related nodes to fetch as well
1373
- */
1374
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1375
- /**
1376
- * The data needed to create a ItemDocument.
1377
- */
1378
- data?: Prisma.XOR<Prisma.ItemDocumentCreateInput, Prisma.ItemDocumentUncheckedCreateInput>
1379
- }
1380
-
1381
- /**
1382
- * ItemDocument createMany
1383
- */
1384
- export type ItemDocumentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1385
- /**
1386
- * The data used to create many ItemDocuments.
1387
- */
1388
- data: Prisma.ItemDocumentCreateManyInput | Prisma.ItemDocumentCreateManyInput[]
1389
- skipDuplicates?: boolean
1390
- }
1391
-
1392
- /**
1393
- * ItemDocument createManyAndReturn
1394
- */
1395
- export type ItemDocumentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1396
- /**
1397
- * Select specific fields to fetch from the ItemDocument
1398
- */
1399
- select?: Prisma.ItemDocumentSelectCreateManyAndReturn<ExtArgs> | null
1400
- /**
1401
- * Omit specific fields from the ItemDocument
1402
- */
1403
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1404
- /**
1405
- * The data used to create many ItemDocuments.
1406
- */
1407
- data: Prisma.ItemDocumentCreateManyInput | Prisma.ItemDocumentCreateManyInput[]
1408
- skipDuplicates?: boolean
1409
- /**
1410
- * Choose, which related nodes to fetch as well
1411
- */
1412
- include?: Prisma.ItemDocumentIncludeCreateManyAndReturn<ExtArgs> | null
1413
- }
1414
-
1415
- /**
1416
- * ItemDocument update
1417
- */
1418
- export type ItemDocumentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1419
- /**
1420
- * Select specific fields to fetch from the ItemDocument
1421
- */
1422
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1423
- /**
1424
- * Omit specific fields from the ItemDocument
1425
- */
1426
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1427
- /**
1428
- * Choose, which related nodes to fetch as well
1429
- */
1430
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1431
- /**
1432
- * The data needed to update a ItemDocument.
1433
- */
1434
- data: Prisma.XOR<Prisma.ItemDocumentUpdateInput, Prisma.ItemDocumentUncheckedUpdateInput>
1435
- /**
1436
- * Choose, which ItemDocument to update.
1437
- */
1438
- where: Prisma.ItemDocumentWhereUniqueInput
1439
- }
1440
-
1441
- /**
1442
- * ItemDocument updateMany
1443
- */
1444
- export type ItemDocumentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1445
- /**
1446
- * The data used to update ItemDocuments.
1447
- */
1448
- data: Prisma.XOR<Prisma.ItemDocumentUpdateManyMutationInput, Prisma.ItemDocumentUncheckedUpdateManyInput>
1449
- /**
1450
- * Filter which ItemDocuments to update
1451
- */
1452
- where?: Prisma.ItemDocumentWhereInput
1453
- /**
1454
- * Limit how many ItemDocuments to update.
1455
- */
1456
- limit?: number
1457
- }
1458
-
1459
- /**
1460
- * ItemDocument updateManyAndReturn
1461
- */
1462
- export type ItemDocumentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1463
- /**
1464
- * Select specific fields to fetch from the ItemDocument
1465
- */
1466
- select?: Prisma.ItemDocumentSelectUpdateManyAndReturn<ExtArgs> | null
1467
- /**
1468
- * Omit specific fields from the ItemDocument
1469
- */
1470
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1471
- /**
1472
- * The data used to update ItemDocuments.
1473
- */
1474
- data: Prisma.XOR<Prisma.ItemDocumentUpdateManyMutationInput, Prisma.ItemDocumentUncheckedUpdateManyInput>
1475
- /**
1476
- * Filter which ItemDocuments to update
1477
- */
1478
- where?: Prisma.ItemDocumentWhereInput
1479
- /**
1480
- * Limit how many ItemDocuments to update.
1481
- */
1482
- limit?: number
1483
- /**
1484
- * Choose, which related nodes to fetch as well
1485
- */
1486
- include?: Prisma.ItemDocumentIncludeUpdateManyAndReturn<ExtArgs> | null
1487
- }
1488
-
1489
- /**
1490
- * ItemDocument upsert
1491
- */
1492
- export type ItemDocumentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1493
- /**
1494
- * Select specific fields to fetch from the ItemDocument
1495
- */
1496
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1497
- /**
1498
- * Omit specific fields from the ItemDocument
1499
- */
1500
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1501
- /**
1502
- * Choose, which related nodes to fetch as well
1503
- */
1504
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1505
- /**
1506
- * The filter to search for the ItemDocument to update in case it exists.
1507
- */
1508
- where: Prisma.ItemDocumentWhereUniqueInput
1509
- /**
1510
- * In case the ItemDocument found by the `where` argument doesn't exist, create a new ItemDocument with this data.
1511
- */
1512
- create: Prisma.XOR<Prisma.ItemDocumentCreateInput, Prisma.ItemDocumentUncheckedCreateInput>
1513
- /**
1514
- * In case the ItemDocument was found with the provided `where` argument, update it with this data.
1515
- */
1516
- update: Prisma.XOR<Prisma.ItemDocumentUpdateInput, Prisma.ItemDocumentUncheckedUpdateInput>
1517
- }
1518
-
1519
- /**
1520
- * ItemDocument delete
1521
- */
1522
- export type ItemDocumentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1523
- /**
1524
- * Select specific fields to fetch from the ItemDocument
1525
- */
1526
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1527
- /**
1528
- * Omit specific fields from the ItemDocument
1529
- */
1530
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1531
- /**
1532
- * Choose, which related nodes to fetch as well
1533
- */
1534
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1535
- /**
1536
- * Filter which ItemDocument to delete.
1537
- */
1538
- where: Prisma.ItemDocumentWhereUniqueInput
1539
- }
1540
-
1541
- /**
1542
- * ItemDocument deleteMany
1543
- */
1544
- export type ItemDocumentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1545
- /**
1546
- * Filter which ItemDocuments to delete
1547
- */
1548
- where?: Prisma.ItemDocumentWhereInput
1549
- /**
1550
- * Limit how many ItemDocuments to delete.
1551
- */
1552
- limit?: number
1553
- }
1554
-
1555
- /**
1556
- * ItemDocument.item
1557
- */
1558
- export type ItemDocument$itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1559
- /**
1560
- * Select specific fields to fetch from the Item
1561
- */
1562
- select?: Prisma.ItemSelect<ExtArgs> | null
1563
- /**
1564
- * Omit specific fields from the Item
1565
- */
1566
- omit?: Prisma.ItemOmit<ExtArgs> | null
1567
- /**
1568
- * Choose, which related nodes to fetch as well
1569
- */
1570
- include?: Prisma.ItemInclude<ExtArgs> | null
1571
- where?: Prisma.ItemWhereInput
1572
- }
1573
-
1574
- /**
1575
- * ItemDocument without action
1576
- */
1577
- export type ItemDocumentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1578
- /**
1579
- * Select specific fields to fetch from the ItemDocument
1580
- */
1581
- select?: Prisma.ItemDocumentSelect<ExtArgs> | null
1582
- /**
1583
- * Omit specific fields from the ItemDocument
1584
- */
1585
- omit?: Prisma.ItemDocumentOmit<ExtArgs> | null
1586
- /**
1587
- * Choose, which related nodes to fetch as well
1588
- */
1589
- include?: Prisma.ItemDocumentInclude<ExtArgs> | null
1590
- }