procbay-schema 1.0.171 → 1.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/schema.prisma +4 -5
- 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 +2900 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
- package/src/prisma/index.d.ts +286683 -0
- package/src/prisma/index.js +2929 -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 +3820 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2862 -0
- 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,2623 +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 `PurchaseOrderItem` 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 PurchaseOrderItem
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type PurchaseOrderItemModel = runtime.Types.Result.DefaultSelection<Prisma.$PurchaseOrderItemPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregatePurchaseOrderItem = {
|
|
22
|
-
_count: PurchaseOrderItemCountAggregateOutputType | null
|
|
23
|
-
_avg: PurchaseOrderItemAvgAggregateOutputType | null
|
|
24
|
-
_sum: PurchaseOrderItemSumAggregateOutputType | null
|
|
25
|
-
_min: PurchaseOrderItemMinAggregateOutputType | null
|
|
26
|
-
_max: PurchaseOrderItemMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type PurchaseOrderItemAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
purchase_order_id: number | null
|
|
32
|
-
purchase_request_id: number | null
|
|
33
|
-
item_id: number | null
|
|
34
|
-
boq_event_item_id: number | null
|
|
35
|
-
vendor_id: number | null
|
|
36
|
-
amount: runtime.Decimal | null
|
|
37
|
-
quantity: number | null
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type PurchaseOrderItemSumAggregateOutputType = {
|
|
41
|
-
id: number | null
|
|
42
|
-
purchase_order_id: number | null
|
|
43
|
-
purchase_request_id: number | null
|
|
44
|
-
item_id: number | null
|
|
45
|
-
boq_event_item_id: number | null
|
|
46
|
-
vendor_id: number | null
|
|
47
|
-
amount: runtime.Decimal | null
|
|
48
|
-
quantity: number | null
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type PurchaseOrderItemMinAggregateOutputType = {
|
|
52
|
-
id: number | null
|
|
53
|
-
uuid: string | null
|
|
54
|
-
purchase_order_id: number | null
|
|
55
|
-
purchase_request_id: number | null
|
|
56
|
-
item_id: number | null
|
|
57
|
-
boq_event_item_id: number | null
|
|
58
|
-
vendor_id: number | null
|
|
59
|
-
amount: runtime.Decimal | null
|
|
60
|
-
quantity: number | null
|
|
61
|
-
created_at: Date | null
|
|
62
|
-
updated_at: Date | null
|
|
63
|
-
is_deleted: boolean | null
|
|
64
|
-
deleted_at: Date | null
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export type PurchaseOrderItemMaxAggregateOutputType = {
|
|
68
|
-
id: number | null
|
|
69
|
-
uuid: string | null
|
|
70
|
-
purchase_order_id: number | null
|
|
71
|
-
purchase_request_id: number | null
|
|
72
|
-
item_id: number | null
|
|
73
|
-
boq_event_item_id: number | null
|
|
74
|
-
vendor_id: number | null
|
|
75
|
-
amount: runtime.Decimal | null
|
|
76
|
-
quantity: number | null
|
|
77
|
-
created_at: Date | null
|
|
78
|
-
updated_at: Date | null
|
|
79
|
-
is_deleted: boolean | null
|
|
80
|
-
deleted_at: Date | null
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export type PurchaseOrderItemCountAggregateOutputType = {
|
|
84
|
-
id: number
|
|
85
|
-
uuid: number
|
|
86
|
-
purchase_order_id: number
|
|
87
|
-
purchase_request_id: number
|
|
88
|
-
item_id: number
|
|
89
|
-
boq_event_item_id: number
|
|
90
|
-
vendor_id: number
|
|
91
|
-
amount: number
|
|
92
|
-
quantity: number
|
|
93
|
-
created_at: number
|
|
94
|
-
updated_at: number
|
|
95
|
-
is_deleted: number
|
|
96
|
-
deleted_at: number
|
|
97
|
-
_all: number
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export type PurchaseOrderItemAvgAggregateInputType = {
|
|
102
|
-
id?: true
|
|
103
|
-
purchase_order_id?: true
|
|
104
|
-
purchase_request_id?: true
|
|
105
|
-
item_id?: true
|
|
106
|
-
boq_event_item_id?: true
|
|
107
|
-
vendor_id?: true
|
|
108
|
-
amount?: true
|
|
109
|
-
quantity?: true
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export type PurchaseOrderItemSumAggregateInputType = {
|
|
113
|
-
id?: true
|
|
114
|
-
purchase_order_id?: true
|
|
115
|
-
purchase_request_id?: true
|
|
116
|
-
item_id?: true
|
|
117
|
-
boq_event_item_id?: true
|
|
118
|
-
vendor_id?: true
|
|
119
|
-
amount?: true
|
|
120
|
-
quantity?: true
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export type PurchaseOrderItemMinAggregateInputType = {
|
|
124
|
-
id?: true
|
|
125
|
-
uuid?: true
|
|
126
|
-
purchase_order_id?: true
|
|
127
|
-
purchase_request_id?: true
|
|
128
|
-
item_id?: true
|
|
129
|
-
boq_event_item_id?: true
|
|
130
|
-
vendor_id?: true
|
|
131
|
-
amount?: true
|
|
132
|
-
quantity?: true
|
|
133
|
-
created_at?: true
|
|
134
|
-
updated_at?: true
|
|
135
|
-
is_deleted?: true
|
|
136
|
-
deleted_at?: true
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export type PurchaseOrderItemMaxAggregateInputType = {
|
|
140
|
-
id?: true
|
|
141
|
-
uuid?: true
|
|
142
|
-
purchase_order_id?: true
|
|
143
|
-
purchase_request_id?: true
|
|
144
|
-
item_id?: true
|
|
145
|
-
boq_event_item_id?: true
|
|
146
|
-
vendor_id?: true
|
|
147
|
-
amount?: true
|
|
148
|
-
quantity?: true
|
|
149
|
-
created_at?: true
|
|
150
|
-
updated_at?: true
|
|
151
|
-
is_deleted?: true
|
|
152
|
-
deleted_at?: true
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export type PurchaseOrderItemCountAggregateInputType = {
|
|
156
|
-
id?: true
|
|
157
|
-
uuid?: true
|
|
158
|
-
purchase_order_id?: true
|
|
159
|
-
purchase_request_id?: true
|
|
160
|
-
item_id?: true
|
|
161
|
-
boq_event_item_id?: true
|
|
162
|
-
vendor_id?: true
|
|
163
|
-
amount?: true
|
|
164
|
-
quantity?: true
|
|
165
|
-
created_at?: true
|
|
166
|
-
updated_at?: true
|
|
167
|
-
is_deleted?: true
|
|
168
|
-
deleted_at?: true
|
|
169
|
-
_all?: true
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
export type PurchaseOrderItemAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
173
|
-
/**
|
|
174
|
-
* Filter which PurchaseOrderItem to aggregate.
|
|
175
|
-
*/
|
|
176
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
177
|
-
/**
|
|
178
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
179
|
-
*
|
|
180
|
-
* Determine the order of PurchaseOrderItems to fetch.
|
|
181
|
-
*/
|
|
182
|
-
orderBy?: Prisma.PurchaseOrderItemOrderByWithRelationInput | Prisma.PurchaseOrderItemOrderByWithRelationInput[]
|
|
183
|
-
/**
|
|
184
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
185
|
-
*
|
|
186
|
-
* Sets the start position
|
|
187
|
-
*/
|
|
188
|
-
cursor?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
189
|
-
/**
|
|
190
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
191
|
-
*
|
|
192
|
-
* Take `±n` PurchaseOrderItems from the position of the cursor.
|
|
193
|
-
*/
|
|
194
|
-
take?: number
|
|
195
|
-
/**
|
|
196
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
197
|
-
*
|
|
198
|
-
* Skip the first `n` PurchaseOrderItems.
|
|
199
|
-
*/
|
|
200
|
-
skip?: number
|
|
201
|
-
/**
|
|
202
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
203
|
-
*
|
|
204
|
-
* Count returned PurchaseOrderItems
|
|
205
|
-
**/
|
|
206
|
-
_count?: true | PurchaseOrderItemCountAggregateInputType
|
|
207
|
-
/**
|
|
208
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
209
|
-
*
|
|
210
|
-
* Select which fields to average
|
|
211
|
-
**/
|
|
212
|
-
_avg?: PurchaseOrderItemAvgAggregateInputType
|
|
213
|
-
/**
|
|
214
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
215
|
-
*
|
|
216
|
-
* Select which fields to sum
|
|
217
|
-
**/
|
|
218
|
-
_sum?: PurchaseOrderItemSumAggregateInputType
|
|
219
|
-
/**
|
|
220
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
221
|
-
*
|
|
222
|
-
* Select which fields to find the minimum value
|
|
223
|
-
**/
|
|
224
|
-
_min?: PurchaseOrderItemMinAggregateInputType
|
|
225
|
-
/**
|
|
226
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
227
|
-
*
|
|
228
|
-
* Select which fields to find the maximum value
|
|
229
|
-
**/
|
|
230
|
-
_max?: PurchaseOrderItemMaxAggregateInputType
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export type GetPurchaseOrderItemAggregateType<T extends PurchaseOrderItemAggregateArgs> = {
|
|
234
|
-
[P in keyof T & keyof AggregatePurchaseOrderItem]: P extends '_count' | 'count'
|
|
235
|
-
? T[P] extends true
|
|
236
|
-
? number
|
|
237
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseOrderItem[P]>
|
|
238
|
-
: Prisma.GetScalarType<T[P], AggregatePurchaseOrderItem[P]>
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
export type PurchaseOrderItemGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
245
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
246
|
-
orderBy?: Prisma.PurchaseOrderItemOrderByWithAggregationInput | Prisma.PurchaseOrderItemOrderByWithAggregationInput[]
|
|
247
|
-
by: Prisma.PurchaseOrderItemScalarFieldEnum[] | Prisma.PurchaseOrderItemScalarFieldEnum
|
|
248
|
-
having?: Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput
|
|
249
|
-
take?: number
|
|
250
|
-
skip?: number
|
|
251
|
-
_count?: PurchaseOrderItemCountAggregateInputType | true
|
|
252
|
-
_avg?: PurchaseOrderItemAvgAggregateInputType
|
|
253
|
-
_sum?: PurchaseOrderItemSumAggregateInputType
|
|
254
|
-
_min?: PurchaseOrderItemMinAggregateInputType
|
|
255
|
-
_max?: PurchaseOrderItemMaxAggregateInputType
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export type PurchaseOrderItemGroupByOutputType = {
|
|
259
|
-
id: number
|
|
260
|
-
uuid: string
|
|
261
|
-
purchase_order_id: number | null
|
|
262
|
-
purchase_request_id: number | null
|
|
263
|
-
item_id: number | null
|
|
264
|
-
boq_event_item_id: number | null
|
|
265
|
-
vendor_id: number | null
|
|
266
|
-
amount: runtime.Decimal | null
|
|
267
|
-
quantity: number | null
|
|
268
|
-
created_at: Date
|
|
269
|
-
updated_at: Date
|
|
270
|
-
is_deleted: boolean
|
|
271
|
-
deleted_at: Date | null
|
|
272
|
-
_count: PurchaseOrderItemCountAggregateOutputType | null
|
|
273
|
-
_avg: PurchaseOrderItemAvgAggregateOutputType | null
|
|
274
|
-
_sum: PurchaseOrderItemSumAggregateOutputType | null
|
|
275
|
-
_min: PurchaseOrderItemMinAggregateOutputType | null
|
|
276
|
-
_max: PurchaseOrderItemMaxAggregateOutputType | null
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export type GetPurchaseOrderItemGroupByPayload<T extends PurchaseOrderItemGroupByArgs> = Prisma.PrismaPromise<
|
|
280
|
-
Array<
|
|
281
|
-
Prisma.PickEnumerable<PurchaseOrderItemGroupByOutputType, T['by']> &
|
|
282
|
-
{
|
|
283
|
-
[P in ((keyof T) & (keyof PurchaseOrderItemGroupByOutputType))]: P extends '_count'
|
|
284
|
-
? T[P] extends boolean
|
|
285
|
-
? number
|
|
286
|
-
: Prisma.GetScalarType<T[P], PurchaseOrderItemGroupByOutputType[P]>
|
|
287
|
-
: Prisma.GetScalarType<T[P], PurchaseOrderItemGroupByOutputType[P]>
|
|
288
|
-
}
|
|
289
|
-
>
|
|
290
|
-
>
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
export type PurchaseOrderItemWhereInput = {
|
|
295
|
-
AND?: Prisma.PurchaseOrderItemWhereInput | Prisma.PurchaseOrderItemWhereInput[]
|
|
296
|
-
OR?: Prisma.PurchaseOrderItemWhereInput[]
|
|
297
|
-
NOT?: Prisma.PurchaseOrderItemWhereInput | Prisma.PurchaseOrderItemWhereInput[]
|
|
298
|
-
id?: Prisma.IntFilter<"PurchaseOrderItem"> | number
|
|
299
|
-
uuid?: Prisma.StringFilter<"PurchaseOrderItem"> | string
|
|
300
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
301
|
-
purchase_request_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
302
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
303
|
-
boq_event_item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
304
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
305
|
-
amount?: Prisma.DecimalNullableFilter<"PurchaseOrderItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
306
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
307
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
308
|
-
updated_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
309
|
-
is_deleted?: Prisma.BoolFilter<"PurchaseOrderItem"> | boolean
|
|
310
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseOrderItem"> | Date | string | null
|
|
311
|
-
purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
|
|
312
|
-
purchase_request?: Prisma.XOR<Prisma.PurchaseIntakeNullableScalarRelationFilter, Prisma.PurchaseIntakeWhereInput> | null
|
|
313
|
-
item?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
|
|
314
|
-
boq_event_item?: Prisma.XOR<Prisma.BoqEventItemNullableScalarRelationFilter, Prisma.BoqEventItemWhereInput> | null
|
|
315
|
-
grn_items?: Prisma.GRNItemListRelationFilter
|
|
316
|
-
invoice_items?: Prisma.InvoiceItemListRelationFilter
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
export type PurchaseOrderItemOrderByWithRelationInput = {
|
|
320
|
-
id?: Prisma.SortOrder
|
|
321
|
-
uuid?: Prisma.SortOrder
|
|
322
|
-
purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
323
|
-
purchase_request_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
324
|
-
item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
325
|
-
boq_event_item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
326
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
-
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
328
|
-
quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
329
|
-
created_at?: Prisma.SortOrder
|
|
330
|
-
updated_at?: Prisma.SortOrder
|
|
331
|
-
is_deleted?: Prisma.SortOrder
|
|
332
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
333
|
-
purchase_order?: Prisma.PurchaseOrderOrderByWithRelationInput
|
|
334
|
-
purchase_request?: Prisma.PurchaseIntakeOrderByWithRelationInput
|
|
335
|
-
item?: Prisma.ItemOrderByWithRelationInput
|
|
336
|
-
boq_event_item?: Prisma.BoqEventItemOrderByWithRelationInput
|
|
337
|
-
grn_items?: Prisma.GRNItemOrderByRelationAggregateInput
|
|
338
|
-
invoice_items?: Prisma.InvoiceItemOrderByRelationAggregateInput
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export type PurchaseOrderItemWhereUniqueInput = Prisma.AtLeast<{
|
|
342
|
-
id?: number
|
|
343
|
-
uuid?: string
|
|
344
|
-
AND?: Prisma.PurchaseOrderItemWhereInput | Prisma.PurchaseOrderItemWhereInput[]
|
|
345
|
-
OR?: Prisma.PurchaseOrderItemWhereInput[]
|
|
346
|
-
NOT?: Prisma.PurchaseOrderItemWhereInput | Prisma.PurchaseOrderItemWhereInput[]
|
|
347
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
348
|
-
purchase_request_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
349
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
350
|
-
boq_event_item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
351
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
352
|
-
amount?: Prisma.DecimalNullableFilter<"PurchaseOrderItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
353
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
354
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
355
|
-
updated_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
356
|
-
is_deleted?: Prisma.BoolFilter<"PurchaseOrderItem"> | boolean
|
|
357
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseOrderItem"> | Date | string | null
|
|
358
|
-
purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
|
|
359
|
-
purchase_request?: Prisma.XOR<Prisma.PurchaseIntakeNullableScalarRelationFilter, Prisma.PurchaseIntakeWhereInput> | null
|
|
360
|
-
item?: Prisma.XOR<Prisma.ItemNullableScalarRelationFilter, Prisma.ItemWhereInput> | null
|
|
361
|
-
boq_event_item?: Prisma.XOR<Prisma.BoqEventItemNullableScalarRelationFilter, Prisma.BoqEventItemWhereInput> | null
|
|
362
|
-
grn_items?: Prisma.GRNItemListRelationFilter
|
|
363
|
-
invoice_items?: Prisma.InvoiceItemListRelationFilter
|
|
364
|
-
}, "id" | "uuid">
|
|
365
|
-
|
|
366
|
-
export type PurchaseOrderItemOrderByWithAggregationInput = {
|
|
367
|
-
id?: Prisma.SortOrder
|
|
368
|
-
uuid?: Prisma.SortOrder
|
|
369
|
-
purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
370
|
-
purchase_request_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
371
|
-
item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
372
|
-
boq_event_item_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
373
|
-
vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
374
|
-
amount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
375
|
-
quantity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
376
|
-
created_at?: Prisma.SortOrder
|
|
377
|
-
updated_at?: Prisma.SortOrder
|
|
378
|
-
is_deleted?: Prisma.SortOrder
|
|
379
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
380
|
-
_count?: Prisma.PurchaseOrderItemCountOrderByAggregateInput
|
|
381
|
-
_avg?: Prisma.PurchaseOrderItemAvgOrderByAggregateInput
|
|
382
|
-
_max?: Prisma.PurchaseOrderItemMaxOrderByAggregateInput
|
|
383
|
-
_min?: Prisma.PurchaseOrderItemMinOrderByAggregateInput
|
|
384
|
-
_sum?: Prisma.PurchaseOrderItemSumOrderByAggregateInput
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
export type PurchaseOrderItemScalarWhereWithAggregatesInput = {
|
|
388
|
-
AND?: Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput | Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput[]
|
|
389
|
-
OR?: Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput[]
|
|
390
|
-
NOT?: Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput | Prisma.PurchaseOrderItemScalarWhereWithAggregatesInput[]
|
|
391
|
-
id?: Prisma.IntWithAggregatesFilter<"PurchaseOrderItem"> | number
|
|
392
|
-
uuid?: Prisma.StringWithAggregatesFilter<"PurchaseOrderItem"> | string
|
|
393
|
-
purchase_order_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
394
|
-
purchase_request_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
395
|
-
item_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
396
|
-
boq_event_item_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
397
|
-
vendor_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
398
|
-
amount?: Prisma.DecimalNullableWithAggregatesFilter<"PurchaseOrderItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
399
|
-
quantity?: Prisma.IntNullableWithAggregatesFilter<"PurchaseOrderItem"> | number | null
|
|
400
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"PurchaseOrderItem"> | Date | string
|
|
401
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"PurchaseOrderItem"> | Date | string
|
|
402
|
-
is_deleted?: Prisma.BoolWithAggregatesFilter<"PurchaseOrderItem"> | boolean
|
|
403
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"PurchaseOrderItem"> | Date | string | null
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
export type PurchaseOrderItemCreateInput = {
|
|
407
|
-
uuid?: string
|
|
408
|
-
vendor_id?: number | null
|
|
409
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
410
|
-
quantity?: number | null
|
|
411
|
-
created_at?: Date | string
|
|
412
|
-
updated_at?: Date | string
|
|
413
|
-
is_deleted?: boolean
|
|
414
|
-
deleted_at?: Date | string | null
|
|
415
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
416
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
417
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
418
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
419
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
420
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export type PurchaseOrderItemUncheckedCreateInput = {
|
|
424
|
-
id?: number
|
|
425
|
-
uuid?: string
|
|
426
|
-
purchase_order_id?: number | null
|
|
427
|
-
purchase_request_id?: number | null
|
|
428
|
-
item_id?: number | null
|
|
429
|
-
boq_event_item_id?: number | null
|
|
430
|
-
vendor_id?: number | null
|
|
431
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
432
|
-
quantity?: number | null
|
|
433
|
-
created_at?: Date | string
|
|
434
|
-
updated_at?: Date | string
|
|
435
|
-
is_deleted?: boolean
|
|
436
|
-
deleted_at?: Date | string | null
|
|
437
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
438
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
export type PurchaseOrderItemUpdateInput = {
|
|
442
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
443
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
444
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
445
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
446
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
447
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
448
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
449
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
450
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
451
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
452
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
453
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
454
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
455
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
export type PurchaseOrderItemUncheckedUpdateInput = {
|
|
459
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
460
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
461
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
462
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
463
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
464
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
465
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
466
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
467
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
468
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
469
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
470
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
471
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
472
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
473
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
export type PurchaseOrderItemCreateManyInput = {
|
|
477
|
-
id?: number
|
|
478
|
-
uuid?: string
|
|
479
|
-
purchase_order_id?: number | null
|
|
480
|
-
purchase_request_id?: number | null
|
|
481
|
-
item_id?: number | null
|
|
482
|
-
boq_event_item_id?: number | null
|
|
483
|
-
vendor_id?: number | null
|
|
484
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
485
|
-
quantity?: number | null
|
|
486
|
-
created_at?: Date | string
|
|
487
|
-
updated_at?: Date | string
|
|
488
|
-
is_deleted?: boolean
|
|
489
|
-
deleted_at?: Date | string | null
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
export type PurchaseOrderItemUpdateManyMutationInput = {
|
|
493
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
494
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
495
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
496
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
497
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
498
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
499
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
500
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
export type PurchaseOrderItemUncheckedUpdateManyInput = {
|
|
504
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
505
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
506
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
507
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
508
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
509
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
510
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
511
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
512
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
513
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
514
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
515
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
516
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
export type PurchaseOrderItemListRelationFilter = {
|
|
520
|
-
every?: Prisma.PurchaseOrderItemWhereInput
|
|
521
|
-
some?: Prisma.PurchaseOrderItemWhereInput
|
|
522
|
-
none?: Prisma.PurchaseOrderItemWhereInput
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
export type PurchaseOrderItemOrderByRelationAggregateInput = {
|
|
526
|
-
_count?: Prisma.SortOrder
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
export type PurchaseOrderItemCountOrderByAggregateInput = {
|
|
530
|
-
id?: Prisma.SortOrder
|
|
531
|
-
uuid?: Prisma.SortOrder
|
|
532
|
-
purchase_order_id?: Prisma.SortOrder
|
|
533
|
-
purchase_request_id?: Prisma.SortOrder
|
|
534
|
-
item_id?: Prisma.SortOrder
|
|
535
|
-
boq_event_item_id?: Prisma.SortOrder
|
|
536
|
-
vendor_id?: Prisma.SortOrder
|
|
537
|
-
amount?: Prisma.SortOrder
|
|
538
|
-
quantity?: Prisma.SortOrder
|
|
539
|
-
created_at?: Prisma.SortOrder
|
|
540
|
-
updated_at?: Prisma.SortOrder
|
|
541
|
-
is_deleted?: Prisma.SortOrder
|
|
542
|
-
deleted_at?: Prisma.SortOrder
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
export type PurchaseOrderItemAvgOrderByAggregateInput = {
|
|
546
|
-
id?: Prisma.SortOrder
|
|
547
|
-
purchase_order_id?: Prisma.SortOrder
|
|
548
|
-
purchase_request_id?: Prisma.SortOrder
|
|
549
|
-
item_id?: Prisma.SortOrder
|
|
550
|
-
boq_event_item_id?: Prisma.SortOrder
|
|
551
|
-
vendor_id?: Prisma.SortOrder
|
|
552
|
-
amount?: Prisma.SortOrder
|
|
553
|
-
quantity?: Prisma.SortOrder
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
export type PurchaseOrderItemMaxOrderByAggregateInput = {
|
|
557
|
-
id?: Prisma.SortOrder
|
|
558
|
-
uuid?: Prisma.SortOrder
|
|
559
|
-
purchase_order_id?: Prisma.SortOrder
|
|
560
|
-
purchase_request_id?: Prisma.SortOrder
|
|
561
|
-
item_id?: Prisma.SortOrder
|
|
562
|
-
boq_event_item_id?: Prisma.SortOrder
|
|
563
|
-
vendor_id?: Prisma.SortOrder
|
|
564
|
-
amount?: Prisma.SortOrder
|
|
565
|
-
quantity?: Prisma.SortOrder
|
|
566
|
-
created_at?: Prisma.SortOrder
|
|
567
|
-
updated_at?: Prisma.SortOrder
|
|
568
|
-
is_deleted?: Prisma.SortOrder
|
|
569
|
-
deleted_at?: Prisma.SortOrder
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
export type PurchaseOrderItemMinOrderByAggregateInput = {
|
|
573
|
-
id?: Prisma.SortOrder
|
|
574
|
-
uuid?: Prisma.SortOrder
|
|
575
|
-
purchase_order_id?: Prisma.SortOrder
|
|
576
|
-
purchase_request_id?: Prisma.SortOrder
|
|
577
|
-
item_id?: Prisma.SortOrder
|
|
578
|
-
boq_event_item_id?: Prisma.SortOrder
|
|
579
|
-
vendor_id?: Prisma.SortOrder
|
|
580
|
-
amount?: Prisma.SortOrder
|
|
581
|
-
quantity?: Prisma.SortOrder
|
|
582
|
-
created_at?: Prisma.SortOrder
|
|
583
|
-
updated_at?: Prisma.SortOrder
|
|
584
|
-
is_deleted?: Prisma.SortOrder
|
|
585
|
-
deleted_at?: Prisma.SortOrder
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
export type PurchaseOrderItemSumOrderByAggregateInput = {
|
|
589
|
-
id?: Prisma.SortOrder
|
|
590
|
-
purchase_order_id?: Prisma.SortOrder
|
|
591
|
-
purchase_request_id?: Prisma.SortOrder
|
|
592
|
-
item_id?: Prisma.SortOrder
|
|
593
|
-
boq_event_item_id?: Prisma.SortOrder
|
|
594
|
-
vendor_id?: Prisma.SortOrder
|
|
595
|
-
amount?: Prisma.SortOrder
|
|
596
|
-
quantity?: Prisma.SortOrder
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
export type PurchaseOrderItemNullableScalarRelationFilter = {
|
|
600
|
-
is?: Prisma.PurchaseOrderItemWhereInput | null
|
|
601
|
-
isNot?: Prisma.PurchaseOrderItemWhereInput | null
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
export type PurchaseOrderItemCreateNestedManyWithoutItemInput = {
|
|
605
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput> | Prisma.PurchaseOrderItemCreateWithoutItemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput[]
|
|
606
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput[]
|
|
607
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyItemInputEnvelope
|
|
608
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export type PurchaseOrderItemUncheckedCreateNestedManyWithoutItemInput = {
|
|
612
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput> | Prisma.PurchaseOrderItemCreateWithoutItemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput[]
|
|
613
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput[]
|
|
614
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyItemInputEnvelope
|
|
615
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
export type PurchaseOrderItemUpdateManyWithoutItemNestedInput = {
|
|
619
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput> | Prisma.PurchaseOrderItemCreateWithoutItemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput[]
|
|
620
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput[]
|
|
621
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutItemInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutItemInput[]
|
|
622
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyItemInputEnvelope
|
|
623
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
624
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
625
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
626
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
627
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutItemInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutItemInput[]
|
|
628
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutItemInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutItemInput[]
|
|
629
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutItemNestedInput = {
|
|
633
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput> | Prisma.PurchaseOrderItemCreateWithoutItemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput[]
|
|
634
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutItemInput[]
|
|
635
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutItemInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutItemInput[]
|
|
636
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyItemInputEnvelope
|
|
637
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
638
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
639
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
640
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
641
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutItemInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutItemInput[]
|
|
642
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutItemInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutItemInput[]
|
|
643
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
export type PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput = {
|
|
647
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput[]
|
|
648
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput[]
|
|
649
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_requestInputEnvelope
|
|
650
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export type PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput = {
|
|
654
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput[]
|
|
655
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput[]
|
|
656
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_requestInputEnvelope
|
|
657
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
export type PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput = {
|
|
661
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput[]
|
|
662
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput[]
|
|
663
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_requestInput[]
|
|
664
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_requestInputEnvelope
|
|
665
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
666
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
667
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
668
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
669
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_requestInput[]
|
|
670
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_requestInput[]
|
|
671
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput = {
|
|
675
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput[]
|
|
676
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput[]
|
|
677
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_requestInput[]
|
|
678
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_requestInputEnvelope
|
|
679
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
680
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
681
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
682
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
683
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_requestInput[]
|
|
684
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_requestInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_requestInput[]
|
|
685
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
export type PurchaseOrderItemCreateNestedManyWithoutBoq_event_itemInput = {
|
|
689
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput> | Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput[]
|
|
690
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput[]
|
|
691
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyBoq_event_itemInputEnvelope
|
|
692
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
export type PurchaseOrderItemUncheckedCreateNestedManyWithoutBoq_event_itemInput = {
|
|
696
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput> | Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput[]
|
|
697
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput[]
|
|
698
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyBoq_event_itemInputEnvelope
|
|
699
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
export type PurchaseOrderItemUpdateManyWithoutBoq_event_itemNestedInput = {
|
|
703
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput> | Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput[]
|
|
704
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput[]
|
|
705
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutBoq_event_itemInput[]
|
|
706
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyBoq_event_itemInputEnvelope
|
|
707
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
708
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
709
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
710
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
711
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutBoq_event_itemInput[]
|
|
712
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutBoq_event_itemInput[]
|
|
713
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutBoq_event_itemNestedInput = {
|
|
717
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput> | Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput[]
|
|
718
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput[]
|
|
719
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutBoq_event_itemInput[]
|
|
720
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyBoq_event_itemInputEnvelope
|
|
721
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
722
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
723
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
724
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
725
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutBoq_event_itemInput[]
|
|
726
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutBoq_event_itemInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutBoq_event_itemInput[]
|
|
727
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
export type PurchaseOrderItemCreateNestedManyWithoutPurchase_orderInput = {
|
|
731
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput[]
|
|
732
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput[]
|
|
733
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_orderInputEnvelope
|
|
734
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
export type PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_orderInput = {
|
|
738
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput[]
|
|
739
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput[]
|
|
740
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_orderInputEnvelope
|
|
741
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
export type PurchaseOrderItemUpdateManyWithoutPurchase_orderNestedInput = {
|
|
745
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput[]
|
|
746
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput[]
|
|
747
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_orderInput[]
|
|
748
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_orderInputEnvelope
|
|
749
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
750
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
751
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
752
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
753
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_orderInput[]
|
|
754
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_orderInput[]
|
|
755
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_orderNestedInput = {
|
|
759
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput> | Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput[] | Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput[]
|
|
760
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput | Prisma.PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput[]
|
|
761
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_orderInput[]
|
|
762
|
-
createMany?: Prisma.PurchaseOrderItemCreateManyPurchase_orderInputEnvelope
|
|
763
|
-
set?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
764
|
-
disconnect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
765
|
-
delete?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
766
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput | Prisma.PurchaseOrderItemWhereUniqueInput[]
|
|
767
|
-
update?: Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_orderInput[]
|
|
768
|
-
updateMany?: Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_orderInput[]
|
|
769
|
-
deleteMany?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
export type PurchaseOrderItemCreateNestedOneWithoutGrn_itemsInput = {
|
|
773
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutGrn_itemsInput>
|
|
774
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutGrn_itemsInput
|
|
775
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
export type PurchaseOrderItemUpdateOneWithoutGrn_itemsNestedInput = {
|
|
779
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutGrn_itemsInput>
|
|
780
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutGrn_itemsInput
|
|
781
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithoutGrn_itemsInput
|
|
782
|
-
disconnect?: Prisma.PurchaseOrderItemWhereInput | boolean
|
|
783
|
-
delete?: Prisma.PurchaseOrderItemWhereInput | boolean
|
|
784
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
785
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseOrderItemUpdateToOneWithWhereWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUpdateWithoutGrn_itemsInput>, Prisma.PurchaseOrderItemUncheckedUpdateWithoutGrn_itemsInput>
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
export type PurchaseOrderItemCreateNestedOneWithoutInvoice_itemsInput = {
|
|
789
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutInvoice_itemsInput>
|
|
790
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutInvoice_itemsInput
|
|
791
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export type PurchaseOrderItemUpdateOneWithoutInvoice_itemsNestedInput = {
|
|
795
|
-
create?: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutInvoice_itemsInput>
|
|
796
|
-
connectOrCreate?: Prisma.PurchaseOrderItemCreateOrConnectWithoutInvoice_itemsInput
|
|
797
|
-
upsert?: Prisma.PurchaseOrderItemUpsertWithoutInvoice_itemsInput
|
|
798
|
-
disconnect?: Prisma.PurchaseOrderItemWhereInput | boolean
|
|
799
|
-
delete?: Prisma.PurchaseOrderItemWhereInput | boolean
|
|
800
|
-
connect?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
801
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseOrderItemUpdateToOneWithWhereWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUpdateWithoutInvoice_itemsInput>, Prisma.PurchaseOrderItemUncheckedUpdateWithoutInvoice_itemsInput>
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
export type PurchaseOrderItemCreateWithoutItemInput = {
|
|
805
|
-
uuid?: string
|
|
806
|
-
vendor_id?: number | null
|
|
807
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
808
|
-
quantity?: number | null
|
|
809
|
-
created_at?: Date | string
|
|
810
|
-
updated_at?: Date | string
|
|
811
|
-
is_deleted?: boolean
|
|
812
|
-
deleted_at?: Date | string | null
|
|
813
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
814
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
815
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
816
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
817
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
export type PurchaseOrderItemUncheckedCreateWithoutItemInput = {
|
|
821
|
-
id?: number
|
|
822
|
-
uuid?: string
|
|
823
|
-
purchase_order_id?: number | null
|
|
824
|
-
purchase_request_id?: number | null
|
|
825
|
-
boq_event_item_id?: number | null
|
|
826
|
-
vendor_id?: number | null
|
|
827
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
828
|
-
quantity?: number | null
|
|
829
|
-
created_at?: Date | string
|
|
830
|
-
updated_at?: Date | string
|
|
831
|
-
is_deleted?: boolean
|
|
832
|
-
deleted_at?: Date | string | null
|
|
833
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
834
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
export type PurchaseOrderItemCreateOrConnectWithoutItemInput = {
|
|
838
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
839
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput>
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
export type PurchaseOrderItemCreateManyItemInputEnvelope = {
|
|
843
|
-
data: Prisma.PurchaseOrderItemCreateManyItemInput | Prisma.PurchaseOrderItemCreateManyItemInput[]
|
|
844
|
-
skipDuplicates?: boolean
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export type PurchaseOrderItemUpsertWithWhereUniqueWithoutItemInput = {
|
|
848
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
849
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutItemInput>
|
|
850
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutItemInput>
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
export type PurchaseOrderItemUpdateWithWhereUniqueWithoutItemInput = {
|
|
854
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
855
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutItemInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutItemInput>
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
export type PurchaseOrderItemUpdateManyWithWhereWithoutItemInput = {
|
|
859
|
-
where: Prisma.PurchaseOrderItemScalarWhereInput
|
|
860
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutItemInput>
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
export type PurchaseOrderItemScalarWhereInput = {
|
|
864
|
-
AND?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
865
|
-
OR?: Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
866
|
-
NOT?: Prisma.PurchaseOrderItemScalarWhereInput | Prisma.PurchaseOrderItemScalarWhereInput[]
|
|
867
|
-
id?: Prisma.IntFilter<"PurchaseOrderItem"> | number
|
|
868
|
-
uuid?: Prisma.StringFilter<"PurchaseOrderItem"> | string
|
|
869
|
-
purchase_order_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
870
|
-
purchase_request_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
871
|
-
item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
872
|
-
boq_event_item_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
873
|
-
vendor_id?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
874
|
-
amount?: Prisma.DecimalNullableFilter<"PurchaseOrderItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
875
|
-
quantity?: Prisma.IntNullableFilter<"PurchaseOrderItem"> | number | null
|
|
876
|
-
created_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
877
|
-
updated_at?: Prisma.DateTimeFilter<"PurchaseOrderItem"> | Date | string
|
|
878
|
-
is_deleted?: Prisma.BoolFilter<"PurchaseOrderItem"> | boolean
|
|
879
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseOrderItem"> | Date | string | null
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
export type PurchaseOrderItemCreateWithoutPurchase_requestInput = {
|
|
883
|
-
uuid?: string
|
|
884
|
-
vendor_id?: number | null
|
|
885
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
886
|
-
quantity?: number | null
|
|
887
|
-
created_at?: Date | string
|
|
888
|
-
updated_at?: Date | string
|
|
889
|
-
is_deleted?: boolean
|
|
890
|
-
deleted_at?: Date | string | null
|
|
891
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
892
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
893
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
894
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
895
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
export type PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput = {
|
|
899
|
-
id?: number
|
|
900
|
-
uuid?: string
|
|
901
|
-
purchase_order_id?: number | null
|
|
902
|
-
item_id?: number | null
|
|
903
|
-
boq_event_item_id?: number | null
|
|
904
|
-
vendor_id?: number | null
|
|
905
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
906
|
-
quantity?: number | null
|
|
907
|
-
created_at?: Date | string
|
|
908
|
-
updated_at?: Date | string
|
|
909
|
-
is_deleted?: boolean
|
|
910
|
-
deleted_at?: Date | string | null
|
|
911
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
912
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
export type PurchaseOrderItemCreateOrConnectWithoutPurchase_requestInput = {
|
|
916
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
917
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput>
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
export type PurchaseOrderItemCreateManyPurchase_requestInputEnvelope = {
|
|
921
|
-
data: Prisma.PurchaseOrderItemCreateManyPurchase_requestInput | Prisma.PurchaseOrderItemCreateManyPurchase_requestInput[]
|
|
922
|
-
skipDuplicates?: boolean
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
export type PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_requestInput = {
|
|
926
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
927
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutPurchase_requestInput>
|
|
928
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_requestInput>
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
export type PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_requestInput = {
|
|
932
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
933
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutPurchase_requestInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutPurchase_requestInput>
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
export type PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_requestInput = {
|
|
937
|
-
where: Prisma.PurchaseOrderItemScalarWhereInput
|
|
938
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestInput>
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
export type PurchaseOrderItemCreateWithoutBoq_event_itemInput = {
|
|
942
|
-
uuid?: string
|
|
943
|
-
vendor_id?: number | null
|
|
944
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
945
|
-
quantity?: number | null
|
|
946
|
-
created_at?: Date | string
|
|
947
|
-
updated_at?: Date | string
|
|
948
|
-
is_deleted?: boolean
|
|
949
|
-
deleted_at?: Date | string | null
|
|
950
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
951
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
952
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
953
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
954
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
export type PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput = {
|
|
958
|
-
id?: number
|
|
959
|
-
uuid?: string
|
|
960
|
-
purchase_order_id?: number | null
|
|
961
|
-
purchase_request_id?: number | null
|
|
962
|
-
item_id?: number | null
|
|
963
|
-
vendor_id?: number | null
|
|
964
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
965
|
-
quantity?: number | null
|
|
966
|
-
created_at?: Date | string
|
|
967
|
-
updated_at?: Date | string
|
|
968
|
-
is_deleted?: boolean
|
|
969
|
-
deleted_at?: Date | string | null
|
|
970
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
971
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
export type PurchaseOrderItemCreateOrConnectWithoutBoq_event_itemInput = {
|
|
975
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
976
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput>
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
export type PurchaseOrderItemCreateManyBoq_event_itemInputEnvelope = {
|
|
980
|
-
data: Prisma.PurchaseOrderItemCreateManyBoq_event_itemInput | Prisma.PurchaseOrderItemCreateManyBoq_event_itemInput[]
|
|
981
|
-
skipDuplicates?: boolean
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
export type PurchaseOrderItemUpsertWithWhereUniqueWithoutBoq_event_itemInput = {
|
|
985
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
986
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutBoq_event_itemInput>
|
|
987
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutBoq_event_itemInput>
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
export type PurchaseOrderItemUpdateWithWhereUniqueWithoutBoq_event_itemInput = {
|
|
991
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
992
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutBoq_event_itemInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutBoq_event_itemInput>
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
export type PurchaseOrderItemUpdateManyWithWhereWithoutBoq_event_itemInput = {
|
|
996
|
-
where: Prisma.PurchaseOrderItemScalarWhereInput
|
|
997
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutBoq_event_itemInput>
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
export type PurchaseOrderItemCreateWithoutPurchase_orderInput = {
|
|
1001
|
-
uuid?: string
|
|
1002
|
-
vendor_id?: number | null
|
|
1003
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1004
|
-
quantity?: number | null
|
|
1005
|
-
created_at?: Date | string
|
|
1006
|
-
updated_at?: Date | string
|
|
1007
|
-
is_deleted?: boolean
|
|
1008
|
-
deleted_at?: Date | string | null
|
|
1009
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1010
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1011
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1012
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
1013
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
export type PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput = {
|
|
1017
|
-
id?: number
|
|
1018
|
-
uuid?: string
|
|
1019
|
-
purchase_request_id?: number | null
|
|
1020
|
-
item_id?: number | null
|
|
1021
|
-
boq_event_item_id?: number | null
|
|
1022
|
-
vendor_id?: number | null
|
|
1023
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1024
|
-
quantity?: number | null
|
|
1025
|
-
created_at?: Date | string
|
|
1026
|
-
updated_at?: Date | string
|
|
1027
|
-
is_deleted?: boolean
|
|
1028
|
-
deleted_at?: Date | string | null
|
|
1029
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
1030
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
export type PurchaseOrderItemCreateOrConnectWithoutPurchase_orderInput = {
|
|
1034
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
1035
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput>
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export type PurchaseOrderItemCreateManyPurchase_orderInputEnvelope = {
|
|
1039
|
-
data: Prisma.PurchaseOrderItemCreateManyPurchase_orderInput | Prisma.PurchaseOrderItemCreateManyPurchase_orderInput[]
|
|
1040
|
-
skipDuplicates?: boolean
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
export type PurchaseOrderItemUpsertWithWhereUniqueWithoutPurchase_orderInput = {
|
|
1044
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
1045
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutPurchase_orderInput>
|
|
1046
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutPurchase_orderInput>
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
export type PurchaseOrderItemUpdateWithWhereUniqueWithoutPurchase_orderInput = {
|
|
1050
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
1051
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutPurchase_orderInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutPurchase_orderInput>
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
export type PurchaseOrderItemUpdateManyWithWhereWithoutPurchase_orderInput = {
|
|
1055
|
-
where: Prisma.PurchaseOrderItemScalarWhereInput
|
|
1056
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_orderInput>
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
export type PurchaseOrderItemCreateWithoutGrn_itemsInput = {
|
|
1060
|
-
uuid?: string
|
|
1061
|
-
vendor_id?: number | null
|
|
1062
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1063
|
-
quantity?: number | null
|
|
1064
|
-
created_at?: Date | string
|
|
1065
|
-
updated_at?: Date | string
|
|
1066
|
-
is_deleted?: boolean
|
|
1067
|
-
deleted_at?: Date | string | null
|
|
1068
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1069
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1070
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1071
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1072
|
-
invoice_items?: Prisma.InvoiceItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
export type PurchaseOrderItemUncheckedCreateWithoutGrn_itemsInput = {
|
|
1076
|
-
id?: number
|
|
1077
|
-
uuid?: string
|
|
1078
|
-
purchase_order_id?: number | null
|
|
1079
|
-
purchase_request_id?: number | null
|
|
1080
|
-
item_id?: number | null
|
|
1081
|
-
boq_event_item_id?: number | null
|
|
1082
|
-
vendor_id?: number | null
|
|
1083
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1084
|
-
quantity?: number | null
|
|
1085
|
-
created_at?: Date | string
|
|
1086
|
-
updated_at?: Date | string
|
|
1087
|
-
is_deleted?: boolean
|
|
1088
|
-
deleted_at?: Date | string | null
|
|
1089
|
-
invoice_items?: Prisma.InvoiceItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
export type PurchaseOrderItemCreateOrConnectWithoutGrn_itemsInput = {
|
|
1093
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
1094
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutGrn_itemsInput>
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
export type PurchaseOrderItemUpsertWithoutGrn_itemsInput = {
|
|
1098
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutGrn_itemsInput>
|
|
1099
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutGrn_itemsInput>
|
|
1100
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
export type PurchaseOrderItemUpdateToOneWithWhereWithoutGrn_itemsInput = {
|
|
1104
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
1105
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutGrn_itemsInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutGrn_itemsInput>
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
export type PurchaseOrderItemUpdateWithoutGrn_itemsInput = {
|
|
1109
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1110
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1111
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1112
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1113
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1114
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1115
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1116
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1117
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1118
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1119
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1120
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1121
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutGrn_itemsInput = {
|
|
1125
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1126
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1128
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1129
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1130
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1131
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1132
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1133
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1134
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1135
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1136
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1137
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1138
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
export type PurchaseOrderItemCreateWithoutInvoice_itemsInput = {
|
|
1142
|
-
uuid?: string
|
|
1143
|
-
vendor_id?: number | null
|
|
1144
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1145
|
-
quantity?: number | null
|
|
1146
|
-
created_at?: Date | string
|
|
1147
|
-
updated_at?: Date | string
|
|
1148
|
-
is_deleted?: boolean
|
|
1149
|
-
deleted_at?: Date | string | null
|
|
1150
|
-
purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1151
|
-
purchase_request?: Prisma.PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1152
|
-
item?: Prisma.ItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1153
|
-
boq_event_item?: Prisma.BoqEventItemCreateNestedOneWithoutPurchase_order_itemsInput
|
|
1154
|
-
grn_items?: Prisma.GRNItemCreateNestedManyWithoutPurchase_order_itemInput
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
export type PurchaseOrderItemUncheckedCreateWithoutInvoice_itemsInput = {
|
|
1158
|
-
id?: number
|
|
1159
|
-
uuid?: string
|
|
1160
|
-
purchase_order_id?: number | null
|
|
1161
|
-
purchase_request_id?: number | null
|
|
1162
|
-
item_id?: number | null
|
|
1163
|
-
boq_event_item_id?: number | null
|
|
1164
|
-
vendor_id?: number | null
|
|
1165
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1166
|
-
quantity?: number | null
|
|
1167
|
-
created_at?: Date | string
|
|
1168
|
-
updated_at?: Date | string
|
|
1169
|
-
is_deleted?: boolean
|
|
1170
|
-
deleted_at?: Date | string | null
|
|
1171
|
-
grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutPurchase_order_itemInput
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
export type PurchaseOrderItemCreateOrConnectWithoutInvoice_itemsInput = {
|
|
1175
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
1176
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutInvoice_itemsInput>
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
export type PurchaseOrderItemUpsertWithoutInvoice_itemsInput = {
|
|
1180
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutInvoice_itemsInput>
|
|
1181
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedCreateWithoutInvoice_itemsInput>
|
|
1182
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
export type PurchaseOrderItemUpdateToOneWithWhereWithoutInvoice_itemsInput = {
|
|
1186
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
1187
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateWithoutInvoice_itemsInput, Prisma.PurchaseOrderItemUncheckedUpdateWithoutInvoice_itemsInput>
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
export type PurchaseOrderItemUpdateWithoutInvoice_itemsInput = {
|
|
1191
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1192
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1193
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1194
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1195
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1196
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1197
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1198
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1199
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1200
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1201
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1202
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1203
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutInvoice_itemsInput = {
|
|
1207
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1208
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1209
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1210
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1211
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1212
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1213
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1214
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1215
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1216
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1217
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1218
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1219
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1220
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
export type PurchaseOrderItemCreateManyItemInput = {
|
|
1224
|
-
id?: number
|
|
1225
|
-
uuid?: string
|
|
1226
|
-
purchase_order_id?: number | null
|
|
1227
|
-
purchase_request_id?: number | null
|
|
1228
|
-
boq_event_item_id?: number | null
|
|
1229
|
-
vendor_id?: number | null
|
|
1230
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1231
|
-
quantity?: number | null
|
|
1232
|
-
created_at?: Date | string
|
|
1233
|
-
updated_at?: Date | string
|
|
1234
|
-
is_deleted?: boolean
|
|
1235
|
-
deleted_at?: Date | string | null
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
export type PurchaseOrderItemUpdateWithoutItemInput = {
|
|
1239
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1240
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1241
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1242
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1243
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1244
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1245
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1246
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1247
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1248
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1249
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1250
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1251
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutItemInput = {
|
|
1255
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1256
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1257
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1258
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1259
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1260
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1261
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1262
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1263
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1264
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1265
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1266
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1267
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1268
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutItemInput = {
|
|
1272
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1273
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1274
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1275
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1276
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1277
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1278
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1279
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1280
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1281
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1282
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1283
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
export type PurchaseOrderItemCreateManyPurchase_requestInput = {
|
|
1287
|
-
id?: number
|
|
1288
|
-
uuid?: string
|
|
1289
|
-
purchase_order_id?: number | null
|
|
1290
|
-
item_id?: number | null
|
|
1291
|
-
boq_event_item_id?: number | null
|
|
1292
|
-
vendor_id?: number | null
|
|
1293
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1294
|
-
quantity?: number | null
|
|
1295
|
-
created_at?: Date | string
|
|
1296
|
-
updated_at?: Date | string
|
|
1297
|
-
is_deleted?: boolean
|
|
1298
|
-
deleted_at?: Date | string | null
|
|
1299
|
-
}
|
|
1300
|
-
|
|
1301
|
-
export type PurchaseOrderItemUpdateWithoutPurchase_requestInput = {
|
|
1302
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1303
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1304
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1305
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1306
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1307
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1308
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1309
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1310
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1311
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1312
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1313
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1314
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutPurchase_requestInput = {
|
|
1318
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1319
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1320
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1321
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1322
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1323
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1324
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1325
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1326
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1327
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1328
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1329
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1330
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1331
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestInput = {
|
|
1335
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1336
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1337
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1338
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1339
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1340
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1341
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1342
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1343
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1344
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1345
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1346
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
export type PurchaseOrderItemCreateManyBoq_event_itemInput = {
|
|
1350
|
-
id?: number
|
|
1351
|
-
uuid?: string
|
|
1352
|
-
purchase_order_id?: number | null
|
|
1353
|
-
purchase_request_id?: number | null
|
|
1354
|
-
item_id?: number | null
|
|
1355
|
-
vendor_id?: number | null
|
|
1356
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1357
|
-
quantity?: number | null
|
|
1358
|
-
created_at?: Date | string
|
|
1359
|
-
updated_at?: Date | string
|
|
1360
|
-
is_deleted?: boolean
|
|
1361
|
-
deleted_at?: Date | string | null
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
export type PurchaseOrderItemUpdateWithoutBoq_event_itemInput = {
|
|
1365
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1366
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1367
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1368
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1369
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1370
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1371
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1372
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1373
|
-
purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1374
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1375
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1376
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1377
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutBoq_event_itemInput = {
|
|
1381
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1382
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1383
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1384
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1385
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1386
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1387
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1388
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1389
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1390
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1391
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1392
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1393
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1394
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutBoq_event_itemInput = {
|
|
1398
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1399
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1400
|
-
purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1401
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1402
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1403
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1404
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1405
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1406
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1407
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1408
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1409
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
export type PurchaseOrderItemCreateManyPurchase_orderInput = {
|
|
1413
|
-
id?: number
|
|
1414
|
-
uuid?: string
|
|
1415
|
-
purchase_request_id?: number | null
|
|
1416
|
-
item_id?: number | null
|
|
1417
|
-
boq_event_item_id?: number | null
|
|
1418
|
-
vendor_id?: number | null
|
|
1419
|
-
amount?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1420
|
-
quantity?: number | null
|
|
1421
|
-
created_at?: Date | string
|
|
1422
|
-
updated_at?: Date | string
|
|
1423
|
-
is_deleted?: boolean
|
|
1424
|
-
deleted_at?: Date | string | null
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
export type PurchaseOrderItemUpdateWithoutPurchase_orderInput = {
|
|
1428
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1429
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1430
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1431
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1432
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1433
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1434
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1435
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1436
|
-
purchase_request?: Prisma.PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1437
|
-
item?: Prisma.ItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1438
|
-
boq_event_item?: Prisma.BoqEventItemUpdateOneWithoutPurchase_order_itemsNestedInput
|
|
1439
|
-
grn_items?: Prisma.GRNItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1440
|
-
invoice_items?: Prisma.InvoiceItemUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
export type PurchaseOrderItemUncheckedUpdateWithoutPurchase_orderInput = {
|
|
1444
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1445
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1446
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1447
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1448
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1449
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1450
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1451
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1452
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1453
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1454
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1455
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1456
|
-
grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1457
|
-
invoice_items?: Prisma.InvoiceItemUncheckedUpdateManyWithoutPurchase_order_itemNestedInput
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
export type PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_orderInput = {
|
|
1461
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1462
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1463
|
-
purchase_request_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1464
|
-
item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1465
|
-
boq_event_item_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1466
|
-
vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1467
|
-
amount?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
1468
|
-
quantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1469
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1470
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1471
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1472
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
/**
|
|
1477
|
-
* Count Type PurchaseOrderItemCountOutputType
|
|
1478
|
-
*/
|
|
1479
|
-
|
|
1480
|
-
export type PurchaseOrderItemCountOutputType = {
|
|
1481
|
-
grn_items: number
|
|
1482
|
-
invoice_items: number
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
export type PurchaseOrderItemCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1486
|
-
grn_items?: boolean | PurchaseOrderItemCountOutputTypeCountGrn_itemsArgs
|
|
1487
|
-
invoice_items?: boolean | PurchaseOrderItemCountOutputTypeCountInvoice_itemsArgs
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* PurchaseOrderItemCountOutputType without action
|
|
1492
|
-
*/
|
|
1493
|
-
export type PurchaseOrderItemCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1494
|
-
/**
|
|
1495
|
-
* Select specific fields to fetch from the PurchaseOrderItemCountOutputType
|
|
1496
|
-
*/
|
|
1497
|
-
select?: Prisma.PurchaseOrderItemCountOutputTypeSelect<ExtArgs> | null
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
/**
|
|
1501
|
-
* PurchaseOrderItemCountOutputType without action
|
|
1502
|
-
*/
|
|
1503
|
-
export type PurchaseOrderItemCountOutputTypeCountGrn_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1504
|
-
where?: Prisma.GRNItemWhereInput
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* PurchaseOrderItemCountOutputType without action
|
|
1509
|
-
*/
|
|
1510
|
-
export type PurchaseOrderItemCountOutputTypeCountInvoice_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1511
|
-
where?: Prisma.InvoiceItemWhereInput
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
export type PurchaseOrderItemSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1516
|
-
id?: boolean
|
|
1517
|
-
uuid?: boolean
|
|
1518
|
-
purchase_order_id?: boolean
|
|
1519
|
-
purchase_request_id?: boolean
|
|
1520
|
-
item_id?: boolean
|
|
1521
|
-
boq_event_item_id?: boolean
|
|
1522
|
-
vendor_id?: boolean
|
|
1523
|
-
amount?: boolean
|
|
1524
|
-
quantity?: boolean
|
|
1525
|
-
created_at?: boolean
|
|
1526
|
-
updated_at?: boolean
|
|
1527
|
-
is_deleted?: boolean
|
|
1528
|
-
deleted_at?: boolean
|
|
1529
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1530
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1531
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1532
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1533
|
-
grn_items?: boolean | Prisma.PurchaseOrderItem$grn_itemsArgs<ExtArgs>
|
|
1534
|
-
invoice_items?: boolean | Prisma.PurchaseOrderItem$invoice_itemsArgs<ExtArgs>
|
|
1535
|
-
_count?: boolean | Prisma.PurchaseOrderItemCountOutputTypeDefaultArgs<ExtArgs>
|
|
1536
|
-
}, ExtArgs["result"]["purchaseOrderItem"]>
|
|
1537
|
-
|
|
1538
|
-
export type PurchaseOrderItemSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1539
|
-
id?: boolean
|
|
1540
|
-
uuid?: boolean
|
|
1541
|
-
purchase_order_id?: boolean
|
|
1542
|
-
purchase_request_id?: boolean
|
|
1543
|
-
item_id?: boolean
|
|
1544
|
-
boq_event_item_id?: boolean
|
|
1545
|
-
vendor_id?: boolean
|
|
1546
|
-
amount?: boolean
|
|
1547
|
-
quantity?: boolean
|
|
1548
|
-
created_at?: boolean
|
|
1549
|
-
updated_at?: boolean
|
|
1550
|
-
is_deleted?: boolean
|
|
1551
|
-
deleted_at?: boolean
|
|
1552
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1553
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1554
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1555
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1556
|
-
}, ExtArgs["result"]["purchaseOrderItem"]>
|
|
1557
|
-
|
|
1558
|
-
export type PurchaseOrderItemSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1559
|
-
id?: boolean
|
|
1560
|
-
uuid?: boolean
|
|
1561
|
-
purchase_order_id?: boolean
|
|
1562
|
-
purchase_request_id?: boolean
|
|
1563
|
-
item_id?: boolean
|
|
1564
|
-
boq_event_item_id?: boolean
|
|
1565
|
-
vendor_id?: boolean
|
|
1566
|
-
amount?: boolean
|
|
1567
|
-
quantity?: boolean
|
|
1568
|
-
created_at?: boolean
|
|
1569
|
-
updated_at?: boolean
|
|
1570
|
-
is_deleted?: boolean
|
|
1571
|
-
deleted_at?: boolean
|
|
1572
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1573
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1574
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1575
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1576
|
-
}, ExtArgs["result"]["purchaseOrderItem"]>
|
|
1577
|
-
|
|
1578
|
-
export type PurchaseOrderItemSelectScalar = {
|
|
1579
|
-
id?: boolean
|
|
1580
|
-
uuid?: boolean
|
|
1581
|
-
purchase_order_id?: boolean
|
|
1582
|
-
purchase_request_id?: boolean
|
|
1583
|
-
item_id?: boolean
|
|
1584
|
-
boq_event_item_id?: boolean
|
|
1585
|
-
vendor_id?: boolean
|
|
1586
|
-
amount?: boolean
|
|
1587
|
-
quantity?: boolean
|
|
1588
|
-
created_at?: boolean
|
|
1589
|
-
updated_at?: boolean
|
|
1590
|
-
is_deleted?: boolean
|
|
1591
|
-
deleted_at?: boolean
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
export type PurchaseOrderItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "purchase_order_id" | "purchase_request_id" | "item_id" | "boq_event_item_id" | "vendor_id" | "amount" | "quantity" | "created_at" | "updated_at" | "is_deleted" | "deleted_at", ExtArgs["result"]["purchaseOrderItem"]>
|
|
1595
|
-
export type PurchaseOrderItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1596
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1597
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1598
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1599
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1600
|
-
grn_items?: boolean | Prisma.PurchaseOrderItem$grn_itemsArgs<ExtArgs>
|
|
1601
|
-
invoice_items?: boolean | Prisma.PurchaseOrderItem$invoice_itemsArgs<ExtArgs>
|
|
1602
|
-
_count?: boolean | Prisma.PurchaseOrderItemCountOutputTypeDefaultArgs<ExtArgs>
|
|
1603
|
-
}
|
|
1604
|
-
export type PurchaseOrderItemIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1605
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1606
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1607
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1608
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1609
|
-
}
|
|
1610
|
-
export type PurchaseOrderItemIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1611
|
-
purchase_order?: boolean | Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>
|
|
1612
|
-
purchase_request?: boolean | Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>
|
|
1613
|
-
item?: boolean | Prisma.PurchaseOrderItem$itemArgs<ExtArgs>
|
|
1614
|
-
boq_event_item?: boolean | Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
export type $PurchaseOrderItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1618
|
-
name: "PurchaseOrderItem"
|
|
1619
|
-
objects: {
|
|
1620
|
-
purchase_order: Prisma.$PurchaseOrderPayload<ExtArgs> | null
|
|
1621
|
-
purchase_request: Prisma.$PurchaseIntakePayload<ExtArgs> | null
|
|
1622
|
-
item: Prisma.$ItemPayload<ExtArgs> | null
|
|
1623
|
-
boq_event_item: Prisma.$BoqEventItemPayload<ExtArgs> | null
|
|
1624
|
-
grn_items: Prisma.$GRNItemPayload<ExtArgs>[]
|
|
1625
|
-
invoice_items: Prisma.$InvoiceItemPayload<ExtArgs>[]
|
|
1626
|
-
}
|
|
1627
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1628
|
-
id: number
|
|
1629
|
-
uuid: string
|
|
1630
|
-
purchase_order_id: number | null
|
|
1631
|
-
purchase_request_id: number | null
|
|
1632
|
-
item_id: number | null
|
|
1633
|
-
boq_event_item_id: number | null
|
|
1634
|
-
vendor_id: number | null
|
|
1635
|
-
amount: runtime.Decimal | null
|
|
1636
|
-
quantity: number | null
|
|
1637
|
-
created_at: Date
|
|
1638
|
-
updated_at: Date
|
|
1639
|
-
is_deleted: boolean
|
|
1640
|
-
deleted_at: Date | null
|
|
1641
|
-
}, ExtArgs["result"]["purchaseOrderItem"]>
|
|
1642
|
-
composites: {}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
export type PurchaseOrderItemGetPayload<S extends boolean | null | undefined | PurchaseOrderItemDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload, S>
|
|
1646
|
-
|
|
1647
|
-
export type PurchaseOrderItemCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1648
|
-
Omit<PurchaseOrderItemFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1649
|
-
select?: PurchaseOrderItemCountAggregateInputType | true
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
export interface PurchaseOrderItemDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1653
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PurchaseOrderItem'], meta: { name: 'PurchaseOrderItem' } }
|
|
1654
|
-
/**
|
|
1655
|
-
* Find zero or one PurchaseOrderItem that matches the filter.
|
|
1656
|
-
* @param {PurchaseOrderItemFindUniqueArgs} args - Arguments to find a PurchaseOrderItem
|
|
1657
|
-
* @example
|
|
1658
|
-
* // Get one PurchaseOrderItem
|
|
1659
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.findUnique({
|
|
1660
|
-
* where: {
|
|
1661
|
-
* // ... provide filter here
|
|
1662
|
-
* }
|
|
1663
|
-
* })
|
|
1664
|
-
*/
|
|
1665
|
-
findUnique<T extends PurchaseOrderItemFindUniqueArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1666
|
-
|
|
1667
|
-
/**
|
|
1668
|
-
* Find one PurchaseOrderItem that matches the filter or throw an error with `error.code='P2025'`
|
|
1669
|
-
* if no matches were found.
|
|
1670
|
-
* @param {PurchaseOrderItemFindUniqueOrThrowArgs} args - Arguments to find a PurchaseOrderItem
|
|
1671
|
-
* @example
|
|
1672
|
-
* // Get one PurchaseOrderItem
|
|
1673
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.findUniqueOrThrow({
|
|
1674
|
-
* where: {
|
|
1675
|
-
* // ... provide filter here
|
|
1676
|
-
* }
|
|
1677
|
-
* })
|
|
1678
|
-
*/
|
|
1679
|
-
findUniqueOrThrow<T extends PurchaseOrderItemFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
* Find the first PurchaseOrderItem that matches the filter.
|
|
1683
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1684
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1685
|
-
* @param {PurchaseOrderItemFindFirstArgs} args - Arguments to find a PurchaseOrderItem
|
|
1686
|
-
* @example
|
|
1687
|
-
* // Get one PurchaseOrderItem
|
|
1688
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.findFirst({
|
|
1689
|
-
* where: {
|
|
1690
|
-
* // ... provide filter here
|
|
1691
|
-
* }
|
|
1692
|
-
* })
|
|
1693
|
-
*/
|
|
1694
|
-
findFirst<T extends PurchaseOrderItemFindFirstArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemFindFirstArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1695
|
-
|
|
1696
|
-
/**
|
|
1697
|
-
* Find the first PurchaseOrderItem that matches the filter or
|
|
1698
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1699
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1700
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1701
|
-
* @param {PurchaseOrderItemFindFirstOrThrowArgs} args - Arguments to find a PurchaseOrderItem
|
|
1702
|
-
* @example
|
|
1703
|
-
* // Get one PurchaseOrderItem
|
|
1704
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.findFirstOrThrow({
|
|
1705
|
-
* where: {
|
|
1706
|
-
* // ... provide filter here
|
|
1707
|
-
* }
|
|
1708
|
-
* })
|
|
1709
|
-
*/
|
|
1710
|
-
findFirstOrThrow<T extends PurchaseOrderItemFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* Find zero or more PurchaseOrderItems that matches the filter.
|
|
1714
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1715
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1716
|
-
* @param {PurchaseOrderItemFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1717
|
-
* @example
|
|
1718
|
-
* // Get all PurchaseOrderItems
|
|
1719
|
-
* const purchaseOrderItems = await prisma.purchaseOrderItem.findMany()
|
|
1720
|
-
*
|
|
1721
|
-
* // Get first 10 PurchaseOrderItems
|
|
1722
|
-
* const purchaseOrderItems = await prisma.purchaseOrderItem.findMany({ take: 10 })
|
|
1723
|
-
*
|
|
1724
|
-
* // Only select the `id`
|
|
1725
|
-
* const purchaseOrderItemWithIdOnly = await prisma.purchaseOrderItem.findMany({ select: { id: true } })
|
|
1726
|
-
*
|
|
1727
|
-
*/
|
|
1728
|
-
findMany<T extends PurchaseOrderItemFindManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Create a PurchaseOrderItem.
|
|
1732
|
-
* @param {PurchaseOrderItemCreateArgs} args - Arguments to create a PurchaseOrderItem.
|
|
1733
|
-
* @example
|
|
1734
|
-
* // Create one PurchaseOrderItem
|
|
1735
|
-
* const PurchaseOrderItem = await prisma.purchaseOrderItem.create({
|
|
1736
|
-
* data: {
|
|
1737
|
-
* // ... data to create a PurchaseOrderItem
|
|
1738
|
-
* }
|
|
1739
|
-
* })
|
|
1740
|
-
*
|
|
1741
|
-
*/
|
|
1742
|
-
create<T extends PurchaseOrderItemCreateArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemCreateArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* Create many PurchaseOrderItems.
|
|
1746
|
-
* @param {PurchaseOrderItemCreateManyArgs} args - Arguments to create many PurchaseOrderItems.
|
|
1747
|
-
* @example
|
|
1748
|
-
* // Create many PurchaseOrderItems
|
|
1749
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.createMany({
|
|
1750
|
-
* data: [
|
|
1751
|
-
* // ... provide data here
|
|
1752
|
-
* ]
|
|
1753
|
-
* })
|
|
1754
|
-
*
|
|
1755
|
-
*/
|
|
1756
|
-
createMany<T extends PurchaseOrderItemCreateManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* Create many PurchaseOrderItems and returns the data saved in the database.
|
|
1760
|
-
* @param {PurchaseOrderItemCreateManyAndReturnArgs} args - Arguments to create many PurchaseOrderItems.
|
|
1761
|
-
* @example
|
|
1762
|
-
* // Create many PurchaseOrderItems
|
|
1763
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.createManyAndReturn({
|
|
1764
|
-
* data: [
|
|
1765
|
-
* // ... provide data here
|
|
1766
|
-
* ]
|
|
1767
|
-
* })
|
|
1768
|
-
*
|
|
1769
|
-
* // Create many PurchaseOrderItems and only return the `id`
|
|
1770
|
-
* const purchaseOrderItemWithIdOnly = await prisma.purchaseOrderItem.createManyAndReturn({
|
|
1771
|
-
* select: { id: true },
|
|
1772
|
-
* data: [
|
|
1773
|
-
* // ... provide data here
|
|
1774
|
-
* ]
|
|
1775
|
-
* })
|
|
1776
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1777
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1778
|
-
*
|
|
1779
|
-
*/
|
|
1780
|
-
createManyAndReturn<T extends PurchaseOrderItemCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1781
|
-
|
|
1782
|
-
/**
|
|
1783
|
-
* Delete a PurchaseOrderItem.
|
|
1784
|
-
* @param {PurchaseOrderItemDeleteArgs} args - Arguments to delete one PurchaseOrderItem.
|
|
1785
|
-
* @example
|
|
1786
|
-
* // Delete one PurchaseOrderItem
|
|
1787
|
-
* const PurchaseOrderItem = await prisma.purchaseOrderItem.delete({
|
|
1788
|
-
* where: {
|
|
1789
|
-
* // ... filter to delete one PurchaseOrderItem
|
|
1790
|
-
* }
|
|
1791
|
-
* })
|
|
1792
|
-
*
|
|
1793
|
-
*/
|
|
1794
|
-
delete<T extends PurchaseOrderItemDeleteArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemDeleteArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* Update one PurchaseOrderItem.
|
|
1798
|
-
* @param {PurchaseOrderItemUpdateArgs} args - Arguments to update one PurchaseOrderItem.
|
|
1799
|
-
* @example
|
|
1800
|
-
* // Update one PurchaseOrderItem
|
|
1801
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.update({
|
|
1802
|
-
* where: {
|
|
1803
|
-
* // ... provide filter here
|
|
1804
|
-
* },
|
|
1805
|
-
* data: {
|
|
1806
|
-
* // ... provide data here
|
|
1807
|
-
* }
|
|
1808
|
-
* })
|
|
1809
|
-
*
|
|
1810
|
-
*/
|
|
1811
|
-
update<T extends PurchaseOrderItemUpdateArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemUpdateArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1812
|
-
|
|
1813
|
-
/**
|
|
1814
|
-
* Delete zero or more PurchaseOrderItems.
|
|
1815
|
-
* @param {PurchaseOrderItemDeleteManyArgs} args - Arguments to filter PurchaseOrderItems to delete.
|
|
1816
|
-
* @example
|
|
1817
|
-
* // Delete a few PurchaseOrderItems
|
|
1818
|
-
* const { count } = await prisma.purchaseOrderItem.deleteMany({
|
|
1819
|
-
* where: {
|
|
1820
|
-
* // ... provide filter here
|
|
1821
|
-
* }
|
|
1822
|
-
* })
|
|
1823
|
-
*
|
|
1824
|
-
*/
|
|
1825
|
-
deleteMany<T extends PurchaseOrderItemDeleteManyArgs>(args?: Prisma.SelectSubset<T, PurchaseOrderItemDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1826
|
-
|
|
1827
|
-
/**
|
|
1828
|
-
* Update zero or more PurchaseOrderItems.
|
|
1829
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1830
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1831
|
-
* @param {PurchaseOrderItemUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1832
|
-
* @example
|
|
1833
|
-
* // Update many PurchaseOrderItems
|
|
1834
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.updateMany({
|
|
1835
|
-
* where: {
|
|
1836
|
-
* // ... provide filter here
|
|
1837
|
-
* },
|
|
1838
|
-
* data: {
|
|
1839
|
-
* // ... provide data here
|
|
1840
|
-
* }
|
|
1841
|
-
* })
|
|
1842
|
-
*
|
|
1843
|
-
*/
|
|
1844
|
-
updateMany<T extends PurchaseOrderItemUpdateManyArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* Update zero or more PurchaseOrderItems and returns the data updated in the database.
|
|
1848
|
-
* @param {PurchaseOrderItemUpdateManyAndReturnArgs} args - Arguments to update many PurchaseOrderItems.
|
|
1849
|
-
* @example
|
|
1850
|
-
* // Update many PurchaseOrderItems
|
|
1851
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.updateManyAndReturn({
|
|
1852
|
-
* where: {
|
|
1853
|
-
* // ... provide filter here
|
|
1854
|
-
* },
|
|
1855
|
-
* data: [
|
|
1856
|
-
* // ... provide data here
|
|
1857
|
-
* ]
|
|
1858
|
-
* })
|
|
1859
|
-
*
|
|
1860
|
-
* // Update zero or more PurchaseOrderItems and only return the `id`
|
|
1861
|
-
* const purchaseOrderItemWithIdOnly = await prisma.purchaseOrderItem.updateManyAndReturn({
|
|
1862
|
-
* select: { id: true },
|
|
1863
|
-
* where: {
|
|
1864
|
-
* // ... provide filter here
|
|
1865
|
-
* },
|
|
1866
|
-
* data: [
|
|
1867
|
-
* // ... provide data here
|
|
1868
|
-
* ]
|
|
1869
|
-
* })
|
|
1870
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1871
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1872
|
-
*
|
|
1873
|
-
*/
|
|
1874
|
-
updateManyAndReturn<T extends PurchaseOrderItemUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* Create or update one PurchaseOrderItem.
|
|
1878
|
-
* @param {PurchaseOrderItemUpsertArgs} args - Arguments to update or create a PurchaseOrderItem.
|
|
1879
|
-
* @example
|
|
1880
|
-
* // Update or create a PurchaseOrderItem
|
|
1881
|
-
* const purchaseOrderItem = await prisma.purchaseOrderItem.upsert({
|
|
1882
|
-
* create: {
|
|
1883
|
-
* // ... data to create a PurchaseOrderItem
|
|
1884
|
-
* },
|
|
1885
|
-
* update: {
|
|
1886
|
-
* // ... in case it already exists, update
|
|
1887
|
-
* },
|
|
1888
|
-
* where: {
|
|
1889
|
-
* // ... the filter for the PurchaseOrderItem we want to update
|
|
1890
|
-
* }
|
|
1891
|
-
* })
|
|
1892
|
-
*/
|
|
1893
|
-
upsert<T extends PurchaseOrderItemUpsertArgs>(args: Prisma.SelectSubset<T, PurchaseOrderItemUpsertArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderItemClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* Count the number of PurchaseOrderItems.
|
|
1898
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1899
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1900
|
-
* @param {PurchaseOrderItemCountArgs} args - Arguments to filter PurchaseOrderItems to count.
|
|
1901
|
-
* @example
|
|
1902
|
-
* // Count the number of PurchaseOrderItems
|
|
1903
|
-
* const count = await prisma.purchaseOrderItem.count({
|
|
1904
|
-
* where: {
|
|
1905
|
-
* // ... the filter for the PurchaseOrderItems we want to count
|
|
1906
|
-
* }
|
|
1907
|
-
* })
|
|
1908
|
-
**/
|
|
1909
|
-
count<T extends PurchaseOrderItemCountArgs>(
|
|
1910
|
-
args?: Prisma.Subset<T, PurchaseOrderItemCountArgs>,
|
|
1911
|
-
): Prisma.PrismaPromise<
|
|
1912
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1913
|
-
? T['select'] extends true
|
|
1914
|
-
? number
|
|
1915
|
-
: Prisma.GetScalarType<T['select'], PurchaseOrderItemCountAggregateOutputType>
|
|
1916
|
-
: number
|
|
1917
|
-
>
|
|
1918
|
-
|
|
1919
|
-
/**
|
|
1920
|
-
* Allows you to perform aggregations operations on a PurchaseOrderItem.
|
|
1921
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1922
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1923
|
-
* @param {PurchaseOrderItemAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1924
|
-
* @example
|
|
1925
|
-
* // Ordered by age ascending
|
|
1926
|
-
* // Where email contains prisma.io
|
|
1927
|
-
* // Limited to the 10 users
|
|
1928
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1929
|
-
* _avg: {
|
|
1930
|
-
* age: true,
|
|
1931
|
-
* },
|
|
1932
|
-
* where: {
|
|
1933
|
-
* email: {
|
|
1934
|
-
* contains: "prisma.io",
|
|
1935
|
-
* },
|
|
1936
|
-
* },
|
|
1937
|
-
* orderBy: {
|
|
1938
|
-
* age: "asc",
|
|
1939
|
-
* },
|
|
1940
|
-
* take: 10,
|
|
1941
|
-
* })
|
|
1942
|
-
**/
|
|
1943
|
-
aggregate<T extends PurchaseOrderItemAggregateArgs>(args: Prisma.Subset<T, PurchaseOrderItemAggregateArgs>): Prisma.PrismaPromise<GetPurchaseOrderItemAggregateType<T>>
|
|
1944
|
-
|
|
1945
|
-
/**
|
|
1946
|
-
* Group by PurchaseOrderItem.
|
|
1947
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1948
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1949
|
-
* @param {PurchaseOrderItemGroupByArgs} args - Group by arguments.
|
|
1950
|
-
* @example
|
|
1951
|
-
* // Group by city, order by createdAt, get count
|
|
1952
|
-
* const result = await prisma.user.groupBy({
|
|
1953
|
-
* by: ['city', 'createdAt'],
|
|
1954
|
-
* orderBy: {
|
|
1955
|
-
* createdAt: true
|
|
1956
|
-
* },
|
|
1957
|
-
* _count: {
|
|
1958
|
-
* _all: true
|
|
1959
|
-
* },
|
|
1960
|
-
* })
|
|
1961
|
-
*
|
|
1962
|
-
**/
|
|
1963
|
-
groupBy<
|
|
1964
|
-
T extends PurchaseOrderItemGroupByArgs,
|
|
1965
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1966
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1967
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1968
|
-
>,
|
|
1969
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1970
|
-
? { orderBy: PurchaseOrderItemGroupByArgs['orderBy'] }
|
|
1971
|
-
: { orderBy?: PurchaseOrderItemGroupByArgs['orderBy'] },
|
|
1972
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1973
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1974
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1975
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1976
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1977
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1978
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1979
|
-
? `Error: "by" must not be empty.`
|
|
1980
|
-
: HavingValid extends Prisma.False
|
|
1981
|
-
? {
|
|
1982
|
-
[P in HavingFields]: P extends ByFields
|
|
1983
|
-
? never
|
|
1984
|
-
: P extends string
|
|
1985
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1986
|
-
: [
|
|
1987
|
-
Error,
|
|
1988
|
-
'Field ',
|
|
1989
|
-
P,
|
|
1990
|
-
` in "having" needs to be provided in "by"`,
|
|
1991
|
-
]
|
|
1992
|
-
}[HavingFields]
|
|
1993
|
-
: 'take' extends Prisma.Keys<T>
|
|
1994
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1995
|
-
? ByValid extends Prisma.True
|
|
1996
|
-
? {}
|
|
1997
|
-
: {
|
|
1998
|
-
[P in OrderFields]: P extends ByFields
|
|
1999
|
-
? never
|
|
2000
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2001
|
-
}[OrderFields]
|
|
2002
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2003
|
-
: 'skip' extends Prisma.Keys<T>
|
|
2004
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
2005
|
-
? ByValid extends Prisma.True
|
|
2006
|
-
? {}
|
|
2007
|
-
: {
|
|
2008
|
-
[P in OrderFields]: P extends ByFields
|
|
2009
|
-
? never
|
|
2010
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2011
|
-
}[OrderFields]
|
|
2012
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2013
|
-
: ByValid extends Prisma.True
|
|
2014
|
-
? {}
|
|
2015
|
-
: {
|
|
2016
|
-
[P in OrderFields]: P extends ByFields
|
|
2017
|
-
? never
|
|
2018
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2019
|
-
}[OrderFields]
|
|
2020
|
-
>(args: Prisma.SubsetIntersection<T, PurchaseOrderItemGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPurchaseOrderItemGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2021
|
-
/**
|
|
2022
|
-
* Fields of the PurchaseOrderItem model
|
|
2023
|
-
*/
|
|
2024
|
-
readonly fields: PurchaseOrderItemFieldRefs;
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
/**
|
|
2028
|
-
* The delegate class that acts as a "Promise-like" for PurchaseOrderItem.
|
|
2029
|
-
* Why is this prefixed with `Prisma__`?
|
|
2030
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
2031
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2032
|
-
*/
|
|
2033
|
-
export interface Prisma__PurchaseOrderItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2034
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2035
|
-
purchase_order<T extends Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$purchase_orderArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2036
|
-
purchase_request<T extends Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$purchase_requestArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2037
|
-
item<T extends Prisma.PurchaseOrderItem$itemArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$itemArgs<ExtArgs>>): Prisma.Prisma__ItemClient<runtime.Types.Result.GetResult<Prisma.$ItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2038
|
-
boq_event_item<T extends Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$boq_event_itemArgs<ExtArgs>>): Prisma.Prisma__BoqEventItemClient<runtime.Types.Result.GetResult<Prisma.$BoqEventItemPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2039
|
-
grn_items<T extends Prisma.PurchaseOrderItem$grn_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$grn_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2040
|
-
invoice_items<T extends Prisma.PurchaseOrderItem$invoice_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseOrderItem$invoice_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvoiceItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2041
|
-
/**
|
|
2042
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2043
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2044
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2045
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
2046
|
-
*/
|
|
2047
|
-
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>
|
|
2048
|
-
/**
|
|
2049
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
2050
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2051
|
-
* @returns A Promise for the completion of the callback.
|
|
2052
|
-
*/
|
|
2053
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2054
|
-
/**
|
|
2055
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2056
|
-
* resolved value cannot be modified from the callback.
|
|
2057
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2058
|
-
* @returns A Promise for the completion of the callback.
|
|
2059
|
-
*/
|
|
2060
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* Fields of the PurchaseOrderItem model
|
|
2068
|
-
*/
|
|
2069
|
-
export interface PurchaseOrderItemFieldRefs {
|
|
2070
|
-
readonly id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2071
|
-
readonly uuid: Prisma.FieldRef<"PurchaseOrderItem", 'String'>
|
|
2072
|
-
readonly purchase_order_id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2073
|
-
readonly purchase_request_id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2074
|
-
readonly item_id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2075
|
-
readonly boq_event_item_id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2076
|
-
readonly vendor_id: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2077
|
-
readonly amount: Prisma.FieldRef<"PurchaseOrderItem", 'Decimal'>
|
|
2078
|
-
readonly quantity: Prisma.FieldRef<"PurchaseOrderItem", 'Int'>
|
|
2079
|
-
readonly created_at: Prisma.FieldRef<"PurchaseOrderItem", 'DateTime'>
|
|
2080
|
-
readonly updated_at: Prisma.FieldRef<"PurchaseOrderItem", 'DateTime'>
|
|
2081
|
-
readonly is_deleted: Prisma.FieldRef<"PurchaseOrderItem", 'Boolean'>
|
|
2082
|
-
readonly deleted_at: Prisma.FieldRef<"PurchaseOrderItem", 'DateTime'>
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
// Custom InputTypes
|
|
2087
|
-
/**
|
|
2088
|
-
* PurchaseOrderItem findUnique
|
|
2089
|
-
*/
|
|
2090
|
-
export type PurchaseOrderItemFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2091
|
-
/**
|
|
2092
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2093
|
-
*/
|
|
2094
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2095
|
-
/**
|
|
2096
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2097
|
-
*/
|
|
2098
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2099
|
-
/**
|
|
2100
|
-
* Choose, which related nodes to fetch as well
|
|
2101
|
-
*/
|
|
2102
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2103
|
-
/**
|
|
2104
|
-
* Filter, which PurchaseOrderItem to fetch.
|
|
2105
|
-
*/
|
|
2106
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2107
|
-
}
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* PurchaseOrderItem findUniqueOrThrow
|
|
2111
|
-
*/
|
|
2112
|
-
export type PurchaseOrderItemFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2113
|
-
/**
|
|
2114
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2115
|
-
*/
|
|
2116
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2117
|
-
/**
|
|
2118
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2119
|
-
*/
|
|
2120
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2121
|
-
/**
|
|
2122
|
-
* Choose, which related nodes to fetch as well
|
|
2123
|
-
*/
|
|
2124
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2125
|
-
/**
|
|
2126
|
-
* Filter, which PurchaseOrderItem to fetch.
|
|
2127
|
-
*/
|
|
2128
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2129
|
-
}
|
|
2130
|
-
|
|
2131
|
-
/**
|
|
2132
|
-
* PurchaseOrderItem findFirst
|
|
2133
|
-
*/
|
|
2134
|
-
export type PurchaseOrderItemFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2135
|
-
/**
|
|
2136
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2137
|
-
*/
|
|
2138
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2139
|
-
/**
|
|
2140
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2141
|
-
*/
|
|
2142
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2143
|
-
/**
|
|
2144
|
-
* Choose, which related nodes to fetch as well
|
|
2145
|
-
*/
|
|
2146
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2147
|
-
/**
|
|
2148
|
-
* Filter, which PurchaseOrderItem to fetch.
|
|
2149
|
-
*/
|
|
2150
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2151
|
-
/**
|
|
2152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2153
|
-
*
|
|
2154
|
-
* Determine the order of PurchaseOrderItems to fetch.
|
|
2155
|
-
*/
|
|
2156
|
-
orderBy?: Prisma.PurchaseOrderItemOrderByWithRelationInput | Prisma.PurchaseOrderItemOrderByWithRelationInput[]
|
|
2157
|
-
/**
|
|
2158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2159
|
-
*
|
|
2160
|
-
* Sets the position for searching for PurchaseOrderItems.
|
|
2161
|
-
*/
|
|
2162
|
-
cursor?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2163
|
-
/**
|
|
2164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2165
|
-
*
|
|
2166
|
-
* Take `±n` PurchaseOrderItems from the position of the cursor.
|
|
2167
|
-
*/
|
|
2168
|
-
take?: number
|
|
2169
|
-
/**
|
|
2170
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2171
|
-
*
|
|
2172
|
-
* Skip the first `n` PurchaseOrderItems.
|
|
2173
|
-
*/
|
|
2174
|
-
skip?: number
|
|
2175
|
-
/**
|
|
2176
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2177
|
-
*
|
|
2178
|
-
* Filter by unique combinations of PurchaseOrderItems.
|
|
2179
|
-
*/
|
|
2180
|
-
distinct?: Prisma.PurchaseOrderItemScalarFieldEnum | Prisma.PurchaseOrderItemScalarFieldEnum[]
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
/**
|
|
2184
|
-
* PurchaseOrderItem findFirstOrThrow
|
|
2185
|
-
*/
|
|
2186
|
-
export type PurchaseOrderItemFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2187
|
-
/**
|
|
2188
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2189
|
-
*/
|
|
2190
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2191
|
-
/**
|
|
2192
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2193
|
-
*/
|
|
2194
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2195
|
-
/**
|
|
2196
|
-
* Choose, which related nodes to fetch as well
|
|
2197
|
-
*/
|
|
2198
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2199
|
-
/**
|
|
2200
|
-
* Filter, which PurchaseOrderItem to fetch.
|
|
2201
|
-
*/
|
|
2202
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2203
|
-
/**
|
|
2204
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2205
|
-
*
|
|
2206
|
-
* Determine the order of PurchaseOrderItems to fetch.
|
|
2207
|
-
*/
|
|
2208
|
-
orderBy?: Prisma.PurchaseOrderItemOrderByWithRelationInput | Prisma.PurchaseOrderItemOrderByWithRelationInput[]
|
|
2209
|
-
/**
|
|
2210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2211
|
-
*
|
|
2212
|
-
* Sets the position for searching for PurchaseOrderItems.
|
|
2213
|
-
*/
|
|
2214
|
-
cursor?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2215
|
-
/**
|
|
2216
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2217
|
-
*
|
|
2218
|
-
* Take `±n` PurchaseOrderItems from the position of the cursor.
|
|
2219
|
-
*/
|
|
2220
|
-
take?: number
|
|
2221
|
-
/**
|
|
2222
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2223
|
-
*
|
|
2224
|
-
* Skip the first `n` PurchaseOrderItems.
|
|
2225
|
-
*/
|
|
2226
|
-
skip?: number
|
|
2227
|
-
/**
|
|
2228
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2229
|
-
*
|
|
2230
|
-
* Filter by unique combinations of PurchaseOrderItems.
|
|
2231
|
-
*/
|
|
2232
|
-
distinct?: Prisma.PurchaseOrderItemScalarFieldEnum | Prisma.PurchaseOrderItemScalarFieldEnum[]
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
|
-
/**
|
|
2236
|
-
* PurchaseOrderItem findMany
|
|
2237
|
-
*/
|
|
2238
|
-
export type PurchaseOrderItemFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2239
|
-
/**
|
|
2240
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2241
|
-
*/
|
|
2242
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2243
|
-
/**
|
|
2244
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2245
|
-
*/
|
|
2246
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2247
|
-
/**
|
|
2248
|
-
* Choose, which related nodes to fetch as well
|
|
2249
|
-
*/
|
|
2250
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2251
|
-
/**
|
|
2252
|
-
* Filter, which PurchaseOrderItems to fetch.
|
|
2253
|
-
*/
|
|
2254
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2255
|
-
/**
|
|
2256
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2257
|
-
*
|
|
2258
|
-
* Determine the order of PurchaseOrderItems to fetch.
|
|
2259
|
-
*/
|
|
2260
|
-
orderBy?: Prisma.PurchaseOrderItemOrderByWithRelationInput | Prisma.PurchaseOrderItemOrderByWithRelationInput[]
|
|
2261
|
-
/**
|
|
2262
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2263
|
-
*
|
|
2264
|
-
* Sets the position for listing PurchaseOrderItems.
|
|
2265
|
-
*/
|
|
2266
|
-
cursor?: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2267
|
-
/**
|
|
2268
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2269
|
-
*
|
|
2270
|
-
* Take `±n` PurchaseOrderItems from the position of the cursor.
|
|
2271
|
-
*/
|
|
2272
|
-
take?: number
|
|
2273
|
-
/**
|
|
2274
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2275
|
-
*
|
|
2276
|
-
* Skip the first `n` PurchaseOrderItems.
|
|
2277
|
-
*/
|
|
2278
|
-
skip?: number
|
|
2279
|
-
/**
|
|
2280
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2281
|
-
*
|
|
2282
|
-
* Filter by unique combinations of PurchaseOrderItems.
|
|
2283
|
-
*/
|
|
2284
|
-
distinct?: Prisma.PurchaseOrderItemScalarFieldEnum | Prisma.PurchaseOrderItemScalarFieldEnum[]
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
/**
|
|
2288
|
-
* PurchaseOrderItem create
|
|
2289
|
-
*/
|
|
2290
|
-
export type PurchaseOrderItemCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2291
|
-
/**
|
|
2292
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2293
|
-
*/
|
|
2294
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2295
|
-
/**
|
|
2296
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2297
|
-
*/
|
|
2298
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2299
|
-
/**
|
|
2300
|
-
* Choose, which related nodes to fetch as well
|
|
2301
|
-
*/
|
|
2302
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2303
|
-
/**
|
|
2304
|
-
* The data needed to create a PurchaseOrderItem.
|
|
2305
|
-
*/
|
|
2306
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemCreateInput, Prisma.PurchaseOrderItemUncheckedCreateInput>
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
/**
|
|
2310
|
-
* PurchaseOrderItem createMany
|
|
2311
|
-
*/
|
|
2312
|
-
export type PurchaseOrderItemCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2313
|
-
/**
|
|
2314
|
-
* The data used to create many PurchaseOrderItems.
|
|
2315
|
-
*/
|
|
2316
|
-
data: Prisma.PurchaseOrderItemCreateManyInput | Prisma.PurchaseOrderItemCreateManyInput[]
|
|
2317
|
-
skipDuplicates?: boolean
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
/**
|
|
2321
|
-
* PurchaseOrderItem createManyAndReturn
|
|
2322
|
-
*/
|
|
2323
|
-
export type PurchaseOrderItemCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2324
|
-
/**
|
|
2325
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2326
|
-
*/
|
|
2327
|
-
select?: Prisma.PurchaseOrderItemSelectCreateManyAndReturn<ExtArgs> | null
|
|
2328
|
-
/**
|
|
2329
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2330
|
-
*/
|
|
2331
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2332
|
-
/**
|
|
2333
|
-
* The data used to create many PurchaseOrderItems.
|
|
2334
|
-
*/
|
|
2335
|
-
data: Prisma.PurchaseOrderItemCreateManyInput | Prisma.PurchaseOrderItemCreateManyInput[]
|
|
2336
|
-
skipDuplicates?: boolean
|
|
2337
|
-
/**
|
|
2338
|
-
* Choose, which related nodes to fetch as well
|
|
2339
|
-
*/
|
|
2340
|
-
include?: Prisma.PurchaseOrderItemIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2341
|
-
}
|
|
2342
|
-
|
|
2343
|
-
/**
|
|
2344
|
-
* PurchaseOrderItem update
|
|
2345
|
-
*/
|
|
2346
|
-
export type PurchaseOrderItemUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2347
|
-
/**
|
|
2348
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2349
|
-
*/
|
|
2350
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2351
|
-
/**
|
|
2352
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2353
|
-
*/
|
|
2354
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2355
|
-
/**
|
|
2356
|
-
* Choose, which related nodes to fetch as well
|
|
2357
|
-
*/
|
|
2358
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2359
|
-
/**
|
|
2360
|
-
* The data needed to update a PurchaseOrderItem.
|
|
2361
|
-
*/
|
|
2362
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateInput, Prisma.PurchaseOrderItemUncheckedUpdateInput>
|
|
2363
|
-
/**
|
|
2364
|
-
* Choose, which PurchaseOrderItem to update.
|
|
2365
|
-
*/
|
|
2366
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2367
|
-
}
|
|
2368
|
-
|
|
2369
|
-
/**
|
|
2370
|
-
* PurchaseOrderItem updateMany
|
|
2371
|
-
*/
|
|
2372
|
-
export type PurchaseOrderItemUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2373
|
-
/**
|
|
2374
|
-
* The data used to update PurchaseOrderItems.
|
|
2375
|
-
*/
|
|
2376
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyInput>
|
|
2377
|
-
/**
|
|
2378
|
-
* Filter which PurchaseOrderItems to update
|
|
2379
|
-
*/
|
|
2380
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2381
|
-
/**
|
|
2382
|
-
* Limit how many PurchaseOrderItems to update.
|
|
2383
|
-
*/
|
|
2384
|
-
limit?: number
|
|
2385
|
-
}
|
|
2386
|
-
|
|
2387
|
-
/**
|
|
2388
|
-
* PurchaseOrderItem updateManyAndReturn
|
|
2389
|
-
*/
|
|
2390
|
-
export type PurchaseOrderItemUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2391
|
-
/**
|
|
2392
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2393
|
-
*/
|
|
2394
|
-
select?: Prisma.PurchaseOrderItemSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2395
|
-
/**
|
|
2396
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2397
|
-
*/
|
|
2398
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2399
|
-
/**
|
|
2400
|
-
* The data used to update PurchaseOrderItems.
|
|
2401
|
-
*/
|
|
2402
|
-
data: Prisma.XOR<Prisma.PurchaseOrderItemUpdateManyMutationInput, Prisma.PurchaseOrderItemUncheckedUpdateManyInput>
|
|
2403
|
-
/**
|
|
2404
|
-
* Filter which PurchaseOrderItems to update
|
|
2405
|
-
*/
|
|
2406
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2407
|
-
/**
|
|
2408
|
-
* Limit how many PurchaseOrderItems to update.
|
|
2409
|
-
*/
|
|
2410
|
-
limit?: number
|
|
2411
|
-
/**
|
|
2412
|
-
* Choose, which related nodes to fetch as well
|
|
2413
|
-
*/
|
|
2414
|
-
include?: Prisma.PurchaseOrderItemIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2415
|
-
}
|
|
2416
|
-
|
|
2417
|
-
/**
|
|
2418
|
-
* PurchaseOrderItem upsert
|
|
2419
|
-
*/
|
|
2420
|
-
export type PurchaseOrderItemUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2421
|
-
/**
|
|
2422
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2423
|
-
*/
|
|
2424
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2425
|
-
/**
|
|
2426
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2427
|
-
*/
|
|
2428
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2429
|
-
/**
|
|
2430
|
-
* Choose, which related nodes to fetch as well
|
|
2431
|
-
*/
|
|
2432
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2433
|
-
/**
|
|
2434
|
-
* The filter to search for the PurchaseOrderItem to update in case it exists.
|
|
2435
|
-
*/
|
|
2436
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2437
|
-
/**
|
|
2438
|
-
* In case the PurchaseOrderItem found by the `where` argument doesn't exist, create a new PurchaseOrderItem with this data.
|
|
2439
|
-
*/
|
|
2440
|
-
create: Prisma.XOR<Prisma.PurchaseOrderItemCreateInput, Prisma.PurchaseOrderItemUncheckedCreateInput>
|
|
2441
|
-
/**
|
|
2442
|
-
* In case the PurchaseOrderItem was found with the provided `where` argument, update it with this data.
|
|
2443
|
-
*/
|
|
2444
|
-
update: Prisma.XOR<Prisma.PurchaseOrderItemUpdateInput, Prisma.PurchaseOrderItemUncheckedUpdateInput>
|
|
2445
|
-
}
|
|
2446
|
-
|
|
2447
|
-
/**
|
|
2448
|
-
* PurchaseOrderItem delete
|
|
2449
|
-
*/
|
|
2450
|
-
export type PurchaseOrderItemDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2451
|
-
/**
|
|
2452
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2453
|
-
*/
|
|
2454
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2455
|
-
/**
|
|
2456
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2457
|
-
*/
|
|
2458
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2459
|
-
/**
|
|
2460
|
-
* Choose, which related nodes to fetch as well
|
|
2461
|
-
*/
|
|
2462
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2463
|
-
/**
|
|
2464
|
-
* Filter which PurchaseOrderItem to delete.
|
|
2465
|
-
*/
|
|
2466
|
-
where: Prisma.PurchaseOrderItemWhereUniqueInput
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
/**
|
|
2470
|
-
* PurchaseOrderItem deleteMany
|
|
2471
|
-
*/
|
|
2472
|
-
export type PurchaseOrderItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2473
|
-
/**
|
|
2474
|
-
* Filter which PurchaseOrderItems to delete
|
|
2475
|
-
*/
|
|
2476
|
-
where?: Prisma.PurchaseOrderItemWhereInput
|
|
2477
|
-
/**
|
|
2478
|
-
* Limit how many PurchaseOrderItems to delete.
|
|
2479
|
-
*/
|
|
2480
|
-
limit?: number
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
/**
|
|
2484
|
-
* PurchaseOrderItem.purchase_order
|
|
2485
|
-
*/
|
|
2486
|
-
export type PurchaseOrderItem$purchase_orderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2487
|
-
/**
|
|
2488
|
-
* Select specific fields to fetch from the PurchaseOrder
|
|
2489
|
-
*/
|
|
2490
|
-
select?: Prisma.PurchaseOrderSelect<ExtArgs> | null
|
|
2491
|
-
/**
|
|
2492
|
-
* Omit specific fields from the PurchaseOrder
|
|
2493
|
-
*/
|
|
2494
|
-
omit?: Prisma.PurchaseOrderOmit<ExtArgs> | null
|
|
2495
|
-
/**
|
|
2496
|
-
* Choose, which related nodes to fetch as well
|
|
2497
|
-
*/
|
|
2498
|
-
include?: Prisma.PurchaseOrderInclude<ExtArgs> | null
|
|
2499
|
-
where?: Prisma.PurchaseOrderWhereInput
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
/**
|
|
2503
|
-
* PurchaseOrderItem.purchase_request
|
|
2504
|
-
*/
|
|
2505
|
-
export type PurchaseOrderItem$purchase_requestArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2506
|
-
/**
|
|
2507
|
-
* Select specific fields to fetch from the PurchaseIntake
|
|
2508
|
-
*/
|
|
2509
|
-
select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
|
|
2510
|
-
/**
|
|
2511
|
-
* Omit specific fields from the PurchaseIntake
|
|
2512
|
-
*/
|
|
2513
|
-
omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
|
|
2514
|
-
/**
|
|
2515
|
-
* Choose, which related nodes to fetch as well
|
|
2516
|
-
*/
|
|
2517
|
-
include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
|
|
2518
|
-
where?: Prisma.PurchaseIntakeWhereInput
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
/**
|
|
2522
|
-
* PurchaseOrderItem.item
|
|
2523
|
-
*/
|
|
2524
|
-
export type PurchaseOrderItem$itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2525
|
-
/**
|
|
2526
|
-
* Select specific fields to fetch from the Item
|
|
2527
|
-
*/
|
|
2528
|
-
select?: Prisma.ItemSelect<ExtArgs> | null
|
|
2529
|
-
/**
|
|
2530
|
-
* Omit specific fields from the Item
|
|
2531
|
-
*/
|
|
2532
|
-
omit?: Prisma.ItemOmit<ExtArgs> | null
|
|
2533
|
-
/**
|
|
2534
|
-
* Choose, which related nodes to fetch as well
|
|
2535
|
-
*/
|
|
2536
|
-
include?: Prisma.ItemInclude<ExtArgs> | null
|
|
2537
|
-
where?: Prisma.ItemWhereInput
|
|
2538
|
-
}
|
|
2539
|
-
|
|
2540
|
-
/**
|
|
2541
|
-
* PurchaseOrderItem.boq_event_item
|
|
2542
|
-
*/
|
|
2543
|
-
export type PurchaseOrderItem$boq_event_itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2544
|
-
/**
|
|
2545
|
-
* Select specific fields to fetch from the BoqEventItem
|
|
2546
|
-
*/
|
|
2547
|
-
select?: Prisma.BoqEventItemSelect<ExtArgs> | null
|
|
2548
|
-
/**
|
|
2549
|
-
* Omit specific fields from the BoqEventItem
|
|
2550
|
-
*/
|
|
2551
|
-
omit?: Prisma.BoqEventItemOmit<ExtArgs> | null
|
|
2552
|
-
/**
|
|
2553
|
-
* Choose, which related nodes to fetch as well
|
|
2554
|
-
*/
|
|
2555
|
-
include?: Prisma.BoqEventItemInclude<ExtArgs> | null
|
|
2556
|
-
where?: Prisma.BoqEventItemWhereInput
|
|
2557
|
-
}
|
|
2558
|
-
|
|
2559
|
-
/**
|
|
2560
|
-
* PurchaseOrderItem.grn_items
|
|
2561
|
-
*/
|
|
2562
|
-
export type PurchaseOrderItem$grn_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2563
|
-
/**
|
|
2564
|
-
* Select specific fields to fetch from the GRNItem
|
|
2565
|
-
*/
|
|
2566
|
-
select?: Prisma.GRNItemSelect<ExtArgs> | null
|
|
2567
|
-
/**
|
|
2568
|
-
* Omit specific fields from the GRNItem
|
|
2569
|
-
*/
|
|
2570
|
-
omit?: Prisma.GRNItemOmit<ExtArgs> | null
|
|
2571
|
-
/**
|
|
2572
|
-
* Choose, which related nodes to fetch as well
|
|
2573
|
-
*/
|
|
2574
|
-
include?: Prisma.GRNItemInclude<ExtArgs> | null
|
|
2575
|
-
where?: Prisma.GRNItemWhereInput
|
|
2576
|
-
orderBy?: Prisma.GRNItemOrderByWithRelationInput | Prisma.GRNItemOrderByWithRelationInput[]
|
|
2577
|
-
cursor?: Prisma.GRNItemWhereUniqueInput
|
|
2578
|
-
take?: number
|
|
2579
|
-
skip?: number
|
|
2580
|
-
distinct?: Prisma.GRNItemScalarFieldEnum | Prisma.GRNItemScalarFieldEnum[]
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
|
-
/**
|
|
2584
|
-
* PurchaseOrderItem.invoice_items
|
|
2585
|
-
*/
|
|
2586
|
-
export type PurchaseOrderItem$invoice_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2587
|
-
/**
|
|
2588
|
-
* Select specific fields to fetch from the InvoiceItem
|
|
2589
|
-
*/
|
|
2590
|
-
select?: Prisma.InvoiceItemSelect<ExtArgs> | null
|
|
2591
|
-
/**
|
|
2592
|
-
* Omit specific fields from the InvoiceItem
|
|
2593
|
-
*/
|
|
2594
|
-
omit?: Prisma.InvoiceItemOmit<ExtArgs> | null
|
|
2595
|
-
/**
|
|
2596
|
-
* Choose, which related nodes to fetch as well
|
|
2597
|
-
*/
|
|
2598
|
-
include?: Prisma.InvoiceItemInclude<ExtArgs> | null
|
|
2599
|
-
where?: Prisma.InvoiceItemWhereInput
|
|
2600
|
-
orderBy?: Prisma.InvoiceItemOrderByWithRelationInput | Prisma.InvoiceItemOrderByWithRelationInput[]
|
|
2601
|
-
cursor?: Prisma.InvoiceItemWhereUniqueInput
|
|
2602
|
-
take?: number
|
|
2603
|
-
skip?: number
|
|
2604
|
-
distinct?: Prisma.InvoiceItemScalarFieldEnum | Prisma.InvoiceItemScalarFieldEnum[]
|
|
2605
|
-
}
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* PurchaseOrderItem without action
|
|
2609
|
-
*/
|
|
2610
|
-
export type PurchaseOrderItemDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2611
|
-
/**
|
|
2612
|
-
* Select specific fields to fetch from the PurchaseOrderItem
|
|
2613
|
-
*/
|
|
2614
|
-
select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
|
|
2615
|
-
/**
|
|
2616
|
-
* Omit specific fields from the PurchaseOrderItem
|
|
2617
|
-
*/
|
|
2618
|
-
omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
|
|
2619
|
-
/**
|
|
2620
|
-
* Choose, which related nodes to fetch as well
|
|
2621
|
-
*/
|
|
2622
|
-
include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
|
|
2623
|
-
}
|