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