procbay-schema 1.0.171 → 1.0.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/package.json +13 -22
  2. package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
  3. package/prisma/schema.prisma +17 -7
  4. package/scripts/sync-schemas.js +1 -5
  5. package/src/create-prisma-client.js +9 -49
  6. package/src/prisma/client.d.ts +1 -0
  7. package/src/prisma/client.js +4 -0
  8. package/src/prisma/default.d.ts +1 -0
  9. package/src/prisma/default.js +4 -0
  10. package/src/prisma/edge.d.ts +1 -0
  11. package/src/prisma/edge.js +2911 -0
  12. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
  13. package/src/prisma/index.d.ts +286785 -0
  14. package/src/prisma/index.js +2940 -2
  15. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  16. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  17. package/src/prisma/package.json +140 -0
  18. package/src/prisma/query_engine-windows.dll.node +0 -0
  19. package/src/prisma/runtime/edge-esm.js +34 -0
  20. package/src/prisma/runtime/edge.js +34 -0
  21. package/src/prisma/runtime/index-browser.d.ts +370 -0
  22. package/src/prisma/runtime/index-browser.js +16 -0
  23. package/src/prisma/runtime/library.d.ts +3647 -0
  24. package/src/prisma/runtime/library.js +146 -0
  25. package/src/prisma/runtime/react-native.js +83 -0
  26. package/src/prisma/runtime/wasm.js +35 -0
  27. package/src/prisma/schema.prisma +3831 -0
  28. package/src/prisma/wasm.d.ts +1 -0
  29. package/src/prisma/wasm.js +2873 -0
  30. package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
  31. package/prisma.config.js +0 -19
  32. package/src/generated/prisma/browser.ts +0 -574
  33. package/src/generated/prisma/client.bundle.mjs +0 -6733
  34. package/src/generated/prisma/client.ts +0 -598
  35. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  36. package/src/generated/prisma/enums.ts +0 -730
  37. package/src/generated/prisma/internal/class.ts +0 -1304
  38. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  39. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  40. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  41. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  42. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  43. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  44. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  45. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  46. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  47. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  48. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  49. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  50. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  51. package/src/generated/prisma/models/Attribute.ts +0 -2075
  52. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  53. package/src/generated/prisma/models/Bid.ts +0 -2719
  54. package/src/generated/prisma/models/BidLog.ts +0 -3560
  55. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  56. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  57. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  58. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  59. package/src/generated/prisma/models/Budget.ts +0 -1954
  60. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  61. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  62. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  63. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  64. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  65. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  66. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  67. package/src/generated/prisma/models/Category.ts +0 -3091
  68. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  69. package/src/generated/prisma/models/City.ts +0 -2180
  70. package/src/generated/prisma/models/Cms.ts +0 -1492
  71. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  72. package/src/generated/prisma/models/Conversation.ts +0 -2389
  73. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  74. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  75. package/src/generated/prisma/models/Country.ts +0 -3394
  76. package/src/generated/prisma/models/Currency.ts +0 -1642
  77. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  78. package/src/generated/prisma/models/Department.ts +0 -2372
  79. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  80. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  81. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  82. package/src/generated/prisma/models/Event.ts +0 -6819
  83. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  84. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  85. package/src/generated/prisma/models/EventItems.ts +0 -2821
  86. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  87. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  88. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  89. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  90. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  91. package/src/generated/prisma/models/Expense.ts +0 -1625
  92. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  93. package/src/generated/prisma/models/Faq.ts +0 -1753
  94. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  95. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  96. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  97. package/src/generated/prisma/models/GRN.ts +0 -3354
  98. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  99. package/src/generated/prisma/models/Industry.ts +0 -1642
  100. package/src/generated/prisma/models/Invoice.ts +0 -2949
  101. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  102. package/src/generated/prisma/models/Item.ts +0 -10644
  103. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  104. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  105. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  106. package/src/generated/prisma/models/Location.ts +0 -2711
  107. package/src/generated/prisma/models/Message.ts +0 -2744
  108. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  109. package/src/generated/prisma/models/Module.ts +0 -1630
  110. package/src/generated/prisma/models/Permission.ts +0 -1640
  111. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  112. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  113. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  114. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  115. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  116. package/src/generated/prisma/models/Quotation.ts +0 -3207
  117. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  118. package/src/generated/prisma/models/Region.ts +0 -1746
  119. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  120. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  121. package/src/generated/prisma/models/Role.ts +0 -1907
  122. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  123. package/src/generated/prisma/models/SendBack.ts +0 -1830
  124. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  125. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  126. package/src/generated/prisma/models/State.ts +0 -2174
  127. package/src/generated/prisma/models/Strategies.ts +0 -1791
  128. package/src/generated/prisma/models/SubModule.ts +0 -1450
  129. package/src/generated/prisma/models/Subregion.ts +0 -1870
  130. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  131. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  132. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  133. package/src/generated/prisma/models/Template.ts +0 -2429
  134. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  135. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  136. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  137. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  138. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  139. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  140. package/src/generated/prisma/models/Uom.ts +0 -1752
  141. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  142. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  143. package/src/generated/prisma/models/User.ts +0 -19397
  144. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  145. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  146. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  147. package/src/generated/prisma/models/UserRole.ts +0 -1696
  148. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  149. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  150. package/src/generated/prisma/models.ts +0 -122
