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