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