procbay-schema 1.0.171 → 1.0.175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
- package/prisma/schema.prisma +17 -7
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2911 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
- package/src/prisma/index.d.ts +286785 -0
- package/src/prisma/index.js +2940 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3831 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2873 -0
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,2366 +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 `PurchaseIntakeItem` 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 PurchaseIntakeItem
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type PurchaseIntakeItemModel = runtime.Types.Result.DefaultSelection<Prisma.$PurchaseIntakeItemPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregatePurchaseIntakeItem = {
|
|
22
|
-
_count: PurchaseIntakeItemCountAggregateOutputType | null
|
|
23
|
-
_avg: PurchaseIntakeItemAvgAggregateOutputType | null
|
|
24
|
-
_sum: PurchaseIntakeItemSumAggregateOutputType | null
|
|
25
|
-
_min: PurchaseIntakeItemMinAggregateOutputType | null
|
|
26
|
-
_max: PurchaseIntakeItemMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type PurchaseIntakeItemAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
purchase_intakes_id: number | null
|
|
32
|
-
item_id: number | null
|
|
33
|
-
vendor_id: number | null
|
|
34
|
-
quantity: number | null
|
|
35
|
-
initial_quantity: number | null
|
|
36
|
-
open_quantity: number | null
|
|
37
|
-
closed_quantity: number | null
|
|
38
|
-
price: runtime.Decimal | null
|
|
39
|
-
location_id: number | null
|
|
40
|
-
suggested_quantity: number | null
|
|
41
|
-
counter_quantity: number | null
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export type PurchaseIntakeItemSumAggregateOutputType = {
|
|
45
|
-
id: number | null
|
|
46
|
-
purchase_intakes_id: number | null
|
|
47
|
-
item_id: number | null
|
|
48
|
-
vendor_id: number | null
|
|
49
|
-
quantity: number | null
|
|
50
|
-
initial_quantity: number | null
|
|
51
|
-
open_quantity: number | null
|
|
52
|
-
closed_quantity: number | null
|
|
53
|
-
price: runtime.Decimal | null
|
|
54
|
-
location_id: number | null
|
|
55
|
-
suggested_quantity: number | null
|
|
56
|
-
counter_quantity: number | null
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type PurchaseIntakeItemMinAggregateOutputType = {
|
|
60
|
-
id: number | null
|
|
61
|
-
uuid: string | null
|
|
62
|
-
purchase_intakes_id: number | null
|
|
63
|
-
item_id: number | null
|
|
64
|
-
vendor_id: number | null
|
|
65
|
-
quantity: number | null
|
|
66
|
-
initial_quantity: number | null
|
|
67
|
-
open_quantity: number | null
|
|
68
|
-
closed_quantity: number | null
|
|
69
|
-
unit_of_measurement: string | null
|
|
70
|
-
price: runtime.Decimal | null
|
|
71
|
-
location_id: number | null
|
|
72
|
-
status: $Enums.PurchaseIntakeItemEnum | null
|
|
73
|
-
send_back_intake_status: $Enums.SendBackIntakeStatusEnum | null
|
|
74
|
-
send_back_approver_status: $Enums.SendBackApproverStatusEnum | null
|
|
75
|
-
suggested_quantity: number | null
|
|
76
|
-
counter_quantity: number | null
|
|
77
|
-
created_at: Date | null
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type PurchaseIntakeItemMaxAggregateOutputType = {
|
|
81
|
-
id: number | null
|
|
82
|
-
uuid: string | null
|
|
83
|
-
purchase_intakes_id: number | null
|
|
84
|
-
item_id: number | null
|
|
85
|
-
vendor_id: number | null
|
|
86
|
-
quantity: number | null
|
|
87
|
-
initial_quantity: number | null
|
|
88
|
-
open_quantity: number | null
|
|
89
|
-
closed_quantity: number | null
|
|
90
|
-
unit_of_measurement: string | null
|
|
91
|
-
price: runtime.Decimal | null
|
|
92
|
-
location_id: number | null
|
|
93
|
-
status: $Enums.PurchaseIntakeItemEnum | null
|
|
94
|
-
send_back_intake_status: $Enums.SendBackIntakeStatusEnum | null
|
|
95
|
-
send_back_approver_status: $Enums.SendBackApproverStatusEnum | null
|
|
96
|
-
suggested_quantity: number | null
|
|
97
|
-
counter_quantity: number | null
|
|
98
|
-
created_at: Date | null
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export type PurchaseIntakeItemCountAggregateOutputType = {
|
|
102
|
-
id: number
|
|
103
|
-
uuid: number
|
|
104
|
-
purchase_intakes_id: number
|
|
105
|
-
item_id: number
|
|
106
|
-
vendor_id: number
|
|
107
|
-
quantity: number
|
|
108
|
-
initial_quantity: number
|
|
109
|
-
open_quantity: number
|
|
110
|
-
closed_quantity: number
|
|
111
|
-
unit_of_measurement: number
|
|
112
|
-
price: number
|
|
113
|
-
location_id: number
|
|
114
|
-
status: number
|
|
115
|
-
send_back_intake_status: number
|
|
116
|
-
send_back_approver_status: number
|
|
117
|
-
suggested_quantity: number
|
|
118
|
-
counter_quantity: number
|
|
119
|
-
created_at: number
|
|
120
|
-
_all: number
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
export type PurchaseIntakeItemAvgAggregateInputType = {
|
|
125
|
-
id?: true
|
|
126
|
-
purchase_intakes_id?: true
|
|
127
|
-
item_id?: true
|
|
128
|
-
vendor_id?: true
|
|
129
|
-
quantity?: true
|
|
130
|
-
initial_quantity?: true
|
|
131
|
-
open_quantity?: true
|
|
132
|
-
closed_quantity?: true
|
|
133
|
-
price?: true
|
|
134
|
-
location_id?: true
|
|
135
|
-
suggested_quantity?: true
|
|
136
|
-
counter_quantity?: true
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export type PurchaseIntakeItemSumAggregateInputType = {
|
|
140
|
-
id?: true
|
|
141
|
-
purchase_intakes_id?: true
|
|
142
|
-
item_id?: true
|
|
143
|
-
vendor_id?: true
|
|
144
|
-
quantity?: true
|
|
145
|
-
initial_quantity?: true
|
|
146
|
-
open_quantity?: true
|
|
147
|
-
closed_quantity?: true
|
|
148
|
-
price?: true
|
|
149
|
-
location_id?: true
|
|
150
|
-
suggested_quantity?: true
|
|
151
|
-
counter_quantity?: true
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export type PurchaseIntakeItemMinAggregateInputType = {
|
|
155
|
-
id?: true
|
|
156
|
-
uuid?: true
|
|
157
|
-
purchase_intakes_id?: true
|
|
158
|
-
item_id?: true
|
|
159
|
-
vendor_id?: true
|
|
160
|
-
quantity?: true
|
|
161
|
-
initial_quantity?: true
|
|
162
|
-
open_quantity?: true
|
|
163
|
-
closed_quantity?: true
|
|
164
|
-
unit_of_measurement?: true
|
|
165
|
-
price?: true
|
|
166
|
-
location_id?: true
|
|
167
|
-
status?: true
|
|
168
|
-
send_back_intake_status?: true
|
|
169
|
-
send_back_approver_status?: true
|
|
170
|
-
suggested_quantity?: true
|
|
171
|
-
counter_quantity?: true
|
|
172
|
-
created_at?: true
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export type PurchaseIntakeItemMaxAggregateInputType = {
|
|
176
|
-
id?: true
|
|
177
|
-
uuid?: true
|
|
178
|
-
purchase_intakes_id?: true
|
|
179
|
-
item_id?: true
|
|
180
|
-
vendor_id?: true
|
|
181
|
-
quantity?: true
|
|
182
|
-
initial_quantity?: true
|
|
183
|
-
open_quantity?: true
|
|
184
|
-
closed_quantity?: true
|
|
185
|
-
unit_of_measurement?: true
|
|
186
|
-
price?: true
|
|
187
|
-
location_id?: true
|
|
188
|
-
status?: true
|
|
189
|
-
send_back_intake_status?: true
|
|
190
|
-
send_back_approver_status?: true
|
|
191
|
-
suggested_quantity?: true
|
|
192
|
-
counter_quantity?: true
|
|
193
|
-
created_at?: true
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type PurchaseIntakeItemCountAggregateInputType = {
|
|
197
|
-
id?: true
|
|
198
|
-
uuid?: true
|
|
199
|
-
purchase_intakes_id?: true
|
|
200
|
-
item_id?: true
|
|
201
|
-
vendor_id?: true
|
|
202
|
-
quantity?: true
|
|
203
|
-
initial_quantity?: true
|
|
204
|
-
open_quantity?: true
|
|
205
|
-
closed_quantity?: true
|
|
206
|
-
unit_of_measurement?: true
|
|
207
|
-
price?: true
|
|
208
|
-
location_id?: true
|
|
209
|
-
status?: true
|
|
210
|
-
send_back_intake_status?: true
|
|
211
|
-
send_back_approver_status?: true
|
|
212
|
-
suggested_quantity?: true
|
|
213
|
-
counter_quantity?: true
|
|
214
|
-
created_at?: true
|
|
215
|
-
_all?: true
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
export type PurchaseIntakeItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
219
|
-
/**
|
|
220
|
-
* Filter which PurchaseIntakeItem to aggregate.
|
|
221
|
-
*/
|
|
222
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
223
|
-
/**
|
|
224
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
225
|
-
*
|
|
226
|
-
* Determine the order of PurchaseIntakeItems to fetch.
|
|
227
|
-
*/
|
|
228
|
-
orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
|
|
229
|
-
/**
|
|
230
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
231
|
-
*
|
|
232
|
-
* Sets the start position
|
|
233
|
-
*/
|
|
234
|
-
cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
235
|
-
/**
|
|
236
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
237
|
-
*
|
|
238
|
-
* Take `±n` PurchaseIntakeItems from the position of the cursor.
|
|
239
|
-
*/
|
|
240
|
-
take?: number
|
|
241
|
-
/**
|
|
242
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
243
|
-
*
|
|
244
|
-
* Skip the first `n` PurchaseIntakeItems.
|
|
245
|
-
*/
|
|
246
|
-
skip?: number
|
|
247
|
-
/**
|
|
248
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
249
|
-
*
|
|
250
|
-
* Count returned PurchaseIntakeItems
|
|
251
|
-
**/
|
|
252
|
-
_count?: true | PurchaseIntakeItemCountAggregateInputType
|
|
253
|
-
/**
|
|
254
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
255
|
-
*
|
|
256
|
-
* Select which fields to average
|
|
257
|
-
**/
|
|
258
|
-
_avg?: PurchaseIntakeItemAvgAggregateInputType
|
|
259
|
-
/**
|
|
260
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
261
|
-
*
|
|
262
|
-
* Select which fields to sum
|
|
263
|
-
**/
|
|
264
|
-
_sum?: PurchaseIntakeItemSumAggregateInputType
|
|
265
|
-
/**
|
|
266
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
267
|
-
*
|
|
268
|
-
* Select which fields to find the minimum value
|
|
269
|
-
**/
|
|
270
|
-
_min?: PurchaseIntakeItemMinAggregateInputType
|
|
271
|
-
/**
|
|
272
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
273
|
-
*
|
|
274
|
-
* Select which fields to find the maximum value
|
|
275
|
-
**/
|
|
276
|
-
_max?: PurchaseIntakeItemMaxAggregateInputType
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export type GetPurchaseIntakeItemAggregateType<T extends PurchaseIntakeItemAggregateArgs> = {
|
|
280
|
-
[P in keyof T & keyof AggregatePurchaseIntakeItem]: P extends '_count' | 'count'
|
|
281
|
-
? T[P] extends true
|
|
282
|
-
? number
|
|
283
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseIntakeItem[P]>
|
|
284
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseIntakeItem[P]>
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
export type PurchaseIntakeItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
291
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
292
|
-
orderBy?: Prisma.PurchaseIntakeItemOrderByWithAggregationInput | Prisma.PurchaseIntakeItemOrderByWithAggregationInput[]
|
|
293
|
-
by: Prisma.PurchaseIntakeItemScalarFieldEnum[] | Prisma.PurchaseIntakeItemScalarFieldEnum
|
|
294
|
-
having?: Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput
|
|
295
|
-
take?: number
|
|
296
|
-
skip?: number
|
|
297
|
-
_count?: PurchaseIntakeItemCountAggregateInputType | true
|
|
298
|
-
_avg?: PurchaseIntakeItemAvgAggregateInputType
|
|
299
|
-
_sum?: PurchaseIntakeItemSumAggregateInputType
|
|
300
|
-
_min?: PurchaseIntakeItemMinAggregateInputType
|
|
301
|
-
_max?: PurchaseIntakeItemMaxAggregateInputType
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
export type PurchaseIntakeItemGroupByOutputType = {
|
|
305
|
-
id: number
|
|
306
|
-
uuid: string | null
|
|
307
|
-
purchase_intakes_id: number | null
|
|
308
|
-
item_id: number | null
|
|
309
|
-
vendor_id: number | null
|
|
310
|
-
quantity: number | null
|
|
311
|
-
initial_quantity: number | null
|
|
312
|
-
open_quantity: number | null
|
|
313
|
-
closed_quantity: number | null
|
|
314
|
-
unit_of_measurement: string | null
|
|
315
|
-
price: runtime.Decimal | null
|
|
316
|
-
location_id: number | null
|
|
317
|
-
status: $Enums.PurchaseIntakeItemEnum
|
|
318
|
-
send_back_intake_status: $Enums.SendBackIntakeStatusEnum
|
|
319
|
-
send_back_approver_status: $Enums.SendBackApproverStatusEnum
|
|
320
|
-
suggested_quantity: number | null
|
|
321
|
-
counter_quantity: number | null
|
|
322
|
-
created_at: Date
|
|
323
|
-
_count: PurchaseIntakeItemCountAggregateOutputType | null
|
|
324
|
-
_avg: PurchaseIntakeItemAvgAggregateOutputType | null
|
|
325
|
-
_sum: PurchaseIntakeItemSumAggregateOutputType | null
|
|
326
|
-
_min: PurchaseIntakeItemMinAggregateOutputType | null
|
|
327
|
-
_max: PurchaseIntakeItemMaxAggregateOutputType | null
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export type GetPurchaseIntakeItemGroupByPayload<T extends PurchaseIntakeItemGroupByArgs> = Prisma.PrismaPromise<
|
|
331
|
-
Array<
|
|
332
|
-
Prisma.PickEnumerable<PurchaseIntakeItemGroupByOutputType, T['by']> &
|
|
333
|
-
{
|
|
334
|
-
[P in ((keyof T) & (keyof PurchaseIntakeItemGroupByOutputType))]: P extends '_count'
|
|
335
|
-
? T[P] extends boolean
|
|
336
|
-
? number
|
|
337
|
-
: Prisma.GetScalarType<T[P], PurchaseIntakeItemGroupByOutputType[P]>
|
|
338
|
-
: Prisma.GetScalarType<T[P], PurchaseIntakeItemGroupByOutputType[P]>
|
|
339
|
-
}
|
|
340
|
-
>
|
|
341
|
-
>
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
export type PurchaseIntakeItemWhereInput = {
|
|
346
|
-
AND?: Prisma.PurchaseIntakeItemWhereInput | Prisma.PurchaseIntakeItemWhereInput[]
|
|
347
|
-
OR?: Prisma.PurchaseIntakeItemWhereInput[]
|
|
348
|
-
NOT?: Prisma.PurchaseIntakeItemWhereInput | Prisma.PurchaseIntakeItemWhereInput[]
|
|
349
|
-
id?: Prisma.IntFilter<"PurchaseIntakeItem"> | number
|
|
350
|
-
uuid?: Prisma.StringNullableFilter<"PurchaseIntakeItem"> | string | null
|
|
351
|
-
purchase_intakes_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
352
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
353
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
354
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
355
|
-
initial_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
356
|
-
open_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
357
|
-
closed_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
358
|
-
unit_of_measurement?: Prisma.StringNullableFilter<"PurchaseIntakeItem"> | string | null
|
|
359
|
-
price?: Prisma.DecimalNullableFilter<"PurchaseIntakeItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
360
|
-
location_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
361
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFilter<"PurchaseIntakeItem"> | $Enums.PurchaseIntakeItemEnum
|
|
362
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackIntakeStatusEnum
|
|
363
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackApproverStatusEnum
|
|
364
|
-
suggested_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
365
|
-
counter_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
366
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseIntakeItem"> | Date | string
|
|
367
|
-
purchase_intake?: Prisma.XOR<Prisma.PurchaseIntakeNullableScalarRelationFilter, Prisma.PurchaseIntakeWhereInput> | null
|
|
368
|
-
items?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
|
|
369
|
-
location?: Prisma.XOR<Prisma.LocationNullableScalarRelationFilter, Prisma.LocationWhereInput> | null
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
export type PurchaseIntakeItemOrderByWithRelationInput = {
|
|
373
|
-
id?: Prisma.SortOrder
|
|
374
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
375
|
-
purchase_intakes_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
376
|
-
item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
377
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
378
|
-
quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
379
|
-
initial_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
380
|
-
open_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
381
|
-
closed_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
382
|
-
unit_of_measurement?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
383
|
-
price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
384
|
-
location_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
385
|
-
status?: Prisma.SortOrder
|
|
386
|
-
send_back_intake_status?: Prisma.SortOrder
|
|
387
|
-
send_back_approver_status?: Prisma.SortOrder
|
|
388
|
-
suggested_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
389
|
-
counter_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
390
|
-
created_at?: Prisma.SortOrder
|
|
391
|
-
purchase_intake?: Prisma.PurchaseIntakeOrderByWithRelationInput
|
|
392
|
-
items?: Prisma.ItemOrderByWithRelationInput
|
|
393
|
-
location?: Prisma.LocationOrderByWithRelationInput
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
export type PurchaseIntakeItemWhereUniqueInput = Prisma.AtLeast<{
|
|
397
|
-
id?: number
|
|
398
|
-
uuid?: string
|
|
399
|
-
AND?: Prisma.PurchaseIntakeItemWhereInput | Prisma.PurchaseIntakeItemWhereInput[]
|
|
400
|
-
OR?: Prisma.PurchaseIntakeItemWhereInput[]
|
|
401
|
-
NOT?: Prisma.PurchaseIntakeItemWhereInput | Prisma.PurchaseIntakeItemWhereInput[]
|
|
402
|
-
purchase_intakes_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
403
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
404
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
405
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
406
|
-
initial_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
407
|
-
open_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
408
|
-
closed_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
409
|
-
unit_of_measurement?: Prisma.StringNullableFilter<"PurchaseIntakeItem"> | string | null
|
|
410
|
-
price?: Prisma.DecimalNullableFilter<"PurchaseIntakeItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
411
|
-
location_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
412
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFilter<"PurchaseIntakeItem"> | $Enums.PurchaseIntakeItemEnum
|
|
413
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackIntakeStatusEnum
|
|
414
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackApproverStatusEnum
|
|
415
|
-
suggested_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
416
|
-
counter_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
417
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseIntakeItem"> | Date | string
|
|
418
|
-
purchase_intake?: Prisma.XOR<Prisma.PurchaseIntakeNullableScalarRelationFilter, Prisma.PurchaseIntakeWhereInput> | null
|
|
419
|
-
items?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
|
|
420
|
-
location?: Prisma.XOR<Prisma.LocationNullableScalarRelationFilter, Prisma.LocationWhereInput> | null
|
|
421
|
-
}, "id" | "uuid">
|
|
422
|
-
|
|
423
|
-
export type PurchaseIntakeItemOrderByWithAggregationInput = {
|
|
424
|
-
id?: Prisma.SortOrder
|
|
425
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
426
|
-
purchase_intakes_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
427
|
-
item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
428
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
429
|
-
quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
430
|
-
initial_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
431
|
-
open_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
432
|
-
closed_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
433
|
-
unit_of_measurement?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
434
|
-
price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
435
|
-
location_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
436
|
-
status?: Prisma.SortOrder
|
|
437
|
-
send_back_intake_status?: Prisma.SortOrder
|
|
438
|
-
send_back_approver_status?: Prisma.SortOrder
|
|
439
|
-
suggested_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
440
|
-
counter_quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
441
|
-
created_at?: Prisma.SortOrder
|
|
442
|
-
_count?: Prisma.PurchaseIntakeItemCountOrderByAggregateInput
|
|
443
|
-
_avg?: Prisma.PurchaseIntakeItemAvgOrderByAggregateInput
|
|
444
|
-
_max?: Prisma.PurchaseIntakeItemMaxOrderByAggregateInput
|
|
445
|
-
_min?: Prisma.PurchaseIntakeItemMinOrderByAggregateInput
|
|
446
|
-
_sum?: Prisma.PurchaseIntakeItemSumOrderByAggregateInput
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
export type PurchaseIntakeItemScalarWhereWithAggregatesInput = {
|
|
450
|
-
AND?: Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput | Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput[]
|
|
451
|
-
OR?: Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput[]
|
|
452
|
-
NOT?: Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput | Prisma.PurchaseIntakeItemScalarWhereWithAggregatesInput[]
|
|
453
|
-
id?: Prisma.IntWithAggregatesFilter<"PurchaseIntakeItem"> | number
|
|
454
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntakeItem"> | string | null
|
|
455
|
-
purchase_intakes_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
456
|
-
item_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
457
|
-
vendor_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
458
|
-
quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
459
|
-
initial_quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
460
|
-
open_quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
461
|
-
closed_quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
462
|
-
unit_of_measurement?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntakeItem"> | string | null
|
|
463
|
-
price?: Prisma.DecimalNullableWithAggregatesFilter<"PurchaseIntakeItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
464
|
-
location_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
465
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumWithAggregatesFilter<"PurchaseIntakeItem"> | $Enums.PurchaseIntakeItemEnum
|
|
466
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumWithAggregatesFilter<"PurchaseIntakeItem"> | $Enums.SendBackIntakeStatusEnum
|
|
467
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumWithAggregatesFilter<"PurchaseIntakeItem"> | $Enums.SendBackApproverStatusEnum
|
|
468
|
-
suggested_quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
469
|
-
counter_quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntakeItem"> | number | null
|
|
470
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"PurchaseIntakeItem"> | Date | string
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
export type PurchaseIntakeItemCreateInput = {
|
|
474
|
-
uuid?: string | null
|
|
475
|
-
vendor_id?: number | null
|
|
476
|
-
quantity?: number | null
|
|
477
|
-
initial_quantity?: number | null
|
|
478
|
-
open_quantity?: number | null
|
|
479
|
-
closed_quantity?: number | null
|
|
480
|
-
unit_of_measurement?: string | null
|
|
481
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
482
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
483
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
484
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
485
|
-
suggested_quantity?: number | null
|
|
486
|
-
counter_quantity?: number | null
|
|
487
|
-
created_at?: Date | string
|
|
488
|
-
purchase_intake?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_intake_itemInput
|
|
489
|
-
items?: Prisma.ItemCreateNestedOneWithoutPurchase_intake_itemsInput
|
|
490
|
-
location?: Prisma.LocationCreateNestedOneWithoutPurchase_intake_itemInput
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export type PurchaseIntakeItemUncheckedCreateInput = {
|
|
494
|
-
id?: number
|
|
495
|
-
uuid?: string | null
|
|
496
|
-
purchase_intakes_id?: number | null
|
|
497
|
-
item_id?: number | null
|
|
498
|
-
vendor_id?: number | null
|
|
499
|
-
quantity?: number | null
|
|
500
|
-
initial_quantity?: number | null
|
|
501
|
-
open_quantity?: number | null
|
|
502
|
-
closed_quantity?: number | null
|
|
503
|
-
unit_of_measurement?: string | null
|
|
504
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
505
|
-
location_id?: number | null
|
|
506
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
507
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
508
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
509
|
-
suggested_quantity?: number | null
|
|
510
|
-
counter_quantity?: number | null
|
|
511
|
-
created_at?: Date | string
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
export type PurchaseIntakeItemUpdateInput = {
|
|
515
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
516
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
517
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
518
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
519
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
520
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
521
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
522
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
523
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
524
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
525
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
526
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
527
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
528
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
529
|
-
purchase_intake?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
530
|
-
items?: Prisma.ItemUpdateOneWithoutPurchase_intake_itemsNestedInput
|
|
531
|
-
location?: Prisma.LocationUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export type PurchaseIntakeItemUncheckedUpdateInput = {
|
|
535
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
536
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
537
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
538
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
539
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
540
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
541
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
542
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
543
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
544
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
545
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
546
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
547
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
548
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
549
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
550
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
551
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
552
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
export type PurchaseIntakeItemCreateManyInput = {
|
|
556
|
-
id?: number
|
|
557
|
-
uuid?: string | null
|
|
558
|
-
purchase_intakes_id?: number | null
|
|
559
|
-
item_id?: number | null
|
|
560
|
-
vendor_id?: number | null
|
|
561
|
-
quantity?: number | null
|
|
562
|
-
initial_quantity?: number | null
|
|
563
|
-
open_quantity?: number | null
|
|
564
|
-
closed_quantity?: number | null
|
|
565
|
-
unit_of_measurement?: string | null
|
|
566
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
567
|
-
location_id?: number | null
|
|
568
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
569
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
570
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
571
|
-
suggested_quantity?: number | null
|
|
572
|
-
counter_quantity?: number | null
|
|
573
|
-
created_at?: Date | string
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
export type PurchaseIntakeItemUpdateManyMutationInput = {
|
|
577
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
578
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
579
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
580
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
581
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
582
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
583
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
584
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
585
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
586
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
587
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
588
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
589
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
590
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
export type PurchaseIntakeItemUncheckedUpdateManyInput = {
|
|
594
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
595
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
596
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
597
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
598
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
599
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
600
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
601
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
602
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
603
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
604
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
605
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
606
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
607
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
608
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
609
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
610
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
611
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
export type PurchaseIntakeItemListRelationFilter = {
|
|
615
|
-
every?: Prisma.PurchaseIntakeItemWhereInput
|
|
616
|
-
some?: Prisma.PurchaseIntakeItemWhereInput
|
|
617
|
-
none?: Prisma.PurchaseIntakeItemWhereInput
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
export type PurchaseIntakeItemOrderByRelationAggregateInput = {
|
|
621
|
-
_count?: Prisma.SortOrder
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export type PurchaseIntakeItemCountOrderByAggregateInput = {
|
|
625
|
-
id?: Prisma.SortOrder
|
|
626
|
-
uuid?: Prisma.SortOrder
|
|
627
|
-
purchase_intakes_id?: Prisma.SortOrder
|
|
628
|
-
item_id?: Prisma.SortOrder
|
|
629
|
-
vendor_id?: Prisma.SortOrder
|
|
630
|
-
quantity?: Prisma.SortOrder
|
|
631
|
-
initial_quantity?: Prisma.SortOrder
|
|
632
|
-
open_quantity?: Prisma.SortOrder
|
|
633
|
-
closed_quantity?: Prisma.SortOrder
|
|
634
|
-
unit_of_measurement?: Prisma.SortOrder
|
|
635
|
-
price?: Prisma.SortOrder
|
|
636
|
-
location_id?: Prisma.SortOrder
|
|
637
|
-
status?: Prisma.SortOrder
|
|
638
|
-
send_back_intake_status?: Prisma.SortOrder
|
|
639
|
-
send_back_approver_status?: Prisma.SortOrder
|
|
640
|
-
suggested_quantity?: Prisma.SortOrder
|
|
641
|
-
counter_quantity?: Prisma.SortOrder
|
|
642
|
-
created_at?: Prisma.SortOrder
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
export type PurchaseIntakeItemAvgOrderByAggregateInput = {
|
|
646
|
-
id?: Prisma.SortOrder
|
|
647
|
-
purchase_intakes_id?: Prisma.SortOrder
|
|
648
|
-
item_id?: Prisma.SortOrder
|
|
649
|
-
vendor_id?: Prisma.SortOrder
|
|
650
|
-
quantity?: Prisma.SortOrder
|
|
651
|
-
initial_quantity?: Prisma.SortOrder
|
|
652
|
-
open_quantity?: Prisma.SortOrder
|
|
653
|
-
closed_quantity?: Prisma.SortOrder
|
|
654
|
-
price?: Prisma.SortOrder
|
|
655
|
-
location_id?: Prisma.SortOrder
|
|
656
|
-
suggested_quantity?: Prisma.SortOrder
|
|
657
|
-
counter_quantity?: Prisma.SortOrder
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
export type PurchaseIntakeItemMaxOrderByAggregateInput = {
|
|
661
|
-
id?: Prisma.SortOrder
|
|
662
|
-
uuid?: Prisma.SortOrder
|
|
663
|
-
purchase_intakes_id?: Prisma.SortOrder
|
|
664
|
-
item_id?: Prisma.SortOrder
|
|
665
|
-
vendor_id?: Prisma.SortOrder
|
|
666
|
-
quantity?: Prisma.SortOrder
|
|
667
|
-
initial_quantity?: Prisma.SortOrder
|
|
668
|
-
open_quantity?: Prisma.SortOrder
|
|
669
|
-
closed_quantity?: Prisma.SortOrder
|
|
670
|
-
unit_of_measurement?: Prisma.SortOrder
|
|
671
|
-
price?: Prisma.SortOrder
|
|
672
|
-
location_id?: Prisma.SortOrder
|
|
673
|
-
status?: Prisma.SortOrder
|
|
674
|
-
send_back_intake_status?: Prisma.SortOrder
|
|
675
|
-
send_back_approver_status?: Prisma.SortOrder
|
|
676
|
-
suggested_quantity?: Prisma.SortOrder
|
|
677
|
-
counter_quantity?: Prisma.SortOrder
|
|
678
|
-
created_at?: Prisma.SortOrder
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
export type PurchaseIntakeItemMinOrderByAggregateInput = {
|
|
682
|
-
id?: Prisma.SortOrder
|
|
683
|
-
uuid?: Prisma.SortOrder
|
|
684
|
-
purchase_intakes_id?: Prisma.SortOrder
|
|
685
|
-
item_id?: Prisma.SortOrder
|
|
686
|
-
vendor_id?: Prisma.SortOrder
|
|
687
|
-
quantity?: Prisma.SortOrder
|
|
688
|
-
initial_quantity?: Prisma.SortOrder
|
|
689
|
-
open_quantity?: Prisma.SortOrder
|
|
690
|
-
closed_quantity?: Prisma.SortOrder
|
|
691
|
-
unit_of_measurement?: Prisma.SortOrder
|
|
692
|
-
price?: Prisma.SortOrder
|
|
693
|
-
location_id?: Prisma.SortOrder
|
|
694
|
-
status?: Prisma.SortOrder
|
|
695
|
-
send_back_intake_status?: Prisma.SortOrder
|
|
696
|
-
send_back_approver_status?: Prisma.SortOrder
|
|
697
|
-
suggested_quantity?: Prisma.SortOrder
|
|
698
|
-
counter_quantity?: Prisma.SortOrder
|
|
699
|
-
created_at?: Prisma.SortOrder
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export type PurchaseIntakeItemSumOrderByAggregateInput = {
|
|
703
|
-
id?: Prisma.SortOrder
|
|
704
|
-
purchase_intakes_id?: Prisma.SortOrder
|
|
705
|
-
item_id?: Prisma.SortOrder
|
|
706
|
-
vendor_id?: Prisma.SortOrder
|
|
707
|
-
quantity?: Prisma.SortOrder
|
|
708
|
-
initial_quantity?: Prisma.SortOrder
|
|
709
|
-
open_quantity?: Prisma.SortOrder
|
|
710
|
-
closed_quantity?: Prisma.SortOrder
|
|
711
|
-
price?: Prisma.SortOrder
|
|
712
|
-
location_id?: Prisma.SortOrder
|
|
713
|
-
suggested_quantity?: Prisma.SortOrder
|
|
714
|
-
counter_quantity?: Prisma.SortOrder
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
export type PurchaseIntakeItemCreateNestedManyWithoutItemsInput = {
|
|
718
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput> | Prisma.PurchaseIntakeItemCreateWithoutItemsInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput[]
|
|
719
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput[]
|
|
720
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyItemsInputEnvelope
|
|
721
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
export type PurchaseIntakeItemUncheckedCreateNestedManyWithoutItemsInput = {
|
|
725
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput> | Prisma.PurchaseIntakeItemCreateWithoutItemsInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput[]
|
|
726
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput[]
|
|
727
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyItemsInputEnvelope
|
|
728
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
export type PurchaseIntakeItemUpdateManyWithoutItemsNestedInput = {
|
|
732
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput> | Prisma.PurchaseIntakeItemCreateWithoutItemsInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput[]
|
|
733
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput[]
|
|
734
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutItemsInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutItemsInput[]
|
|
735
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyItemsInputEnvelope
|
|
736
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
737
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
738
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
739
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
740
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutItemsInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutItemsInput[]
|
|
741
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutItemsInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutItemsInput[]
|
|
742
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutItemsNestedInput = {
|
|
746
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput> | Prisma.PurchaseIntakeItemCreateWithoutItemsInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput[]
|
|
747
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutItemsInput[]
|
|
748
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutItemsInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutItemsInput[]
|
|
749
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyItemsInputEnvelope
|
|
750
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
751
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
752
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
753
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
754
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutItemsInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutItemsInput[]
|
|
755
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutItemsInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutItemsInput[]
|
|
756
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
export type PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput = {
|
|
760
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput> | Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput[]
|
|
761
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput[]
|
|
762
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInputEnvelope
|
|
763
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
export type PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput = {
|
|
767
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput> | Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput[]
|
|
768
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput[]
|
|
769
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInputEnvelope
|
|
770
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
export type PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput = {
|
|
774
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput> | Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput[]
|
|
775
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput[]
|
|
776
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutPurchase_intakeInput[]
|
|
777
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInputEnvelope
|
|
778
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
779
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
780
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
781
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
782
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutPurchase_intakeInput[]
|
|
783
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutPurchase_intakeInput[]
|
|
784
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput = {
|
|
788
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput> | Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput[]
|
|
789
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput[]
|
|
790
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutPurchase_intakeInput[]
|
|
791
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInputEnvelope
|
|
792
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
793
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
794
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
795
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
796
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutPurchase_intakeInput[]
|
|
797
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutPurchase_intakeInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutPurchase_intakeInput[]
|
|
798
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
export type EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput = {
|
|
802
|
-
set?: $Enums.PurchaseIntakeItemEnum
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
export type EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput = {
|
|
806
|
-
set?: $Enums.SendBackIntakeStatusEnum
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
export type EnumSendBackApproverStatusEnumFieldUpdateOperationsInput = {
|
|
810
|
-
set?: $Enums.SendBackApproverStatusEnum
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
export type PurchaseIntakeItemCreateNestedManyWithoutLocationInput = {
|
|
814
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput> | Prisma.PurchaseIntakeItemCreateWithoutLocationInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput[]
|
|
815
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput[]
|
|
816
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyLocationInputEnvelope
|
|
817
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
export type PurchaseIntakeItemUncheckedCreateNestedManyWithoutLocationInput = {
|
|
821
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput> | Prisma.PurchaseIntakeItemCreateWithoutLocationInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput[]
|
|
822
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput[]
|
|
823
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyLocationInputEnvelope
|
|
824
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
export type PurchaseIntakeItemUpdateManyWithoutLocationNestedInput = {
|
|
828
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput> | Prisma.PurchaseIntakeItemCreateWithoutLocationInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput[]
|
|
829
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput[]
|
|
830
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutLocationInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutLocationInput[]
|
|
831
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyLocationInputEnvelope
|
|
832
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
833
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
834
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
835
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
836
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutLocationInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutLocationInput[]
|
|
837
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutLocationInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutLocationInput[]
|
|
838
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutLocationNestedInput = {
|
|
842
|
-
create?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput> | Prisma.PurchaseIntakeItemCreateWithoutLocationInput[] | Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput[]
|
|
843
|
-
connectOrCreate?: Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput | Prisma.PurchaseIntakeItemCreateOrConnectWithoutLocationInput[]
|
|
844
|
-
upsert?: Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutLocationInput | Prisma.PurchaseIntakeItemUpsertWithWhereUniqueWithoutLocationInput[]
|
|
845
|
-
createMany?: Prisma.PurchaseIntakeItemCreateManyLocationInputEnvelope
|
|
846
|
-
set?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
847
|
-
disconnect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
848
|
-
delete?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
849
|
-
connect?: Prisma.PurchaseIntakeItemWhereUniqueInput | Prisma.PurchaseIntakeItemWhereUniqueInput[]
|
|
850
|
-
update?: Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutLocationInput | Prisma.PurchaseIntakeItemUpdateWithWhereUniqueWithoutLocationInput[]
|
|
851
|
-
updateMany?: Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutLocationInput | Prisma.PurchaseIntakeItemUpdateManyWithWhereWithoutLocationInput[]
|
|
852
|
-
deleteMany?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
export type PurchaseIntakeItemCreateWithoutItemsInput = {
|
|
856
|
-
uuid?: string | null
|
|
857
|
-
vendor_id?: number | null
|
|
858
|
-
quantity?: number | null
|
|
859
|
-
initial_quantity?: number | null
|
|
860
|
-
open_quantity?: number | null
|
|
861
|
-
closed_quantity?: number | null
|
|
862
|
-
unit_of_measurement?: string | null
|
|
863
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
864
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
865
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
866
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
867
|
-
suggested_quantity?: number | null
|
|
868
|
-
counter_quantity?: number | null
|
|
869
|
-
created_at?: Date | string
|
|
870
|
-
purchase_intake?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_intake_itemInput
|
|
871
|
-
location?: Prisma.LocationCreateNestedOneWithoutPurchase_intake_itemInput
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export type PurchaseIntakeItemUncheckedCreateWithoutItemsInput = {
|
|
875
|
-
id?: number
|
|
876
|
-
uuid?: string | null
|
|
877
|
-
purchase_intakes_id?: number | null
|
|
878
|
-
vendor_id?: number | null
|
|
879
|
-
quantity?: number | null
|
|
880
|
-
initial_quantity?: number | null
|
|
881
|
-
open_quantity?: number | null
|
|
882
|
-
closed_quantity?: number | null
|
|
883
|
-
unit_of_measurement?: string | null
|
|
884
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
885
|
-
location_id?: number | null
|
|
886
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
887
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
888
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
889
|
-
suggested_quantity?: number | null
|
|
890
|
-
counter_quantity?: number | null
|
|
891
|
-
created_at?: Date | string
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
export type PurchaseIntakeItemCreateOrConnectWithoutItemsInput = {
|
|
895
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
896
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput>
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
export type PurchaseIntakeItemCreateManyItemsInputEnvelope = {
|
|
900
|
-
data: Prisma.PurchaseIntakeItemCreateManyItemsInput | Prisma.PurchaseIntakeItemCreateManyItemsInput[]
|
|
901
|
-
skipDuplicates?: boolean
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export type PurchaseIntakeItemUpsertWithWhereUniqueWithoutItemsInput = {
|
|
905
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
906
|
-
update: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutItemsInput>
|
|
907
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutItemsInput>
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
export type PurchaseIntakeItemUpdateWithWhereUniqueWithoutItemsInput = {
|
|
911
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
912
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutItemsInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutItemsInput>
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
export type PurchaseIntakeItemUpdateManyWithWhereWithoutItemsInput = {
|
|
916
|
-
where: Prisma.PurchaseIntakeItemScalarWhereInput
|
|
917
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateManyMutationInput, Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutItemsInput>
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
export type PurchaseIntakeItemScalarWhereInput = {
|
|
921
|
-
AND?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
922
|
-
OR?: Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
923
|
-
NOT?: Prisma.PurchaseIntakeItemScalarWhereInput | Prisma.PurchaseIntakeItemScalarWhereInput[]
|
|
924
|
-
id?: Prisma.IntFilter<"PurchaseIntakeItem"> | number
|
|
925
|
-
uuid?: Prisma.StringNullableFilter<"PurchaseIntakeItem"> | string | null
|
|
926
|
-
purchase_intakes_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
927
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
928
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
929
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
930
|
-
initial_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
931
|
-
open_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
932
|
-
closed_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
933
|
-
unit_of_measurement?: Prisma.StringNullableFilter<"PurchaseIntakeItem"> | string | null
|
|
934
|
-
price?: Prisma.DecimalNullableFilter<"PurchaseIntakeItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
935
|
-
location_id?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
936
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFilter<"PurchaseIntakeItem"> | $Enums.PurchaseIntakeItemEnum
|
|
937
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackIntakeStatusEnum
|
|
938
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFilter<"PurchaseIntakeItem"> | $Enums.SendBackApproverStatusEnum
|
|
939
|
-
suggested_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
940
|
-
counter_quantity?: Prisma.IntNullableFilter<"PurchaseIntakeItem"> | number | null
|
|
941
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseIntakeItem"> | Date | string
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
export type PurchaseIntakeItemCreateWithoutPurchase_intakeInput = {
|
|
945
|
-
uuid?: string | null
|
|
946
|
-
vendor_id?: number | null
|
|
947
|
-
quantity?: number | null
|
|
948
|
-
initial_quantity?: number | null
|
|
949
|
-
open_quantity?: number | null
|
|
950
|
-
closed_quantity?: number | null
|
|
951
|
-
unit_of_measurement?: string | null
|
|
952
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
953
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
954
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
955
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
956
|
-
suggested_quantity?: number | null
|
|
957
|
-
counter_quantity?: number | null
|
|
958
|
-
created_at?: Date | string
|
|
959
|
-
items?: Prisma.ItemCreateNestedOneWithoutPurchase_intake_itemsInput
|
|
960
|
-
location?: Prisma.LocationCreateNestedOneWithoutPurchase_intake_itemInput
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
export type PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput = {
|
|
964
|
-
id?: number
|
|
965
|
-
uuid?: string | null
|
|
966
|
-
item_id?: number | null
|
|
967
|
-
vendor_id?: number | null
|
|
968
|
-
quantity?: number | null
|
|
969
|
-
initial_quantity?: number | null
|
|
970
|
-
open_quantity?: number | null
|
|
971
|
-
closed_quantity?: number | null
|
|
972
|
-
unit_of_measurement?: string | null
|
|
973
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
974
|
-
location_id?: number | null
|
|
975
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
976
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
977
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
978
|
-
suggested_quantity?: number | null
|
|
979
|
-
counter_quantity?: number | null
|
|
980
|
-
created_at?: Date | string
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
export type PurchaseIntakeItemCreateOrConnectWithoutPurchase_intakeInput = {
|
|
984
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
985
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput>
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
export type PurchaseIntakeItemCreateManyPurchase_intakeInputEnvelope = {
|
|
989
|
-
data: Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInput | Prisma.PurchaseIntakeItemCreateManyPurchase_intakeInput[]
|
|
990
|
-
skipDuplicates?: boolean
|
|
991
|
-
}
|
|
992
|
-
|
|
993
|
-
export type PurchaseIntakeItemUpsertWithWhereUniqueWithoutPurchase_intakeInput = {
|
|
994
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
995
|
-
update: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutPurchase_intakeInput>
|
|
996
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutPurchase_intakeInput>
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
export type PurchaseIntakeItemUpdateWithWhereUniqueWithoutPurchase_intakeInput = {
|
|
1000
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1001
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutPurchase_intakeInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutPurchase_intakeInput>
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
export type PurchaseIntakeItemUpdateManyWithWhereWithoutPurchase_intakeInput = {
|
|
1005
|
-
where: Prisma.PurchaseIntakeItemScalarWhereInput
|
|
1006
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateManyMutationInput, Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeInput>
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
export type PurchaseIntakeItemCreateWithoutLocationInput = {
|
|
1010
|
-
uuid?: string | null
|
|
1011
|
-
vendor_id?: number | null
|
|
1012
|
-
quantity?: number | null
|
|
1013
|
-
initial_quantity?: number | null
|
|
1014
|
-
open_quantity?: number | null
|
|
1015
|
-
closed_quantity?: number | null
|
|
1016
|
-
unit_of_measurement?: string | null
|
|
1017
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1018
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
1019
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
1020
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
1021
|
-
suggested_quantity?: number | null
|
|
1022
|
-
counter_quantity?: number | null
|
|
1023
|
-
created_at?: Date | string
|
|
1024
|
-
purchase_intake?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_intake_itemInput
|
|
1025
|
-
items?: Prisma.ItemCreateNestedOneWithoutPurchase_intake_itemsInput
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
export type PurchaseIntakeItemUncheckedCreateWithoutLocationInput = {
|
|
1029
|
-
id?: number
|
|
1030
|
-
uuid?: string | null
|
|
1031
|
-
purchase_intakes_id?: number | null
|
|
1032
|
-
item_id?: number | null
|
|
1033
|
-
vendor_id?: number | null
|
|
1034
|
-
quantity?: number | null
|
|
1035
|
-
initial_quantity?: number | null
|
|
1036
|
-
open_quantity?: number | null
|
|
1037
|
-
closed_quantity?: number | null
|
|
1038
|
-
unit_of_measurement?: string | null
|
|
1039
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1040
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
1041
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
1042
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
1043
|
-
suggested_quantity?: number | null
|
|
1044
|
-
counter_quantity?: number | null
|
|
1045
|
-
created_at?: Date | string
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
export type PurchaseIntakeItemCreateOrConnectWithoutLocationInput = {
|
|
1049
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1050
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput>
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
export type PurchaseIntakeItemCreateManyLocationInputEnvelope = {
|
|
1054
|
-
data: Prisma.PurchaseIntakeItemCreateManyLocationInput | Prisma.PurchaseIntakeItemCreateManyLocationInput[]
|
|
1055
|
-
skipDuplicates?: boolean
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export type PurchaseIntakeItemUpsertWithWhereUniqueWithoutLocationInput = {
|
|
1059
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1060
|
-
update: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutLocationInput>
|
|
1061
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedCreateWithoutLocationInput>
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
export type PurchaseIntakeItemUpdateWithWhereUniqueWithoutLocationInput = {
|
|
1065
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1066
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateWithoutLocationInput, Prisma.PurchaseIntakeItemUncheckedUpdateWithoutLocationInput>
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
export type PurchaseIntakeItemUpdateManyWithWhereWithoutLocationInput = {
|
|
1070
|
-
where: Prisma.PurchaseIntakeItemScalarWhereInput
|
|
1071
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateManyMutationInput, Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutLocationInput>
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
export type PurchaseIntakeItemCreateManyItemsInput = {
|
|
1075
|
-
id?: number
|
|
1076
|
-
uuid?: string | null
|
|
1077
|
-
purchase_intakes_id?: number | null
|
|
1078
|
-
vendor_id?: number | null
|
|
1079
|
-
quantity?: number | null
|
|
1080
|
-
initial_quantity?: number | null
|
|
1081
|
-
open_quantity?: number | null
|
|
1082
|
-
closed_quantity?: number | null
|
|
1083
|
-
unit_of_measurement?: string | null
|
|
1084
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1085
|
-
location_id?: number | null
|
|
1086
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
1087
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
1088
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
1089
|
-
suggested_quantity?: number | null
|
|
1090
|
-
counter_quantity?: number | null
|
|
1091
|
-
created_at?: Date | string
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
export type PurchaseIntakeItemUpdateWithoutItemsInput = {
|
|
1095
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1096
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1097
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1098
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1099
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1100
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1101
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1102
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1103
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1104
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1105
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1106
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1107
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1108
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1109
|
-
purchase_intake?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
1110
|
-
location?: Prisma.LocationUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
export type PurchaseIntakeItemUncheckedUpdateWithoutItemsInput = {
|
|
1114
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1115
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1116
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1117
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1118
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1119
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1120
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1121
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1122
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1123
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1124
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1125
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1126
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1127
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1128
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1129
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1130
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutItemsInput = {
|
|
1134
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1135
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1136
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1137
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1138
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1139
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1140
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1141
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1142
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1143
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1144
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1145
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1146
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1147
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1148
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1149
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1150
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
export type PurchaseIntakeItemCreateManyPurchase_intakeInput = {
|
|
1154
|
-
id?: number
|
|
1155
|
-
uuid?: string | null
|
|
1156
|
-
item_id?: number | null
|
|
1157
|
-
vendor_id?: number | null
|
|
1158
|
-
quantity?: number | null
|
|
1159
|
-
initial_quantity?: number | null
|
|
1160
|
-
open_quantity?: number | null
|
|
1161
|
-
closed_quantity?: number | null
|
|
1162
|
-
unit_of_measurement?: string | null
|
|
1163
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1164
|
-
location_id?: number | null
|
|
1165
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
1166
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
1167
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
1168
|
-
suggested_quantity?: number | null
|
|
1169
|
-
counter_quantity?: number | null
|
|
1170
|
-
created_at?: Date | string
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
export type PurchaseIntakeItemUpdateWithoutPurchase_intakeInput = {
|
|
1174
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1175
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1176
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1177
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1178
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1179
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1180
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1181
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1182
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1183
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1184
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1185
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1186
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1187
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1188
|
-
items?: Prisma.ItemUpdateOneWithoutPurchase_intake_itemsNestedInput
|
|
1189
|
-
location?: Prisma.LocationUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
export type PurchaseIntakeItemUncheckedUpdateWithoutPurchase_intakeInput = {
|
|
1193
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1194
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1195
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1196
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1197
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1198
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1199
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1200
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1201
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1202
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1203
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1204
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1205
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1206
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1207
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1208
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1209
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeInput = {
|
|
1213
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1214
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1215
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1216
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1217
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1218
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1219
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1220
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1221
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1222
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1223
|
-
location_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1224
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1225
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1226
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1227
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1228
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1229
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
export type PurchaseIntakeItemCreateManyLocationInput = {
|
|
1233
|
-
id?: number
|
|
1234
|
-
uuid?: string | null
|
|
1235
|
-
purchase_intakes_id?: number | null
|
|
1236
|
-
item_id?: number | null
|
|
1237
|
-
vendor_id?: number | null
|
|
1238
|
-
quantity?: number | null
|
|
1239
|
-
initial_quantity?: number | null
|
|
1240
|
-
open_quantity?: number | null
|
|
1241
|
-
closed_quantity?: number | null
|
|
1242
|
-
unit_of_measurement?: string | null
|
|
1243
|
-
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1244
|
-
status?: $Enums.PurchaseIntakeItemEnum
|
|
1245
|
-
send_back_intake_status?: $Enums.SendBackIntakeStatusEnum
|
|
1246
|
-
send_back_approver_status?: $Enums.SendBackApproverStatusEnum
|
|
1247
|
-
suggested_quantity?: number | null
|
|
1248
|
-
counter_quantity?: number | null
|
|
1249
|
-
created_at?: Date | string
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
export type PurchaseIntakeItemUpdateWithoutLocationInput = {
|
|
1253
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1255
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1256
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1257
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1258
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1259
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1260
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1261
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1262
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1263
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1264
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1265
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1266
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1267
|
-
purchase_intake?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_intake_itemNestedInput
|
|
1268
|
-
items?: Prisma.ItemUpdateOneWithoutPurchase_intake_itemsNestedInput
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
export type PurchaseIntakeItemUncheckedUpdateWithoutLocationInput = {
|
|
1272
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1273
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1274
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1275
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1276
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1277
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1278
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1279
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1280
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1281
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1282
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1283
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1284
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1285
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1286
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1287
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1288
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
export type PurchaseIntakeItemUncheckedUpdateManyWithoutLocationInput = {
|
|
1292
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1293
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1294
|
-
purchase_intakes_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1295
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1296
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1297
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1298
|
-
initial_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1299
|
-
open_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1300
|
-
closed_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1301
|
-
unit_of_measurement?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1302
|
-
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1303
|
-
status?: Prisma.EnumPurchaseIntakeItemEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeItemEnum
|
|
1304
|
-
send_back_intake_status?: Prisma.EnumSendBackIntakeStatusEnumFieldUpdateOperationsInput | $Enums.SendBackIntakeStatusEnum
|
|
1305
|
-
send_back_approver_status?: Prisma.EnumSendBackApproverStatusEnumFieldUpdateOperationsInput | $Enums.SendBackApproverStatusEnum
|
|
1306
|
-
suggested_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1307
|
-
counter_quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1308
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
export type PurchaseIntakeItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1314
|
-
id?: boolean
|
|
1315
|
-
uuid?: boolean
|
|
1316
|
-
purchase_intakes_id?: boolean
|
|
1317
|
-
item_id?: boolean
|
|
1318
|
-
vendor_id?: boolean
|
|
1319
|
-
quantity?: boolean
|
|
1320
|
-
initial_quantity?: boolean
|
|
1321
|
-
open_quantity?: boolean
|
|
1322
|
-
closed_quantity?: boolean
|
|
1323
|
-
unit_of_measurement?: boolean
|
|
1324
|
-
price?: boolean
|
|
1325
|
-
location_id?: boolean
|
|
1326
|
-
status?: boolean
|
|
1327
|
-
send_back_intake_status?: boolean
|
|
1328
|
-
send_back_approver_status?: boolean
|
|
1329
|
-
suggested_quantity?: boolean
|
|
1330
|
-
counter_quantity?: boolean
|
|
1331
|
-
created_at?: boolean
|
|
1332
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1333
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1334
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1335
|
-
}, ExtArgs["result"]["purchaseIntakeItem"]>
|
|
1336
|
-
|
|
1337
|
-
export type PurchaseIntakeItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1338
|
-
id?: boolean
|
|
1339
|
-
uuid?: boolean
|
|
1340
|
-
purchase_intakes_id?: boolean
|
|
1341
|
-
item_id?: boolean
|
|
1342
|
-
vendor_id?: boolean
|
|
1343
|
-
quantity?: boolean
|
|
1344
|
-
initial_quantity?: boolean
|
|
1345
|
-
open_quantity?: boolean
|
|
1346
|
-
closed_quantity?: boolean
|
|
1347
|
-
unit_of_measurement?: boolean
|
|
1348
|
-
price?: boolean
|
|
1349
|
-
location_id?: boolean
|
|
1350
|
-
status?: boolean
|
|
1351
|
-
send_back_intake_status?: boolean
|
|
1352
|
-
send_back_approver_status?: boolean
|
|
1353
|
-
suggested_quantity?: boolean
|
|
1354
|
-
counter_quantity?: boolean
|
|
1355
|
-
created_at?: boolean
|
|
1356
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1357
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1358
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1359
|
-
}, ExtArgs["result"]["purchaseIntakeItem"]>
|
|
1360
|
-
|
|
1361
|
-
export type PurchaseIntakeItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1362
|
-
id?: boolean
|
|
1363
|
-
uuid?: boolean
|
|
1364
|
-
purchase_intakes_id?: boolean
|
|
1365
|
-
item_id?: boolean
|
|
1366
|
-
vendor_id?: boolean
|
|
1367
|
-
quantity?: boolean
|
|
1368
|
-
initial_quantity?: boolean
|
|
1369
|
-
open_quantity?: boolean
|
|
1370
|
-
closed_quantity?: boolean
|
|
1371
|
-
unit_of_measurement?: boolean
|
|
1372
|
-
price?: boolean
|
|
1373
|
-
location_id?: boolean
|
|
1374
|
-
status?: boolean
|
|
1375
|
-
send_back_intake_status?: boolean
|
|
1376
|
-
send_back_approver_status?: boolean
|
|
1377
|
-
suggested_quantity?: boolean
|
|
1378
|
-
counter_quantity?: boolean
|
|
1379
|
-
created_at?: boolean
|
|
1380
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1381
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1382
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1383
|
-
}, ExtArgs["result"]["purchaseIntakeItem"]>
|
|
1384
|
-
|
|
1385
|
-
export type PurchaseIntakeItemSelectScalar = {
|
|
1386
|
-
id?: boolean
|
|
1387
|
-
uuid?: boolean
|
|
1388
|
-
purchase_intakes_id?: boolean
|
|
1389
|
-
item_id?: boolean
|
|
1390
|
-
vendor_id?: boolean
|
|
1391
|
-
quantity?: boolean
|
|
1392
|
-
initial_quantity?: boolean
|
|
1393
|
-
open_quantity?: boolean
|
|
1394
|
-
closed_quantity?: boolean
|
|
1395
|
-
unit_of_measurement?: boolean
|
|
1396
|
-
price?: boolean
|
|
1397
|
-
location_id?: boolean
|
|
1398
|
-
status?: boolean
|
|
1399
|
-
send_back_intake_status?: boolean
|
|
1400
|
-
send_back_approver_status?: boolean
|
|
1401
|
-
suggested_quantity?: boolean
|
|
1402
|
-
counter_quantity?: boolean
|
|
1403
|
-
created_at?: boolean
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
export type PurchaseIntakeItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "purchase_intakes_id" | "item_id" | "vendor_id" | "quantity" | "initial_quantity" | "open_quantity" | "closed_quantity" | "unit_of_measurement" | "price" | "location_id" | "status" | "send_back_intake_status" | "send_back_approver_status" | "suggested_quantity" | "counter_quantity" | "created_at", ExtArgs["result"]["purchaseIntakeItem"]>
|
|
1407
|
-
export type PurchaseIntakeItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1408
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1409
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1410
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1411
|
-
}
|
|
1412
|
-
export type PurchaseIntakeItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1414
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1415
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1416
|
-
}
|
|
1417
|
-
export type PurchaseIntakeItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1418
|
-
purchase_intake?: boolean | Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>
|
|
1419
|
-
items?: boolean | Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>
|
|
1420
|
-
location?: boolean | Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
export type $PurchaseIntakeItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1424
|
-
name: "PurchaseIntakeItem"
|
|
1425
|
-
objects: {
|
|
1426
|
-
purchase_intake: Prisma.$PurchaseIntakePayload<ExtArgs> | null
|
|
1427
|
-
items: Prisma.$ItemPayload<ExtArgs> | null
|
|
1428
|
-
location: Prisma.$LocationPayload<ExtArgs> | null
|
|
1429
|
-
}
|
|
1430
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1431
|
-
id: number
|
|
1432
|
-
uuid: string | null
|
|
1433
|
-
purchase_intakes_id: number | null
|
|
1434
|
-
item_id: number | null
|
|
1435
|
-
vendor_id: number | null
|
|
1436
|
-
quantity: number | null
|
|
1437
|
-
initial_quantity: number | null
|
|
1438
|
-
open_quantity: number | null
|
|
1439
|
-
closed_quantity: number | null
|
|
1440
|
-
unit_of_measurement: string | null
|
|
1441
|
-
price: runtime.Decimal | null
|
|
1442
|
-
location_id: number | null
|
|
1443
|
-
status: $Enums.PurchaseIntakeItemEnum
|
|
1444
|
-
send_back_intake_status: $Enums.SendBackIntakeStatusEnum
|
|
1445
|
-
send_back_approver_status: $Enums.SendBackApproverStatusEnum
|
|
1446
|
-
suggested_quantity: number | null
|
|
1447
|
-
counter_quantity: number | null
|
|
1448
|
-
created_at: Date
|
|
1449
|
-
}, ExtArgs["result"]["purchaseIntakeItem"]>
|
|
1450
|
-
composites: {}
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
export type PurchaseIntakeItemGetPayload<S extends boolean | null | undefined | PurchaseIntakeItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload, S>
|
|
1454
|
-
|
|
1455
|
-
export type PurchaseIntakeItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1456
|
-
Omit<PurchaseIntakeItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1457
|
-
select?: PurchaseIntakeItemCountAggregateInputType | true
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
export interface PurchaseIntakeItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1461
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PurchaseIntakeItem'], meta: { name: 'PurchaseIntakeItem' } }
|
|
1462
|
-
/**
|
|
1463
|
-
* Find zero or one PurchaseIntakeItem that matches the filter.
|
|
1464
|
-
* @param {PurchaseIntakeItemFindUniqueArgs} args - Arguments to find a PurchaseIntakeItem
|
|
1465
|
-
* @example
|
|
1466
|
-
* // Get one PurchaseIntakeItem
|
|
1467
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.findUnique({
|
|
1468
|
-
* where: {
|
|
1469
|
-
* // ... provide filter here
|
|
1470
|
-
* }
|
|
1471
|
-
* })
|
|
1472
|
-
*/
|
|
1473
|
-
findUnique<T extends PurchaseIntakeItemFindUniqueArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* Find one PurchaseIntakeItem that matches the filter or throw an error with `error.code='P2025'`
|
|
1477
|
-
* if no matches were found.
|
|
1478
|
-
* @param {PurchaseIntakeItemFindUniqueOrThrowArgs} args - Arguments to find a PurchaseIntakeItem
|
|
1479
|
-
* @example
|
|
1480
|
-
* // Get one PurchaseIntakeItem
|
|
1481
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.findUniqueOrThrow({
|
|
1482
|
-
* where: {
|
|
1483
|
-
* // ... provide filter here
|
|
1484
|
-
* }
|
|
1485
|
-
* })
|
|
1486
|
-
*/
|
|
1487
|
-
findUniqueOrThrow<T extends PurchaseIntakeItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* Find the first PurchaseIntakeItem that matches the filter.
|
|
1491
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1492
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1493
|
-
* @param {PurchaseIntakeItemFindFirstArgs} args - Arguments to find a PurchaseIntakeItem
|
|
1494
|
-
* @example
|
|
1495
|
-
* // Get one PurchaseIntakeItem
|
|
1496
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.findFirst({
|
|
1497
|
-
* where: {
|
|
1498
|
-
* // ... provide filter here
|
|
1499
|
-
* }
|
|
1500
|
-
* })
|
|
1501
|
-
*/
|
|
1502
|
-
findFirst<T extends PurchaseIntakeItemFindFirstArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1503
|
-
|
|
1504
|
-
/**
|
|
1505
|
-
* Find the first PurchaseIntakeItem that matches the filter or
|
|
1506
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1507
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1508
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1509
|
-
* @param {PurchaseIntakeItemFindFirstOrThrowArgs} args - Arguments to find a PurchaseIntakeItem
|
|
1510
|
-
* @example
|
|
1511
|
-
* // Get one PurchaseIntakeItem
|
|
1512
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.findFirstOrThrow({
|
|
1513
|
-
* where: {
|
|
1514
|
-
* // ... provide filter here
|
|
1515
|
-
* }
|
|
1516
|
-
* })
|
|
1517
|
-
*/
|
|
1518
|
-
findFirstOrThrow<T extends PurchaseIntakeItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* Find zero or more PurchaseIntakeItems that matches the filter.
|
|
1522
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1523
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1524
|
-
* @param {PurchaseIntakeItemFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1525
|
-
* @example
|
|
1526
|
-
* // Get all PurchaseIntakeItems
|
|
1527
|
-
* const purchaseIntakeItems = await prisma.purchaseIntakeItem.findMany()
|
|
1528
|
-
*
|
|
1529
|
-
* // Get first 10 PurchaseIntakeItems
|
|
1530
|
-
* const purchaseIntakeItems = await prisma.purchaseIntakeItem.findMany({ take: 10 })
|
|
1531
|
-
*
|
|
1532
|
-
* // Only select the `id`
|
|
1533
|
-
* const purchaseIntakeItemWithIdOnly = await prisma.purchaseIntakeItem.findMany({ select: { id: true } })
|
|
1534
|
-
*
|
|
1535
|
-
*/
|
|
1536
|
-
findMany<T extends PurchaseIntakeItemFindManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* Create a PurchaseIntakeItem.
|
|
1540
|
-
* @param {PurchaseIntakeItemCreateArgs} args - Arguments to create a PurchaseIntakeItem.
|
|
1541
|
-
* @example
|
|
1542
|
-
* // Create one PurchaseIntakeItem
|
|
1543
|
-
* const PurchaseIntakeItem = await prisma.purchaseIntakeItem.create({
|
|
1544
|
-
* data: {
|
|
1545
|
-
* // ... data to create a PurchaseIntakeItem
|
|
1546
|
-
* }
|
|
1547
|
-
* })
|
|
1548
|
-
*
|
|
1549
|
-
*/
|
|
1550
|
-
create<T extends PurchaseIntakeItemCreateArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemCreateArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1551
|
-
|
|
1552
|
-
/**
|
|
1553
|
-
* Create many PurchaseIntakeItems.
|
|
1554
|
-
* @param {PurchaseIntakeItemCreateManyArgs} args - Arguments to create many PurchaseIntakeItems.
|
|
1555
|
-
* @example
|
|
1556
|
-
* // Create many PurchaseIntakeItems
|
|
1557
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.createMany({
|
|
1558
|
-
* data: [
|
|
1559
|
-
* // ... provide data here
|
|
1560
|
-
* ]
|
|
1561
|
-
* })
|
|
1562
|
-
*
|
|
1563
|
-
*/
|
|
1564
|
-
createMany<T extends PurchaseIntakeItemCreateManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* Create many PurchaseIntakeItems and returns the data saved in the database.
|
|
1568
|
-
* @param {PurchaseIntakeItemCreateManyAndReturnArgs} args - Arguments to create many PurchaseIntakeItems.
|
|
1569
|
-
* @example
|
|
1570
|
-
* // Create many PurchaseIntakeItems
|
|
1571
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.createManyAndReturn({
|
|
1572
|
-
* data: [
|
|
1573
|
-
* // ... provide data here
|
|
1574
|
-
* ]
|
|
1575
|
-
* })
|
|
1576
|
-
*
|
|
1577
|
-
* // Create many PurchaseIntakeItems and only return the `id`
|
|
1578
|
-
* const purchaseIntakeItemWithIdOnly = await prisma.purchaseIntakeItem.createManyAndReturn({
|
|
1579
|
-
* select: { id: true },
|
|
1580
|
-
* data: [
|
|
1581
|
-
* // ... provide data here
|
|
1582
|
-
* ]
|
|
1583
|
-
* })
|
|
1584
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1585
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1586
|
-
*
|
|
1587
|
-
*/
|
|
1588
|
-
createManyAndReturn<T extends PurchaseIntakeItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1589
|
-
|
|
1590
|
-
/**
|
|
1591
|
-
* Delete a PurchaseIntakeItem.
|
|
1592
|
-
* @param {PurchaseIntakeItemDeleteArgs} args - Arguments to delete one PurchaseIntakeItem.
|
|
1593
|
-
* @example
|
|
1594
|
-
* // Delete one PurchaseIntakeItem
|
|
1595
|
-
* const PurchaseIntakeItem = await prisma.purchaseIntakeItem.delete({
|
|
1596
|
-
* where: {
|
|
1597
|
-
* // ... filter to delete one PurchaseIntakeItem
|
|
1598
|
-
* }
|
|
1599
|
-
* })
|
|
1600
|
-
*
|
|
1601
|
-
*/
|
|
1602
|
-
delete<T extends PurchaseIntakeItemDeleteArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemDeleteArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1603
|
-
|
|
1604
|
-
/**
|
|
1605
|
-
* Update one PurchaseIntakeItem.
|
|
1606
|
-
* @param {PurchaseIntakeItemUpdateArgs} args - Arguments to update one PurchaseIntakeItem.
|
|
1607
|
-
* @example
|
|
1608
|
-
* // Update one PurchaseIntakeItem
|
|
1609
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.update({
|
|
1610
|
-
* where: {
|
|
1611
|
-
* // ... provide filter here
|
|
1612
|
-
* },
|
|
1613
|
-
* data: {
|
|
1614
|
-
* // ... provide data here
|
|
1615
|
-
* }
|
|
1616
|
-
* })
|
|
1617
|
-
*
|
|
1618
|
-
*/
|
|
1619
|
-
update<T extends PurchaseIntakeItemUpdateArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemUpdateArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* Delete zero or more PurchaseIntakeItems.
|
|
1623
|
-
* @param {PurchaseIntakeItemDeleteManyArgs} args - Arguments to filter PurchaseIntakeItems to delete.
|
|
1624
|
-
* @example
|
|
1625
|
-
* // Delete a few PurchaseIntakeItems
|
|
1626
|
-
* const { count } = await prisma.purchaseIntakeItem.deleteMany({
|
|
1627
|
-
* where: {
|
|
1628
|
-
* // ... provide filter here
|
|
1629
|
-
* }
|
|
1630
|
-
* })
|
|
1631
|
-
*
|
|
1632
|
-
*/
|
|
1633
|
-
deleteMany<T extends PurchaseIntakeItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* Update zero or more PurchaseIntakeItems.
|
|
1637
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1638
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1639
|
-
* @param {PurchaseIntakeItemUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1640
|
-
* @example
|
|
1641
|
-
* // Update many PurchaseIntakeItems
|
|
1642
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.updateMany({
|
|
1643
|
-
* where: {
|
|
1644
|
-
* // ... provide filter here
|
|
1645
|
-
* },
|
|
1646
|
-
* data: {
|
|
1647
|
-
* // ... provide data here
|
|
1648
|
-
* }
|
|
1649
|
-
* })
|
|
1650
|
-
*
|
|
1651
|
-
*/
|
|
1652
|
-
updateMany<T extends PurchaseIntakeItemUpdateManyArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Update zero or more PurchaseIntakeItems and returns the data updated in the database.
|
|
1656
|
-
* @param {PurchaseIntakeItemUpdateManyAndReturnArgs} args - Arguments to update many PurchaseIntakeItems.
|
|
1657
|
-
* @example
|
|
1658
|
-
* // Update many PurchaseIntakeItems
|
|
1659
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.updateManyAndReturn({
|
|
1660
|
-
* where: {
|
|
1661
|
-
* // ... provide filter here
|
|
1662
|
-
* },
|
|
1663
|
-
* data: [
|
|
1664
|
-
* // ... provide data here
|
|
1665
|
-
* ]
|
|
1666
|
-
* })
|
|
1667
|
-
*
|
|
1668
|
-
* // Update zero or more PurchaseIntakeItems and only return the `id`
|
|
1669
|
-
* const purchaseIntakeItemWithIdOnly = await prisma.purchaseIntakeItem.updateManyAndReturn({
|
|
1670
|
-
* select: { id: true },
|
|
1671
|
-
* where: {
|
|
1672
|
-
* // ... provide filter here
|
|
1673
|
-
* },
|
|
1674
|
-
* data: [
|
|
1675
|
-
* // ... provide data here
|
|
1676
|
-
* ]
|
|
1677
|
-
* })
|
|
1678
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1679
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1680
|
-
*
|
|
1681
|
-
*/
|
|
1682
|
-
updateManyAndReturn<T extends PurchaseIntakeItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* Create or update one PurchaseIntakeItem.
|
|
1686
|
-
* @param {PurchaseIntakeItemUpsertArgs} args - Arguments to update or create a PurchaseIntakeItem.
|
|
1687
|
-
* @example
|
|
1688
|
-
* // Update or create a PurchaseIntakeItem
|
|
1689
|
-
* const purchaseIntakeItem = await prisma.purchaseIntakeItem.upsert({
|
|
1690
|
-
* create: {
|
|
1691
|
-
* // ... data to create a PurchaseIntakeItem
|
|
1692
|
-
* },
|
|
1693
|
-
* update: {
|
|
1694
|
-
* // ... in case it already exists, update
|
|
1695
|
-
* },
|
|
1696
|
-
* where: {
|
|
1697
|
-
* // ... the filter for the PurchaseIntakeItem we want to update
|
|
1698
|
-
* }
|
|
1699
|
-
* })
|
|
1700
|
-
*/
|
|
1701
|
-
upsert<T extends PurchaseIntakeItemUpsertArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeItemUpsertArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
/**
|
|
1705
|
-
* Count the number of PurchaseIntakeItems.
|
|
1706
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1707
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1708
|
-
* @param {PurchaseIntakeItemCountArgs} args - Arguments to filter PurchaseIntakeItems to count.
|
|
1709
|
-
* @example
|
|
1710
|
-
* // Count the number of PurchaseIntakeItems
|
|
1711
|
-
* const count = await prisma.purchaseIntakeItem.count({
|
|
1712
|
-
* where: {
|
|
1713
|
-
* // ... the filter for the PurchaseIntakeItems we want to count
|
|
1714
|
-
* }
|
|
1715
|
-
* })
|
|
1716
|
-
**/
|
|
1717
|
-
count<T extends PurchaseIntakeItemCountArgs>(
|
|
1718
|
-
args?: Prisma.Subset<T, PurchaseIntakeItemCountArgs>,
|
|
1719
|
-
): Prisma.PrismaPromise<
|
|
1720
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1721
|
-
? T['select'] extends true
|
|
1722
|
-
? number
|
|
1723
|
-
: Prisma.GetScalarType<T['select'], PurchaseIntakeItemCountAggregateOutputType>
|
|
1724
|
-
: number
|
|
1725
|
-
>
|
|
1726
|
-
|
|
1727
|
-
/**
|
|
1728
|
-
* Allows you to perform aggregations operations on a PurchaseIntakeItem.
|
|
1729
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1730
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1731
|
-
* @param {PurchaseIntakeItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1732
|
-
* @example
|
|
1733
|
-
* // Ordered by age ascending
|
|
1734
|
-
* // Where email contains prisma.io
|
|
1735
|
-
* // Limited to the 10 users
|
|
1736
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1737
|
-
* _avg: {
|
|
1738
|
-
* age: true,
|
|
1739
|
-
* },
|
|
1740
|
-
* where: {
|
|
1741
|
-
* email: {
|
|
1742
|
-
* contains: "prisma.io",
|
|
1743
|
-
* },
|
|
1744
|
-
* },
|
|
1745
|
-
* orderBy: {
|
|
1746
|
-
* age: "asc",
|
|
1747
|
-
* },
|
|
1748
|
-
* take: 10,
|
|
1749
|
-
* })
|
|
1750
|
-
**/
|
|
1751
|
-
aggregate<T extends PurchaseIntakeItemAggregateArgs>(args: Prisma.Subset<T, PurchaseIntakeItemAggregateArgs>): Prisma.PrismaPromise<GetPurchaseIntakeItemAggregateType<T>>
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* Group by PurchaseIntakeItem.
|
|
1755
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1756
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1757
|
-
* @param {PurchaseIntakeItemGroupByArgs} args - Group by arguments.
|
|
1758
|
-
* @example
|
|
1759
|
-
* // Group by city, order by createdAt, get count
|
|
1760
|
-
* const result = await prisma.user.groupBy({
|
|
1761
|
-
* by: ['city', 'createdAt'],
|
|
1762
|
-
* orderBy: {
|
|
1763
|
-
* createdAt: true
|
|
1764
|
-
* },
|
|
1765
|
-
* _count: {
|
|
1766
|
-
* _all: true
|
|
1767
|
-
* },
|
|
1768
|
-
* })
|
|
1769
|
-
*
|
|
1770
|
-
**/
|
|
1771
|
-
groupBy<
|
|
1772
|
-
T extends PurchaseIntakeItemGroupByArgs,
|
|
1773
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1774
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1775
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1776
|
-
>,
|
|
1777
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1778
|
-
? { orderBy: PurchaseIntakeItemGroupByArgs['orderBy'] }
|
|
1779
|
-
: { orderBy?: PurchaseIntakeItemGroupByArgs['orderBy'] },
|
|
1780
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1781
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1782
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1783
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1784
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1785
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1786
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1787
|
-
? `Error: "by" must not be empty.`
|
|
1788
|
-
: HavingValid extends Prisma.False
|
|
1789
|
-
? {
|
|
1790
|
-
[P in HavingFields]: P extends ByFields
|
|
1791
|
-
? never
|
|
1792
|
-
: P extends string
|
|
1793
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1794
|
-
: [
|
|
1795
|
-
Error,
|
|
1796
|
-
'Field ',
|
|
1797
|
-
P,
|
|
1798
|
-
` in "having" needs to be provided in "by"`,
|
|
1799
|
-
]
|
|
1800
|
-
}[HavingFields]
|
|
1801
|
-
: 'take' extends Prisma.Keys<T>
|
|
1802
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1803
|
-
? ByValid extends Prisma.True
|
|
1804
|
-
? {}
|
|
1805
|
-
: {
|
|
1806
|
-
[P in OrderFields]: P extends ByFields
|
|
1807
|
-
? never
|
|
1808
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1809
|
-
}[OrderFields]
|
|
1810
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1811
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1812
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1813
|
-
? ByValid extends Prisma.True
|
|
1814
|
-
? {}
|
|
1815
|
-
: {
|
|
1816
|
-
[P in OrderFields]: P extends ByFields
|
|
1817
|
-
? never
|
|
1818
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1819
|
-
}[OrderFields]
|
|
1820
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1821
|
-
: ByValid extends Prisma.True
|
|
1822
|
-
? {}
|
|
1823
|
-
: {
|
|
1824
|
-
[P in OrderFields]: P extends ByFields
|
|
1825
|
-
? never
|
|
1826
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1827
|
-
}[OrderFields]
|
|
1828
|
-
>(args: Prisma.SubsetIntersection<T, PurchaseIntakeItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPurchaseIntakeItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1829
|
-
/**
|
|
1830
|
-
* Fields of the PurchaseIntakeItem model
|
|
1831
|
-
*/
|
|
1832
|
-
readonly fields: PurchaseIntakeItemFieldRefs;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* The delegate class that acts as a "Promise-like" for PurchaseIntakeItem.
|
|
1837
|
-
* Why is this prefixed with `Prisma__`?
|
|
1838
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1839
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1840
|
-
*/
|
|
1841
|
-
export interface Prisma__PurchaseIntakeItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1842
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1843
|
-
purchase_intake<T extends Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntakeItem$purchase_intakeArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1844
|
-
items<T extends Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntakeItem$itemsArgs<ExtArgs>>): Prisma.Prisma__ItemClient<runtime.Types.Result.GetResult<Prisma.$ItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1845
|
-
location<T extends Prisma.PurchaseIntakeItem$locationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntakeItem$locationArgs<ExtArgs>>): Prisma.Prisma__LocationClient<runtime.Types.Result.GetResult<Prisma.$LocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1846
|
-
/**
|
|
1847
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1848
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1849
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1850
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1851
|
-
*/
|
|
1852
|
-
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>
|
|
1853
|
-
/**
|
|
1854
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1855
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1856
|
-
* @returns A Promise for the completion of the callback.
|
|
1857
|
-
*/
|
|
1858
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1859
|
-
/**
|
|
1860
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1861
|
-
* resolved value cannot be modified from the callback.
|
|
1862
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1863
|
-
* @returns A Promise for the completion of the callback.
|
|
1864
|
-
*/
|
|
1865
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* Fields of the PurchaseIntakeItem model
|
|
1873
|
-
*/
|
|
1874
|
-
export interface PurchaseIntakeItemFieldRefs {
|
|
1875
|
-
readonly id: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1876
|
-
readonly uuid: Prisma.FieldRef<"PurchaseIntakeItem", 'String'>
|
|
1877
|
-
readonly purchase_intakes_id: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1878
|
-
readonly item_id: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1879
|
-
readonly vendor_id: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1880
|
-
readonly quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1881
|
-
readonly initial_quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1882
|
-
readonly open_quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1883
|
-
readonly closed_quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1884
|
-
readonly unit_of_measurement: Prisma.FieldRef<"PurchaseIntakeItem", 'String'>
|
|
1885
|
-
readonly price: Prisma.FieldRef<"PurchaseIntakeItem", 'Decimal'>
|
|
1886
|
-
readonly location_id: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1887
|
-
readonly status: Prisma.FieldRef<"PurchaseIntakeItem", 'PurchaseIntakeItemEnum'>
|
|
1888
|
-
readonly send_back_intake_status: Prisma.FieldRef<"PurchaseIntakeItem", 'SendBackIntakeStatusEnum'>
|
|
1889
|
-
readonly send_back_approver_status: Prisma.FieldRef<"PurchaseIntakeItem", 'SendBackApproverStatusEnum'>
|
|
1890
|
-
readonly suggested_quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1891
|
-
readonly counter_quantity: Prisma.FieldRef<"PurchaseIntakeItem", 'Int'>
|
|
1892
|
-
readonly created_at: Prisma.FieldRef<"PurchaseIntakeItem", 'DateTime'>
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
// Custom InputTypes
|
|
1897
|
-
/**
|
|
1898
|
-
* PurchaseIntakeItem findUnique
|
|
1899
|
-
*/
|
|
1900
|
-
export type PurchaseIntakeItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1901
|
-
/**
|
|
1902
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
1903
|
-
*/
|
|
1904
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
1905
|
-
/**
|
|
1906
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
1907
|
-
*/
|
|
1908
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
1909
|
-
/**
|
|
1910
|
-
* Choose, which related nodes to fetch as well
|
|
1911
|
-
*/
|
|
1912
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
1913
|
-
/**
|
|
1914
|
-
* Filter, which PurchaseIntakeItem to fetch.
|
|
1915
|
-
*/
|
|
1916
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
/**
|
|
1920
|
-
* PurchaseIntakeItem findUniqueOrThrow
|
|
1921
|
-
*/
|
|
1922
|
-
export type PurchaseIntakeItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1923
|
-
/**
|
|
1924
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
1925
|
-
*/
|
|
1926
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
1927
|
-
/**
|
|
1928
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
1929
|
-
*/
|
|
1930
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
1931
|
-
/**
|
|
1932
|
-
* Choose, which related nodes to fetch as well
|
|
1933
|
-
*/
|
|
1934
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
1935
|
-
/**
|
|
1936
|
-
* Filter, which PurchaseIntakeItem to fetch.
|
|
1937
|
-
*/
|
|
1938
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
* PurchaseIntakeItem findFirst
|
|
1943
|
-
*/
|
|
1944
|
-
export type PurchaseIntakeItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1945
|
-
/**
|
|
1946
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
1947
|
-
*/
|
|
1948
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
1949
|
-
/**
|
|
1950
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
1951
|
-
*/
|
|
1952
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
1953
|
-
/**
|
|
1954
|
-
* Choose, which related nodes to fetch as well
|
|
1955
|
-
*/
|
|
1956
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
1957
|
-
/**
|
|
1958
|
-
* Filter, which PurchaseIntakeItem to fetch.
|
|
1959
|
-
*/
|
|
1960
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
1961
|
-
/**
|
|
1962
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1963
|
-
*
|
|
1964
|
-
* Determine the order of PurchaseIntakeItems to fetch.
|
|
1965
|
-
*/
|
|
1966
|
-
orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
|
|
1967
|
-
/**
|
|
1968
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1969
|
-
*
|
|
1970
|
-
* Sets the position for searching for PurchaseIntakeItems.
|
|
1971
|
-
*/
|
|
1972
|
-
cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
1973
|
-
/**
|
|
1974
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1975
|
-
*
|
|
1976
|
-
* Take `±n` PurchaseIntakeItems from the position of the cursor.
|
|
1977
|
-
*/
|
|
1978
|
-
take?: number
|
|
1979
|
-
/**
|
|
1980
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1981
|
-
*
|
|
1982
|
-
* Skip the first `n` PurchaseIntakeItems.
|
|
1983
|
-
*/
|
|
1984
|
-
skip?: number
|
|
1985
|
-
/**
|
|
1986
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1987
|
-
*
|
|
1988
|
-
* Filter by unique combinations of PurchaseIntakeItems.
|
|
1989
|
-
*/
|
|
1990
|
-
distinct?: Prisma.PurchaseIntakeItemScalarFieldEnum | Prisma.PurchaseIntakeItemScalarFieldEnum[]
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* PurchaseIntakeItem findFirstOrThrow
|
|
1995
|
-
*/
|
|
1996
|
-
export type PurchaseIntakeItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1997
|
-
/**
|
|
1998
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
1999
|
-
*/
|
|
2000
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2001
|
-
/**
|
|
2002
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2003
|
-
*/
|
|
2004
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2005
|
-
/**
|
|
2006
|
-
* Choose, which related nodes to fetch as well
|
|
2007
|
-
*/
|
|
2008
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2009
|
-
/**
|
|
2010
|
-
* Filter, which PurchaseIntakeItem to fetch.
|
|
2011
|
-
*/
|
|
2012
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
2013
|
-
/**
|
|
2014
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2015
|
-
*
|
|
2016
|
-
* Determine the order of PurchaseIntakeItems to fetch.
|
|
2017
|
-
*/
|
|
2018
|
-
orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
|
|
2019
|
-
/**
|
|
2020
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2021
|
-
*
|
|
2022
|
-
* Sets the position for searching for PurchaseIntakeItems.
|
|
2023
|
-
*/
|
|
2024
|
-
cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
2025
|
-
/**
|
|
2026
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2027
|
-
*
|
|
2028
|
-
* Take `±n` PurchaseIntakeItems from the position of the cursor.
|
|
2029
|
-
*/
|
|
2030
|
-
take?: number
|
|
2031
|
-
/**
|
|
2032
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2033
|
-
*
|
|
2034
|
-
* Skip the first `n` PurchaseIntakeItems.
|
|
2035
|
-
*/
|
|
2036
|
-
skip?: number
|
|
2037
|
-
/**
|
|
2038
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2039
|
-
*
|
|
2040
|
-
* Filter by unique combinations of PurchaseIntakeItems.
|
|
2041
|
-
*/
|
|
2042
|
-
distinct?: Prisma.PurchaseIntakeItemScalarFieldEnum | Prisma.PurchaseIntakeItemScalarFieldEnum[]
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
/**
|
|
2046
|
-
* PurchaseIntakeItem findMany
|
|
2047
|
-
*/
|
|
2048
|
-
export type PurchaseIntakeItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2049
|
-
/**
|
|
2050
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2051
|
-
*/
|
|
2052
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2053
|
-
/**
|
|
2054
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2055
|
-
*/
|
|
2056
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2057
|
-
/**
|
|
2058
|
-
* Choose, which related nodes to fetch as well
|
|
2059
|
-
*/
|
|
2060
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2061
|
-
/**
|
|
2062
|
-
* Filter, which PurchaseIntakeItems to fetch.
|
|
2063
|
-
*/
|
|
2064
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
2065
|
-
/**
|
|
2066
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2067
|
-
*
|
|
2068
|
-
* Determine the order of PurchaseIntakeItems to fetch.
|
|
2069
|
-
*/
|
|
2070
|
-
orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
|
|
2071
|
-
/**
|
|
2072
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2073
|
-
*
|
|
2074
|
-
* Sets the position for listing PurchaseIntakeItems.
|
|
2075
|
-
*/
|
|
2076
|
-
cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
2077
|
-
/**
|
|
2078
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2079
|
-
*
|
|
2080
|
-
* Take `±n` PurchaseIntakeItems from the position of the cursor.
|
|
2081
|
-
*/
|
|
2082
|
-
take?: number
|
|
2083
|
-
/**
|
|
2084
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2085
|
-
*
|
|
2086
|
-
* Skip the first `n` PurchaseIntakeItems.
|
|
2087
|
-
*/
|
|
2088
|
-
skip?: number
|
|
2089
|
-
/**
|
|
2090
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2091
|
-
*
|
|
2092
|
-
* Filter by unique combinations of PurchaseIntakeItems.
|
|
2093
|
-
*/
|
|
2094
|
-
distinct?: Prisma.PurchaseIntakeItemScalarFieldEnum | Prisma.PurchaseIntakeItemScalarFieldEnum[]
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
/**
|
|
2098
|
-
* PurchaseIntakeItem create
|
|
2099
|
-
*/
|
|
2100
|
-
export type PurchaseIntakeItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2101
|
-
/**
|
|
2102
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2103
|
-
*/
|
|
2104
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2105
|
-
/**
|
|
2106
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2107
|
-
*/
|
|
2108
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2109
|
-
/**
|
|
2110
|
-
* Choose, which related nodes to fetch as well
|
|
2111
|
-
*/
|
|
2112
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2113
|
-
/**
|
|
2114
|
-
* The data needed to create a PurchaseIntakeItem.
|
|
2115
|
-
*/
|
|
2116
|
-
data?: Prisma.XOR<Prisma.PurchaseIntakeItemCreateInput, Prisma.PurchaseIntakeItemUncheckedCreateInput>
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
/**
|
|
2120
|
-
* PurchaseIntakeItem createMany
|
|
2121
|
-
*/
|
|
2122
|
-
export type PurchaseIntakeItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2123
|
-
/**
|
|
2124
|
-
* The data used to create many PurchaseIntakeItems.
|
|
2125
|
-
*/
|
|
2126
|
-
data: Prisma.PurchaseIntakeItemCreateManyInput | Prisma.PurchaseIntakeItemCreateManyInput[]
|
|
2127
|
-
skipDuplicates?: boolean
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* PurchaseIntakeItem createManyAndReturn
|
|
2132
|
-
*/
|
|
2133
|
-
export type PurchaseIntakeItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2134
|
-
/**
|
|
2135
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2136
|
-
*/
|
|
2137
|
-
select?: Prisma.PurchaseIntakeItemSelectCreateManyAndReturn<ExtArgs> | null
|
|
2138
|
-
/**
|
|
2139
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2140
|
-
*/
|
|
2141
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2142
|
-
/**
|
|
2143
|
-
* The data used to create many PurchaseIntakeItems.
|
|
2144
|
-
*/
|
|
2145
|
-
data: Prisma.PurchaseIntakeItemCreateManyInput | Prisma.PurchaseIntakeItemCreateManyInput[]
|
|
2146
|
-
skipDuplicates?: boolean
|
|
2147
|
-
/**
|
|
2148
|
-
* Choose, which related nodes to fetch as well
|
|
2149
|
-
*/
|
|
2150
|
-
include?: Prisma.PurchaseIntakeItemIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2151
|
-
}
|
|
2152
|
-
|
|
2153
|
-
/**
|
|
2154
|
-
* PurchaseIntakeItem update
|
|
2155
|
-
*/
|
|
2156
|
-
export type PurchaseIntakeItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2157
|
-
/**
|
|
2158
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2159
|
-
*/
|
|
2160
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2161
|
-
/**
|
|
2162
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2163
|
-
*/
|
|
2164
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2165
|
-
/**
|
|
2166
|
-
* Choose, which related nodes to fetch as well
|
|
2167
|
-
*/
|
|
2168
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2169
|
-
/**
|
|
2170
|
-
* The data needed to update a PurchaseIntakeItem.
|
|
2171
|
-
*/
|
|
2172
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateInput, Prisma.PurchaseIntakeItemUncheckedUpdateInput>
|
|
2173
|
-
/**
|
|
2174
|
-
* Choose, which PurchaseIntakeItem to update.
|
|
2175
|
-
*/
|
|
2176
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
/**
|
|
2180
|
-
* PurchaseIntakeItem updateMany
|
|
2181
|
-
*/
|
|
2182
|
-
export type PurchaseIntakeItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2183
|
-
/**
|
|
2184
|
-
* The data used to update PurchaseIntakeItems.
|
|
2185
|
-
*/
|
|
2186
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateManyMutationInput, Prisma.PurchaseIntakeItemUncheckedUpdateManyInput>
|
|
2187
|
-
/**
|
|
2188
|
-
* Filter which PurchaseIntakeItems to update
|
|
2189
|
-
*/
|
|
2190
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
2191
|
-
/**
|
|
2192
|
-
* Limit how many PurchaseIntakeItems to update.
|
|
2193
|
-
*/
|
|
2194
|
-
limit?: number
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
/**
|
|
2198
|
-
* PurchaseIntakeItem updateManyAndReturn
|
|
2199
|
-
*/
|
|
2200
|
-
export type PurchaseIntakeItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2201
|
-
/**
|
|
2202
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2203
|
-
*/
|
|
2204
|
-
select?: Prisma.PurchaseIntakeItemSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2205
|
-
/**
|
|
2206
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2207
|
-
*/
|
|
2208
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2209
|
-
/**
|
|
2210
|
-
* The data used to update PurchaseIntakeItems.
|
|
2211
|
-
*/
|
|
2212
|
-
data: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateManyMutationInput, Prisma.PurchaseIntakeItemUncheckedUpdateManyInput>
|
|
2213
|
-
/**
|
|
2214
|
-
* Filter which PurchaseIntakeItems to update
|
|
2215
|
-
*/
|
|
2216
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
2217
|
-
/**
|
|
2218
|
-
* Limit how many PurchaseIntakeItems to update.
|
|
2219
|
-
*/
|
|
2220
|
-
limit?: number
|
|
2221
|
-
/**
|
|
2222
|
-
* Choose, which related nodes to fetch as well
|
|
2223
|
-
*/
|
|
2224
|
-
include?: Prisma.PurchaseIntakeItemIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2225
|
-
}
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* PurchaseIntakeItem upsert
|
|
2229
|
-
*/
|
|
2230
|
-
export type PurchaseIntakeItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2231
|
-
/**
|
|
2232
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2233
|
-
*/
|
|
2234
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2235
|
-
/**
|
|
2236
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2237
|
-
*/
|
|
2238
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2239
|
-
/**
|
|
2240
|
-
* Choose, which related nodes to fetch as well
|
|
2241
|
-
*/
|
|
2242
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2243
|
-
/**
|
|
2244
|
-
* The filter to search for the PurchaseIntakeItem to update in case it exists.
|
|
2245
|
-
*/
|
|
2246
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
2247
|
-
/**
|
|
2248
|
-
* In case the PurchaseIntakeItem found by the `where` argument doesn't exist, create a new PurchaseIntakeItem with this data.
|
|
2249
|
-
*/
|
|
2250
|
-
create: Prisma.XOR<Prisma.PurchaseIntakeItemCreateInput, Prisma.PurchaseIntakeItemUncheckedCreateInput>
|
|
2251
|
-
/**
|
|
2252
|
-
* In case the PurchaseIntakeItem was found with the provided `where` argument, update it with this data.
|
|
2253
|
-
*/
|
|
2254
|
-
update: Prisma.XOR<Prisma.PurchaseIntakeItemUpdateInput, Prisma.PurchaseIntakeItemUncheckedUpdateInput>
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
* PurchaseIntakeItem delete
|
|
2259
|
-
*/
|
|
2260
|
-
export type PurchaseIntakeItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2261
|
-
/**
|
|
2262
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2263
|
-
*/
|
|
2264
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2265
|
-
/**
|
|
2266
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2267
|
-
*/
|
|
2268
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2269
|
-
/**
|
|
2270
|
-
* Choose, which related nodes to fetch as well
|
|
2271
|
-
*/
|
|
2272
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2273
|
-
/**
|
|
2274
|
-
* Filter which PurchaseIntakeItem to delete.
|
|
2275
|
-
*/
|
|
2276
|
-
where: Prisma.PurchaseIntakeItemWhereUniqueInput
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
/**
|
|
2280
|
-
* PurchaseIntakeItem deleteMany
|
|
2281
|
-
*/
|
|
2282
|
-
export type PurchaseIntakeItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2283
|
-
/**
|
|
2284
|
-
* Filter which PurchaseIntakeItems to delete
|
|
2285
|
-
*/
|
|
2286
|
-
where?: Prisma.PurchaseIntakeItemWhereInput
|
|
2287
|
-
/**
|
|
2288
|
-
* Limit how many PurchaseIntakeItems to delete.
|
|
2289
|
-
*/
|
|
2290
|
-
limit?: number
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
/**
|
|
2294
|
-
* PurchaseIntakeItem.purchase_intake
|
|
2295
|
-
*/
|
|
2296
|
-
export type PurchaseIntakeItem$purchase_intakeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2297
|
-
/**
|
|
2298
|
-
* Select specific fields to fetch from the PurchaseIntake
|
|
2299
|
-
*/
|
|
2300
|
-
select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
|
|
2301
|
-
/**
|
|
2302
|
-
* Omit specific fields from the PurchaseIntake
|
|
2303
|
-
*/
|
|
2304
|
-
omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
|
|
2305
|
-
/**
|
|
2306
|
-
* Choose, which related nodes to fetch as well
|
|
2307
|
-
*/
|
|
2308
|
-
include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
|
|
2309
|
-
where?: Prisma.PurchaseIntakeWhereInput
|
|
2310
|
-
}
|
|
2311
|
-
|
|
2312
|
-
/**
|
|
2313
|
-
* PurchaseIntakeItem.items
|
|
2314
|
-
*/
|
|
2315
|
-
export type PurchaseIntakeItem$itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2316
|
-
/**
|
|
2317
|
-
* Select specific fields to fetch from the Item
|
|
2318
|
-
*/
|
|
2319
|
-
select?: Prisma.ItemSelect<ExtArgs> | null
|
|
2320
|
-
/**
|
|
2321
|
-
* Omit specific fields from the Item
|
|
2322
|
-
*/
|
|
2323
|
-
omit?: Prisma.ItemOmit<ExtArgs> | null
|
|
2324
|
-
/**
|
|
2325
|
-
* Choose, which related nodes to fetch as well
|
|
2326
|
-
*/
|
|
2327
|
-
include?: Prisma.ItemInclude<ExtArgs> | null
|
|
2328
|
-
where?: Prisma.ItemWhereInput
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* PurchaseIntakeItem.location
|
|
2333
|
-
*/
|
|
2334
|
-
export type PurchaseIntakeItem$locationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2335
|
-
/**
|
|
2336
|
-
* Select specific fields to fetch from the Location
|
|
2337
|
-
*/
|
|
2338
|
-
select?: Prisma.LocationSelect<ExtArgs> | null
|
|
2339
|
-
/**
|
|
2340
|
-
* Omit specific fields from the Location
|
|
2341
|
-
*/
|
|
2342
|
-
omit?: Prisma.LocationOmit<ExtArgs> | null
|
|
2343
|
-
/**
|
|
2344
|
-
* Choose, which related nodes to fetch as well
|
|
2345
|
-
*/
|
|
2346
|
-
include?: Prisma.LocationInclude<ExtArgs> | null
|
|
2347
|
-
where?: Prisma.LocationWhereInput
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
/**
|
|
2351
|
-
* PurchaseIntakeItem without action
|
|
2352
|
-
*/
|
|
2353
|
-
export type PurchaseIntakeItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2354
|
-
/**
|
|
2355
|
-
* Select specific fields to fetch from the PurchaseIntakeItem
|
|
2356
|
-
*/
|
|
2357
|
-
select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
|
|
2358
|
-
/**
|
|
2359
|
-
* Omit specific fields from the PurchaseIntakeItem
|
|
2360
|
-
*/
|
|
2361
|
-
omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
|
|
2362
|
-
/**
|
|
2363
|
-
* Choose, which related nodes to fetch as well
|
|
2364
|
-
*/
|
|
2365
|
-
include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
|
|
2366
|
-
}
|