@@ -1,4672 +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 `PurchaseIntake` 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 PurchaseIntake
17
- *
18
- */
19
- export type PurchaseIntakeModel = runtime.Types.Result.DefaultSelection<Prisma.$PurchaseIntakePayload>
20
-
21
- export type AggregatePurchaseIntake = {
22
- _count: PurchaseIntakeCountAggregateOutputType | null
23
- _avg: PurchaseIntakeAvgAggregateOutputType | null
24
- _sum: PurchaseIntakeSumAggregateOutputType | null
25
- _min: PurchaseIntakeMinAggregateOutputType | null
26
- _max: PurchaseIntakeMaxAggregateOutputType | null
27
- }
28
-
29
- export type PurchaseIntakeAvgAggregateOutputType = {
30
- id: number | null
31
- requestor_id: number | null
32
- estimated_budget: number | null
33
- send_back_count: number | null
34
- created_by: number | null
35
- updated_by: number | null
36
- deleted_by: number | null
37
- initiated_by: number | null
38
- business_entity_id: number | null
39
- }
40
-
41
- export type PurchaseIntakeSumAggregateOutputType = {
42
- id: number | null
43
- requestor_id: number | null
44
- estimated_budget: number | null
45
- send_back_count: number | null
46
- created_by: number | null
47
- updated_by: number | null
48
- deleted_by: number | null
49
- initiated_by: number | null
50
- business_entity_id: number | null
51
- }
52
-
53
- export type PurchaseIntakeMinAggregateOutputType = {
54
- id: number | null
55
- uuid: string | null
56
- pi_number: string | null
57
- pr_number: string | null
58
- requestor_id: number | null
59
- type: $Enums.PurchaseIntakeTypeEnum | null
60
- department: string | null
61
- request_date: Date | null
62
- items_or_services_description: string | null
63
- priority: $Enums.PurchaseIntakePriorityEnum | null
64
- estimated_budget: number | null
65
- status: $Enums.PurchaseIntakeStatusEnum | null
66
- pr_status: $Enums.PurchaseRequestStatusEnum | null
67
- reject_reason: string | null
68
- pr_reject_reason: string | null
69
- send_back_count: number | null
70
- is_active: boolean | null
71
- created_at: Date | null
72
- created_by: number | null
73
- updated_by: number | null
74
- updated_at: Date | null
75
- is_deleted: boolean | null
76
- delete_reason: string | null
77
- deleted_at: Date | null
78
- deleted_by: number | null
79
- initiated_by: number | null
80
- business_entity_id: number | null
81
- }
82
-
83
- export type PurchaseIntakeMaxAggregateOutputType = {
84
- id: number | null
85
- uuid: string | null
86
- pi_number: string | null
87
- pr_number: string | null
88
- requestor_id: number | null
89
- type: $Enums.PurchaseIntakeTypeEnum | null
90
- department: string | null
91
- request_date: Date | null
92
- items_or_services_description: string | null
93
- priority: $Enums.PurchaseIntakePriorityEnum | null
94
- estimated_budget: number | null
95
- status: $Enums.PurchaseIntakeStatusEnum | null
96
- pr_status: $Enums.PurchaseRequestStatusEnum | null
97
- reject_reason: string | null
98
- pr_reject_reason: string | null
99
- send_back_count: number | null
100
- is_active: boolean | null
101
- created_at: Date | null
102
- created_by: number | null
103
- updated_by: number | null
104
- updated_at: Date | null
105
- is_deleted: boolean | null
106
- delete_reason: string | null
107
- deleted_at: Date | null
108
- deleted_by: number | null
109
- initiated_by: number | null
110
- business_entity_id: number | null
111
- }
112
-
113
- export type PurchaseIntakeCountAggregateOutputType = {
114
- id: number
115
- uuid: number
116
- pi_number: number
117
- pr_number: number
118
- requestor_id: number
119
- type: number
120
- department: number
121
- request_date: number
122
- items_or_services_description: number
123
- priority: number
124
- estimated_budget: number
125
- status: number
126
- pr_status: number
127
- reject_reason: number
128
- pr_reject_reason: number
129
- attachments: number
130
- if_yes_attach_quotations: number
131
- others: number
132
- send_back_count: number
133
- is_active: number
134
- created_at: number
135
- created_by: number
136
- updated_by: number
137
- updated_at: number
138
- is_deleted: number
139
- delete_reason: number
140
- deleted_at: number
141
- deleted_by: number
142
- initiated_by: number
143
- business_entity_id: number
144
- _all: number
145
- }
146
-
147
-
148
- export type PurchaseIntakeAvgAggregateInputType = {
149
- id?: true
150
- requestor_id?: true
151
- estimated_budget?: true
152
- send_back_count?: true
153
- created_by?: true
154
- updated_by?: true
155
- deleted_by?: true
156
- initiated_by?: true
157
- business_entity_id?: true
158
- }
159
-
160
- export type PurchaseIntakeSumAggregateInputType = {
161
- id?: true
162
- requestor_id?: true
163
- estimated_budget?: true
164
- send_back_count?: true
165
- created_by?: true
166
- updated_by?: true
167
- deleted_by?: true
168
- initiated_by?: true
169
- business_entity_id?: true
170
- }
171
-
172
- export type PurchaseIntakeMinAggregateInputType = {
173
- id?: true
174
- uuid?: true
175
- pi_number?: true
176
- pr_number?: true
177
- requestor_id?: true
178
- type?: true
179
- department?: true
180
- request_date?: true
181
- items_or_services_description?: true
182
- priority?: true
183
- estimated_budget?: true
184
- status?: true
185
- pr_status?: true
186
- reject_reason?: true
187
- pr_reject_reason?: true
188
- send_back_count?: true
189
- is_active?: true
190
- created_at?: true
191
- created_by?: true
192
- updated_by?: true
193
- updated_at?: true
194
- is_deleted?: true
195
- delete_reason?: true
196
- deleted_at?: true
197
- deleted_by?: true
198
- initiated_by?: true
199
- business_entity_id?: true
200
- }
201
-
202
- export type PurchaseIntakeMaxAggregateInputType = {
203
- id?: true
204
- uuid?: true
205
- pi_number?: true
206
- pr_number?: true
207
- requestor_id?: true
208
- type?: true
209
- department?: true
210
- request_date?: true
211
- items_or_services_description?: true
212
- priority?: true
213
- estimated_budget?: true
214
- status?: true
215
- pr_status?: true
216
- reject_reason?: true
217
- pr_reject_reason?: true
218
- send_back_count?: true
219
- is_active?: true
220
- created_at?: true
221
- created_by?: true
222
- updated_by?: true
223
- updated_at?: true
224
- is_deleted?: true
225
- delete_reason?: true
226
- deleted_at?: true
227
- deleted_by?: true
228
- initiated_by?: true
229
- business_entity_id?: true
230
- }
231
-
232
- export type PurchaseIntakeCountAggregateInputType = {
233
- id?: true
234
- uuid?: true
235
- pi_number?: true
236
- pr_number?: true
237
- requestor_id?: true
238
- type?: true
239
- department?: true
240
- request_date?: true
241
- items_or_services_description?: true
242
- priority?: true
243
- estimated_budget?: true
244
- status?: true
245
- pr_status?: true
246
- reject_reason?: true
247
- pr_reject_reason?: true
248
- attachments?: true
249
- if_yes_attach_quotations?: true
250
- others?: true
251
- send_back_count?: true
252
- is_active?: true
253
- created_at?: true
254
- created_by?: true
255
- updated_by?: true
256
- updated_at?: true
257
- is_deleted?: true
258
- delete_reason?: true
259
- deleted_at?: true
260
- deleted_by?: true
261
- initiated_by?: true
262
- business_entity_id?: true
263
- _all?: true
264
- }
265
-
266
- export type PurchaseIntakeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
267
- /**
268
- * Filter which PurchaseIntake to aggregate.
269
- */
270
- where?: Prisma.PurchaseIntakeWhereInput
271
- /**
272
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
273
- *
274
- * Determine the order of PurchaseIntakes to fetch.
275
- */
276
- orderBy?: Prisma.PurchaseIntakeOrderByWithRelationInput | Prisma.PurchaseIntakeOrderByWithRelationInput[]
277
- /**
278
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
279
- *
280
- * Sets the start position
281
- */
282
- cursor?: Prisma.PurchaseIntakeWhereUniqueInput
283
- /**
284
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
285
- *
286
- * Take `±n` PurchaseIntakes from the position of the cursor.
287
- */
288
- take?: number
289
- /**
290
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
291
- *
292
- * Skip the first `n` PurchaseIntakes.
293
- */
294
- skip?: number
295
- /**
296
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
297
- *
298
- * Count returned PurchaseIntakes
299
- **/
300
- _count?: true | PurchaseIntakeCountAggregateInputType
301
- /**
302
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
303
- *
304
- * Select which fields to average
305
- **/
306
- _avg?: PurchaseIntakeAvgAggregateInputType
307
- /**
308
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
309
- *
310
- * Select which fields to sum
311
- **/
312
- _sum?: PurchaseIntakeSumAggregateInputType
313
- /**
314
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
315
- *
316
- * Select which fields to find the minimum value
317
- **/
318
- _min?: PurchaseIntakeMinAggregateInputType
319
- /**
320
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
321
- *
322
- * Select which fields to find the maximum value
323
- **/
324
- _max?: PurchaseIntakeMaxAggregateInputType
325
- }
326
-
327
- export type GetPurchaseIntakeAggregateType<T extends PurchaseIntakeAggregateArgs> = {
328
- [P in keyof T & keyof AggregatePurchaseIntake]: P extends '_count' | 'count'
329
- ? T[P] extends true
330
- ? number
331
- : Prisma.GetScalarType<T[P], AggregatePurchaseIntake[P]>
332
- : Prisma.GetScalarType<T[P], AggregatePurchaseIntake[P]>
333
- }
334
-
335
-
336
-
337
-
338
- export type PurchaseIntakeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
339
- where?: Prisma.PurchaseIntakeWhereInput
340
- orderBy?: Prisma.PurchaseIntakeOrderByWithAggregationInput | Prisma.PurchaseIntakeOrderByWithAggregationInput[]
341
- by: Prisma.PurchaseIntakeScalarFieldEnum[] | Prisma.PurchaseIntakeScalarFieldEnum
342
- having?: Prisma.PurchaseIntakeScalarWhereWithAggregatesInput
343
- take?: number
344
- skip?: number
345
- _count?: PurchaseIntakeCountAggregateInputType | true
346
- _avg?: PurchaseIntakeAvgAggregateInputType
347
- _sum?: PurchaseIntakeSumAggregateInputType
348
- _min?: PurchaseIntakeMinAggregateInputType
349
- _max?: PurchaseIntakeMaxAggregateInputType
350
- }
351
-
352
- export type PurchaseIntakeGroupByOutputType = {
353
- id: number
354
- uuid: string | null
355
- pi_number: string | null
356
- pr_number: string | null
357
- requestor_id: number | null
358
- type: $Enums.PurchaseIntakeTypeEnum
359
- department: string | null
360
- request_date: Date | null
361
- items_or_services_description: string | null
362
- priority: $Enums.PurchaseIntakePriorityEnum
363
- estimated_budget: number | null
364
- status: $Enums.PurchaseIntakeStatusEnum
365
- pr_status: $Enums.PurchaseRequestStatusEnum
366
- reject_reason: string | null
367
- pr_reject_reason: string | null
368
- attachments: runtime.JsonValue | null
369
- if_yes_attach_quotations: runtime.JsonValue | null
370
- others: runtime.JsonValue | null
371
- send_back_count: number | null
372
- is_active: boolean
373
- created_at: Date
374
- created_by: number | null
375
- updated_by: number | null
376
- updated_at: Date | null
377
- is_deleted: boolean
378
- delete_reason: string | null
379
- deleted_at: Date | null
380
- deleted_by: number | null
381
- initiated_by: number | null
382
- business_entity_id: number | null
383
- _count: PurchaseIntakeCountAggregateOutputType | null
384
- _avg: PurchaseIntakeAvgAggregateOutputType | null
385
- _sum: PurchaseIntakeSumAggregateOutputType | null
386
- _min: PurchaseIntakeMinAggregateOutputType | null
387
- _max: PurchaseIntakeMaxAggregateOutputType | null
388
- }
389
-
390
- export type GetPurchaseIntakeGroupByPayload<T extends PurchaseIntakeGroupByArgs> = Prisma.PrismaPromise<
391
- Array<
392
- Prisma.PickEnumerable<PurchaseIntakeGroupByOutputType, T['by']> &
393
- {
394
- [P in ((keyof T) & (keyof PurchaseIntakeGroupByOutputType))]: P extends '_count'
395
- ? T[P] extends boolean
396
- ? number
397
- : Prisma.GetScalarType<T[P], PurchaseIntakeGroupByOutputType[P]>
398
- : Prisma.GetScalarType<T[P], PurchaseIntakeGroupByOutputType[P]>
399
- }
400
- >
401
- >
402
-
403
-
404
-
405
- export type PurchaseIntakeWhereInput = {
406
- AND?: Prisma.PurchaseIntakeWhereInput | Prisma.PurchaseIntakeWhereInput[]
407
- OR?: Prisma.PurchaseIntakeWhereInput[]
408
- NOT?: Prisma.PurchaseIntakeWhereInput | Prisma.PurchaseIntakeWhereInput[]
409
- id?: Prisma.IntFilter<"PurchaseIntake"> | number
410
- uuid?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
411
- pi_number?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
412
- pr_number?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
413
- requestor_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
414
- type?: Prisma.EnumPurchaseIntakeTypeEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeTypeEnum
415
- department?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
416
- request_date?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
417
- items_or_services_description?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
418
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakePriorityEnum
419
- estimated_budget?: Prisma.FloatNullableFilter<"PurchaseIntake"> | number | null
420
- status?: Prisma.EnumPurchaseIntakeStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeStatusEnum
421
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseRequestStatusEnum
422
- reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
423
- pr_reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
424
- attachments?: Prisma.JsonNullableFilter<"PurchaseIntake">
425
- if_yes_attach_quotations?: Prisma.JsonNullableFilter<"PurchaseIntake">
426
- others?: Prisma.JsonNullableFilter<"PurchaseIntake">
427
- send_back_count?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
428
- is_active?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
429
- created_at?: Prisma.DateTimeFilter<"PurchaseIntake"> | Date | string
430
- created_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
431
- updated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
432
- updated_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
433
- is_deleted?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
434
- delete_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
435
- deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
436
- deleted_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
437
- initiated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
438
- business_entity_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
439
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
440
- deleted_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
441
- initiated_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
442
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
443
- purchase_intake_item?: Prisma.PurchaseIntakeItemListRelationFilter
444
- events?: Prisma.EventListRelationFilter
445
- event_items?: Prisma.EventItemsListRelationFilter
446
- purchase_order_items?: Prisma.PurchaseOrderItemListRelationFilter
447
- send_backs?: Prisma.SendBackListRelationFilter
448
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemListRelationFilter
449
- }
450
-
451
- export type PurchaseIntakeOrderByWithRelationInput = {
452
- id?: Prisma.SortOrder
453
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
454
- pi_number?: Prisma.SortOrderInput | Prisma.SortOrder
455
- pr_number?: Prisma.SortOrderInput | Prisma.SortOrder
456
- requestor_id?: Prisma.SortOrderInput | Prisma.SortOrder
457
- type?: Prisma.SortOrder
458
- department?: Prisma.SortOrderInput | Prisma.SortOrder
459
- request_date?: Prisma.SortOrderInput | Prisma.SortOrder
460
- items_or_services_description?: Prisma.SortOrderInput | Prisma.SortOrder
461
- priority?: Prisma.SortOrder
462
- estimated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
463
- status?: Prisma.SortOrder
464
- pr_status?: Prisma.SortOrder
465
- reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
466
- pr_reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
467
- attachments?: Prisma.SortOrderInput | Prisma.SortOrder
468
- if_yes_attach_quotations?: Prisma.SortOrderInput | Prisma.SortOrder
469
- others?: Prisma.SortOrderInput | Prisma.SortOrder
470
- send_back_count?: Prisma.SortOrderInput | Prisma.SortOrder
471
- is_active?: Prisma.SortOrder
472
- created_at?: Prisma.SortOrder
473
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
474
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
475
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
476
- is_deleted?: Prisma.SortOrder
477
- delete_reason?: Prisma.SortOrderInput | Prisma.SortOrder
478
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
479
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
480
- initiated_by?: Prisma.SortOrderInput | Prisma.SortOrder
481
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
482
- user?: Prisma.UserOrderByWithRelationInput
483
- deleted_by_user?: Prisma.UserOrderByWithRelationInput
484
- initiated_by_user?: Prisma.UserOrderByWithRelationInput
485
- business_entity?: Prisma.BusinessEntityOrderByWithRelationInput
486
- purchase_intake_item?: Prisma.PurchaseIntakeItemOrderByRelationAggregateInput
487
- events?: Prisma.EventOrderByRelationAggregateInput
488
- event_items?: Prisma.EventItemsOrderByRelationAggregateInput
489
- purchase_order_items?: Prisma.PurchaseOrderItemOrderByRelationAggregateInput
490
- send_backs?: Prisma.SendBackOrderByRelationAggregateInput
491
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemOrderByRelationAggregateInput
492
- }
493
-
494
- export type PurchaseIntakeWhereUniqueInput = Prisma.AtLeast<{
495
- id?: number
496
- uuid?: string
497
- pi_number?: string
498
- pr_number?: string
499
- AND?: Prisma.PurchaseIntakeWhereInput | Prisma.PurchaseIntakeWhereInput[]
500
- OR?: Prisma.PurchaseIntakeWhereInput[]
501
- NOT?: Prisma.PurchaseIntakeWhereInput | Prisma.PurchaseIntakeWhereInput[]
502
- requestor_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
503
- type?: Prisma.EnumPurchaseIntakeTypeEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeTypeEnum
504
- department?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
505
- request_date?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
506
- items_or_services_description?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
507
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakePriorityEnum
508
- estimated_budget?: Prisma.FloatNullableFilter<"PurchaseIntake"> | number | null
509
- status?: Prisma.EnumPurchaseIntakeStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeStatusEnum
510
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseRequestStatusEnum
511
- reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
512
- pr_reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
513
- attachments?: Prisma.JsonNullableFilter<"PurchaseIntake">
514
- if_yes_attach_quotations?: Prisma.JsonNullableFilter<"PurchaseIntake">
515
- others?: Prisma.JsonNullableFilter<"PurchaseIntake">
516
- send_back_count?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
517
- is_active?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
518
- created_at?: Prisma.DateTimeFilter<"PurchaseIntake"> | Date | string
519
- created_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
520
- updated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
521
- updated_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
522
- is_deleted?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
523
- delete_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
524
- deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
525
- deleted_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
526
- initiated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
527
- business_entity_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
528
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
529
- deleted_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
530
- initiated_by_user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
531
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
532
- purchase_intake_item?: Prisma.PurchaseIntakeItemListRelationFilter
533
- events?: Prisma.EventListRelationFilter
534
- event_items?: Prisma.EventItemsListRelationFilter
535
- purchase_order_items?: Prisma.PurchaseOrderItemListRelationFilter
536
- send_backs?: Prisma.SendBackListRelationFilter
537
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemListRelationFilter
538
- }, "id" | "uuid" | "pi_number" | "pr_number">
539
-
540
- export type PurchaseIntakeOrderByWithAggregationInput = {
541
- id?: Prisma.SortOrder
542
- uuid?: Prisma.SortOrderInput | Prisma.SortOrder
543
- pi_number?: Prisma.SortOrderInput | Prisma.SortOrder
544
- pr_number?: Prisma.SortOrderInput | Prisma.SortOrder
545
- requestor_id?: Prisma.SortOrderInput | Prisma.SortOrder
546
- type?: Prisma.SortOrder
547
- department?: Prisma.SortOrderInput | Prisma.SortOrder
548
- request_date?: Prisma.SortOrderInput | Prisma.SortOrder
549
- items_or_services_description?: Prisma.SortOrderInput | Prisma.SortOrder
550
- priority?: Prisma.SortOrder
551
- estimated_budget?: Prisma.SortOrderInput | Prisma.SortOrder
552
- status?: Prisma.SortOrder
553
- pr_status?: Prisma.SortOrder
554
- reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
555
- pr_reject_reason?: Prisma.SortOrderInput | Prisma.SortOrder
556
- attachments?: Prisma.SortOrderInput | Prisma.SortOrder
557
- if_yes_attach_quotations?: Prisma.SortOrderInput | Prisma.SortOrder
558
- others?: Prisma.SortOrderInput | Prisma.SortOrder
559
- send_back_count?: Prisma.SortOrderInput | Prisma.SortOrder
560
- is_active?: Prisma.SortOrder
561
- created_at?: Prisma.SortOrder
562
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
563
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
564
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
565
- is_deleted?: Prisma.SortOrder
566
- delete_reason?: Prisma.SortOrderInput | Prisma.SortOrder
567
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
568
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
569
- initiated_by?: Prisma.SortOrderInput | Prisma.SortOrder
570
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
571
- _count?: Prisma.PurchaseIntakeCountOrderByAggregateInput
572
- _avg?: Prisma.PurchaseIntakeAvgOrderByAggregateInput
573
- _max?: Prisma.PurchaseIntakeMaxOrderByAggregateInput
574
- _min?: Prisma.PurchaseIntakeMinOrderByAggregateInput
575
- _sum?: Prisma.PurchaseIntakeSumOrderByAggregateInput
576
- }
577
-
578
- export type PurchaseIntakeScalarWhereWithAggregatesInput = {
579
- AND?: Prisma.PurchaseIntakeScalarWhereWithAggregatesInput | Prisma.PurchaseIntakeScalarWhereWithAggregatesInput[]
580
- OR?: Prisma.PurchaseIntakeScalarWhereWithAggregatesInput[]
581
- NOT?: Prisma.PurchaseIntakeScalarWhereWithAggregatesInput | Prisma.PurchaseIntakeScalarWhereWithAggregatesInput[]
582
- id?: Prisma.IntWithAggregatesFilter<"PurchaseIntake"> | number
583
- uuid?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
584
- pi_number?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
585
- pr_number?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
586
- requestor_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
587
- type?: Prisma.EnumPurchaseIntakeTypeEnumWithAggregatesFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeTypeEnum
588
- department?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
589
- request_date?: Prisma.DateTimeNullableWithAggregatesFilter<"PurchaseIntake"> | Date | string | null
590
- items_or_services_description?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
591
- priority?: Prisma.EnumPurchaseIntakePriorityEnumWithAggregatesFilter<"PurchaseIntake"> | $Enums.PurchaseIntakePriorityEnum
592
- estimated_budget?: Prisma.FloatNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
593
- status?: Prisma.EnumPurchaseIntakeStatusEnumWithAggregatesFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeStatusEnum
594
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumWithAggregatesFilter<"PurchaseIntake"> | $Enums.PurchaseRequestStatusEnum
595
- reject_reason?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
596
- pr_reject_reason?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
597
- attachments?: Prisma.JsonNullableWithAggregatesFilter<"PurchaseIntake">
598
- if_yes_attach_quotations?: Prisma.JsonNullableWithAggregatesFilter<"PurchaseIntake">
599
- others?: Prisma.JsonNullableWithAggregatesFilter<"PurchaseIntake">
600
- send_back_count?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
601
- is_active?: Prisma.BoolWithAggregatesFilter<"PurchaseIntake"> | boolean
602
- created_at?: Prisma.DateTimeWithAggregatesFilter<"PurchaseIntake"> | Date | string
603
- created_by?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
604
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
605
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"PurchaseIntake"> | Date | string | null
606
- is_deleted?: Prisma.BoolWithAggregatesFilter<"PurchaseIntake"> | boolean
607
- delete_reason?: Prisma.StringNullableWithAggregatesFilter<"PurchaseIntake"> | string | null
608
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"PurchaseIntake"> | Date | string | null
609
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
610
- initiated_by?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
611
- business_entity_id?: Prisma.IntNullableWithAggregatesFilter<"PurchaseIntake"> | number | null
612
- }
613
-
614
- export type PurchaseIntakeCreateInput = {
615
- uuid?: string | null
616
- pi_number?: string | null
617
- pr_number?: string | null
618
- type?: $Enums.PurchaseIntakeTypeEnum
619
- department?: string | null
620
- request_date?: Date | string | null
621
- items_or_services_description?: string | null
622
- priority: $Enums.PurchaseIntakePriorityEnum
623
- estimated_budget?: number | null
624
- status?: $Enums.PurchaseIntakeStatusEnum
625
- pr_status?: $Enums.PurchaseRequestStatusEnum
626
- reject_reason?: string | null
627
- pr_reject_reason?: string | null
628
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
629
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
630
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
631
- send_back_count?: number | null
632
- is_active?: boolean
633
- created_at?: Date | string
634
- created_by?: number | null
635
- updated_by?: number | null
636
- updated_at?: Date | string | null
637
- is_deleted?: boolean
638
- delete_reason?: string | null
639
- deleted_at?: Date | string | null
640
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
641
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
642
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
643
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
644
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
645
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
646
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
647
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
648
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
649
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
650
- }
651
-
652
- export type PurchaseIntakeUncheckedCreateInput = {
653
- id?: number
654
- uuid?: string | null
655
- pi_number?: string | null
656
- pr_number?: string | null
657
- requestor_id?: number | null
658
- type?: $Enums.PurchaseIntakeTypeEnum
659
- department?: string | null
660
- request_date?: Date | string | null
661
- items_or_services_description?: string | null
662
- priority: $Enums.PurchaseIntakePriorityEnum
663
- estimated_budget?: number | null
664
- status?: $Enums.PurchaseIntakeStatusEnum
665
- pr_status?: $Enums.PurchaseRequestStatusEnum
666
- reject_reason?: string | null
667
- pr_reject_reason?: string | null
668
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
669
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
670
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
671
- send_back_count?: number | null
672
- is_active?: boolean
673
- created_at?: Date | string
674
- created_by?: number | null
675
- updated_by?: number | null
676
- updated_at?: Date | string | null
677
- is_deleted?: boolean
678
- delete_reason?: string | null
679
- deleted_at?: Date | string | null
680
- deleted_by?: number | null
681
- initiated_by?: number | null
682
- business_entity_id?: number | null
683
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
684
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
685
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
686
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
687
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
688
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
689
- }
690
-
691
- export type PurchaseIntakeUpdateInput = {
692
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
693
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
694
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
695
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
696
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
697
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
698
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
699
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
700
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
701
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
702
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
703
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
704
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
705
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
706
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
707
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
708
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
709
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
710
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
711
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
712
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
713
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
714
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
715
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
716
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
717
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
718
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
719
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
720
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
721
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
722
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
723
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
724
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
725
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
726
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
727
- }
728
-
729
- export type PurchaseIntakeUncheckedUpdateInput = {
730
- id?: Prisma.IntFieldUpdateOperationsInput | number
731
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
732
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
733
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
734
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
735
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
736
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
737
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
738
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
739
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
740
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
741
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
742
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
743
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
744
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
745
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
746
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
747
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
748
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
749
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
750
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
751
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
752
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
753
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
754
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
755
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
756
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
757
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
758
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
759
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
760
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
761
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
762
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
763
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
764
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
765
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
766
- }
767
-
768
- export type PurchaseIntakeCreateManyInput = {
769
- id?: number
770
- uuid?: string | null
771
- pi_number?: string | null
772
- pr_number?: string | null
773
- requestor_id?: number | null
774
- type?: $Enums.PurchaseIntakeTypeEnum
775
- department?: string | null
776
- request_date?: Date | string | null
777
- items_or_services_description?: string | null
778
- priority: $Enums.PurchaseIntakePriorityEnum
779
- estimated_budget?: number | null
780
- status?: $Enums.PurchaseIntakeStatusEnum
781
- pr_status?: $Enums.PurchaseRequestStatusEnum
782
- reject_reason?: string | null
783
- pr_reject_reason?: string | null
784
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
785
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
786
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
787
- send_back_count?: number | null
788
- is_active?: boolean
789
- created_at?: Date | string
790
- created_by?: number | null
791
- updated_by?: number | null
792
- updated_at?: Date | string | null
793
- is_deleted?: boolean
794
- delete_reason?: string | null
795
- deleted_at?: Date | string | null
796
- deleted_by?: number | null
797
- initiated_by?: number | null
798
- business_entity_id?: number | null
799
- }
800
-
801
- export type PurchaseIntakeUpdateManyMutationInput = {
802
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
803
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
804
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
805
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
806
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
807
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
808
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
809
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
810
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
811
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
812
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
813
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
814
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
815
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
816
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
817
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
818
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
819
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
820
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
821
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
822
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
823
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
824
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
825
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
826
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
827
- }
828
-
829
- export type PurchaseIntakeUncheckedUpdateManyInput = {
830
- id?: Prisma.IntFieldUpdateOperationsInput | number
831
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
832
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
833
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
834
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
835
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
836
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
837
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
838
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
839
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
840
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
841
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
842
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
843
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
844
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
845
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
846
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
847
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
848
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
849
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
850
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
851
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
852
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
853
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
854
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
855
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
856
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
857
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
858
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
859
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
860
- }
861
-
862
- export type PurchaseIntakeListRelationFilter = {
863
- every?: Prisma.PurchaseIntakeWhereInput
864
- some?: Prisma.PurchaseIntakeWhereInput
865
- none?: Prisma.PurchaseIntakeWhereInput
866
- }
867
-
868
- export type PurchaseIntakeOrderByRelationAggregateInput = {
869
- _count?: Prisma.SortOrder
870
- }
871
-
872
- export type PurchaseIntakeCountOrderByAggregateInput = {
873
- id?: Prisma.SortOrder
874
- uuid?: Prisma.SortOrder
875
- pi_number?: Prisma.SortOrder
876
- pr_number?: Prisma.SortOrder
877
- requestor_id?: Prisma.SortOrder
878
- type?: Prisma.SortOrder
879
- department?: Prisma.SortOrder
880
- request_date?: Prisma.SortOrder
881
- items_or_services_description?: Prisma.SortOrder
882
- priority?: Prisma.SortOrder
883
- estimated_budget?: Prisma.SortOrder
884
- status?: Prisma.SortOrder
885
- pr_status?: Prisma.SortOrder
886
- reject_reason?: Prisma.SortOrder
887
- pr_reject_reason?: Prisma.SortOrder
888
- attachments?: Prisma.SortOrder
889
- if_yes_attach_quotations?: Prisma.SortOrder
890
- others?: Prisma.SortOrder
891
- send_back_count?: Prisma.SortOrder
892
- is_active?: Prisma.SortOrder
893
- created_at?: Prisma.SortOrder
894
- created_by?: Prisma.SortOrder
895
- updated_by?: Prisma.SortOrder
896
- updated_at?: Prisma.SortOrder
897
- is_deleted?: Prisma.SortOrder
898
- delete_reason?: Prisma.SortOrder
899
- deleted_at?: Prisma.SortOrder
900
- deleted_by?: Prisma.SortOrder
901
- initiated_by?: Prisma.SortOrder
902
- business_entity_id?: Prisma.SortOrder
903
- }
904
-
905
- export type PurchaseIntakeAvgOrderByAggregateInput = {
906
- id?: Prisma.SortOrder
907
- requestor_id?: Prisma.SortOrder
908
- estimated_budget?: Prisma.SortOrder
909
- send_back_count?: Prisma.SortOrder
910
- created_by?: Prisma.SortOrder
911
- updated_by?: Prisma.SortOrder
912
- deleted_by?: Prisma.SortOrder
913
- initiated_by?: Prisma.SortOrder
914
- business_entity_id?: Prisma.SortOrder
915
- }
916
-
917
- export type PurchaseIntakeMaxOrderByAggregateInput = {
918
- id?: Prisma.SortOrder
919
- uuid?: Prisma.SortOrder
920
- pi_number?: Prisma.SortOrder
921
- pr_number?: Prisma.SortOrder
922
- requestor_id?: Prisma.SortOrder
923
- type?: Prisma.SortOrder
924
- department?: Prisma.SortOrder
925
- request_date?: Prisma.SortOrder
926
- items_or_services_description?: Prisma.SortOrder
927
- priority?: Prisma.SortOrder
928
- estimated_budget?: Prisma.SortOrder
929
- status?: Prisma.SortOrder
930
- pr_status?: Prisma.SortOrder
931
- reject_reason?: Prisma.SortOrder
932
- pr_reject_reason?: Prisma.SortOrder
933
- send_back_count?: Prisma.SortOrder
934
- is_active?: Prisma.SortOrder
935
- created_at?: Prisma.SortOrder
936
- created_by?: Prisma.SortOrder
937
- updated_by?: Prisma.SortOrder
938
- updated_at?: Prisma.SortOrder
939
- is_deleted?: Prisma.SortOrder
940
- delete_reason?: Prisma.SortOrder
941
- deleted_at?: Prisma.SortOrder
942
- deleted_by?: Prisma.SortOrder
943
- initiated_by?: Prisma.SortOrder
944
- business_entity_id?: Prisma.SortOrder
945
- }
946
-
947
- export type PurchaseIntakeMinOrderByAggregateInput = {
948
- id?: Prisma.SortOrder
949
- uuid?: Prisma.SortOrder
950
- pi_number?: Prisma.SortOrder
951
- pr_number?: Prisma.SortOrder
952
- requestor_id?: Prisma.SortOrder
953
- type?: Prisma.SortOrder
954
- department?: Prisma.SortOrder
955
- request_date?: Prisma.SortOrder
956
- items_or_services_description?: Prisma.SortOrder
957
- priority?: Prisma.SortOrder
958
- estimated_budget?: Prisma.SortOrder
959
- status?: Prisma.SortOrder
960
- pr_status?: Prisma.SortOrder
961
- reject_reason?: Prisma.SortOrder
962
- pr_reject_reason?: Prisma.SortOrder
963
- send_back_count?: Prisma.SortOrder
964
- is_active?: Prisma.SortOrder
965
- created_at?: Prisma.SortOrder
966
- created_by?: Prisma.SortOrder
967
- updated_by?: Prisma.SortOrder
968
- updated_at?: Prisma.SortOrder
969
- is_deleted?: Prisma.SortOrder
970
- delete_reason?: Prisma.SortOrder
971
- deleted_at?: Prisma.SortOrder
972
- deleted_by?: Prisma.SortOrder
973
- initiated_by?: Prisma.SortOrder
974
- business_entity_id?: Prisma.SortOrder
975
- }
976
-
977
- export type PurchaseIntakeSumOrderByAggregateInput = {
978
- id?: Prisma.SortOrder
979
- requestor_id?: Prisma.SortOrder
980
- estimated_budget?: Prisma.SortOrder
981
- send_back_count?: Prisma.SortOrder
982
- created_by?: Prisma.SortOrder
983
- updated_by?: Prisma.SortOrder
984
- deleted_by?: Prisma.SortOrder
985
- initiated_by?: Prisma.SortOrder
986
- business_entity_id?: Prisma.SortOrder
987
- }
988
-
989
- export type PurchaseIntakeNullableScalarRelationFilter = {
990
- is?: Prisma.PurchaseIntakeWhereInput | null
991
- isNot?: Prisma.PurchaseIntakeWhereInput | null
992
- }
993
-
994
- export type PurchaseIntakeCreateNestedManyWithoutUserInput = {
995
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput> | Prisma.PurchaseIntakeCreateWithoutUserInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput[]
996
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput | Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput[]
997
- createMany?: Prisma.PurchaseIntakeCreateManyUserInputEnvelope
998
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
999
- }
1000
-
1001
- export type PurchaseIntakeCreateNestedManyWithoutDeleted_by_userInput = {
1002
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput> | Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput[]
1003
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput[]
1004
- createMany?: Prisma.PurchaseIntakeCreateManyDeleted_by_userInputEnvelope
1005
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1006
- }
1007
-
1008
- export type PurchaseIntakeCreateNestedManyWithoutInitiated_by_userInput = {
1009
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput> | Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput[]
1010
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput[]
1011
- createMany?: Prisma.PurchaseIntakeCreateManyInitiated_by_userInputEnvelope
1012
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1013
- }
1014
-
1015
- export type PurchaseIntakeUncheckedCreateNestedManyWithoutUserInput = {
1016
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput> | Prisma.PurchaseIntakeCreateWithoutUserInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput[]
1017
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput | Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput[]
1018
- createMany?: Prisma.PurchaseIntakeCreateManyUserInputEnvelope
1019
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1020
- }
1021
-
1022
- export type PurchaseIntakeUncheckedCreateNestedManyWithoutDeleted_by_userInput = {
1023
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput> | Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput[]
1024
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput[]
1025
- createMany?: Prisma.PurchaseIntakeCreateManyDeleted_by_userInputEnvelope
1026
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1027
- }
1028
-
1029
- export type PurchaseIntakeUncheckedCreateNestedManyWithoutInitiated_by_userInput = {
1030
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput> | Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput[]
1031
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput[]
1032
- createMany?: Prisma.PurchaseIntakeCreateManyInitiated_by_userInputEnvelope
1033
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1034
- }
1035
-
1036
- export type PurchaseIntakeUpdateManyWithoutUserNestedInput = {
1037
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput> | Prisma.PurchaseIntakeCreateWithoutUserInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput[]
1038
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput | Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput[]
1039
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutUserInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutUserInput[]
1040
- createMany?: Prisma.PurchaseIntakeCreateManyUserInputEnvelope
1041
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1042
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1043
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1044
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1045
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutUserInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutUserInput[]
1046
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutUserInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutUserInput[]
1047
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1048
- }
1049
-
1050
- export type PurchaseIntakeUpdateManyWithoutDeleted_by_userNestedInput = {
1051
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput> | Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput[]
1052
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput[]
1053
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutDeleted_by_userInput[]
1054
- createMany?: Prisma.PurchaseIntakeCreateManyDeleted_by_userInputEnvelope
1055
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1056
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1057
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1058
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1059
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutDeleted_by_userInput[]
1060
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutDeleted_by_userInput[]
1061
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1062
- }
1063
-
1064
- export type PurchaseIntakeUpdateManyWithoutInitiated_by_userNestedInput = {
1065
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput> | Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput[]
1066
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput[]
1067
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutInitiated_by_userInput[]
1068
- createMany?: Prisma.PurchaseIntakeCreateManyInitiated_by_userInputEnvelope
1069
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1070
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1071
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1072
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1073
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutInitiated_by_userInput[]
1074
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutInitiated_by_userInput[]
1075
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1076
- }
1077
-
1078
- export type PurchaseIntakeUncheckedUpdateManyWithoutUserNestedInput = {
1079
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput> | Prisma.PurchaseIntakeCreateWithoutUserInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput[]
1080
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput | Prisma.PurchaseIntakeCreateOrConnectWithoutUserInput[]
1081
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutUserInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutUserInput[]
1082
- createMany?: Prisma.PurchaseIntakeCreateManyUserInputEnvelope
1083
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1084
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1085
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1086
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1087
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutUserInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutUserInput[]
1088
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutUserInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutUserInput[]
1089
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1090
- }
1091
-
1092
- export type PurchaseIntakeUncheckedUpdateManyWithoutDeleted_by_userNestedInput = {
1093
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput> | Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput[]
1094
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput[]
1095
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutDeleted_by_userInput[]
1096
- createMany?: Prisma.PurchaseIntakeCreateManyDeleted_by_userInputEnvelope
1097
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1098
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1099
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1100
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1101
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutDeleted_by_userInput[]
1102
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutDeleted_by_userInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutDeleted_by_userInput[]
1103
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1104
- }
1105
-
1106
- export type PurchaseIntakeUncheckedUpdateManyWithoutInitiated_by_userNestedInput = {
1107
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput> | Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput[]
1108
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput | Prisma.PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput[]
1109
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutInitiated_by_userInput[]
1110
- createMany?: Prisma.PurchaseIntakeCreateManyInitiated_by_userInputEnvelope
1111
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1112
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1113
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1114
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1115
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutInitiated_by_userInput[]
1116
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutInitiated_by_userInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutInitiated_by_userInput[]
1117
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1118
- }
1119
-
1120
- export type EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput = {
1121
- set?: $Enums.PurchaseIntakeTypeEnum
1122
- }
1123
-
1124
- export type EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput = {
1125
- set?: $Enums.PurchaseIntakePriorityEnum
1126
- }
1127
-
1128
- export type NullableFloatFieldUpdateOperationsInput = {
1129
- set?: number | null
1130
- increment?: number
1131
- decrement?: number
1132
- multiply?: number
1133
- divide?: number
1134
- }
1135
-
1136
- export type EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput = {
1137
- set?: $Enums.PurchaseIntakeStatusEnum
1138
- }
1139
-
1140
- export type EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput = {
1141
- set?: $Enums.PurchaseRequestStatusEnum
1142
- }
1143
-
1144
- export type PurchaseIntakeCreateNestedOneWithoutPurchase_intake_itemInput = {
1145
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_intake_itemInput>
1146
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutPurchase_intake_itemInput
1147
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1148
- }
1149
-
1150
- export type PurchaseIntakeUpdateOneWithoutPurchase_intake_itemNestedInput = {
1151
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_intake_itemInput>
1152
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutPurchase_intake_itemInput
1153
- upsert?: Prisma.PurchaseIntakeUpsertWithoutPurchase_intake_itemInput
1154
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1155
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1156
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1157
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUpdateWithoutPurchase_intake_itemInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_intake_itemInput>
1158
- }
1159
-
1160
- export type PurchaseIntakeCreateNestedOneWithoutSend_backsInput = {
1161
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutSend_backsInput>
1162
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutSend_backsInput
1163
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1164
- }
1165
-
1166
- export type PurchaseIntakeUpdateOneWithoutSend_backsNestedInput = {
1167
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutSend_backsInput>
1168
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutSend_backsInput
1169
- upsert?: Prisma.PurchaseIntakeUpsertWithoutSend_backsInput
1170
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1171
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1172
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1173
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutSend_backsInput, Prisma.PurchaseIntakeUpdateWithoutSend_backsInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutSend_backsInput>
1174
- }
1175
-
1176
- export type PurchaseIntakeCreateNestedOneWithoutEventsInput = {
1177
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEventsInput>
1178
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutEventsInput
1179
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1180
- }
1181
-
1182
- export type PurchaseIntakeUpdateOneWithoutEventsNestedInput = {
1183
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEventsInput>
1184
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutEventsInput
1185
- upsert?: Prisma.PurchaseIntakeUpsertWithoutEventsInput
1186
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1187
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1188
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1189
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutEventsInput, Prisma.PurchaseIntakeUpdateWithoutEventsInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutEventsInput>
1190
- }
1191
-
1192
- export type PurchaseIntakeCreateNestedOneWithoutEvent_itemsInput = {
1193
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEvent_itemsInput>
1194
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutEvent_itemsInput
1195
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1196
- }
1197
-
1198
- export type PurchaseIntakeUpdateOneWithoutEvent_itemsNestedInput = {
1199
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEvent_itemsInput>
1200
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutEvent_itemsInput
1201
- upsert?: Prisma.PurchaseIntakeUpsertWithoutEvent_itemsInput
1202
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1203
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1204
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1205
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutEvent_itemsInput, Prisma.PurchaseIntakeUpdateWithoutEvent_itemsInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutEvent_itemsInput>
1206
- }
1207
-
1208
- export type PurchaseIntakeCreateNestedOneWithoutPurchase_order_itemsInput = {
1209
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_order_itemsInput>
1210
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutPurchase_order_itemsInput
1211
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1212
- }
1213
-
1214
- export type PurchaseIntakeUpdateOneWithoutPurchase_order_itemsNestedInput = {
1215
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_order_itemsInput>
1216
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutPurchase_order_itemsInput
1217
- upsert?: Prisma.PurchaseIntakeUpsertWithoutPurchase_order_itemsInput
1218
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1219
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1220
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1221
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUpdateWithoutPurchase_order_itemsInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_order_itemsInput>
1222
- }
1223
-
1224
- export type PurchaseIntakeCreateNestedOneWithoutBlanket_po_itemsInput = {
1225
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBlanket_po_itemsInput>
1226
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBlanket_po_itemsInput
1227
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1228
- }
1229
-
1230
- export type PurchaseIntakeUpdateOneWithoutBlanket_po_itemsNestedInput = {
1231
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBlanket_po_itemsInput>
1232
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBlanket_po_itemsInput
1233
- upsert?: Prisma.PurchaseIntakeUpsertWithoutBlanket_po_itemsInput
1234
- disconnect?: Prisma.PurchaseIntakeWhereInput | boolean
1235
- delete?: Prisma.PurchaseIntakeWhereInput | boolean
1236
- connect?: Prisma.PurchaseIntakeWhereUniqueInput
1237
- update?: Prisma.XOR<Prisma.XOR<Prisma.PurchaseIntakeUpdateToOneWithWhereWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUpdateWithoutBlanket_po_itemsInput>, Prisma.PurchaseIntakeUncheckedUpdateWithoutBlanket_po_itemsInput>
1238
- }
1239
-
1240
- export type PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput = {
1241
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput> | Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput[]
1242
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput | Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput[]
1243
- createMany?: Prisma.PurchaseIntakeCreateManyBusiness_entityInputEnvelope
1244
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1245
- }
1246
-
1247
- export type PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput = {
1248
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput> | Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput[]
1249
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput | Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput[]
1250
- createMany?: Prisma.PurchaseIntakeCreateManyBusiness_entityInputEnvelope
1251
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1252
- }
1253
-
1254
- export type PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput = {
1255
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput> | Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput[]
1256
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput | Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput[]
1257
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutBusiness_entityInput[]
1258
- createMany?: Prisma.PurchaseIntakeCreateManyBusiness_entityInputEnvelope
1259
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1260
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1261
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1262
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1263
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutBusiness_entityInput[]
1264
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutBusiness_entityInput[]
1265
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1266
- }
1267
-
1268
- export type PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput = {
1269
- create?: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput> | Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput[] | Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput[]
1270
- connectOrCreate?: Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput | Prisma.PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput[]
1271
- upsert?: Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpsertWithWhereUniqueWithoutBusiness_entityInput[]
1272
- createMany?: Prisma.PurchaseIntakeCreateManyBusiness_entityInputEnvelope
1273
- set?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1274
- disconnect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1275
- delete?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1276
- connect?: Prisma.PurchaseIntakeWhereUniqueInput | Prisma.PurchaseIntakeWhereUniqueInput[]
1277
- update?: Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpdateWithWhereUniqueWithoutBusiness_entityInput[]
1278
- updateMany?: Prisma.PurchaseIntakeUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.PurchaseIntakeUpdateManyWithWhereWithoutBusiness_entityInput[]
1279
- deleteMany?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1280
- }
1281
-
1282
- export type PurchaseIntakeCreateWithoutUserInput = {
1283
- uuid?: string | null
1284
- pi_number?: string | null
1285
- pr_number?: string | null
1286
- type?: $Enums.PurchaseIntakeTypeEnum
1287
- department?: string | null
1288
- request_date?: Date | string | null
1289
- items_or_services_description?: string | null
1290
- priority: $Enums.PurchaseIntakePriorityEnum
1291
- estimated_budget?: number | null
1292
- status?: $Enums.PurchaseIntakeStatusEnum
1293
- pr_status?: $Enums.PurchaseRequestStatusEnum
1294
- reject_reason?: string | null
1295
- pr_reject_reason?: string | null
1296
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1297
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1298
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1299
- send_back_count?: number | null
1300
- is_active?: boolean
1301
- created_at?: Date | string
1302
- created_by?: number | null
1303
- updated_by?: number | null
1304
- updated_at?: Date | string | null
1305
- is_deleted?: boolean
1306
- delete_reason?: string | null
1307
- deleted_at?: Date | string | null
1308
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
1309
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
1310
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1311
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
1312
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
1313
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1314
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1315
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
1316
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1317
- }
1318
-
1319
- export type PurchaseIntakeUncheckedCreateWithoutUserInput = {
1320
- id?: number
1321
- uuid?: string | null
1322
- pi_number?: string | null
1323
- pr_number?: string | null
1324
- type?: $Enums.PurchaseIntakeTypeEnum
1325
- department?: string | null
1326
- request_date?: Date | string | null
1327
- items_or_services_description?: string | null
1328
- priority: $Enums.PurchaseIntakePriorityEnum
1329
- estimated_budget?: number | null
1330
- status?: $Enums.PurchaseIntakeStatusEnum
1331
- pr_status?: $Enums.PurchaseRequestStatusEnum
1332
- reject_reason?: string | null
1333
- pr_reject_reason?: string | null
1334
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1335
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1336
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1337
- send_back_count?: number | null
1338
- is_active?: boolean
1339
- created_at?: Date | string
1340
- created_by?: number | null
1341
- updated_by?: number | null
1342
- updated_at?: Date | string | null
1343
- is_deleted?: boolean
1344
- delete_reason?: string | null
1345
- deleted_at?: Date | string | null
1346
- deleted_by?: number | null
1347
- initiated_by?: number | null
1348
- business_entity_id?: number | null
1349
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
1350
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
1351
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
1352
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1353
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
1354
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1355
- }
1356
-
1357
- export type PurchaseIntakeCreateOrConnectWithoutUserInput = {
1358
- where: Prisma.PurchaseIntakeWhereUniqueInput
1359
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput>
1360
- }
1361
-
1362
- export type PurchaseIntakeCreateManyUserInputEnvelope = {
1363
- data: Prisma.PurchaseIntakeCreateManyUserInput | Prisma.PurchaseIntakeCreateManyUserInput[]
1364
- skipDuplicates?: boolean
1365
- }
1366
-
1367
- export type PurchaseIntakeCreateWithoutDeleted_by_userInput = {
1368
- uuid?: string | null
1369
- pi_number?: string | null
1370
- pr_number?: string | null
1371
- type?: $Enums.PurchaseIntakeTypeEnum
1372
- department?: string | null
1373
- request_date?: Date | string | null
1374
- items_or_services_description?: string | null
1375
- priority: $Enums.PurchaseIntakePriorityEnum
1376
- estimated_budget?: number | null
1377
- status?: $Enums.PurchaseIntakeStatusEnum
1378
- pr_status?: $Enums.PurchaseRequestStatusEnum
1379
- reject_reason?: string | null
1380
- pr_reject_reason?: string | null
1381
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1382
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1383
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1384
- send_back_count?: number | null
1385
- is_active?: boolean
1386
- created_at?: Date | string
1387
- created_by?: number | null
1388
- updated_by?: number | null
1389
- updated_at?: Date | string | null
1390
- is_deleted?: boolean
1391
- delete_reason?: string | null
1392
- deleted_at?: Date | string | null
1393
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
1394
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
1395
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1396
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
1397
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
1398
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1399
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1400
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
1401
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1402
- }
1403
-
1404
- export type PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput = {
1405
- id?: number
1406
- uuid?: string | null
1407
- pi_number?: string | null
1408
- pr_number?: string | null
1409
- requestor_id?: number | null
1410
- type?: $Enums.PurchaseIntakeTypeEnum
1411
- department?: string | null
1412
- request_date?: Date | string | null
1413
- items_or_services_description?: string | null
1414
- priority: $Enums.PurchaseIntakePriorityEnum
1415
- estimated_budget?: number | null
1416
- status?: $Enums.PurchaseIntakeStatusEnum
1417
- pr_status?: $Enums.PurchaseRequestStatusEnum
1418
- reject_reason?: string | null
1419
- pr_reject_reason?: string | null
1420
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1421
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1422
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1423
- send_back_count?: number | null
1424
- is_active?: boolean
1425
- created_at?: Date | string
1426
- created_by?: number | null
1427
- updated_by?: number | null
1428
- updated_at?: Date | string | null
1429
- is_deleted?: boolean
1430
- delete_reason?: string | null
1431
- deleted_at?: Date | string | null
1432
- initiated_by?: number | null
1433
- business_entity_id?: number | null
1434
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
1435
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
1436
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
1437
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1438
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
1439
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1440
- }
1441
-
1442
- export type PurchaseIntakeCreateOrConnectWithoutDeleted_by_userInput = {
1443
- where: Prisma.PurchaseIntakeWhereUniqueInput
1444
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput>
1445
- }
1446
-
1447
- export type PurchaseIntakeCreateManyDeleted_by_userInputEnvelope = {
1448
- data: Prisma.PurchaseIntakeCreateManyDeleted_by_userInput | Prisma.PurchaseIntakeCreateManyDeleted_by_userInput[]
1449
- skipDuplicates?: boolean
1450
- }
1451
-
1452
- export type PurchaseIntakeCreateWithoutInitiated_by_userInput = {
1453
- uuid?: string | null
1454
- pi_number?: string | null
1455
- pr_number?: string | null
1456
- type?: $Enums.PurchaseIntakeTypeEnum
1457
- department?: string | null
1458
- request_date?: Date | string | null
1459
- items_or_services_description?: string | null
1460
- priority: $Enums.PurchaseIntakePriorityEnum
1461
- estimated_budget?: number | null
1462
- status?: $Enums.PurchaseIntakeStatusEnum
1463
- pr_status?: $Enums.PurchaseRequestStatusEnum
1464
- reject_reason?: string | null
1465
- pr_reject_reason?: string | null
1466
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1467
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1468
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1469
- send_back_count?: number | null
1470
- is_active?: boolean
1471
- created_at?: Date | string
1472
- created_by?: number | null
1473
- updated_by?: number | null
1474
- updated_at?: Date | string | null
1475
- is_deleted?: boolean
1476
- delete_reason?: string | null
1477
- deleted_at?: Date | string | null
1478
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
1479
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
1480
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1481
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
1482
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
1483
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1484
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1485
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
1486
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1487
- }
1488
-
1489
- export type PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput = {
1490
- id?: number
1491
- uuid?: string | null
1492
- pi_number?: string | null
1493
- pr_number?: string | null
1494
- requestor_id?: number | null
1495
- type?: $Enums.PurchaseIntakeTypeEnum
1496
- department?: string | null
1497
- request_date?: Date | string | null
1498
- items_or_services_description?: string | null
1499
- priority: $Enums.PurchaseIntakePriorityEnum
1500
- estimated_budget?: number | null
1501
- status?: $Enums.PurchaseIntakeStatusEnum
1502
- pr_status?: $Enums.PurchaseRequestStatusEnum
1503
- reject_reason?: string | null
1504
- pr_reject_reason?: string | null
1505
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1506
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1507
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1508
- send_back_count?: number | null
1509
- is_active?: boolean
1510
- created_at?: Date | string
1511
- created_by?: number | null
1512
- updated_by?: number | null
1513
- updated_at?: Date | string | null
1514
- is_deleted?: boolean
1515
- delete_reason?: string | null
1516
- deleted_at?: Date | string | null
1517
- deleted_by?: number | null
1518
- business_entity_id?: number | null
1519
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
1520
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
1521
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
1522
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1523
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
1524
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1525
- }
1526
-
1527
- export type PurchaseIntakeCreateOrConnectWithoutInitiated_by_userInput = {
1528
- where: Prisma.PurchaseIntakeWhereUniqueInput
1529
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput>
1530
- }
1531
-
1532
- export type PurchaseIntakeCreateManyInitiated_by_userInputEnvelope = {
1533
- data: Prisma.PurchaseIntakeCreateManyInitiated_by_userInput | Prisma.PurchaseIntakeCreateManyInitiated_by_userInput[]
1534
- skipDuplicates?: boolean
1535
- }
1536
-
1537
- export type PurchaseIntakeUpsertWithWhereUniqueWithoutUserInput = {
1538
- where: Prisma.PurchaseIntakeWhereUniqueInput
1539
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutUserInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutUserInput>
1540
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutUserInput, Prisma.PurchaseIntakeUncheckedCreateWithoutUserInput>
1541
- }
1542
-
1543
- export type PurchaseIntakeUpdateWithWhereUniqueWithoutUserInput = {
1544
- where: Prisma.PurchaseIntakeWhereUniqueInput
1545
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutUserInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutUserInput>
1546
- }
1547
-
1548
- export type PurchaseIntakeUpdateManyWithWhereWithoutUserInput = {
1549
- where: Prisma.PurchaseIntakeScalarWhereInput
1550
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyWithoutUserInput>
1551
- }
1552
-
1553
- export type PurchaseIntakeScalarWhereInput = {
1554
- AND?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1555
- OR?: Prisma.PurchaseIntakeScalarWhereInput[]
1556
- NOT?: Prisma.PurchaseIntakeScalarWhereInput | Prisma.PurchaseIntakeScalarWhereInput[]
1557
- id?: Prisma.IntFilter<"PurchaseIntake"> | number
1558
- uuid?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1559
- pi_number?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1560
- pr_number?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1561
- requestor_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1562
- type?: Prisma.EnumPurchaseIntakeTypeEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeTypeEnum
1563
- department?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1564
- request_date?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
1565
- items_or_services_description?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1566
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakePriorityEnum
1567
- estimated_budget?: Prisma.FloatNullableFilter<"PurchaseIntake"> | number | null
1568
- status?: Prisma.EnumPurchaseIntakeStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseIntakeStatusEnum
1569
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFilter<"PurchaseIntake"> | $Enums.PurchaseRequestStatusEnum
1570
- reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1571
- pr_reject_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1572
- attachments?: Prisma.JsonNullableFilter<"PurchaseIntake">
1573
- if_yes_attach_quotations?: Prisma.JsonNullableFilter<"PurchaseIntake">
1574
- others?: Prisma.JsonNullableFilter<"PurchaseIntake">
1575
- send_back_count?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1576
- is_active?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
1577
- created_at?: Prisma.DateTimeFilter<"PurchaseIntake"> | Date | string
1578
- created_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1579
- updated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1580
- updated_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
1581
- is_deleted?: Prisma.BoolFilter<"PurchaseIntake"> | boolean
1582
- delete_reason?: Prisma.StringNullableFilter<"PurchaseIntake"> | string | null
1583
- deleted_at?: Prisma.DateTimeNullableFilter<"PurchaseIntake"> | Date | string | null
1584
- deleted_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1585
- initiated_by?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1586
- business_entity_id?: Prisma.IntNullableFilter<"PurchaseIntake"> | number | null
1587
- }
1588
-
1589
- export type PurchaseIntakeUpsertWithWhereUniqueWithoutDeleted_by_userInput = {
1590
- where: Prisma.PurchaseIntakeWhereUniqueInput
1591
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutDeleted_by_userInput>
1592
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutDeleted_by_userInput>
1593
- }
1594
-
1595
- export type PurchaseIntakeUpdateWithWhereUniqueWithoutDeleted_by_userInput = {
1596
- where: Prisma.PurchaseIntakeWhereUniqueInput
1597
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutDeleted_by_userInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutDeleted_by_userInput>
1598
- }
1599
-
1600
- export type PurchaseIntakeUpdateManyWithWhereWithoutDeleted_by_userInput = {
1601
- where: Prisma.PurchaseIntakeScalarWhereInput
1602
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyWithoutDeleted_by_userInput>
1603
- }
1604
-
1605
- export type PurchaseIntakeUpsertWithWhereUniqueWithoutInitiated_by_userInput = {
1606
- where: Prisma.PurchaseIntakeWhereUniqueInput
1607
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutInitiated_by_userInput>
1608
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedCreateWithoutInitiated_by_userInput>
1609
- }
1610
-
1611
- export type PurchaseIntakeUpdateWithWhereUniqueWithoutInitiated_by_userInput = {
1612
- where: Prisma.PurchaseIntakeWhereUniqueInput
1613
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutInitiated_by_userInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutInitiated_by_userInput>
1614
- }
1615
-
1616
- export type PurchaseIntakeUpdateManyWithWhereWithoutInitiated_by_userInput = {
1617
- where: Prisma.PurchaseIntakeScalarWhereInput
1618
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyWithoutInitiated_by_userInput>
1619
- }
1620
-
1621
- export type PurchaseIntakeCreateWithoutPurchase_intake_itemInput = {
1622
- uuid?: string | null
1623
- pi_number?: string | null
1624
- pr_number?: string | null
1625
- type?: $Enums.PurchaseIntakeTypeEnum
1626
- department?: string | null
1627
- request_date?: Date | string | null
1628
- items_or_services_description?: string | null
1629
- priority: $Enums.PurchaseIntakePriorityEnum
1630
- estimated_budget?: number | null
1631
- status?: $Enums.PurchaseIntakeStatusEnum
1632
- pr_status?: $Enums.PurchaseRequestStatusEnum
1633
- reject_reason?: string | null
1634
- pr_reject_reason?: string | null
1635
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1636
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1637
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1638
- send_back_count?: number | null
1639
- is_active?: boolean
1640
- created_at?: Date | string
1641
- created_by?: number | null
1642
- updated_by?: number | null
1643
- updated_at?: Date | string | null
1644
- is_deleted?: boolean
1645
- delete_reason?: string | null
1646
- deleted_at?: Date | string | null
1647
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
1648
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
1649
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
1650
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1651
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
1652
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1653
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1654
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
1655
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1656
- }
1657
-
1658
- export type PurchaseIntakeUncheckedCreateWithoutPurchase_intake_itemInput = {
1659
- id?: number
1660
- uuid?: string | null
1661
- pi_number?: string | null
1662
- pr_number?: string | null
1663
- requestor_id?: number | null
1664
- type?: $Enums.PurchaseIntakeTypeEnum
1665
- department?: string | null
1666
- request_date?: Date | string | null
1667
- items_or_services_description?: string | null
1668
- priority: $Enums.PurchaseIntakePriorityEnum
1669
- estimated_budget?: number | null
1670
- status?: $Enums.PurchaseIntakeStatusEnum
1671
- pr_status?: $Enums.PurchaseRequestStatusEnum
1672
- reject_reason?: string | null
1673
- pr_reject_reason?: string | null
1674
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1675
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1676
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1677
- send_back_count?: number | null
1678
- is_active?: boolean
1679
- created_at?: Date | string
1680
- created_by?: number | null
1681
- updated_by?: number | null
1682
- updated_at?: Date | string | null
1683
- is_deleted?: boolean
1684
- delete_reason?: string | null
1685
- deleted_at?: Date | string | null
1686
- deleted_by?: number | null
1687
- initiated_by?: number | null
1688
- business_entity_id?: number | null
1689
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
1690
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
1691
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1692
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
1693
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1694
- }
1695
-
1696
- export type PurchaseIntakeCreateOrConnectWithoutPurchase_intake_itemInput = {
1697
- where: Prisma.PurchaseIntakeWhereUniqueInput
1698
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_intake_itemInput>
1699
- }
1700
-
1701
- export type PurchaseIntakeUpsertWithoutPurchase_intake_itemInput = {
1702
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_intake_itemInput>
1703
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_intake_itemInput>
1704
- where?: Prisma.PurchaseIntakeWhereInput
1705
- }
1706
-
1707
- export type PurchaseIntakeUpdateToOneWithWhereWithoutPurchase_intake_itemInput = {
1708
- where?: Prisma.PurchaseIntakeWhereInput
1709
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutPurchase_intake_itemInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_intake_itemInput>
1710
- }
1711
-
1712
- export type PurchaseIntakeUpdateWithoutPurchase_intake_itemInput = {
1713
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1714
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1715
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1716
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
1717
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1718
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1719
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1720
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
1721
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1722
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
1723
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
1724
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1725
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1726
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1727
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1728
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1729
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1730
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1731
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1732
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1733
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1734
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1735
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1736
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1737
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1738
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
1739
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
1740
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
1741
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
1742
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
1743
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
1744
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
1745
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
1746
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
1747
- }
1748
-
1749
- export type PurchaseIntakeUncheckedUpdateWithoutPurchase_intake_itemInput = {
1750
- id?: Prisma.IntFieldUpdateOperationsInput | number
1751
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1752
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1753
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1754
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1755
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
1756
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1757
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1758
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1759
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
1760
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1761
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
1762
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
1763
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1764
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1765
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1766
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1767
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1768
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1769
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1770
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1771
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1772
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1773
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1774
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1775
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1776
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1777
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1778
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1779
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1780
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1781
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1782
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
1783
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1784
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
1785
- }
1786
-
1787
- export type PurchaseIntakeCreateWithoutSend_backsInput = {
1788
- uuid?: string | null
1789
- pi_number?: string | null
1790
- pr_number?: string | null
1791
- type?: $Enums.PurchaseIntakeTypeEnum
1792
- department?: string | null
1793
- request_date?: Date | string | null
1794
- items_or_services_description?: string | null
1795
- priority: $Enums.PurchaseIntakePriorityEnum
1796
- estimated_budget?: number | null
1797
- status?: $Enums.PurchaseIntakeStatusEnum
1798
- pr_status?: $Enums.PurchaseRequestStatusEnum
1799
- reject_reason?: string | null
1800
- pr_reject_reason?: string | null
1801
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1802
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1803
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1804
- send_back_count?: number | null
1805
- is_active?: boolean
1806
- created_at?: Date | string
1807
- created_by?: number | null
1808
- updated_by?: number | null
1809
- updated_at?: Date | string | null
1810
- is_deleted?: boolean
1811
- delete_reason?: string | null
1812
- deleted_at?: Date | string | null
1813
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
1814
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
1815
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
1816
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1817
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
1818
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
1819
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1820
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1821
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1822
- }
1823
-
1824
- export type PurchaseIntakeUncheckedCreateWithoutSend_backsInput = {
1825
- id?: number
1826
- uuid?: string | null
1827
- pi_number?: string | null
1828
- pr_number?: string | null
1829
- requestor_id?: number | null
1830
- type?: $Enums.PurchaseIntakeTypeEnum
1831
- department?: string | null
1832
- request_date?: Date | string | null
1833
- items_or_services_description?: string | null
1834
- priority: $Enums.PurchaseIntakePriorityEnum
1835
- estimated_budget?: number | null
1836
- status?: $Enums.PurchaseIntakeStatusEnum
1837
- pr_status?: $Enums.PurchaseRequestStatusEnum
1838
- reject_reason?: string | null
1839
- pr_reject_reason?: string | null
1840
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1841
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1842
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1843
- send_back_count?: number | null
1844
- is_active?: boolean
1845
- created_at?: Date | string
1846
- created_by?: number | null
1847
- updated_by?: number | null
1848
- updated_at?: Date | string | null
1849
- is_deleted?: boolean
1850
- delete_reason?: string | null
1851
- deleted_at?: Date | string | null
1852
- deleted_by?: number | null
1853
- initiated_by?: number | null
1854
- business_entity_id?: number | null
1855
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
1856
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
1857
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
1858
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1859
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
1860
- }
1861
-
1862
- export type PurchaseIntakeCreateOrConnectWithoutSend_backsInput = {
1863
- where: Prisma.PurchaseIntakeWhereUniqueInput
1864
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutSend_backsInput>
1865
- }
1866
-
1867
- export type PurchaseIntakeUpsertWithoutSend_backsInput = {
1868
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutSend_backsInput>
1869
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutSend_backsInput>
1870
- where?: Prisma.PurchaseIntakeWhereInput
1871
- }
1872
-
1873
- export type PurchaseIntakeUpdateToOneWithWhereWithoutSend_backsInput = {
1874
- where?: Prisma.PurchaseIntakeWhereInput
1875
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutSend_backsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutSend_backsInput>
1876
- }
1877
-
1878
- export type PurchaseIntakeUpdateWithoutSend_backsInput = {
1879
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1880
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1881
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1882
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
1883
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1884
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1885
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1886
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
1887
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1888
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
1889
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
1890
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1891
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1892
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1893
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1894
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1895
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1896
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1897
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1898
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1899
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1900
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1901
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1902
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1903
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1904
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
1905
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
1906
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
1907
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
1908
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
1909
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
1910
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
1911
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
1912
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
1913
- }
1914
-
1915
- export type PurchaseIntakeUncheckedUpdateWithoutSend_backsInput = {
1916
- id?: Prisma.IntFieldUpdateOperationsInput | number
1917
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1918
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1919
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1920
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1921
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
1922
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1923
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1924
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1925
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
1926
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1927
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
1928
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
1929
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1930
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1931
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1932
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1933
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1934
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1935
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
1936
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1937
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1938
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1939
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1940
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1941
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1942
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1943
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1944
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1945
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1946
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1947
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1948
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
1949
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
1950
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
1951
- }
1952
-
1953
- export type PurchaseIntakeCreateWithoutEventsInput = {
1954
- uuid?: string | null
1955
- pi_number?: string | null
1956
- pr_number?: string | null
1957
- type?: $Enums.PurchaseIntakeTypeEnum
1958
- department?: string | null
1959
- request_date?: Date | string | null
1960
- items_or_services_description?: string | null
1961
- priority: $Enums.PurchaseIntakePriorityEnum
1962
- estimated_budget?: number | null
1963
- status?: $Enums.PurchaseIntakeStatusEnum
1964
- pr_status?: $Enums.PurchaseRequestStatusEnum
1965
- reject_reason?: string | null
1966
- pr_reject_reason?: string | null
1967
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1968
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1969
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1970
- send_back_count?: number | null
1971
- is_active?: boolean
1972
- created_at?: Date | string
1973
- created_by?: number | null
1974
- updated_by?: number | null
1975
- updated_at?: Date | string | null
1976
- is_deleted?: boolean
1977
- delete_reason?: string | null
1978
- deleted_at?: Date | string | null
1979
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
1980
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
1981
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
1982
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
1983
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
1984
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
1985
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1986
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
1987
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
1988
- }
1989
-
1990
- export type PurchaseIntakeUncheckedCreateWithoutEventsInput = {
1991
- id?: number
1992
- uuid?: string | null
1993
- pi_number?: string | null
1994
- pr_number?: string | null
1995
- requestor_id?: number | null
1996
- type?: $Enums.PurchaseIntakeTypeEnum
1997
- department?: string | null
1998
- request_date?: Date | string | null
1999
- items_or_services_description?: string | null
2000
- priority: $Enums.PurchaseIntakePriorityEnum
2001
- estimated_budget?: number | null
2002
- status?: $Enums.PurchaseIntakeStatusEnum
2003
- pr_status?: $Enums.PurchaseRequestStatusEnum
2004
- reject_reason?: string | null
2005
- pr_reject_reason?: string | null
2006
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2007
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2008
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2009
- send_back_count?: number | null
2010
- is_active?: boolean
2011
- created_at?: Date | string
2012
- created_by?: number | null
2013
- updated_by?: number | null
2014
- updated_at?: Date | string | null
2015
- is_deleted?: boolean
2016
- delete_reason?: string | null
2017
- deleted_at?: Date | string | null
2018
- deleted_by?: number | null
2019
- initiated_by?: number | null
2020
- business_entity_id?: number | null
2021
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
2022
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
2023
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2024
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
2025
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2026
- }
2027
-
2028
- export type PurchaseIntakeCreateOrConnectWithoutEventsInput = {
2029
- where: Prisma.PurchaseIntakeWhereUniqueInput
2030
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEventsInput>
2031
- }
2032
-
2033
- export type PurchaseIntakeUpsertWithoutEventsInput = {
2034
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutEventsInput>
2035
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEventsInput>
2036
- where?: Prisma.PurchaseIntakeWhereInput
2037
- }
2038
-
2039
- export type PurchaseIntakeUpdateToOneWithWhereWithoutEventsInput = {
2040
- where?: Prisma.PurchaseIntakeWhereInput
2041
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutEventsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutEventsInput>
2042
- }
2043
-
2044
- export type PurchaseIntakeUpdateWithoutEventsInput = {
2045
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2046
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2047
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2048
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2049
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2050
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2051
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2052
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2053
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2054
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2055
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2056
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2057
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2058
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2059
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2060
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2061
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2062
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2063
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2064
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2065
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2066
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2067
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2068
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2069
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2070
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
2071
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
2072
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2073
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2074
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2075
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
2076
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2077
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2078
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2079
- }
2080
-
2081
- export type PurchaseIntakeUncheckedUpdateWithoutEventsInput = {
2082
- id?: Prisma.IntFieldUpdateOperationsInput | number
2083
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2084
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2085
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2086
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2087
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2088
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2089
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2090
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2091
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2092
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2093
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2094
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2095
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2096
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2097
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2098
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2099
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2100
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2101
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2102
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2103
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2104
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2105
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2106
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2107
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2108
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2109
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2110
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2111
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2112
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2113
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2114
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2115
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2116
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2117
- }
2118
-
2119
- export type PurchaseIntakeCreateWithoutEvent_itemsInput = {
2120
- uuid?: string | null
2121
- pi_number?: string | null
2122
- pr_number?: string | null
2123
- type?: $Enums.PurchaseIntakeTypeEnum
2124
- department?: string | null
2125
- request_date?: Date | string | null
2126
- items_or_services_description?: string | null
2127
- priority: $Enums.PurchaseIntakePriorityEnum
2128
- estimated_budget?: number | null
2129
- status?: $Enums.PurchaseIntakeStatusEnum
2130
- pr_status?: $Enums.PurchaseRequestStatusEnum
2131
- reject_reason?: string | null
2132
- pr_reject_reason?: string | null
2133
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2134
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2135
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2136
- send_back_count?: number | null
2137
- is_active?: boolean
2138
- created_at?: Date | string
2139
- created_by?: number | null
2140
- updated_by?: number | null
2141
- updated_at?: Date | string | null
2142
- is_deleted?: boolean
2143
- delete_reason?: string | null
2144
- deleted_at?: Date | string | null
2145
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
2146
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
2147
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
2148
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
2149
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
2150
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
2151
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2152
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
2153
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2154
- }
2155
-
2156
- export type PurchaseIntakeUncheckedCreateWithoutEvent_itemsInput = {
2157
- id?: number
2158
- uuid?: string | null
2159
- pi_number?: string | null
2160
- pr_number?: string | null
2161
- requestor_id?: number | null
2162
- type?: $Enums.PurchaseIntakeTypeEnum
2163
- department?: string | null
2164
- request_date?: Date | string | null
2165
- items_or_services_description?: string | null
2166
- priority: $Enums.PurchaseIntakePriorityEnum
2167
- estimated_budget?: number | null
2168
- status?: $Enums.PurchaseIntakeStatusEnum
2169
- pr_status?: $Enums.PurchaseRequestStatusEnum
2170
- reject_reason?: string | null
2171
- pr_reject_reason?: string | null
2172
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2173
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2174
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2175
- send_back_count?: number | null
2176
- is_active?: boolean
2177
- created_at?: Date | string
2178
- created_by?: number | null
2179
- updated_by?: number | null
2180
- updated_at?: Date | string | null
2181
- is_deleted?: boolean
2182
- delete_reason?: string | null
2183
- deleted_at?: Date | string | null
2184
- deleted_by?: number | null
2185
- initiated_by?: number | null
2186
- business_entity_id?: number | null
2187
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
2188
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
2189
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2190
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
2191
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2192
- }
2193
-
2194
- export type PurchaseIntakeCreateOrConnectWithoutEvent_itemsInput = {
2195
- where: Prisma.PurchaseIntakeWhereUniqueInput
2196
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEvent_itemsInput>
2197
- }
2198
-
2199
- export type PurchaseIntakeUpsertWithoutEvent_itemsInput = {
2200
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutEvent_itemsInput>
2201
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutEvent_itemsInput>
2202
- where?: Prisma.PurchaseIntakeWhereInput
2203
- }
2204
-
2205
- export type PurchaseIntakeUpdateToOneWithWhereWithoutEvent_itemsInput = {
2206
- where?: Prisma.PurchaseIntakeWhereInput
2207
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutEvent_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutEvent_itemsInput>
2208
- }
2209
-
2210
- export type PurchaseIntakeUpdateWithoutEvent_itemsInput = {
2211
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2212
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2213
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2214
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2215
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2216
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2217
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2218
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2219
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2220
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2221
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2222
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2223
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2224
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2225
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2226
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2227
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2228
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2229
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2230
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2231
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2232
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2233
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2234
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2235
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2236
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
2237
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
2238
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2239
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2240
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2241
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
2242
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2243
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2244
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2245
- }
2246
-
2247
- export type PurchaseIntakeUncheckedUpdateWithoutEvent_itemsInput = {
2248
- id?: Prisma.IntFieldUpdateOperationsInput | number
2249
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2250
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2251
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2252
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2253
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2254
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2255
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2256
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2257
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2258
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2259
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2260
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2261
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2262
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2263
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2264
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2265
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2266
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2267
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2268
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2269
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2270
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2271
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2272
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2273
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2274
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2275
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2276
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2277
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2278
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2279
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2280
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2281
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2282
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2283
- }
2284
-
2285
- export type PurchaseIntakeCreateWithoutPurchase_order_itemsInput = {
2286
- uuid?: string | null
2287
- pi_number?: string | null
2288
- pr_number?: string | null
2289
- type?: $Enums.PurchaseIntakeTypeEnum
2290
- department?: string | null
2291
- request_date?: Date | string | null
2292
- items_or_services_description?: string | null
2293
- priority: $Enums.PurchaseIntakePriorityEnum
2294
- estimated_budget?: number | null
2295
- status?: $Enums.PurchaseIntakeStatusEnum
2296
- pr_status?: $Enums.PurchaseRequestStatusEnum
2297
- reject_reason?: string | null
2298
- pr_reject_reason?: string | null
2299
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2300
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2301
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2302
- send_back_count?: number | null
2303
- is_active?: boolean
2304
- created_at?: Date | string
2305
- created_by?: number | null
2306
- updated_by?: number | null
2307
- updated_at?: Date | string | null
2308
- is_deleted?: boolean
2309
- delete_reason?: string | null
2310
- deleted_at?: Date | string | null
2311
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
2312
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
2313
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
2314
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
2315
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
2316
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
2317
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
2318
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
2319
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2320
- }
2321
-
2322
- export type PurchaseIntakeUncheckedCreateWithoutPurchase_order_itemsInput = {
2323
- id?: number
2324
- uuid?: string | null
2325
- pi_number?: string | null
2326
- pr_number?: string | null
2327
- requestor_id?: number | null
2328
- type?: $Enums.PurchaseIntakeTypeEnum
2329
- department?: string | null
2330
- request_date?: Date | string | null
2331
- items_or_services_description?: string | null
2332
- priority: $Enums.PurchaseIntakePriorityEnum
2333
- estimated_budget?: number | null
2334
- status?: $Enums.PurchaseIntakeStatusEnum
2335
- pr_status?: $Enums.PurchaseRequestStatusEnum
2336
- reject_reason?: string | null
2337
- pr_reject_reason?: string | null
2338
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2339
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2340
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2341
- send_back_count?: number | null
2342
- is_active?: boolean
2343
- created_at?: Date | string
2344
- created_by?: number | null
2345
- updated_by?: number | null
2346
- updated_at?: Date | string | null
2347
- is_deleted?: boolean
2348
- delete_reason?: string | null
2349
- deleted_at?: Date | string | null
2350
- deleted_by?: number | null
2351
- initiated_by?: number | null
2352
- business_entity_id?: number | null
2353
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
2354
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
2355
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
2356
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
2357
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2358
- }
2359
-
2360
- export type PurchaseIntakeCreateOrConnectWithoutPurchase_order_itemsInput = {
2361
- where: Prisma.PurchaseIntakeWhereUniqueInput
2362
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_order_itemsInput>
2363
- }
2364
-
2365
- export type PurchaseIntakeUpsertWithoutPurchase_order_itemsInput = {
2366
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_order_itemsInput>
2367
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutPurchase_order_itemsInput>
2368
- where?: Prisma.PurchaseIntakeWhereInput
2369
- }
2370
-
2371
- export type PurchaseIntakeUpdateToOneWithWhereWithoutPurchase_order_itemsInput = {
2372
- where?: Prisma.PurchaseIntakeWhereInput
2373
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutPurchase_order_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutPurchase_order_itemsInput>
2374
- }
2375
-
2376
- export type PurchaseIntakeUpdateWithoutPurchase_order_itemsInput = {
2377
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2378
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2379
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2380
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2381
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2382
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2383
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2384
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2385
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2386
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2387
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2388
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2389
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2390
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2391
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2392
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2393
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2394
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2395
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2396
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2397
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2398
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2399
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2400
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2401
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2402
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
2403
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
2404
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2405
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2406
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2407
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
2408
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
2409
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2410
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2411
- }
2412
-
2413
- export type PurchaseIntakeUncheckedUpdateWithoutPurchase_order_itemsInput = {
2414
- id?: Prisma.IntFieldUpdateOperationsInput | number
2415
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2416
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2417
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2418
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2419
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2420
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2421
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2422
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2423
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2424
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2425
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2426
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2427
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2428
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2429
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2430
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2431
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2432
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2433
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2434
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2435
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2436
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2437
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2438
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2439
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2440
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2441
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2442
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2443
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2444
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2445
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2446
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2447
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2448
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2449
- }
2450
-
2451
- export type PurchaseIntakeCreateWithoutBlanket_po_itemsInput = {
2452
- uuid?: string | null
2453
- pi_number?: string | null
2454
- pr_number?: string | null
2455
- type?: $Enums.PurchaseIntakeTypeEnum
2456
- department?: string | null
2457
- request_date?: Date | string | null
2458
- items_or_services_description?: string | null
2459
- priority: $Enums.PurchaseIntakePriorityEnum
2460
- estimated_budget?: number | null
2461
- status?: $Enums.PurchaseIntakeStatusEnum
2462
- pr_status?: $Enums.PurchaseRequestStatusEnum
2463
- reject_reason?: string | null
2464
- pr_reject_reason?: string | null
2465
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2466
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2467
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2468
- send_back_count?: number | null
2469
- is_active?: boolean
2470
- created_at?: Date | string
2471
- created_by?: number | null
2472
- updated_by?: number | null
2473
- updated_at?: Date | string | null
2474
- is_deleted?: boolean
2475
- delete_reason?: string | null
2476
- deleted_at?: Date | string | null
2477
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
2478
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
2479
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
2480
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutPurchase_intakesInput
2481
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
2482
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
2483
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
2484
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2485
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
2486
- }
2487
-
2488
- export type PurchaseIntakeUncheckedCreateWithoutBlanket_po_itemsInput = {
2489
- id?: number
2490
- uuid?: string | null
2491
- pi_number?: string | null
2492
- pr_number?: string | null
2493
- requestor_id?: number | null
2494
- type?: $Enums.PurchaseIntakeTypeEnum
2495
- department?: string | null
2496
- request_date?: Date | string | null
2497
- items_or_services_description?: string | null
2498
- priority: $Enums.PurchaseIntakePriorityEnum
2499
- estimated_budget?: number | null
2500
- status?: $Enums.PurchaseIntakeStatusEnum
2501
- pr_status?: $Enums.PurchaseRequestStatusEnum
2502
- reject_reason?: string | null
2503
- pr_reject_reason?: string | null
2504
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2505
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2506
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2507
- send_back_count?: number | null
2508
- is_active?: boolean
2509
- created_at?: Date | string
2510
- created_by?: number | null
2511
- updated_by?: number | null
2512
- updated_at?: Date | string | null
2513
- is_deleted?: boolean
2514
- delete_reason?: string | null
2515
- deleted_at?: Date | string | null
2516
- deleted_by?: number | null
2517
- initiated_by?: number | null
2518
- business_entity_id?: number | null
2519
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
2520
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
2521
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
2522
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2523
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
2524
- }
2525
-
2526
- export type PurchaseIntakeCreateOrConnectWithoutBlanket_po_itemsInput = {
2527
- where: Prisma.PurchaseIntakeWhereUniqueInput
2528
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBlanket_po_itemsInput>
2529
- }
2530
-
2531
- export type PurchaseIntakeUpsertWithoutBlanket_po_itemsInput = {
2532
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutBlanket_po_itemsInput>
2533
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBlanket_po_itemsInput>
2534
- where?: Prisma.PurchaseIntakeWhereInput
2535
- }
2536
-
2537
- export type PurchaseIntakeUpdateToOneWithWhereWithoutBlanket_po_itemsInput = {
2538
- where?: Prisma.PurchaseIntakeWhereInput
2539
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutBlanket_po_itemsInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutBlanket_po_itemsInput>
2540
- }
2541
-
2542
- export type PurchaseIntakeUpdateWithoutBlanket_po_itemsInput = {
2543
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2544
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2545
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2546
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2547
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2548
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2549
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2550
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2551
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2552
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2553
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2554
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2555
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2556
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2557
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2558
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2559
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2560
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2561
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2562
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2563
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2564
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2565
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2566
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2567
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2568
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
2569
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
2570
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2571
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2572
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2573
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
2574
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
2575
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2576
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2577
- }
2578
-
2579
- export type PurchaseIntakeUncheckedUpdateWithoutBlanket_po_itemsInput = {
2580
- id?: Prisma.IntFieldUpdateOperationsInput | number
2581
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2582
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2583
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2584
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2585
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2586
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2587
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2588
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2589
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2590
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2591
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2592
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2593
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2594
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2595
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2596
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2597
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2598
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2599
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2600
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2601
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2602
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2603
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2604
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2605
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2606
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2607
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2608
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2609
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2610
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2611
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2612
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2613
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2614
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2615
- }
2616
-
2617
- export type PurchaseIntakeCreateWithoutBusiness_entityInput = {
2618
- uuid?: string | null
2619
- pi_number?: string | null
2620
- pr_number?: string | null
2621
- type?: $Enums.PurchaseIntakeTypeEnum
2622
- department?: string | null
2623
- request_date?: Date | string | null
2624
- items_or_services_description?: string | null
2625
- priority: $Enums.PurchaseIntakePriorityEnum
2626
- estimated_budget?: number | null
2627
- status?: $Enums.PurchaseIntakeStatusEnum
2628
- pr_status?: $Enums.PurchaseRequestStatusEnum
2629
- reject_reason?: string | null
2630
- pr_reject_reason?: string | null
2631
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2632
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2633
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2634
- send_back_count?: number | null
2635
- is_active?: boolean
2636
- created_at?: Date | string
2637
- created_by?: number | null
2638
- updated_by?: number | null
2639
- updated_at?: Date | string | null
2640
- is_deleted?: boolean
2641
- delete_reason?: string | null
2642
- deleted_at?: Date | string | null
2643
- user?: Prisma.UserCreateNestedOneWithoutPurchase_intakeInput
2644
- deleted_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_deleted_byInput
2645
- initiated_by_user?: Prisma.UserCreateNestedOneWithoutPurchase_intake_initiated_byInput
2646
- purchase_intake_item?: Prisma.PurchaseIntakeItemCreateNestedManyWithoutPurchase_intakeInput
2647
- events?: Prisma.EventCreateNestedManyWithoutPurchase_intakeInput
2648
- event_items?: Prisma.EventItemsCreateNestedManyWithoutPurchase_intakeInput
2649
- purchase_order_items?: Prisma.PurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2650
- send_backs?: Prisma.SendBackCreateNestedManyWithoutPurchase_intakeInput
2651
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemCreateNestedManyWithoutPurchase_requestInput
2652
- }
2653
-
2654
- export type PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput = {
2655
- id?: number
2656
- uuid?: string | null
2657
- pi_number?: string | null
2658
- pr_number?: string | null
2659
- requestor_id?: number | null
2660
- type?: $Enums.PurchaseIntakeTypeEnum
2661
- department?: string | null
2662
- request_date?: Date | string | null
2663
- items_or_services_description?: string | null
2664
- priority: $Enums.PurchaseIntakePriorityEnum
2665
- estimated_budget?: number | null
2666
- status?: $Enums.PurchaseIntakeStatusEnum
2667
- pr_status?: $Enums.PurchaseRequestStatusEnum
2668
- reject_reason?: string | null
2669
- pr_reject_reason?: string | null
2670
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2671
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2672
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2673
- send_back_count?: number | null
2674
- is_active?: boolean
2675
- created_at?: Date | string
2676
- created_by?: number | null
2677
- updated_by?: number | null
2678
- updated_at?: Date | string | null
2679
- is_deleted?: boolean
2680
- delete_reason?: string | null
2681
- deleted_at?: Date | string | null
2682
- deleted_by?: number | null
2683
- initiated_by?: number | null
2684
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedCreateNestedManyWithoutPurchase_intakeInput
2685
- events?: Prisma.EventUncheckedCreateNestedManyWithoutPurchase_intakeInput
2686
- event_items?: Prisma.EventItemsUncheckedCreateNestedManyWithoutPurchase_intakeInput
2687
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2688
- send_backs?: Prisma.SendBackUncheckedCreateNestedManyWithoutPurchase_intakeInput
2689
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedCreateNestedManyWithoutPurchase_requestInput
2690
- }
2691
-
2692
- export type PurchaseIntakeCreateOrConnectWithoutBusiness_entityInput = {
2693
- where: Prisma.PurchaseIntakeWhereUniqueInput
2694
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput>
2695
- }
2696
-
2697
- export type PurchaseIntakeCreateManyBusiness_entityInputEnvelope = {
2698
- data: Prisma.PurchaseIntakeCreateManyBusiness_entityInput | Prisma.PurchaseIntakeCreateManyBusiness_entityInput[]
2699
- skipDuplicates?: boolean
2700
- }
2701
-
2702
- export type PurchaseIntakeUpsertWithWhereUniqueWithoutBusiness_entityInput = {
2703
- where: Prisma.PurchaseIntakeWhereUniqueInput
2704
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutBusiness_entityInput>
2705
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedCreateWithoutBusiness_entityInput>
2706
- }
2707
-
2708
- export type PurchaseIntakeUpdateWithWhereUniqueWithoutBusiness_entityInput = {
2709
- where: Prisma.PurchaseIntakeWhereUniqueInput
2710
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateWithoutBusiness_entityInput, Prisma.PurchaseIntakeUncheckedUpdateWithoutBusiness_entityInput>
2711
- }
2712
-
2713
- export type PurchaseIntakeUpdateManyWithWhereWithoutBusiness_entityInput = {
2714
- where: Prisma.PurchaseIntakeScalarWhereInput
2715
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityInput>
2716
- }
2717
-
2718
- export type PurchaseIntakeCreateManyUserInput = {
2719
- id?: number
2720
- uuid?: string | null
2721
- pi_number?: string | null
2722
- pr_number?: string | null
2723
- type?: $Enums.PurchaseIntakeTypeEnum
2724
- department?: string | null
2725
- request_date?: Date | string | null
2726
- items_or_services_description?: string | null
2727
- priority: $Enums.PurchaseIntakePriorityEnum
2728
- estimated_budget?: number | null
2729
- status?: $Enums.PurchaseIntakeStatusEnum
2730
- pr_status?: $Enums.PurchaseRequestStatusEnum
2731
- reject_reason?: string | null
2732
- pr_reject_reason?: string | null
2733
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2734
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2735
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2736
- send_back_count?: number | null
2737
- is_active?: boolean
2738
- created_at?: Date | string
2739
- created_by?: number | null
2740
- updated_by?: number | null
2741
- updated_at?: Date | string | null
2742
- is_deleted?: boolean
2743
- delete_reason?: string | null
2744
- deleted_at?: Date | string | null
2745
- deleted_by?: number | null
2746
- initiated_by?: number | null
2747
- business_entity_id?: number | null
2748
- }
2749
-
2750
- export type PurchaseIntakeCreateManyDeleted_by_userInput = {
2751
- id?: number
2752
- uuid?: string | null
2753
- pi_number?: string | null
2754
- pr_number?: string | null
2755
- requestor_id?: number | null
2756
- type?: $Enums.PurchaseIntakeTypeEnum
2757
- department?: string | null
2758
- request_date?: Date | string | null
2759
- items_or_services_description?: string | null
2760
- priority: $Enums.PurchaseIntakePriorityEnum
2761
- estimated_budget?: number | null
2762
- status?: $Enums.PurchaseIntakeStatusEnum
2763
- pr_status?: $Enums.PurchaseRequestStatusEnum
2764
- reject_reason?: string | null
2765
- pr_reject_reason?: string | null
2766
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2767
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2768
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2769
- send_back_count?: number | null
2770
- is_active?: boolean
2771
- created_at?: Date | string
2772
- created_by?: number | null
2773
- updated_by?: number | null
2774
- updated_at?: Date | string | null
2775
- is_deleted?: boolean
2776
- delete_reason?: string | null
2777
- deleted_at?: Date | string | null
2778
- initiated_by?: number | null
2779
- business_entity_id?: number | null
2780
- }
2781
-
2782
- export type PurchaseIntakeCreateManyInitiated_by_userInput = {
2783
- id?: number
2784
- uuid?: string | null
2785
- pi_number?: string | null
2786
- pr_number?: string | null
2787
- requestor_id?: number | null
2788
- type?: $Enums.PurchaseIntakeTypeEnum
2789
- department?: string | null
2790
- request_date?: Date | string | null
2791
- items_or_services_description?: string | null
2792
- priority: $Enums.PurchaseIntakePriorityEnum
2793
- estimated_budget?: number | null
2794
- status?: $Enums.PurchaseIntakeStatusEnum
2795
- pr_status?: $Enums.PurchaseRequestStatusEnum
2796
- reject_reason?: string | null
2797
- pr_reject_reason?: string | null
2798
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2799
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2800
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2801
- send_back_count?: number | null
2802
- is_active?: boolean
2803
- created_at?: Date | string
2804
- created_by?: number | null
2805
- updated_by?: number | null
2806
- updated_at?: Date | string | null
2807
- is_deleted?: boolean
2808
- delete_reason?: string | null
2809
- deleted_at?: Date | string | null
2810
- deleted_by?: number | null
2811
- business_entity_id?: number | null
2812
- }
2813
-
2814
- export type PurchaseIntakeUpdateWithoutUserInput = {
2815
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2816
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2817
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2818
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2819
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2820
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2821
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2822
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2823
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2824
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2825
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2826
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2827
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2828
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2829
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2830
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2831
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2832
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2833
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2834
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2835
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2836
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2837
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2838
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2839
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2840
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
2841
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2842
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2843
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2844
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
2845
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
2846
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2847
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2848
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2849
- }
2850
-
2851
- export type PurchaseIntakeUncheckedUpdateWithoutUserInput = {
2852
- id?: Prisma.IntFieldUpdateOperationsInput | number
2853
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2854
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2855
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2856
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2857
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2858
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2859
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2860
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2861
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2862
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2863
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2864
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2865
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2866
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2867
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2868
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2869
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2870
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2871
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2872
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2873
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2874
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2875
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2876
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2877
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2878
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2879
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2880
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2881
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2882
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2883
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2884
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2885
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2886
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2887
- }
2888
-
2889
- export type PurchaseIntakeUncheckedUpdateManyWithoutUserInput = {
2890
- id?: Prisma.IntFieldUpdateOperationsInput | number
2891
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2892
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2893
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2894
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2895
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2896
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2897
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2898
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2899
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2900
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2901
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2902
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2903
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2904
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2905
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2906
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2907
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2908
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2909
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2910
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2911
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2912
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2913
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2914
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2915
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2916
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2917
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2918
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2919
- }
2920
-
2921
- export type PurchaseIntakeUpdateWithoutDeleted_by_userInput = {
2922
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2923
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2924
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2925
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2926
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2927
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2928
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2929
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2930
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2931
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2932
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2933
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2934
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2935
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2936
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2937
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2938
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2939
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2940
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2941
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2942
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2943
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2944
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2945
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2946
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2947
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
2948
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
2949
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
2950
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
2951
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
2952
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
2953
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2954
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
2955
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
2956
- }
2957
-
2958
- export type PurchaseIntakeUncheckedUpdateWithoutDeleted_by_userInput = {
2959
- id?: Prisma.IntFieldUpdateOperationsInput | number
2960
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2961
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2962
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2963
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2964
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
2965
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2966
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2967
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2968
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
2969
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
2970
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
2971
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
2972
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2973
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2974
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2975
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2976
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2977
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2978
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
2979
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2980
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2981
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2982
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2983
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2984
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2985
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2986
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2987
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2988
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2989
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2990
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2991
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2992
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
2993
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
2994
- }
2995
-
2996
- export type PurchaseIntakeUncheckedUpdateManyWithoutDeleted_by_userInput = {
2997
- id?: Prisma.IntFieldUpdateOperationsInput | number
2998
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2999
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3000
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3001
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3002
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3003
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3004
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3005
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3006
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3007
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3008
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3009
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3010
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3011
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3012
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3013
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3014
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3015
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3016
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3017
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3018
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3019
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3020
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3021
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3022
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3023
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3024
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3025
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3026
- }
3027
-
3028
- export type PurchaseIntakeUpdateWithoutInitiated_by_userInput = {
3029
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3030
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3031
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3032
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3033
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3034
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3035
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3036
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3037
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3038
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3039
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3040
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3041
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3042
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3043
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3044
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3045
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3046
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3047
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3048
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3049
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3050
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3051
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3052
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3053
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3054
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
3055
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
3056
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput
3057
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
3058
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
3059
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
3060
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
3061
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
3062
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
3063
- }
3064
-
3065
- export type PurchaseIntakeUncheckedUpdateWithoutInitiated_by_userInput = {
3066
- id?: Prisma.IntFieldUpdateOperationsInput | number
3067
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3068
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3069
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3070
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3071
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3072
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3073
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3074
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3075
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3076
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3077
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3078
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3079
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3080
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3081
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3082
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3083
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3084
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3085
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3086
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3087
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3088
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3089
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3090
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3091
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3092
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3093
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3094
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3095
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3096
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3097
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3098
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
3099
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3100
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
3101
- }
3102
-
3103
- export type PurchaseIntakeUncheckedUpdateManyWithoutInitiated_by_userInput = {
3104
- id?: Prisma.IntFieldUpdateOperationsInput | number
3105
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3106
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3107
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3108
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3109
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3110
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3111
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3112
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3113
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3114
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3115
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3116
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3117
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3118
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3119
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3120
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3121
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3122
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3123
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3124
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3125
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3126
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3127
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3128
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3129
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3130
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3131
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3132
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3133
- }
3134
-
3135
- export type PurchaseIntakeCreateManyBusiness_entityInput = {
3136
- id?: number
3137
- uuid?: string | null
3138
- pi_number?: string | null
3139
- pr_number?: string | null
3140
- requestor_id?: number | null
3141
- type?: $Enums.PurchaseIntakeTypeEnum
3142
- department?: string | null
3143
- request_date?: Date | string | null
3144
- items_or_services_description?: string | null
3145
- priority: $Enums.PurchaseIntakePriorityEnum
3146
- estimated_budget?: number | null
3147
- status?: $Enums.PurchaseIntakeStatusEnum
3148
- pr_status?: $Enums.PurchaseRequestStatusEnum
3149
- reject_reason?: string | null
3150
- pr_reject_reason?: string | null
3151
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3152
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3153
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3154
- send_back_count?: number | null
3155
- is_active?: boolean
3156
- created_at?: Date | string
3157
- created_by?: number | null
3158
- updated_by?: number | null
3159
- updated_at?: Date | string | null
3160
- is_deleted?: boolean
3161
- delete_reason?: string | null
3162
- deleted_at?: Date | string | null
3163
- deleted_by?: number | null
3164
- initiated_by?: number | null
3165
- }
3166
-
3167
- export type PurchaseIntakeUpdateWithoutBusiness_entityInput = {
3168
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3169
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3170
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3171
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3172
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3173
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3174
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3175
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3176
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3177
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3178
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3179
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3180
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3181
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3182
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3183
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3184
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3185
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3186
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3187
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3188
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3189
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3190
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3191
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3192
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3193
- user?: Prisma.UserUpdateOneWithoutPurchase_intakeNestedInput
3194
- deleted_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_deleted_byNestedInput
3195
- initiated_by_user?: Prisma.UserUpdateOneWithoutPurchase_intake_initiated_byNestedInput
3196
- purchase_intake_item?: Prisma.PurchaseIntakeItemUpdateManyWithoutPurchase_intakeNestedInput
3197
- events?: Prisma.EventUpdateManyWithoutPurchase_intakeNestedInput
3198
- event_items?: Prisma.EventItemsUpdateManyWithoutPurchase_intakeNestedInput
3199
- purchase_order_items?: Prisma.PurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
3200
- send_backs?: Prisma.SendBackUpdateManyWithoutPurchase_intakeNestedInput
3201
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUpdateManyWithoutPurchase_requestNestedInput
3202
- }
3203
-
3204
- export type PurchaseIntakeUncheckedUpdateWithoutBusiness_entityInput = {
3205
- id?: Prisma.IntFieldUpdateOperationsInput | number
3206
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3207
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3208
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3209
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3210
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3211
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3212
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3213
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3214
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3215
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3216
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3217
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3218
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3219
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3220
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3221
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3222
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3223
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3224
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3225
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3226
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3227
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3228
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3229
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3230
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3231
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3232
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3233
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3234
- purchase_intake_item?: Prisma.PurchaseIntakeItemUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3235
- events?: Prisma.EventUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3236
- event_items?: Prisma.EventItemsUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3237
- purchase_order_items?: Prisma.PurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
3238
- send_backs?: Prisma.SendBackUncheckedUpdateManyWithoutPurchase_intakeNestedInput
3239
- blanket_po_items?: Prisma.BlanketPurchaseOrderItemUncheckedUpdateManyWithoutPurchase_requestNestedInput
3240
- }
3241
-
3242
- export type PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityInput = {
3243
- id?: Prisma.IntFieldUpdateOperationsInput | number
3244
- uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3245
- pi_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3246
- pr_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3247
- requestor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3248
- type?: Prisma.EnumPurchaseIntakeTypeEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeTypeEnum
3249
- department?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3250
- request_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3251
- items_or_services_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3252
- priority?: Prisma.EnumPurchaseIntakePriorityEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakePriorityEnum
3253
- estimated_budget?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
3254
- status?: Prisma.EnumPurchaseIntakeStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseIntakeStatusEnum
3255
- pr_status?: Prisma.EnumPurchaseRequestStatusEnumFieldUpdateOperationsInput | $Enums.PurchaseRequestStatusEnum
3256
- reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3257
- pr_reject_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3258
- attachments?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3259
- if_yes_attach_quotations?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3260
- others?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
3261
- send_back_count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3262
- is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
3263
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3264
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3265
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3266
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3267
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
3268
- delete_reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3269
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3270
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3271
- initiated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
3272
- }
3273
-
3274
-
3275
- /**
3276
- * Count Type PurchaseIntakeCountOutputType
3277
- */
3278
-
3279
- export type PurchaseIntakeCountOutputType = {
3280
- purchase_intake_item: number
3281
- events: number
3282
- event_items: number
3283
- purchase_order_items: number
3284
- send_backs: number
3285
- blanket_po_items: number
3286
- }
3287
-
3288
- export type PurchaseIntakeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3289
- purchase_intake_item?: boolean | PurchaseIntakeCountOutputTypeCountPurchase_intake_itemArgs
3290
- events?: boolean | PurchaseIntakeCountOutputTypeCountEventsArgs
3291
- event_items?: boolean | PurchaseIntakeCountOutputTypeCountEvent_itemsArgs
3292
- purchase_order_items?: boolean | PurchaseIntakeCountOutputTypeCountPurchase_order_itemsArgs
3293
- send_backs?: boolean | PurchaseIntakeCountOutputTypeCountSend_backsArgs
3294
- blanket_po_items?: boolean | PurchaseIntakeCountOutputTypeCountBlanket_po_itemsArgs
3295
- }
3296
-
3297
- /**
3298
- * PurchaseIntakeCountOutputType without action
3299
- */
3300
- export type PurchaseIntakeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3301
- /**
3302
- * Select specific fields to fetch from the PurchaseIntakeCountOutputType
3303
- */
3304
- select?: Prisma.PurchaseIntakeCountOutputTypeSelect<ExtArgs> | null
3305
- }
3306
-
3307
- /**
3308
- * PurchaseIntakeCountOutputType without action
3309
- */
3310
- export type PurchaseIntakeCountOutputTypeCountPurchase_intake_itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3311
- where?: Prisma.PurchaseIntakeItemWhereInput
3312
- }
3313
-
3314
- /**
3315
- * PurchaseIntakeCountOutputType without action
3316
- */
3317
- export type PurchaseIntakeCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3318
- where?: Prisma.EventWhereInput
3319
- }
3320
-
3321
- /**
3322
- * PurchaseIntakeCountOutputType without action
3323
- */
3324
- export type PurchaseIntakeCountOutputTypeCountEvent_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3325
- where?: Prisma.EventItemsWhereInput
3326
- }
3327
-
3328
- /**
3329
- * PurchaseIntakeCountOutputType without action
3330
- */
3331
- export type PurchaseIntakeCountOutputTypeCountPurchase_order_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3332
- where?: Prisma.PurchaseOrderItemWhereInput
3333
- }
3334
-
3335
- /**
3336
- * PurchaseIntakeCountOutputType without action
3337
- */
3338
- export type PurchaseIntakeCountOutputTypeCountSend_backsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3339
- where?: Prisma.SendBackWhereInput
3340
- }
3341
-
3342
- /**
3343
- * PurchaseIntakeCountOutputType without action
3344
- */
3345
- export type PurchaseIntakeCountOutputTypeCountBlanket_po_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3346
- where?: Prisma.BlanketPurchaseOrderItemWhereInput
3347
- }
3348
-
3349
-
3350
- export type PurchaseIntakeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3351
- id?: boolean
3352
- uuid?: boolean
3353
- pi_number?: boolean
3354
- pr_number?: boolean
3355
- requestor_id?: boolean
3356
- type?: boolean
3357
- department?: boolean
3358
- request_date?: boolean
3359
- items_or_services_description?: boolean
3360
- priority?: boolean
3361
- estimated_budget?: boolean
3362
- status?: boolean
3363
- pr_status?: boolean
3364
- reject_reason?: boolean
3365
- pr_reject_reason?: boolean
3366
- attachments?: boolean
3367
- if_yes_attach_quotations?: boolean
3368
- others?: boolean
3369
- send_back_count?: boolean
3370
- is_active?: boolean
3371
- created_at?: boolean
3372
- created_by?: boolean
3373
- updated_by?: boolean
3374
- updated_at?: boolean
3375
- is_deleted?: boolean
3376
- delete_reason?: boolean
3377
- deleted_at?: boolean
3378
- deleted_by?: boolean
3379
- initiated_by?: boolean
3380
- business_entity_id?: boolean
3381
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3382
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3383
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3384
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3385
- purchase_intake_item?: boolean | Prisma.PurchaseIntake$purchase_intake_itemArgs<ExtArgs>
3386
- events?: boolean | Prisma.PurchaseIntake$eventsArgs<ExtArgs>
3387
- event_items?: boolean | Prisma.PurchaseIntake$event_itemsArgs<ExtArgs>
3388
- purchase_order_items?: boolean | Prisma.PurchaseIntake$purchase_order_itemsArgs<ExtArgs>
3389
- send_backs?: boolean | Prisma.PurchaseIntake$send_backsArgs<ExtArgs>
3390
- blanket_po_items?: boolean | Prisma.PurchaseIntake$blanket_po_itemsArgs<ExtArgs>
3391
- _count?: boolean | Prisma.PurchaseIntakeCountOutputTypeDefaultArgs<ExtArgs>
3392
- }, ExtArgs["result"]["purchaseIntake"]>
3393
-
3394
- export type PurchaseIntakeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3395
- id?: boolean
3396
- uuid?: boolean
3397
- pi_number?: boolean
3398
- pr_number?: boolean
3399
- requestor_id?: boolean
3400
- type?: boolean
3401
- department?: boolean
3402
- request_date?: boolean
3403
- items_or_services_description?: boolean
3404
- priority?: boolean
3405
- estimated_budget?: boolean
3406
- status?: boolean
3407
- pr_status?: boolean
3408
- reject_reason?: boolean
3409
- pr_reject_reason?: boolean
3410
- attachments?: boolean
3411
- if_yes_attach_quotations?: boolean
3412
- others?: boolean
3413
- send_back_count?: boolean
3414
- is_active?: boolean
3415
- created_at?: boolean
3416
- created_by?: boolean
3417
- updated_by?: boolean
3418
- updated_at?: boolean
3419
- is_deleted?: boolean
3420
- delete_reason?: boolean
3421
- deleted_at?: boolean
3422
- deleted_by?: boolean
3423
- initiated_by?: boolean
3424
- business_entity_id?: boolean
3425
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3426
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3427
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3428
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3429
- }, ExtArgs["result"]["purchaseIntake"]>
3430
-
3431
- export type PurchaseIntakeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3432
- id?: boolean
3433
- uuid?: boolean
3434
- pi_number?: boolean
3435
- pr_number?: boolean
3436
- requestor_id?: boolean
3437
- type?: boolean
3438
- department?: boolean
3439
- request_date?: boolean
3440
- items_or_services_description?: boolean
3441
- priority?: boolean
3442
- estimated_budget?: boolean
3443
- status?: boolean
3444
- pr_status?: boolean
3445
- reject_reason?: boolean
3446
- pr_reject_reason?: boolean
3447
- attachments?: boolean
3448
- if_yes_attach_quotations?: boolean
3449
- others?: boolean
3450
- send_back_count?: boolean
3451
- is_active?: boolean
3452
- created_at?: boolean
3453
- created_by?: boolean
3454
- updated_by?: boolean
3455
- updated_at?: boolean
3456
- is_deleted?: boolean
3457
- delete_reason?: boolean
3458
- deleted_at?: boolean
3459
- deleted_by?: boolean
3460
- initiated_by?: boolean
3461
- business_entity_id?: boolean
3462
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3463
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3464
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3465
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3466
- }, ExtArgs["result"]["purchaseIntake"]>
3467
-
3468
- export type PurchaseIntakeSelectScalar = {
3469
- id?: boolean
3470
- uuid?: boolean
3471
- pi_number?: boolean
3472
- pr_number?: boolean
3473
- requestor_id?: boolean
3474
- type?: boolean
3475
- department?: boolean
3476
- request_date?: boolean
3477
- items_or_services_description?: boolean
3478
- priority?: boolean
3479
- estimated_budget?: boolean
3480
- status?: boolean
3481
- pr_status?: boolean
3482
- reject_reason?: boolean
3483
- pr_reject_reason?: boolean
3484
- attachments?: boolean
3485
- if_yes_attach_quotations?: boolean
3486
- others?: boolean
3487
- send_back_count?: boolean
3488
- is_active?: boolean
3489
- created_at?: boolean
3490
- created_by?: boolean
3491
- updated_by?: boolean
3492
- updated_at?: boolean
3493
- is_deleted?: boolean
3494
- delete_reason?: boolean
3495
- deleted_at?: boolean
3496
- deleted_by?: boolean
3497
- initiated_by?: boolean
3498
- business_entity_id?: boolean
3499
- }
3500
-
3501
- export type PurchaseIntakeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "pi_number" | "pr_number" | "requestor_id" | "type" | "department" | "request_date" | "items_or_services_description" | "priority" | "estimated_budget" | "status" | "pr_status" | "reject_reason" | "pr_reject_reason" | "attachments" | "if_yes_attach_quotations" | "others" | "send_back_count" | "is_active" | "created_at" | "created_by" | "updated_by" | "updated_at" | "is_deleted" | "delete_reason" | "deleted_at" | "deleted_by" | "initiated_by" | "business_entity_id", ExtArgs["result"]["purchaseIntake"]>
3502
- export type PurchaseIntakeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3503
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3504
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3505
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3506
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3507
- purchase_intake_item?: boolean | Prisma.PurchaseIntake$purchase_intake_itemArgs<ExtArgs>
3508
- events?: boolean | Prisma.PurchaseIntake$eventsArgs<ExtArgs>
3509
- event_items?: boolean | Prisma.PurchaseIntake$event_itemsArgs<ExtArgs>
3510
- purchase_order_items?: boolean | Prisma.PurchaseIntake$purchase_order_itemsArgs<ExtArgs>
3511
- send_backs?: boolean | Prisma.PurchaseIntake$send_backsArgs<ExtArgs>
3512
- blanket_po_items?: boolean | Prisma.PurchaseIntake$blanket_po_itemsArgs<ExtArgs>
3513
- _count?: boolean | Prisma.PurchaseIntakeCountOutputTypeDefaultArgs<ExtArgs>
3514
- }
3515
- export type PurchaseIntakeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3516
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3517
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3518
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3519
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3520
- }
3521
- export type PurchaseIntakeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3522
- user?: boolean | Prisma.PurchaseIntake$userArgs<ExtArgs>
3523
- deleted_by_user?: boolean | Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>
3524
- initiated_by_user?: boolean | Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>
3525
- business_entity?: boolean | Prisma.PurchaseIntake$business_entityArgs<ExtArgs>
3526
- }
3527
-
3528
- export type $PurchaseIntakePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3529
- name: "PurchaseIntake"
3530
- objects: {
3531
- user: Prisma.$UserPayload<ExtArgs> | null
3532
- deleted_by_user: Prisma.$UserPayload<ExtArgs> | null
3533
- initiated_by_user: Prisma.$UserPayload<ExtArgs> | null
3534
- business_entity: Prisma.$BusinessEntityPayload<ExtArgs> | null
3535
- purchase_intake_item: Prisma.$PurchaseIntakeItemPayload<ExtArgs>[]
3536
- events: Prisma.$EventPayload<ExtArgs>[]
3537
- event_items: Prisma.$EventItemsPayload<ExtArgs>[]
3538
- purchase_order_items: Prisma.$PurchaseOrderItemPayload<ExtArgs>[]
3539
- send_backs: Prisma.$SendBackPayload<ExtArgs>[]
3540
- blanket_po_items: Prisma.$BlanketPurchaseOrderItemPayload<ExtArgs>[]
3541
- }
3542
- scalars: runtime.Types.Extensions.GetPayloadResult<{
3543
- id: number
3544
- uuid: string | null
3545
- pi_number: string | null
3546
- pr_number: string | null
3547
- requestor_id: number | null
3548
- type: $Enums.PurchaseIntakeTypeEnum
3549
- department: string | null
3550
- request_date: Date | null
3551
- items_or_services_description: string | null
3552
- priority: $Enums.PurchaseIntakePriorityEnum
3553
- estimated_budget: number | null
3554
- status: $Enums.PurchaseIntakeStatusEnum
3555
- pr_status: $Enums.PurchaseRequestStatusEnum
3556
- reject_reason: string | null
3557
- pr_reject_reason: string | null
3558
- attachments: runtime.JsonValue | null
3559
- if_yes_attach_quotations: runtime.JsonValue | null
3560
- others: runtime.JsonValue | null
3561
- send_back_count: number | null
3562
- is_active: boolean
3563
- created_at: Date
3564
- created_by: number | null
3565
- updated_by: number | null
3566
- updated_at: Date | null
3567
- is_deleted: boolean
3568
- delete_reason: string | null
3569
- deleted_at: Date | null
3570
- deleted_by: number | null
3571
- initiated_by: number | null
3572
- business_entity_id: number | null
3573
- }, ExtArgs["result"]["purchaseIntake"]>
3574
- composites: {}
3575
- }
3576
-
3577
- export type PurchaseIntakeGetPayload<S extends boolean | null | undefined | PurchaseIntakeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload, S>
3578
-
3579
- export type PurchaseIntakeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
3580
- Omit<PurchaseIntakeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
3581
- select?: PurchaseIntakeCountAggregateInputType | true
3582
- }
3583
-
3584
- export interface PurchaseIntakeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
3585
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PurchaseIntake'], meta: { name: 'PurchaseIntake' } }
3586
- /**
3587
- * Find zero or one PurchaseIntake that matches the filter.
3588
- * @param {PurchaseIntakeFindUniqueArgs} args - Arguments to find a PurchaseIntake
3589
- * @example
3590
- * // Get one PurchaseIntake
3591
- * const purchaseIntake = await prisma.purchaseIntake.findUnique({
3592
- * where: {
3593
- * // ... provide filter here
3594
- * }
3595
- * })
3596
- */
3597
- findUnique<T extends PurchaseIntakeFindUniqueArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3598
-
3599
- /**
3600
- * Find one PurchaseIntake that matches the filter or throw an error with `error.code='P2025'`
3601
- * if no matches were found.
3602
- * @param {PurchaseIntakeFindUniqueOrThrowArgs} args - Arguments to find a PurchaseIntake
3603
- * @example
3604
- * // Get one PurchaseIntake
3605
- * const purchaseIntake = await prisma.purchaseIntake.findUniqueOrThrow({
3606
- * where: {
3607
- * // ... provide filter here
3608
- * }
3609
- * })
3610
- */
3611
- findUniqueOrThrow<T extends PurchaseIntakeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3612
-
3613
- /**
3614
- * Find the first PurchaseIntake that matches the filter.
3615
- * Note, that providing `undefined` is treated as the value not being there.
3616
- * Read more here: https://pris.ly/d/null-undefined
3617
- * @param {PurchaseIntakeFindFirstArgs} args - Arguments to find a PurchaseIntake
3618
- * @example
3619
- * // Get one PurchaseIntake
3620
- * const purchaseIntake = await prisma.purchaseIntake.findFirst({
3621
- * where: {
3622
- * // ... provide filter here
3623
- * }
3624
- * })
3625
- */
3626
- findFirst<T extends PurchaseIntakeFindFirstArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeFindFirstArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3627
-
3628
- /**
3629
- * Find the first PurchaseIntake that matches the filter or
3630
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3631
- * Note, that providing `undefined` is treated as the value not being there.
3632
- * Read more here: https://pris.ly/d/null-undefined
3633
- * @param {PurchaseIntakeFindFirstOrThrowArgs} args - Arguments to find a PurchaseIntake
3634
- * @example
3635
- * // Get one PurchaseIntake
3636
- * const purchaseIntake = await prisma.purchaseIntake.findFirstOrThrow({
3637
- * where: {
3638
- * // ... provide filter here
3639
- * }
3640
- * })
3641
- */
3642
- findFirstOrThrow<T extends PurchaseIntakeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3643
-
3644
- /**
3645
- * Find zero or more PurchaseIntakes that matches the filter.
3646
- * Note, that providing `undefined` is treated as the value not being there.
3647
- * Read more here: https://pris.ly/d/null-undefined
3648
- * @param {PurchaseIntakeFindManyArgs} args - Arguments to filter and select certain fields only.
3649
- * @example
3650
- * // Get all PurchaseIntakes
3651
- * const purchaseIntakes = await prisma.purchaseIntake.findMany()
3652
- *
3653
- * // Get first 10 PurchaseIntakes
3654
- * const purchaseIntakes = await prisma.purchaseIntake.findMany({ take: 10 })
3655
- *
3656
- * // Only select the `id`
3657
- * const purchaseIntakeWithIdOnly = await prisma.purchaseIntake.findMany({ select: { id: true } })
3658
- *
3659
- */
3660
- findMany<T extends PurchaseIntakeFindManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
3661
-
3662
- /**
3663
- * Create a PurchaseIntake.
3664
- * @param {PurchaseIntakeCreateArgs} args - Arguments to create a PurchaseIntake.
3665
- * @example
3666
- * // Create one PurchaseIntake
3667
- * const PurchaseIntake = await prisma.purchaseIntake.create({
3668
- * data: {
3669
- * // ... data to create a PurchaseIntake
3670
- * }
3671
- * })
3672
- *
3673
- */
3674
- create<T extends PurchaseIntakeCreateArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeCreateArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3675
-
3676
- /**
3677
- * Create many PurchaseIntakes.
3678
- * @param {PurchaseIntakeCreateManyArgs} args - Arguments to create many PurchaseIntakes.
3679
- * @example
3680
- * // Create many PurchaseIntakes
3681
- * const purchaseIntake = await prisma.purchaseIntake.createMany({
3682
- * data: [
3683
- * // ... provide data here
3684
- * ]
3685
- * })
3686
- *
3687
- */
3688
- createMany<T extends PurchaseIntakeCreateManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
3689
-
3690
- /**
3691
- * Create many PurchaseIntakes and returns the data saved in the database.
3692
- * @param {PurchaseIntakeCreateManyAndReturnArgs} args - Arguments to create many PurchaseIntakes.
3693
- * @example
3694
- * // Create many PurchaseIntakes
3695
- * const purchaseIntake = await prisma.purchaseIntake.createManyAndReturn({
3696
- * data: [
3697
- * // ... provide data here
3698
- * ]
3699
- * })
3700
- *
3701
- * // Create many PurchaseIntakes and only return the `id`
3702
- * const purchaseIntakeWithIdOnly = await prisma.purchaseIntake.createManyAndReturn({
3703
- * select: { id: true },
3704
- * data: [
3705
- * // ... provide data here
3706
- * ]
3707
- * })
3708
- * Note, that providing `undefined` is treated as the value not being there.
3709
- * Read more here: https://pris.ly/d/null-undefined
3710
- *
3711
- */
3712
- createManyAndReturn<T extends PurchaseIntakeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
3713
-
3714
- /**
3715
- * Delete a PurchaseIntake.
3716
- * @param {PurchaseIntakeDeleteArgs} args - Arguments to delete one PurchaseIntake.
3717
- * @example
3718
- * // Delete one PurchaseIntake
3719
- * const PurchaseIntake = await prisma.purchaseIntake.delete({
3720
- * where: {
3721
- * // ... filter to delete one PurchaseIntake
3722
- * }
3723
- * })
3724
- *
3725
- */
3726
- delete<T extends PurchaseIntakeDeleteArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeDeleteArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3727
-
3728
- /**
3729
- * Update one PurchaseIntake.
3730
- * @param {PurchaseIntakeUpdateArgs} args - Arguments to update one PurchaseIntake.
3731
- * @example
3732
- * // Update one PurchaseIntake
3733
- * const purchaseIntake = await prisma.purchaseIntake.update({
3734
- * where: {
3735
- * // ... provide filter here
3736
- * },
3737
- * data: {
3738
- * // ... provide data here
3739
- * }
3740
- * })
3741
- *
3742
- */
3743
- update<T extends PurchaseIntakeUpdateArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeUpdateArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3744
-
3745
- /**
3746
- * Delete zero or more PurchaseIntakes.
3747
- * @param {PurchaseIntakeDeleteManyArgs} args - Arguments to filter PurchaseIntakes to delete.
3748
- * @example
3749
- * // Delete a few PurchaseIntakes
3750
- * const { count } = await prisma.purchaseIntake.deleteMany({
3751
- * where: {
3752
- * // ... provide filter here
3753
- * }
3754
- * })
3755
- *
3756
- */
3757
- deleteMany<T extends PurchaseIntakeDeleteManyArgs>(args?: Prisma.SelectSubset<T, PurchaseIntakeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
3758
-
3759
- /**
3760
- * Update zero or more PurchaseIntakes.
3761
- * Note, that providing `undefined` is treated as the value not being there.
3762
- * Read more here: https://pris.ly/d/null-undefined
3763
- * @param {PurchaseIntakeUpdateManyArgs} args - Arguments to update one or more rows.
3764
- * @example
3765
- * // Update many PurchaseIntakes
3766
- * const purchaseIntake = await prisma.purchaseIntake.updateMany({
3767
- * where: {
3768
- * // ... provide filter here
3769
- * },
3770
- * data: {
3771
- * // ... provide data here
3772
- * }
3773
- * })
3774
- *
3775
- */
3776
- updateMany<T extends PurchaseIntakeUpdateManyArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
3777
-
3778
- /**
3779
- * Update zero or more PurchaseIntakes and returns the data updated in the database.
3780
- * @param {PurchaseIntakeUpdateManyAndReturnArgs} args - Arguments to update many PurchaseIntakes.
3781
- * @example
3782
- * // Update many PurchaseIntakes
3783
- * const purchaseIntake = await prisma.purchaseIntake.updateManyAndReturn({
3784
- * where: {
3785
- * // ... provide filter here
3786
- * },
3787
- * data: [
3788
- * // ... provide data here
3789
- * ]
3790
- * })
3791
- *
3792
- * // Update zero or more PurchaseIntakes and only return the `id`
3793
- * const purchaseIntakeWithIdOnly = await prisma.purchaseIntake.updateManyAndReturn({
3794
- * select: { id: true },
3795
- * where: {
3796
- * // ... provide filter here
3797
- * },
3798
- * data: [
3799
- * // ... provide data here
3800
- * ]
3801
- * })
3802
- * Note, that providing `undefined` is treated as the value not being there.
3803
- * Read more here: https://pris.ly/d/null-undefined
3804
- *
3805
- */
3806
- updateManyAndReturn<T extends PurchaseIntakeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
3807
-
3808
- /**
3809
- * Create or update one PurchaseIntake.
3810
- * @param {PurchaseIntakeUpsertArgs} args - Arguments to update or create a PurchaseIntake.
3811
- * @example
3812
- * // Update or create a PurchaseIntake
3813
- * const purchaseIntake = await prisma.purchaseIntake.upsert({
3814
- * create: {
3815
- * // ... data to create a PurchaseIntake
3816
- * },
3817
- * update: {
3818
- * // ... in case it already exists, update
3819
- * },
3820
- * where: {
3821
- * // ... the filter for the PurchaseIntake we want to update
3822
- * }
3823
- * })
3824
- */
3825
- upsert<T extends PurchaseIntakeUpsertArgs>(args: Prisma.SelectSubset<T, PurchaseIntakeUpsertArgs<ExtArgs>>): Prisma.Prisma__PurchaseIntakeClient<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
3826
-
3827
-
3828
- /**
3829
- * Count the number of PurchaseIntakes.
3830
- * Note, that providing `undefined` is treated as the value not being there.
3831
- * Read more here: https://pris.ly/d/null-undefined
3832
- * @param {PurchaseIntakeCountArgs} args - Arguments to filter PurchaseIntakes to count.
3833
- * @example
3834
- * // Count the number of PurchaseIntakes
3835
- * const count = await prisma.purchaseIntake.count({
3836
- * where: {
3837
- * // ... the filter for the PurchaseIntakes we want to count
3838
- * }
3839
- * })
3840
- **/
3841
- count<T extends PurchaseIntakeCountArgs>(
3842
- args?: Prisma.Subset<T, PurchaseIntakeCountArgs>,
3843
- ): Prisma.PrismaPromise<
3844
- T extends runtime.Types.Utils.Record<'select', any>
3845
- ? T['select'] extends true
3846
- ? number
3847
- : Prisma.GetScalarType<T['select'], PurchaseIntakeCountAggregateOutputType>
3848
- : number
3849
- >
3850
-
3851
- /**
3852
- * Allows you to perform aggregations operations on a PurchaseIntake.
3853
- * Note, that providing `undefined` is treated as the value not being there.
3854
- * Read more here: https://pris.ly/d/null-undefined
3855
- * @param {PurchaseIntakeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3856
- * @example
3857
- * // Ordered by age ascending
3858
- * // Where email contains prisma.io
3859
- * // Limited to the 10 users
3860
- * const aggregations = await prisma.user.aggregate({
3861
- * _avg: {
3862
- * age: true,
3863
- * },
3864
- * where: {
3865
- * email: {
3866
- * contains: "prisma.io",
3867
- * },
3868
- * },
3869
- * orderBy: {
3870
- * age: "asc",
3871
- * },
3872
- * take: 10,
3873
- * })
3874
- **/
3875
- aggregate<T extends PurchaseIntakeAggregateArgs>(args: Prisma.Subset<T, PurchaseIntakeAggregateArgs>): Prisma.PrismaPromise<GetPurchaseIntakeAggregateType<T>>
3876
-
3877
- /**
3878
- * Group by PurchaseIntake.
3879
- * Note, that providing `undefined` is treated as the value not being there.
3880
- * Read more here: https://pris.ly/d/null-undefined
3881
- * @param {PurchaseIntakeGroupByArgs} args - Group by arguments.
3882
- * @example
3883
- * // Group by city, order by createdAt, get count
3884
- * const result = await prisma.user.groupBy({
3885
- * by: ['city', 'createdAt'],
3886
- * orderBy: {
3887
- * createdAt: true
3888
- * },
3889
- * _count: {
3890
- * _all: true
3891
- * },
3892
- * })
3893
- *
3894
- **/
3895
- groupBy<
3896
- T extends PurchaseIntakeGroupByArgs,
3897
- HasSelectOrTake extends Prisma.Or<
3898
- Prisma.Extends<'skip', Prisma.Keys<T>>,
3899
- Prisma.Extends<'take', Prisma.Keys<T>>
3900
- >,
3901
- OrderByArg extends Prisma.True extends HasSelectOrTake
3902
- ? { orderBy: PurchaseIntakeGroupByArgs['orderBy'] }
3903
- : { orderBy?: PurchaseIntakeGroupByArgs['orderBy'] },
3904
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
3905
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
3906
- ByValid extends Prisma.Has<ByFields, OrderFields>,
3907
- HavingFields extends Prisma.GetHavingFields<T['having']>,
3908
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
3909
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
3910
- InputErrors extends ByEmpty extends Prisma.True
3911
- ? `Error: "by" must not be empty.`
3912
- : HavingValid extends Prisma.False
3913
- ? {
3914
- [P in HavingFields]: P extends ByFields
3915
- ? never
3916
- : P extends string
3917
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
3918
- : [
3919
- Error,
3920
- 'Field ',
3921
- P,
3922
- ` in "having" needs to be provided in "by"`,
3923
- ]
3924
- }[HavingFields]
3925
- : 'take' extends Prisma.Keys<T>
3926
- ? 'orderBy' extends Prisma.Keys<T>
3927
- ? ByValid extends Prisma.True
3928
- ? {}
3929
- : {
3930
- [P in OrderFields]: P extends ByFields
3931
- ? never
3932
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3933
- }[OrderFields]
3934
- : 'Error: If you provide "take", you also need to provide "orderBy"'
3935
- : 'skip' extends Prisma.Keys<T>
3936
- ? 'orderBy' extends Prisma.Keys<T>
3937
- ? ByValid extends Prisma.True
3938
- ? {}
3939
- : {
3940
- [P in OrderFields]: P extends ByFields
3941
- ? never
3942
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3943
- }[OrderFields]
3944
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
3945
- : ByValid extends Prisma.True
3946
- ? {}
3947
- : {
3948
- [P in OrderFields]: P extends ByFields
3949
- ? never
3950
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3951
- }[OrderFields]
3952
- >(args: Prisma.SubsetIntersection<T, PurchaseIntakeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPurchaseIntakeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
3953
- /**
3954
- * Fields of the PurchaseIntake model
3955
- */
3956
- readonly fields: PurchaseIntakeFieldRefs;
3957
- }
3958
-
3959
- /**
3960
- * The delegate class that acts as a "Promise-like" for PurchaseIntake.
3961
- * Why is this prefixed with `Prisma__`?
3962
- * Because we want to prevent naming conflicts as mentioned in
3963
- * https://github.com/prisma/prisma-client-js/issues/707
3964
- */
3965
- export interface Prisma__PurchaseIntakeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3966
- readonly [Symbol.toStringTag]: "PrismaPromise"
3967
- user<T extends Prisma.PurchaseIntake$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3968
- deleted_by_user<T extends Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$deleted_by_userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3969
- initiated_by_user<T extends Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$initiated_by_userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3970
- business_entity<T extends Prisma.PurchaseIntake$business_entityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$business_entityArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3971
- purchase_intake_item<T extends Prisma.PurchaseIntake$purchase_intake_itemArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$purchase_intake_itemArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakeItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3972
- events<T extends Prisma.PurchaseIntake$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3973
- event_items<T extends Prisma.PurchaseIntake$event_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$event_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventItemsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3974
- purchase_order_items<T extends Prisma.PurchaseIntake$purchase_order_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$purchase_order_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3975
- send_backs<T extends Prisma.PurchaseIntake$send_backsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$send_backsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SendBackPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3976
- blanket_po_items<T extends Prisma.PurchaseIntake$blanket_po_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PurchaseIntake$blanket_po_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlanketPurchaseOrderItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3977
- /**
3978
- * Attaches callbacks for the resolution and/or rejection of the Promise.
3979
- * @param onfulfilled The callback to execute when the Promise is resolved.
3980
- * @param onrejected The callback to execute when the Promise is rejected.
3981
- * @returns A Promise for the completion of which ever callback is executed.
3982
- */
3983
- 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>
3984
- /**
3985
- * Attaches a callback for only the rejection of the Promise.
3986
- * @param onrejected The callback to execute when the Promise is rejected.
3987
- * @returns A Promise for the completion of the callback.
3988
- */
3989
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
3990
- /**
3991
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3992
- * resolved value cannot be modified from the callback.
3993
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3994
- * @returns A Promise for the completion of the callback.
3995
- */
3996
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
3997
- }
3998
-
3999
-
4000
-
4001
-
4002
- /**
4003
- * Fields of the PurchaseIntake model
4004
- */
4005
- export interface PurchaseIntakeFieldRefs {
4006
- readonly id: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4007
- readonly uuid: Prisma.FieldRef<"PurchaseIntake", 'String'>
4008
- readonly pi_number: Prisma.FieldRef<"PurchaseIntake", 'String'>
4009
- readonly pr_number: Prisma.FieldRef<"PurchaseIntake", 'String'>
4010
- readonly requestor_id: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4011
- readonly type: Prisma.FieldRef<"PurchaseIntake", 'PurchaseIntakeTypeEnum'>
4012
- readonly department: Prisma.FieldRef<"PurchaseIntake", 'String'>
4013
- readonly request_date: Prisma.FieldRef<"PurchaseIntake", 'DateTime'>
4014
- readonly items_or_services_description: Prisma.FieldRef<"PurchaseIntake", 'String'>
4015
- readonly priority: Prisma.FieldRef<"PurchaseIntake", 'PurchaseIntakePriorityEnum'>
4016
- readonly estimated_budget: Prisma.FieldRef<"PurchaseIntake", 'Float'>
4017
- readonly status: Prisma.FieldRef<"PurchaseIntake", 'PurchaseIntakeStatusEnum'>
4018
- readonly pr_status: Prisma.FieldRef<"PurchaseIntake", 'PurchaseRequestStatusEnum'>
4019
- readonly reject_reason: Prisma.FieldRef<"PurchaseIntake", 'String'>
4020
- readonly pr_reject_reason: Prisma.FieldRef<"PurchaseIntake", 'String'>
4021
- readonly attachments: Prisma.FieldRef<"PurchaseIntake", 'Json'>
4022
- readonly if_yes_attach_quotations: Prisma.FieldRef<"PurchaseIntake", 'Json'>
4023
- readonly others: Prisma.FieldRef<"PurchaseIntake", 'Json'>
4024
- readonly send_back_count: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4025
- readonly is_active: Prisma.FieldRef<"PurchaseIntake", 'Boolean'>
4026
- readonly created_at: Prisma.FieldRef<"PurchaseIntake", 'DateTime'>
4027
- readonly created_by: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4028
- readonly updated_by: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4029
- readonly updated_at: Prisma.FieldRef<"PurchaseIntake", 'DateTime'>
4030
- readonly is_deleted: Prisma.FieldRef<"PurchaseIntake", 'Boolean'>
4031
- readonly delete_reason: Prisma.FieldRef<"PurchaseIntake", 'String'>
4032
- readonly deleted_at: Prisma.FieldRef<"PurchaseIntake", 'DateTime'>
4033
- readonly deleted_by: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4034
- readonly initiated_by: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4035
- readonly business_entity_id: Prisma.FieldRef<"PurchaseIntake", 'Int'>
4036
- }
4037
-
4038
-
4039
- // Custom InputTypes
4040
- /**
4041
- * PurchaseIntake findUnique
4042
- */
4043
- export type PurchaseIntakeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4044
- /**
4045
- * Select specific fields to fetch from the PurchaseIntake
4046
- */
4047
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4048
- /**
4049
- * Omit specific fields from the PurchaseIntake
4050
- */
4051
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4052
- /**
4053
- * Choose, which related nodes to fetch as well
4054
- */
4055
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4056
- /**
4057
- * Filter, which PurchaseIntake to fetch.
4058
- */
4059
- where: Prisma.PurchaseIntakeWhereUniqueInput
4060
- }
4061
-
4062
- /**
4063
- * PurchaseIntake findUniqueOrThrow
4064
- */
4065
- export type PurchaseIntakeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4066
- /**
4067
- * Select specific fields to fetch from the PurchaseIntake
4068
- */
4069
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4070
- /**
4071
- * Omit specific fields from the PurchaseIntake
4072
- */
4073
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4074
- /**
4075
- * Choose, which related nodes to fetch as well
4076
- */
4077
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4078
- /**
4079
- * Filter, which PurchaseIntake to fetch.
4080
- */
4081
- where: Prisma.PurchaseIntakeWhereUniqueInput
4082
- }
4083
-
4084
- /**
4085
- * PurchaseIntake findFirst
4086
- */
4087
- export type PurchaseIntakeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4088
- /**
4089
- * Select specific fields to fetch from the PurchaseIntake
4090
- */
4091
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4092
- /**
4093
- * Omit specific fields from the PurchaseIntake
4094
- */
4095
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4096
- /**
4097
- * Choose, which related nodes to fetch as well
4098
- */
4099
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4100
- /**
4101
- * Filter, which PurchaseIntake to fetch.
4102
- */
4103
- where?: Prisma.PurchaseIntakeWhereInput
4104
- /**
4105
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
4106
- *
4107
- * Determine the order of PurchaseIntakes to fetch.
4108
- */
4109
- orderBy?: Prisma.PurchaseIntakeOrderByWithRelationInput | Prisma.PurchaseIntakeOrderByWithRelationInput[]
4110
- /**
4111
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
4112
- *
4113
- * Sets the position for searching for PurchaseIntakes.
4114
- */
4115
- cursor?: Prisma.PurchaseIntakeWhereUniqueInput
4116
- /**
4117
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4118
- *
4119
- * Take `±n` PurchaseIntakes from the position of the cursor.
4120
- */
4121
- take?: number
4122
- /**
4123
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4124
- *
4125
- * Skip the first `n` PurchaseIntakes.
4126
- */
4127
- skip?: number
4128
- /**
4129
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
4130
- *
4131
- * Filter by unique combinations of PurchaseIntakes.
4132
- */
4133
- distinct?: Prisma.PurchaseIntakeScalarFieldEnum | Prisma.PurchaseIntakeScalarFieldEnum[]
4134
- }
4135
-
4136
- /**
4137
- * PurchaseIntake findFirstOrThrow
4138
- */
4139
- export type PurchaseIntakeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4140
- /**
4141
- * Select specific fields to fetch from the PurchaseIntake
4142
- */
4143
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4144
- /**
4145
- * Omit specific fields from the PurchaseIntake
4146
- */
4147
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4148
- /**
4149
- * Choose, which related nodes to fetch as well
4150
- */
4151
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4152
- /**
4153
- * Filter, which PurchaseIntake to fetch.
4154
- */
4155
- where?: Prisma.PurchaseIntakeWhereInput
4156
- /**
4157
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
4158
- *
4159
- * Determine the order of PurchaseIntakes to fetch.
4160
- */
4161
- orderBy?: Prisma.PurchaseIntakeOrderByWithRelationInput | Prisma.PurchaseIntakeOrderByWithRelationInput[]
4162
- /**
4163
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
4164
- *
4165
- * Sets the position for searching for PurchaseIntakes.
4166
- */
4167
- cursor?: Prisma.PurchaseIntakeWhereUniqueInput
4168
- /**
4169
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4170
- *
4171
- * Take `±n` PurchaseIntakes from the position of the cursor.
4172
- */
4173
- take?: number
4174
- /**
4175
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4176
- *
4177
- * Skip the first `n` PurchaseIntakes.
4178
- */
4179
- skip?: number
4180
- /**
4181
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
4182
- *
4183
- * Filter by unique combinations of PurchaseIntakes.
4184
- */
4185
- distinct?: Prisma.PurchaseIntakeScalarFieldEnum | Prisma.PurchaseIntakeScalarFieldEnum[]
4186
- }
4187
-
4188
- /**
4189
- * PurchaseIntake findMany
4190
- */
4191
- export type PurchaseIntakeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4192
- /**
4193
- * Select specific fields to fetch from the PurchaseIntake
4194
- */
4195
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4196
- /**
4197
- * Omit specific fields from the PurchaseIntake
4198
- */
4199
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4200
- /**
4201
- * Choose, which related nodes to fetch as well
4202
- */
4203
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4204
- /**
4205
- * Filter, which PurchaseIntakes to fetch.
4206
- */
4207
- where?: Prisma.PurchaseIntakeWhereInput
4208
- /**
4209
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
4210
- *
4211
- * Determine the order of PurchaseIntakes to fetch.
4212
- */
4213
- orderBy?: Prisma.PurchaseIntakeOrderByWithRelationInput | Prisma.PurchaseIntakeOrderByWithRelationInput[]
4214
- /**
4215
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
4216
- *
4217
- * Sets the position for listing PurchaseIntakes.
4218
- */
4219
- cursor?: Prisma.PurchaseIntakeWhereUniqueInput
4220
- /**
4221
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4222
- *
4223
- * Take `±n` PurchaseIntakes from the position of the cursor.
4224
- */
4225
- take?: number
4226
- /**
4227
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
4228
- *
4229
- * Skip the first `n` PurchaseIntakes.
4230
- */
4231
- skip?: number
4232
- /**
4233
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
4234
- *
4235
- * Filter by unique combinations of PurchaseIntakes.
4236
- */
4237
- distinct?: Prisma.PurchaseIntakeScalarFieldEnum | Prisma.PurchaseIntakeScalarFieldEnum[]
4238
- }
4239
-
4240
- /**
4241
- * PurchaseIntake create
4242
- */
4243
- export type PurchaseIntakeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4244
- /**
4245
- * Select specific fields to fetch from the PurchaseIntake
4246
- */
4247
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4248
- /**
4249
- * Omit specific fields from the PurchaseIntake
4250
- */
4251
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4252
- /**
4253
- * Choose, which related nodes to fetch as well
4254
- */
4255
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4256
- /**
4257
- * The data needed to create a PurchaseIntake.
4258
- */
4259
- data: Prisma.XOR<Prisma.PurchaseIntakeCreateInput, Prisma.PurchaseIntakeUncheckedCreateInput>
4260
- }
4261
-
4262
- /**
4263
- * PurchaseIntake createMany
4264
- */
4265
- export type PurchaseIntakeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4266
- /**
4267
- * The data used to create many PurchaseIntakes.
4268
- */
4269
- data: Prisma.PurchaseIntakeCreateManyInput | Prisma.PurchaseIntakeCreateManyInput[]
4270
- skipDuplicates?: boolean
4271
- }
4272
-
4273
- /**
4274
- * PurchaseIntake createManyAndReturn
4275
- */
4276
- export type PurchaseIntakeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4277
- /**
4278
- * Select specific fields to fetch from the PurchaseIntake
4279
- */
4280
- select?: Prisma.PurchaseIntakeSelectCreateManyAndReturn<ExtArgs> | null
4281
- /**
4282
- * Omit specific fields from the PurchaseIntake
4283
- */
4284
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4285
- /**
4286
- * The data used to create many PurchaseIntakes.
4287
- */
4288
- data: Prisma.PurchaseIntakeCreateManyInput | Prisma.PurchaseIntakeCreateManyInput[]
4289
- skipDuplicates?: boolean
4290
- /**
4291
- * Choose, which related nodes to fetch as well
4292
- */
4293
- include?: Prisma.PurchaseIntakeIncludeCreateManyAndReturn<ExtArgs> | null
4294
- }
4295
-
4296
- /**
4297
- * PurchaseIntake update
4298
- */
4299
- export type PurchaseIntakeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4300
- /**
4301
- * Select specific fields to fetch from the PurchaseIntake
4302
- */
4303
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4304
- /**
4305
- * Omit specific fields from the PurchaseIntake
4306
- */
4307
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4308
- /**
4309
- * Choose, which related nodes to fetch as well
4310
- */
4311
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4312
- /**
4313
- * The data needed to update a PurchaseIntake.
4314
- */
4315
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateInput, Prisma.PurchaseIntakeUncheckedUpdateInput>
4316
- /**
4317
- * Choose, which PurchaseIntake to update.
4318
- */
4319
- where: Prisma.PurchaseIntakeWhereUniqueInput
4320
- }
4321
-
4322
- /**
4323
- * PurchaseIntake updateMany
4324
- */
4325
- export type PurchaseIntakeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4326
- /**
4327
- * The data used to update PurchaseIntakes.
4328
- */
4329
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyInput>
4330
- /**
4331
- * Filter which PurchaseIntakes to update
4332
- */
4333
- where?: Prisma.PurchaseIntakeWhereInput
4334
- /**
4335
- * Limit how many PurchaseIntakes to update.
4336
- */
4337
- limit?: number
4338
- }
4339
-
4340
- /**
4341
- * PurchaseIntake updateManyAndReturn
4342
- */
4343
- export type PurchaseIntakeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4344
- /**
4345
- * Select specific fields to fetch from the PurchaseIntake
4346
- */
4347
- select?: Prisma.PurchaseIntakeSelectUpdateManyAndReturn<ExtArgs> | null
4348
- /**
4349
- * Omit specific fields from the PurchaseIntake
4350
- */
4351
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4352
- /**
4353
- * The data used to update PurchaseIntakes.
4354
- */
4355
- data: Prisma.XOR<Prisma.PurchaseIntakeUpdateManyMutationInput, Prisma.PurchaseIntakeUncheckedUpdateManyInput>
4356
- /**
4357
- * Filter which PurchaseIntakes to update
4358
- */
4359
- where?: Prisma.PurchaseIntakeWhereInput
4360
- /**
4361
- * Limit how many PurchaseIntakes to update.
4362
- */
4363
- limit?: number
4364
- /**
4365
- * Choose, which related nodes to fetch as well
4366
- */
4367
- include?: Prisma.PurchaseIntakeIncludeUpdateManyAndReturn<ExtArgs> | null
4368
- }
4369
-
4370
- /**
4371
- * PurchaseIntake upsert
4372
- */
4373
- export type PurchaseIntakeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4374
- /**
4375
- * Select specific fields to fetch from the PurchaseIntake
4376
- */
4377
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4378
- /**
4379
- * Omit specific fields from the PurchaseIntake
4380
- */
4381
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4382
- /**
4383
- * Choose, which related nodes to fetch as well
4384
- */
4385
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4386
- /**
4387
- * The filter to search for the PurchaseIntake to update in case it exists.
4388
- */
4389
- where: Prisma.PurchaseIntakeWhereUniqueInput
4390
- /**
4391
- * In case the PurchaseIntake found by the `where` argument doesn't exist, create a new PurchaseIntake with this data.
4392
- */
4393
- create: Prisma.XOR<Prisma.PurchaseIntakeCreateInput, Prisma.PurchaseIntakeUncheckedCreateInput>
4394
- /**
4395
- * In case the PurchaseIntake was found with the provided `where` argument, update it with this data.
4396
- */
4397
- update: Prisma.XOR<Prisma.PurchaseIntakeUpdateInput, Prisma.PurchaseIntakeUncheckedUpdateInput>
4398
- }
4399
-
4400
- /**
4401
- * PurchaseIntake delete
4402
- */
4403
- export type PurchaseIntakeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4404
- /**
4405
- * Select specific fields to fetch from the PurchaseIntake
4406
- */
4407
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4408
- /**
4409
- * Omit specific fields from the PurchaseIntake
4410
- */
4411
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4412
- /**
4413
- * Choose, which related nodes to fetch as well
4414
- */
4415
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4416
- /**
4417
- * Filter which PurchaseIntake to delete.
4418
- */
4419
- where: Prisma.PurchaseIntakeWhereUniqueInput
4420
- }
4421
-
4422
- /**
4423
- * PurchaseIntake deleteMany
4424
- */
4425
- export type PurchaseIntakeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4426
- /**
4427
- * Filter which PurchaseIntakes to delete
4428
- */
4429
- where?: Prisma.PurchaseIntakeWhereInput
4430
- /**
4431
- * Limit how many PurchaseIntakes to delete.
4432
- */
4433
- limit?: number
4434
- }
4435
-
4436
- /**
4437
- * PurchaseIntake.user
4438
- */
4439
- export type PurchaseIntake$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4440
- /**
4441
- * Select specific fields to fetch from the User
4442
- */
4443
- select?: Prisma.UserSelect<ExtArgs> | null
4444
- /**
4445
- * Omit specific fields from the User
4446
- */
4447
- omit?: Prisma.UserOmit<ExtArgs> | null
4448
- /**
4449
- * Choose, which related nodes to fetch as well
4450
- */
4451
- include?: Prisma.UserInclude<ExtArgs> | null
4452
- where?: Prisma.UserWhereInput
4453
- }
4454
-
4455
- /**
4456
- * PurchaseIntake.deleted_by_user
4457
- */
4458
- export type PurchaseIntake$deleted_by_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4459
- /**
4460
- * Select specific fields to fetch from the User
4461
- */
4462
- select?: Prisma.UserSelect<ExtArgs> | null
4463
- /**
4464
- * Omit specific fields from the User
4465
- */
4466
- omit?: Prisma.UserOmit<ExtArgs> | null
4467
- /**
4468
- * Choose, which related nodes to fetch as well
4469
- */
4470
- include?: Prisma.UserInclude<ExtArgs> | null
4471
- where?: Prisma.UserWhereInput
4472
- }
4473
-
4474
- /**
4475
- * PurchaseIntake.initiated_by_user
4476
- */
4477
- export type PurchaseIntake$initiated_by_userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4478
- /**
4479
- * Select specific fields to fetch from the User
4480
- */
4481
- select?: Prisma.UserSelect<ExtArgs> | null
4482
- /**
4483
- * Omit specific fields from the User
4484
- */
4485
- omit?: Prisma.UserOmit<ExtArgs> | null
4486
- /**
4487
- * Choose, which related nodes to fetch as well
4488
- */
4489
- include?: Prisma.UserInclude<ExtArgs> | null
4490
- where?: Prisma.UserWhereInput
4491
- }
4492
-
4493
- /**
4494
- * PurchaseIntake.business_entity
4495
- */
4496
- export type PurchaseIntake$business_entityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4497
- /**
4498
- * Select specific fields to fetch from the BusinessEntity
4499
- */
4500
- select?: Prisma.BusinessEntitySelect<ExtArgs> | null
4501
- /**
4502
- * Omit specific fields from the BusinessEntity
4503
- */
4504
- omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
4505
- /**
4506
- * Choose, which related nodes to fetch as well
4507
- */
4508
- include?: Prisma.BusinessEntityInclude<ExtArgs> | null
4509
- where?: Prisma.BusinessEntityWhereInput
4510
- }
4511
-
4512
- /**
4513
- * PurchaseIntake.purchase_intake_item
4514
- */
4515
- export type PurchaseIntake$purchase_intake_itemArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4516
- /**
4517
- * Select specific fields to fetch from the PurchaseIntakeItem
4518
- */
4519
- select?: Prisma.PurchaseIntakeItemSelect<ExtArgs> | null
4520
- /**
4521
- * Omit specific fields from the PurchaseIntakeItem
4522
- */
4523
- omit?: Prisma.PurchaseIntakeItemOmit<ExtArgs> | null
4524
- /**
4525
- * Choose, which related nodes to fetch as well
4526
- */
4527
- include?: Prisma.PurchaseIntakeItemInclude<ExtArgs> | null
4528
- where?: Prisma.PurchaseIntakeItemWhereInput
4529
- orderBy?: Prisma.PurchaseIntakeItemOrderByWithRelationInput | Prisma.PurchaseIntakeItemOrderByWithRelationInput[]
4530
- cursor?: Prisma.PurchaseIntakeItemWhereUniqueInput
4531
- take?: number
4532
- skip?: number
4533
- distinct?: Prisma.PurchaseIntakeItemScalarFieldEnum | Prisma.PurchaseIntakeItemScalarFieldEnum[]
4534
- }
4535
-
4536
- /**
4537
- * PurchaseIntake.events
4538
- */
4539
- export type PurchaseIntake$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4540
- /**
4541
- * Select specific fields to fetch from the Event
4542
- */
4543
- select?: Prisma.EventSelect<ExtArgs> | null
4544
- /**
4545
- * Omit specific fields from the Event
4546
- */
4547
- omit?: Prisma.EventOmit<ExtArgs> | null
4548
- /**
4549
- * Choose, which related nodes to fetch as well
4550
- */
4551
- include?: Prisma.EventInclude<ExtArgs> | null
4552
- where?: Prisma.EventWhereInput
4553
- orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[]
4554
- cursor?: Prisma.EventWhereUniqueInput
4555
- take?: number
4556
- skip?: number
4557
- distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[]
4558
- }
4559
-
4560
- /**
4561
- * PurchaseIntake.event_items
4562
- */
4563
- export type PurchaseIntake$event_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4564
- /**
4565
- * Select specific fields to fetch from the EventItems
4566
- */
4567
- select?: Prisma.EventItemsSelect<ExtArgs> | null
4568
- /**
4569
- * Omit specific fields from the EventItems
4570
- */
4571
- omit?: Prisma.EventItemsOmit<ExtArgs> | null
4572
- /**
4573
- * Choose, which related nodes to fetch as well
4574
- */
4575
- include?: Prisma.EventItemsInclude<ExtArgs> | null
4576
- where?: Prisma.EventItemsWhereInput
4577
- orderBy?: Prisma.EventItemsOrderByWithRelationInput | Prisma.EventItemsOrderByWithRelationInput[]
4578
- cursor?: Prisma.EventItemsWhereUniqueInput
4579
- take?: number
4580
- skip?: number
4581
- distinct?: Prisma.EventItemsScalarFieldEnum | Prisma.EventItemsScalarFieldEnum[]
4582
- }
4583
-
4584
- /**
4585
- * PurchaseIntake.purchase_order_items
4586
- */
4587
- export type PurchaseIntake$purchase_order_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4588
- /**
4589
- * Select specific fields to fetch from the PurchaseOrderItem
4590
- */
4591
- select?: Prisma.PurchaseOrderItemSelect<ExtArgs> | null
4592
- /**
4593
- * Omit specific fields from the PurchaseOrderItem
4594
- */
4595
- omit?: Prisma.PurchaseOrderItemOmit<ExtArgs> | null
4596
- /**
4597
- * Choose, which related nodes to fetch as well
4598
- */
4599
- include?: Prisma.PurchaseOrderItemInclude<ExtArgs> | null
4600
- where?: Prisma.PurchaseOrderItemWhereInput
4601
- orderBy?: Prisma.PurchaseOrderItemOrderByWithRelationInput | Prisma.PurchaseOrderItemOrderByWithRelationInput[]
4602
- cursor?: Prisma.PurchaseOrderItemWhereUniqueInput
4603
- take?: number
4604
- skip?: number
4605
- distinct?: Prisma.PurchaseOrderItemScalarFieldEnum | Prisma.PurchaseOrderItemScalarFieldEnum[]
4606
- }
4607
-
4608
- /**
4609
- * PurchaseIntake.send_backs
4610
- */
4611
- export type PurchaseIntake$send_backsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4612
- /**
4613
- * Select specific fields to fetch from the SendBack
4614
- */
4615
- select?: Prisma.SendBackSelect<ExtArgs> | null
4616
- /**
4617
- * Omit specific fields from the SendBack
4618
- */
4619
- omit?: Prisma.SendBackOmit<ExtArgs> | null
4620
- /**
4621
- * Choose, which related nodes to fetch as well
4622
- */
4623
- include?: Prisma.SendBackInclude<ExtArgs> | null
4624
- where?: Prisma.SendBackWhereInput
4625
- orderBy?: Prisma.SendBackOrderByWithRelationInput | Prisma.SendBackOrderByWithRelationInput[]
4626
- cursor?: Prisma.SendBackWhereUniqueInput
4627
- take?: number
4628
- skip?: number
4629
- distinct?: Prisma.SendBackScalarFieldEnum | Prisma.SendBackScalarFieldEnum[]
4630
- }
4631
-
4632
- /**
4633
- * PurchaseIntake.blanket_po_items
4634
- */
4635
- export type PurchaseIntake$blanket_po_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4636
- /**
4637
- * Select specific fields to fetch from the BlanketPurchaseOrderItem
4638
- */
4639
- select?: Prisma.BlanketPurchaseOrderItemSelect<ExtArgs> | null
4640
- /**
4641
- * Omit specific fields from the BlanketPurchaseOrderItem
4642
- */
4643
- omit?: Prisma.BlanketPurchaseOrderItemOmit<ExtArgs> | null
4644
- /**
4645
- * Choose, which related nodes to fetch as well
4646
- */
4647
- include?: Prisma.BlanketPurchaseOrderItemInclude<ExtArgs> | null
4648
- where?: Prisma.BlanketPurchaseOrderItemWhereInput
4649
- orderBy?: Prisma.BlanketPurchaseOrderItemOrderByWithRelationInput | Prisma.BlanketPurchaseOrderItemOrderByWithRelationInput[]
4650
- cursor?: Prisma.BlanketPurchaseOrderItemWhereUniqueInput
4651
- take?: number
4652
- skip?: number
4653
- distinct?: Prisma.BlanketPurchaseOrderItemScalarFieldEnum | Prisma.BlanketPurchaseOrderItemScalarFieldEnum[]
4654
- }
4655
-
4656
- /**
4657
- * PurchaseIntake without action
4658
- */
4659
- export type PurchaseIntakeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4660
- /**
4661
- * Select specific fields to fetch from the PurchaseIntake
4662
- */
4663
- select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
4664
- /**
4665
- * Omit specific fields from the PurchaseIntake
4666
- */
4667
- omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
4668
- /**
4669
- * Choose, which related nodes to fetch as well
4670
- */
4671
- include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
4672
- }