procbay-schema 1.0.171 → 1.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,3354 +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 `GRN` 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 GRN
17
- *
18
- */
19
- export type GRNModel = runtime.Types.Result.DefaultSelection<Prisma.$GRNPayload>
20
-
21
- export type AggregateGRN = {
22
- _count: GRNCountAggregateOutputType | null
23
- _avg: GRNAvgAggregateOutputType | null
24
- _sum: GRNSumAggregateOutputType | null
25
- _min: GRNMinAggregateOutputType | null
26
- _max: GRNMaxAggregateOutputType | null
27
- }
28
-
29
- export type GRNAvgAggregateOutputType = {
30
- id: number | null
31
- purchase_order_id: number | null
32
- business_entity_id: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type GRNSumAggregateOutputType = {
39
- id: number | null
40
- purchase_order_id: number | null
41
- business_entity_id: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type GRNMinAggregateOutputType = {
48
- id: number | null
49
- uuid: string | null
50
- grn_number: string | null
51
- purchase_order_id: number | null
52
- dispatch_date_time: Date | null
53
- expected_arrival_date: Date | null
54
- received_date_time: Date | null
55
- received_by: string | null
56
- remarks: string | null
57
- start_point: string | null
58
- end_point: string | null
59
- transporter_name: string | null
60
- transport_vehicle_registration_number: string | null
61
- transport_vehicle_type: string | null
62
- challan_number: string | null
63
- driver_name: string | null
64
- country_code: string | null
65
- driver_contact_number: string | null
66
- e_way_bill_number: string | null
67
- tracking_link: string | null
68
- grn_status: $Enums.GRNStatus | null
69
- delivery_challan_number: string | null
70
- inspection_date_time: Date | null
71
- inspection_code: string | null
72
- warehouse: string | null
73
- inspector_name: string | null
74
- inspection_status: $Enums.InspectionStatus | null
75
- business_entity_id: number | null
76
- created_at: Date | null
77
- created_by: number | null
78
- updated_at: Date | null
79
- updated_by: number | null
80
- is_deleted: boolean | null
81
- deleted_at: Date | null
82
- deleted_by: number | null
83
- }
84
-
85
- export type GRNMaxAggregateOutputType = {
86
- id: number | null
87
- uuid: string | null
88
- grn_number: string | null
89
- purchase_order_id: number | null
90
- dispatch_date_time: Date | null
91
- expected_arrival_date: Date | null
92
- received_date_time: Date | null
93
- received_by: string | null
94
- remarks: string | null
95
- start_point: string | null
96
- end_point: string | null
97
- transporter_name: string | null
98
- transport_vehicle_registration_number: string | null
99
- transport_vehicle_type: string | null
100
- challan_number: string | null
101
- driver_name: string | null
102
- country_code: string | null
103
- driver_contact_number: string | null
104
- e_way_bill_number: string | null
105
- tracking_link: string | null
106
- grn_status: $Enums.GRNStatus | null
107
- delivery_challan_number: string | null
108
- inspection_date_time: Date | null
109
- inspection_code: string | null
110
- warehouse: string | null
111
- inspector_name: string | null
112
- inspection_status: $Enums.InspectionStatus | null
113
- business_entity_id: number | null
114
- created_at: Date | null
115
- created_by: number | null
116
- updated_at: Date | null
117
- updated_by: number | null
118
- is_deleted: boolean | null
119
- deleted_at: Date | null
120
- deleted_by: number | null
121
- }
122
-
123
- export type GRNCountAggregateOutputType = {
124
- id: number
125
- uuid: number
126
- grn_number: number
127
- purchase_order_id: number
128
- dispatch_date_time: number
129
- expected_arrival_date: number
130
- received_date_time: number
131
- received_by: number
132
- remarks: number
133
- start_point: number
134
- end_point: number
135
- transporter_name: number
136
- transport_vehicle_registration_number: number
137
- transport_vehicle_type: number
138
- challan_number: number
139
- driver_name: number
140
- country_code: number
141
- driver_contact_number: number
142
- e_way_bill_number: number
143
- tracking_link: number
144
- delivery_challan_documents: number
145
- grn_status: number
146
- delivery_challan_number: number
147
- inspection_date_time: number
148
- inspection_code: number
149
- warehouse: number
150
- inspector_name: number
151
- inspection_status: number
152
- business_entity_id: number
153
- created_at: number
154
- created_by: number
155
- updated_at: number
156
- updated_by: number
157
- is_deleted: number
158
- deleted_at: number
159
- deleted_by: number
160
- _all: number
161
- }
162
-
163
-
164
- export type GRNAvgAggregateInputType = {
165
- id?: true
166
- purchase_order_id?: true
167
- business_entity_id?: true
168
- created_by?: true
169
- updated_by?: true
170
- deleted_by?: true
171
- }
172
-
173
- export type GRNSumAggregateInputType = {
174
- id?: true
175
- purchase_order_id?: true
176
- business_entity_id?: true
177
- created_by?: true
178
- updated_by?: true
179
- deleted_by?: true
180
- }
181
-
182
- export type GRNMinAggregateInputType = {
183
- id?: true
184
- uuid?: true
185
- grn_number?: true
186
- purchase_order_id?: true
187
- dispatch_date_time?: true
188
- expected_arrival_date?: true
189
- received_date_time?: true
190
- received_by?: true
191
- remarks?: true
192
- start_point?: true
193
- end_point?: true
194
- transporter_name?: true
195
- transport_vehicle_registration_number?: true
196
- transport_vehicle_type?: true
197
- challan_number?: true
198
- driver_name?: true
199
- country_code?: true
200
- driver_contact_number?: true
201
- e_way_bill_number?: true
202
- tracking_link?: true
203
- grn_status?: true
204
- delivery_challan_number?: true
205
- inspection_date_time?: true
206
- inspection_code?: true
207
- warehouse?: true
208
- inspector_name?: true
209
- inspection_status?: true
210
- business_entity_id?: true
211
- created_at?: true
212
- created_by?: true
213
- updated_at?: true
214
- updated_by?: true
215
- is_deleted?: true
216
- deleted_at?: true
217
- deleted_by?: true
218
- }
219
-
220
- export type GRNMaxAggregateInputType = {
221
- id?: true
222
- uuid?: true
223
- grn_number?: true
224
- purchase_order_id?: true
225
- dispatch_date_time?: true
226
- expected_arrival_date?: true
227
- received_date_time?: true
228
- received_by?: true
229
- remarks?: true
230
- start_point?: true
231
- end_point?: true
232
- transporter_name?: true
233
- transport_vehicle_registration_number?: true
234
- transport_vehicle_type?: true
235
- challan_number?: true
236
- driver_name?: true
237
- country_code?: true
238
- driver_contact_number?: true
239
- e_way_bill_number?: true
240
- tracking_link?: true
241
- grn_status?: true
242
- delivery_challan_number?: true
243
- inspection_date_time?: true
244
- inspection_code?: true
245
- warehouse?: true
246
- inspector_name?: true
247
- inspection_status?: true
248
- business_entity_id?: true
249
- created_at?: true
250
- created_by?: true
251
- updated_at?: true
252
- updated_by?: true
253
- is_deleted?: true
254
- deleted_at?: true
255
- deleted_by?: true
256
- }
257
-
258
- export type GRNCountAggregateInputType = {
259
- id?: true
260
- uuid?: true
261
- grn_number?: true
262
- purchase_order_id?: true
263
- dispatch_date_time?: true
264
- expected_arrival_date?: true
265
- received_date_time?: true
266
- received_by?: true
267
- remarks?: true
268
- start_point?: true
269
- end_point?: true
270
- transporter_name?: true
271
- transport_vehicle_registration_number?: true
272
- transport_vehicle_type?: true
273
- challan_number?: true
274
- driver_name?: true
275
- country_code?: true
276
- driver_contact_number?: true
277
- e_way_bill_number?: true
278
- tracking_link?: true
279
- delivery_challan_documents?: true
280
- grn_status?: true
281
- delivery_challan_number?: true
282
- inspection_date_time?: true
283
- inspection_code?: true
284
- warehouse?: true
285
- inspector_name?: true
286
- inspection_status?: true
287
- business_entity_id?: true
288
- created_at?: true
289
- created_by?: true
290
- updated_at?: true
291
- updated_by?: true
292
- is_deleted?: true
293
- deleted_at?: true
294
- deleted_by?: true
295
- _all?: true
296
- }
297
-
298
- export type GRNAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
299
- /**
300
- * Filter which GRN to aggregate.
301
- */
302
- where?: Prisma.GRNWhereInput
303
- /**
304
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
305
- *
306
- * Determine the order of GRNS to fetch.
307
- */
308
- orderBy?: Prisma.GRNOrderByWithRelationInput | Prisma.GRNOrderByWithRelationInput[]
309
- /**
310
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
311
- *
312
- * Sets the start position
313
- */
314
- cursor?: Prisma.GRNWhereUniqueInput
315
- /**
316
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
317
- *
318
- * Take `±n` GRNS from the position of the cursor.
319
- */
320
- take?: number
321
- /**
322
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
323
- *
324
- * Skip the first `n` GRNS.
325
- */
326
- skip?: number
327
- /**
328
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
329
- *
330
- * Count returned GRNS
331
- **/
332
- _count?: true | GRNCountAggregateInputType
333
- /**
334
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
335
- *
336
- * Select which fields to average
337
- **/
338
- _avg?: GRNAvgAggregateInputType
339
- /**
340
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
341
- *
342
- * Select which fields to sum
343
- **/
344
- _sum?: GRNSumAggregateInputType
345
- /**
346
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
347
- *
348
- * Select which fields to find the minimum value
349
- **/
350
- _min?: GRNMinAggregateInputType
351
- /**
352
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
353
- *
354
- * Select which fields to find the maximum value
355
- **/
356
- _max?: GRNMaxAggregateInputType
357
- }
358
-
359
- export type GetGRNAggregateType<T extends GRNAggregateArgs> = {
360
- [P in keyof T & keyof AggregateGRN]: P extends '_count' | 'count'
361
- ? T[P] extends true
362
- ? number
363
- : Prisma.GetScalarType<T[P], AggregateGRN[P]>
364
- : Prisma.GetScalarType<T[P], AggregateGRN[P]>
365
- }
366
-
367
-
368
-
369
-
370
- export type GRNGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
371
- where?: Prisma.GRNWhereInput
372
- orderBy?: Prisma.GRNOrderByWithAggregationInput | Prisma.GRNOrderByWithAggregationInput[]
373
- by: Prisma.GRNScalarFieldEnum[] | Prisma.GRNScalarFieldEnum
374
- having?: Prisma.GRNScalarWhereWithAggregatesInput
375
- take?: number
376
- skip?: number
377
- _count?: GRNCountAggregateInputType | true
378
- _avg?: GRNAvgAggregateInputType
379
- _sum?: GRNSumAggregateInputType
380
- _min?: GRNMinAggregateInputType
381
- _max?: GRNMaxAggregateInputType
382
- }
383
-
384
- export type GRNGroupByOutputType = {
385
- id: number
386
- uuid: string
387
- grn_number: string | null
388
- purchase_order_id: number | null
389
- dispatch_date_time: Date | null
390
- expected_arrival_date: Date | null
391
- received_date_time: Date | null
392
- received_by: string | null
393
- remarks: string | null
394
- start_point: string | null
395
- end_point: string | null
396
- transporter_name: string | null
397
- transport_vehicle_registration_number: string | null
398
- transport_vehicle_type: string | null
399
- challan_number: string | null
400
- driver_name: string | null
401
- country_code: string | null
402
- driver_contact_number: string | null
403
- e_way_bill_number: string | null
404
- tracking_link: string | null
405
- delivery_challan_documents: runtime.JsonValue | null
406
- grn_status: $Enums.GRNStatus
407
- delivery_challan_number: string | null
408
- inspection_date_time: Date | null
409
- inspection_code: string | null
410
- warehouse: string | null
411
- inspector_name: string | null
412
- inspection_status: $Enums.InspectionStatus
413
- business_entity_id: number | null
414
- created_at: Date
415
- created_by: number | null
416
- updated_at: Date
417
- updated_by: number | null
418
- is_deleted: boolean
419
- deleted_at: Date | null
420
- deleted_by: number | null
421
- _count: GRNCountAggregateOutputType | null
422
- _avg: GRNAvgAggregateOutputType | null
423
- _sum: GRNSumAggregateOutputType | null
424
- _min: GRNMinAggregateOutputType | null
425
- _max: GRNMaxAggregateOutputType | null
426
- }
427
-
428
- export type GetGRNGroupByPayload<T extends GRNGroupByArgs> = Prisma.PrismaPromise<
429
- Array<
430
- Prisma.PickEnumerable<GRNGroupByOutputType, T['by']> &
431
- {
432
- [P in ((keyof T) & (keyof GRNGroupByOutputType))]: P extends '_count'
433
- ? T[P] extends boolean
434
- ? number
435
- : Prisma.GetScalarType<T[P], GRNGroupByOutputType[P]>
436
- : Prisma.GetScalarType<T[P], GRNGroupByOutputType[P]>
437
- }
438
- >
439
- >
440
-
441
-
442
-
443
- export type GRNWhereInput = {
444
- AND?: Prisma.GRNWhereInput | Prisma.GRNWhereInput[]
445
- OR?: Prisma.GRNWhereInput[]
446
- NOT?: Prisma.GRNWhereInput | Prisma.GRNWhereInput[]
447
- id?: Prisma.IntFilter<"GRN"> | number
448
- uuid?: Prisma.StringFilter<"GRN"> | string
449
- grn_number?: Prisma.StringNullableFilter<"GRN"> | string | null
450
- purchase_order_id?: Prisma.IntNullableFilter<"GRN"> | number | null
451
- dispatch_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
452
- expected_arrival_date?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
453
- received_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
454
- received_by?: Prisma.StringNullableFilter<"GRN"> | string | null
455
- remarks?: Prisma.StringNullableFilter<"GRN"> | string | null
456
- start_point?: Prisma.StringNullableFilter<"GRN"> | string | null
457
- end_point?: Prisma.StringNullableFilter<"GRN"> | string | null
458
- transporter_name?: Prisma.StringNullableFilter<"GRN"> | string | null
459
- transport_vehicle_registration_number?: Prisma.StringNullableFilter<"GRN"> | string | null
460
- transport_vehicle_type?: Prisma.StringNullableFilter<"GRN"> | string | null
461
- challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
462
- driver_name?: Prisma.StringNullableFilter<"GRN"> | string | null
463
- country_code?: Prisma.StringNullableFilter<"GRN"> | string | null
464
- driver_contact_number?: Prisma.StringNullableFilter<"GRN"> | string | null
465
- e_way_bill_number?: Prisma.StringNullableFilter<"GRN"> | string | null
466
- tracking_link?: Prisma.StringNullableFilter<"GRN"> | string | null
467
- delivery_challan_documents?: Prisma.JsonNullableFilter<"GRN">
468
- grn_status?: Prisma.EnumGRNStatusFilter<"GRN"> | $Enums.GRNStatus
469
- delivery_challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
470
- inspection_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
471
- inspection_code?: Prisma.StringNullableFilter<"GRN"> | string | null
472
- warehouse?: Prisma.StringNullableFilter<"GRN"> | string | null
473
- inspector_name?: Prisma.StringNullableFilter<"GRN"> | string | null
474
- inspection_status?: Prisma.EnumInspectionStatusFilter<"GRN"> | $Enums.InspectionStatus
475
- business_entity_id?: Prisma.IntNullableFilter<"GRN"> | number | null
476
- created_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
477
- created_by?: Prisma.IntNullableFilter<"GRN"> | number | null
478
- updated_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
479
- updated_by?: Prisma.IntNullableFilter<"GRN"> | number | null
480
- is_deleted?: Prisma.BoolFilter<"GRN"> | boolean
481
- deleted_at?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
482
- deleted_by?: Prisma.IntNullableFilter<"GRN"> | number | null
483
- purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
484
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
485
- grn_items?: Prisma.GRNItemListRelationFilter
486
- invoices?: Prisma.InvoiceListRelationFilter
487
- }
488
-
489
- export type GRNOrderByWithRelationInput = {
490
- id?: Prisma.SortOrder
491
- uuid?: Prisma.SortOrder
492
- grn_number?: Prisma.SortOrderInput | Prisma.SortOrder
493
- purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
494
- dispatch_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
495
- expected_arrival_date?: Prisma.SortOrderInput | Prisma.SortOrder
496
- received_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
497
- received_by?: Prisma.SortOrderInput | Prisma.SortOrder
498
- remarks?: Prisma.SortOrderInput | Prisma.SortOrder
499
- start_point?: Prisma.SortOrderInput | Prisma.SortOrder
500
- end_point?: Prisma.SortOrderInput | Prisma.SortOrder
501
- transporter_name?: Prisma.SortOrderInput | Prisma.SortOrder
502
- transport_vehicle_registration_number?: Prisma.SortOrderInput | Prisma.SortOrder
503
- transport_vehicle_type?: Prisma.SortOrderInput | Prisma.SortOrder
504
- challan_number?: Prisma.SortOrderInput | Prisma.SortOrder
505
- driver_name?: Prisma.SortOrderInput | Prisma.SortOrder
506
- country_code?: Prisma.SortOrderInput | Prisma.SortOrder
507
- driver_contact_number?: Prisma.SortOrderInput | Prisma.SortOrder
508
- e_way_bill_number?: Prisma.SortOrderInput | Prisma.SortOrder
509
- tracking_link?: Prisma.SortOrderInput | Prisma.SortOrder
510
- delivery_challan_documents?: Prisma.SortOrderInput | Prisma.SortOrder
511
- grn_status?: Prisma.SortOrder
512
- delivery_challan_number?: Prisma.SortOrderInput | Prisma.SortOrder
513
- inspection_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
514
- inspection_code?: Prisma.SortOrderInput | Prisma.SortOrder
515
- warehouse?: Prisma.SortOrderInput | Prisma.SortOrder
516
- inspector_name?: Prisma.SortOrderInput | Prisma.SortOrder
517
- inspection_status?: Prisma.SortOrder
518
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
519
- created_at?: Prisma.SortOrder
520
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
521
- updated_at?: Prisma.SortOrder
522
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
523
- is_deleted?: Prisma.SortOrder
524
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
525
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
526
- purchase_order?: Prisma.PurchaseOrderOrderByWithRelationInput
527
- business_entity?: Prisma.BusinessEntityOrderByWithRelationInput
528
- grn_items?: Prisma.GRNItemOrderByRelationAggregateInput
529
- invoices?: Prisma.InvoiceOrderByRelationAggregateInput
530
- }
531
-
532
- export type GRNWhereUniqueInput = Prisma.AtLeast<{
533
- id?: number
534
- uuid?: string
535
- grn_number?: string
536
- inspection_code?: string
537
- AND?: Prisma.GRNWhereInput | Prisma.GRNWhereInput[]
538
- OR?: Prisma.GRNWhereInput[]
539
- NOT?: Prisma.GRNWhereInput | Prisma.GRNWhereInput[]
540
- purchase_order_id?: Prisma.IntNullableFilter<"GRN"> | number | null
541
- dispatch_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
542
- expected_arrival_date?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
543
- received_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
544
- received_by?: Prisma.StringNullableFilter<"GRN"> | string | null
545
- remarks?: Prisma.StringNullableFilter<"GRN"> | string | null
546
- start_point?: Prisma.StringNullableFilter<"GRN"> | string | null
547
- end_point?: Prisma.StringNullableFilter<"GRN"> | string | null
548
- transporter_name?: Prisma.StringNullableFilter<"GRN"> | string | null
549
- transport_vehicle_registration_number?: Prisma.StringNullableFilter<"GRN"> | string | null
550
- transport_vehicle_type?: Prisma.StringNullableFilter<"GRN"> | string | null
551
- challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
552
- driver_name?: Prisma.StringNullableFilter<"GRN"> | string | null
553
- country_code?: Prisma.StringNullableFilter<"GRN"> | string | null
554
- driver_contact_number?: Prisma.StringNullableFilter<"GRN"> | string | null
555
- e_way_bill_number?: Prisma.StringNullableFilter<"GRN"> | string | null
556
- tracking_link?: Prisma.StringNullableFilter<"GRN"> | string | null
557
- delivery_challan_documents?: Prisma.JsonNullableFilter<"GRN">
558
- grn_status?: Prisma.EnumGRNStatusFilter<"GRN"> | $Enums.GRNStatus
559
- delivery_challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
560
- inspection_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
561
- warehouse?: Prisma.StringNullableFilter<"GRN"> | string | null
562
- inspector_name?: Prisma.StringNullableFilter<"GRN"> | string | null
563
- inspection_status?: Prisma.EnumInspectionStatusFilter<"GRN"> | $Enums.InspectionStatus
564
- business_entity_id?: Prisma.IntNullableFilter<"GRN"> | number | null
565
- created_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
566
- created_by?: Prisma.IntNullableFilter<"GRN"> | number | null
567
- updated_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
568
- updated_by?: Prisma.IntNullableFilter<"GRN"> | number | null
569
- is_deleted?: Prisma.BoolFilter<"GRN"> | boolean
570
- deleted_at?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
571
- deleted_by?: Prisma.IntNullableFilter<"GRN"> | number | null
572
- purchase_order?: Prisma.XOR<Prisma.PurchaseOrderNullableScalarRelationFilter, Prisma.PurchaseOrderWhereInput> | null
573
- business_entity?: Prisma.XOR<Prisma.BusinessEntityNullableScalarRelationFilter, Prisma.BusinessEntityWhereInput> | null
574
- grn_items?: Prisma.GRNItemListRelationFilter
575
- invoices?: Prisma.InvoiceListRelationFilter
576
- }, "id" | "uuid" | "grn_number" | "inspection_code">
577
-
578
- export type GRNOrderByWithAggregationInput = {
579
- id?: Prisma.SortOrder
580
- uuid?: Prisma.SortOrder
581
- grn_number?: Prisma.SortOrderInput | Prisma.SortOrder
582
- purchase_order_id?: Prisma.SortOrderInput | Prisma.SortOrder
583
- dispatch_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
584
- expected_arrival_date?: Prisma.SortOrderInput | Prisma.SortOrder
585
- received_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
586
- received_by?: Prisma.SortOrderInput | Prisma.SortOrder
587
- remarks?: Prisma.SortOrderInput | Prisma.SortOrder
588
- start_point?: Prisma.SortOrderInput | Prisma.SortOrder
589
- end_point?: Prisma.SortOrderInput | Prisma.SortOrder
590
- transporter_name?: Prisma.SortOrderInput | Prisma.SortOrder
591
- transport_vehicle_registration_number?: Prisma.SortOrderInput | Prisma.SortOrder
592
- transport_vehicle_type?: Prisma.SortOrderInput | Prisma.SortOrder
593
- challan_number?: Prisma.SortOrderInput | Prisma.SortOrder
594
- driver_name?: Prisma.SortOrderInput | Prisma.SortOrder
595
- country_code?: Prisma.SortOrderInput | Prisma.SortOrder
596
- driver_contact_number?: Prisma.SortOrderInput | Prisma.SortOrder
597
- e_way_bill_number?: Prisma.SortOrderInput | Prisma.SortOrder
598
- tracking_link?: Prisma.SortOrderInput | Prisma.SortOrder
599
- delivery_challan_documents?: Prisma.SortOrderInput | Prisma.SortOrder
600
- grn_status?: Prisma.SortOrder
601
- delivery_challan_number?: Prisma.SortOrderInput | Prisma.SortOrder
602
- inspection_date_time?: Prisma.SortOrderInput | Prisma.SortOrder
603
- inspection_code?: Prisma.SortOrderInput | Prisma.SortOrder
604
- warehouse?: Prisma.SortOrderInput | Prisma.SortOrder
605
- inspector_name?: Prisma.SortOrderInput | Prisma.SortOrder
606
- inspection_status?: Prisma.SortOrder
607
- business_entity_id?: Prisma.SortOrderInput | Prisma.SortOrder
608
- created_at?: Prisma.SortOrder
609
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
610
- updated_at?: Prisma.SortOrder
611
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
612
- is_deleted?: Prisma.SortOrder
613
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
614
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
615
- _count?: Prisma.GRNCountOrderByAggregateInput
616
- _avg?: Prisma.GRNAvgOrderByAggregateInput
617
- _max?: Prisma.GRNMaxOrderByAggregateInput
618
- _min?: Prisma.GRNMinOrderByAggregateInput
619
- _sum?: Prisma.GRNSumOrderByAggregateInput
620
- }
621
-
622
- export type GRNScalarWhereWithAggregatesInput = {
623
- AND?: Prisma.GRNScalarWhereWithAggregatesInput | Prisma.GRNScalarWhereWithAggregatesInput[]
624
- OR?: Prisma.GRNScalarWhereWithAggregatesInput[]
625
- NOT?: Prisma.GRNScalarWhereWithAggregatesInput | Prisma.GRNScalarWhereWithAggregatesInput[]
626
- id?: Prisma.IntWithAggregatesFilter<"GRN"> | number
627
- uuid?: Prisma.StringWithAggregatesFilter<"GRN"> | string
628
- grn_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
629
- purchase_order_id?: Prisma.IntNullableWithAggregatesFilter<"GRN"> | number | null
630
- dispatch_date_time?: Prisma.DateTimeNullableWithAggregatesFilter<"GRN"> | Date | string | null
631
- expected_arrival_date?: Prisma.DateTimeNullableWithAggregatesFilter<"GRN"> | Date | string | null
632
- received_date_time?: Prisma.DateTimeNullableWithAggregatesFilter<"GRN"> | Date | string | null
633
- received_by?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
634
- remarks?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
635
- start_point?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
636
- end_point?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
637
- transporter_name?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
638
- transport_vehicle_registration_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
639
- transport_vehicle_type?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
640
- challan_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
641
- driver_name?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
642
- country_code?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
643
- driver_contact_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
644
- e_way_bill_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
645
- tracking_link?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
646
- delivery_challan_documents?: Prisma.JsonNullableWithAggregatesFilter<"GRN">
647
- grn_status?: Prisma.EnumGRNStatusWithAggregatesFilter<"GRN"> | $Enums.GRNStatus
648
- delivery_challan_number?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
649
- inspection_date_time?: Prisma.DateTimeNullableWithAggregatesFilter<"GRN"> | Date | string | null
650
- inspection_code?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
651
- warehouse?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
652
- inspector_name?: Prisma.StringNullableWithAggregatesFilter<"GRN"> | string | null
653
- inspection_status?: Prisma.EnumInspectionStatusWithAggregatesFilter<"GRN"> | $Enums.InspectionStatus
654
- business_entity_id?: Prisma.IntNullableWithAggregatesFilter<"GRN"> | number | null
655
- created_at?: Prisma.DateTimeWithAggregatesFilter<"GRN"> | Date | string
656
- created_by?: Prisma.IntNullableWithAggregatesFilter<"GRN"> | number | null
657
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"GRN"> | Date | string
658
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"GRN"> | number | null
659
- is_deleted?: Prisma.BoolWithAggregatesFilter<"GRN"> | boolean
660
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"GRN"> | Date | string | null
661
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"GRN"> | number | null
662
- }
663
-
664
- export type GRNCreateInput = {
665
- uuid?: string
666
- grn_number?: string | null
667
- dispatch_date_time?: Date | string | null
668
- expected_arrival_date?: Date | string | null
669
- received_date_time?: Date | string | null
670
- received_by?: string | null
671
- remarks?: string | null
672
- start_point?: string | null
673
- end_point?: string | null
674
- transporter_name?: string | null
675
- transport_vehicle_registration_number?: string | null
676
- transport_vehicle_type?: string | null
677
- challan_number?: string | null
678
- driver_name?: string | null
679
- country_code?: string | null
680
- driver_contact_number?: string | null
681
- e_way_bill_number?: string | null
682
- tracking_link?: string | null
683
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
684
- grn_status?: $Enums.GRNStatus
685
- delivery_challan_number?: string | null
686
- inspection_date_time?: Date | string | null
687
- inspection_code?: string | null
688
- warehouse?: string | null
689
- inspector_name?: string | null
690
- inspection_status?: $Enums.InspectionStatus
691
- created_at?: Date | string
692
- created_by?: number | null
693
- updated_at?: Date | string
694
- updated_by?: number | null
695
- is_deleted?: boolean
696
- deleted_at?: Date | string | null
697
- deleted_by?: number | null
698
- purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutGrnInput
699
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutGrnsInput
700
- grn_items?: Prisma.GRNItemCreateNestedManyWithoutGrnInput
701
- invoices?: Prisma.InvoiceCreateNestedManyWithoutGrnInput
702
- }
703
-
704
- export type GRNUncheckedCreateInput = {
705
- id?: number
706
- uuid?: string
707
- grn_number?: string | null
708
- purchase_order_id?: number | null
709
- dispatch_date_time?: Date | string | null
710
- expected_arrival_date?: Date | string | null
711
- received_date_time?: Date | string | null
712
- received_by?: string | null
713
- remarks?: string | null
714
- start_point?: string | null
715
- end_point?: string | null
716
- transporter_name?: string | null
717
- transport_vehicle_registration_number?: string | null
718
- transport_vehicle_type?: string | null
719
- challan_number?: string | null
720
- driver_name?: string | null
721
- country_code?: string | null
722
- driver_contact_number?: string | null
723
- e_way_bill_number?: string | null
724
- tracking_link?: string | null
725
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
726
- grn_status?: $Enums.GRNStatus
727
- delivery_challan_number?: string | null
728
- inspection_date_time?: Date | string | null
729
- inspection_code?: string | null
730
- warehouse?: string | null
731
- inspector_name?: string | null
732
- inspection_status?: $Enums.InspectionStatus
733
- business_entity_id?: number | null
734
- created_at?: Date | string
735
- created_by?: number | null
736
- updated_at?: Date | string
737
- updated_by?: number | null
738
- is_deleted?: boolean
739
- deleted_at?: Date | string | null
740
- deleted_by?: number | null
741
- grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutGrnInput
742
- invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutGrnInput
743
- }
744
-
745
- export type GRNUpdateInput = {
746
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
747
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
748
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
749
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
750
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
751
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
752
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
753
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
754
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
755
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
756
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
757
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
758
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
759
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
760
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
761
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
762
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
763
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
764
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
765
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
766
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
767
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
768
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
769
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
770
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
771
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
772
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
773
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
774
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
775
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
776
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
777
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
778
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
779
- purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutGrnNestedInput
780
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutGrnsNestedInput
781
- grn_items?: Prisma.GRNItemUpdateManyWithoutGrnNestedInput
782
- invoices?: Prisma.InvoiceUpdateManyWithoutGrnNestedInput
783
- }
784
-
785
- export type GRNUncheckedUpdateInput = {
786
- id?: Prisma.IntFieldUpdateOperationsInput | number
787
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
788
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
789
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
790
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
791
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
792
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
793
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
794
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
795
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
796
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
797
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
798
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
799
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
800
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
801
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
802
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
803
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
804
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
805
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
806
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
807
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
808
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
809
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
810
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
811
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
812
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
813
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
814
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
815
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
816
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
817
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
818
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
819
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
820
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
821
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
822
- grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutGrnNestedInput
823
- invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutGrnNestedInput
824
- }
825
-
826
- export type GRNCreateManyInput = {
827
- id?: number
828
- uuid?: string
829
- grn_number?: string | null
830
- purchase_order_id?: number | null
831
- dispatch_date_time?: Date | string | null
832
- expected_arrival_date?: Date | string | null
833
- received_date_time?: Date | string | null
834
- received_by?: string | null
835
- remarks?: string | null
836
- start_point?: string | null
837
- end_point?: string | null
838
- transporter_name?: string | null
839
- transport_vehicle_registration_number?: string | null
840
- transport_vehicle_type?: string | null
841
- challan_number?: string | null
842
- driver_name?: string | null
843
- country_code?: string | null
844
- driver_contact_number?: string | null
845
- e_way_bill_number?: string | null
846
- tracking_link?: string | null
847
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
848
- grn_status?: $Enums.GRNStatus
849
- delivery_challan_number?: string | null
850
- inspection_date_time?: Date | string | null
851
- inspection_code?: string | null
852
- warehouse?: string | null
853
- inspector_name?: string | null
854
- inspection_status?: $Enums.InspectionStatus
855
- business_entity_id?: number | null
856
- created_at?: Date | string
857
- created_by?: number | null
858
- updated_at?: Date | string
859
- updated_by?: number | null
860
- is_deleted?: boolean
861
- deleted_at?: Date | string | null
862
- deleted_by?: number | null
863
- }
864
-
865
- export type GRNUpdateManyMutationInput = {
866
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
867
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
868
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
869
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
870
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
871
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
872
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
873
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
874
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
875
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
876
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
877
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
878
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
879
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
880
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
881
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
882
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
883
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
884
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
885
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
886
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
887
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
888
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
889
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
890
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
891
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
892
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
893
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
894
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
895
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
896
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
897
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
898
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
899
- }
900
-
901
- export type GRNUncheckedUpdateManyInput = {
902
- id?: Prisma.IntFieldUpdateOperationsInput | number
903
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
904
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
905
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
906
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
907
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
908
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
909
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
910
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
911
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
912
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
913
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
914
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
915
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
916
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
917
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
918
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
919
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
920
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
921
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
922
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
923
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
924
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
925
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
926
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
927
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
928
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
929
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
930
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
931
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
932
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
933
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
934
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
935
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
936
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
937
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
938
- }
939
-
940
- export type GRNListRelationFilter = {
941
- every?: Prisma.GRNWhereInput
942
- some?: Prisma.GRNWhereInput
943
- none?: Prisma.GRNWhereInput
944
- }
945
-
946
- export type GRNOrderByRelationAggregateInput = {
947
- _count?: Prisma.SortOrder
948
- }
949
-
950
- export type GRNCountOrderByAggregateInput = {
951
- id?: Prisma.SortOrder
952
- uuid?: Prisma.SortOrder
953
- grn_number?: Prisma.SortOrder
954
- purchase_order_id?: Prisma.SortOrder
955
- dispatch_date_time?: Prisma.SortOrder
956
- expected_arrival_date?: Prisma.SortOrder
957
- received_date_time?: Prisma.SortOrder
958
- received_by?: Prisma.SortOrder
959
- remarks?: Prisma.SortOrder
960
- start_point?: Prisma.SortOrder
961
- end_point?: Prisma.SortOrder
962
- transporter_name?: Prisma.SortOrder
963
- transport_vehicle_registration_number?: Prisma.SortOrder
964
- transport_vehicle_type?: Prisma.SortOrder
965
- challan_number?: Prisma.SortOrder
966
- driver_name?: Prisma.SortOrder
967
- country_code?: Prisma.SortOrder
968
- driver_contact_number?: Prisma.SortOrder
969
- e_way_bill_number?: Prisma.SortOrder
970
- tracking_link?: Prisma.SortOrder
971
- delivery_challan_documents?: Prisma.SortOrder
972
- grn_status?: Prisma.SortOrder
973
- delivery_challan_number?: Prisma.SortOrder
974
- inspection_date_time?: Prisma.SortOrder
975
- inspection_code?: Prisma.SortOrder
976
- warehouse?: Prisma.SortOrder
977
- inspector_name?: Prisma.SortOrder
978
- inspection_status?: Prisma.SortOrder
979
- business_entity_id?: Prisma.SortOrder
980
- created_at?: Prisma.SortOrder
981
- created_by?: Prisma.SortOrder
982
- updated_at?: Prisma.SortOrder
983
- updated_by?: Prisma.SortOrder
984
- is_deleted?: Prisma.SortOrder
985
- deleted_at?: Prisma.SortOrder
986
- deleted_by?: Prisma.SortOrder
987
- }
988
-
989
- export type GRNAvgOrderByAggregateInput = {
990
- id?: Prisma.SortOrder
991
- purchase_order_id?: Prisma.SortOrder
992
- business_entity_id?: Prisma.SortOrder
993
- created_by?: Prisma.SortOrder
994
- updated_by?: Prisma.SortOrder
995
- deleted_by?: Prisma.SortOrder
996
- }
997
-
998
- export type GRNMaxOrderByAggregateInput = {
999
- id?: Prisma.SortOrder
1000
- uuid?: Prisma.SortOrder
1001
- grn_number?: Prisma.SortOrder
1002
- purchase_order_id?: Prisma.SortOrder
1003
- dispatch_date_time?: Prisma.SortOrder
1004
- expected_arrival_date?: Prisma.SortOrder
1005
- received_date_time?: Prisma.SortOrder
1006
- received_by?: Prisma.SortOrder
1007
- remarks?: Prisma.SortOrder
1008
- start_point?: Prisma.SortOrder
1009
- end_point?: Prisma.SortOrder
1010
- transporter_name?: Prisma.SortOrder
1011
- transport_vehicle_registration_number?: Prisma.SortOrder
1012
- transport_vehicle_type?: Prisma.SortOrder
1013
- challan_number?: Prisma.SortOrder
1014
- driver_name?: Prisma.SortOrder
1015
- country_code?: Prisma.SortOrder
1016
- driver_contact_number?: Prisma.SortOrder
1017
- e_way_bill_number?: Prisma.SortOrder
1018
- tracking_link?: Prisma.SortOrder
1019
- grn_status?: Prisma.SortOrder
1020
- delivery_challan_number?: Prisma.SortOrder
1021
- inspection_date_time?: Prisma.SortOrder
1022
- inspection_code?: Prisma.SortOrder
1023
- warehouse?: Prisma.SortOrder
1024
- inspector_name?: Prisma.SortOrder
1025
- inspection_status?: Prisma.SortOrder
1026
- business_entity_id?: Prisma.SortOrder
1027
- created_at?: Prisma.SortOrder
1028
- created_by?: Prisma.SortOrder
1029
- updated_at?: Prisma.SortOrder
1030
- updated_by?: Prisma.SortOrder
1031
- is_deleted?: Prisma.SortOrder
1032
- deleted_at?: Prisma.SortOrder
1033
- deleted_by?: Prisma.SortOrder
1034
- }
1035
-
1036
- export type GRNMinOrderByAggregateInput = {
1037
- id?: Prisma.SortOrder
1038
- uuid?: Prisma.SortOrder
1039
- grn_number?: Prisma.SortOrder
1040
- purchase_order_id?: Prisma.SortOrder
1041
- dispatch_date_time?: Prisma.SortOrder
1042
- expected_arrival_date?: Prisma.SortOrder
1043
- received_date_time?: Prisma.SortOrder
1044
- received_by?: Prisma.SortOrder
1045
- remarks?: Prisma.SortOrder
1046
- start_point?: Prisma.SortOrder
1047
- end_point?: Prisma.SortOrder
1048
- transporter_name?: Prisma.SortOrder
1049
- transport_vehicle_registration_number?: Prisma.SortOrder
1050
- transport_vehicle_type?: Prisma.SortOrder
1051
- challan_number?: Prisma.SortOrder
1052
- driver_name?: Prisma.SortOrder
1053
- country_code?: Prisma.SortOrder
1054
- driver_contact_number?: Prisma.SortOrder
1055
- e_way_bill_number?: Prisma.SortOrder
1056
- tracking_link?: Prisma.SortOrder
1057
- grn_status?: Prisma.SortOrder
1058
- delivery_challan_number?: Prisma.SortOrder
1059
- inspection_date_time?: Prisma.SortOrder
1060
- inspection_code?: Prisma.SortOrder
1061
- warehouse?: Prisma.SortOrder
1062
- inspector_name?: Prisma.SortOrder
1063
- inspection_status?: Prisma.SortOrder
1064
- business_entity_id?: Prisma.SortOrder
1065
- created_at?: Prisma.SortOrder
1066
- created_by?: Prisma.SortOrder
1067
- updated_at?: Prisma.SortOrder
1068
- updated_by?: Prisma.SortOrder
1069
- is_deleted?: Prisma.SortOrder
1070
- deleted_at?: Prisma.SortOrder
1071
- deleted_by?: Prisma.SortOrder
1072
- }
1073
-
1074
- export type GRNSumOrderByAggregateInput = {
1075
- id?: Prisma.SortOrder
1076
- purchase_order_id?: Prisma.SortOrder
1077
- business_entity_id?: Prisma.SortOrder
1078
- created_by?: Prisma.SortOrder
1079
- updated_by?: Prisma.SortOrder
1080
- deleted_by?: Prisma.SortOrder
1081
- }
1082
-
1083
- export type GRNNullableScalarRelationFilter = {
1084
- is?: Prisma.GRNWhereInput | null
1085
- isNot?: Prisma.GRNWhereInput | null
1086
- }
1087
-
1088
- export type GRNCreateNestedManyWithoutPurchase_orderInput = {
1089
- create?: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput> | Prisma.GRNCreateWithoutPurchase_orderInput[] | Prisma.GRNUncheckedCreateWithoutPurchase_orderInput[]
1090
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutPurchase_orderInput | Prisma.GRNCreateOrConnectWithoutPurchase_orderInput[]
1091
- createMany?: Prisma.GRNCreateManyPurchase_orderInputEnvelope
1092
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1093
- }
1094
-
1095
- export type GRNUncheckedCreateNestedManyWithoutPurchase_orderInput = {
1096
- create?: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput> | Prisma.GRNCreateWithoutPurchase_orderInput[] | Prisma.GRNUncheckedCreateWithoutPurchase_orderInput[]
1097
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutPurchase_orderInput | Prisma.GRNCreateOrConnectWithoutPurchase_orderInput[]
1098
- createMany?: Prisma.GRNCreateManyPurchase_orderInputEnvelope
1099
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1100
- }
1101
-
1102
- export type GRNUpdateManyWithoutPurchase_orderNestedInput = {
1103
- create?: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput> | Prisma.GRNCreateWithoutPurchase_orderInput[] | Prisma.GRNUncheckedCreateWithoutPurchase_orderInput[]
1104
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutPurchase_orderInput | Prisma.GRNCreateOrConnectWithoutPurchase_orderInput[]
1105
- upsert?: Prisma.GRNUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.GRNUpsertWithWhereUniqueWithoutPurchase_orderInput[]
1106
- createMany?: Prisma.GRNCreateManyPurchase_orderInputEnvelope
1107
- set?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1108
- disconnect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1109
- delete?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1110
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1111
- update?: Prisma.GRNUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.GRNUpdateWithWhereUniqueWithoutPurchase_orderInput[]
1112
- updateMany?: Prisma.GRNUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.GRNUpdateManyWithWhereWithoutPurchase_orderInput[]
1113
- deleteMany?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1114
- }
1115
-
1116
- export type GRNUncheckedUpdateManyWithoutPurchase_orderNestedInput = {
1117
- create?: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput> | Prisma.GRNCreateWithoutPurchase_orderInput[] | Prisma.GRNUncheckedCreateWithoutPurchase_orderInput[]
1118
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutPurchase_orderInput | Prisma.GRNCreateOrConnectWithoutPurchase_orderInput[]
1119
- upsert?: Prisma.GRNUpsertWithWhereUniqueWithoutPurchase_orderInput | Prisma.GRNUpsertWithWhereUniqueWithoutPurchase_orderInput[]
1120
- createMany?: Prisma.GRNCreateManyPurchase_orderInputEnvelope
1121
- set?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1122
- disconnect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1123
- delete?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1124
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1125
- update?: Prisma.GRNUpdateWithWhereUniqueWithoutPurchase_orderInput | Prisma.GRNUpdateWithWhereUniqueWithoutPurchase_orderInput[]
1126
- updateMany?: Prisma.GRNUpdateManyWithWhereWithoutPurchase_orderInput | Prisma.GRNUpdateManyWithWhereWithoutPurchase_orderInput[]
1127
- deleteMany?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1128
- }
1129
-
1130
- export type EnumGRNStatusFieldUpdateOperationsInput = {
1131
- set?: $Enums.GRNStatus
1132
- }
1133
-
1134
- export type EnumInspectionStatusFieldUpdateOperationsInput = {
1135
- set?: $Enums.InspectionStatus
1136
- }
1137
-
1138
- export type GRNCreateNestedOneWithoutGrn_itemsInput = {
1139
- create?: Prisma.XOR<Prisma.GRNCreateWithoutGrn_itemsInput, Prisma.GRNUncheckedCreateWithoutGrn_itemsInput>
1140
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutGrn_itemsInput
1141
- connect?: Prisma.GRNWhereUniqueInput
1142
- }
1143
-
1144
- export type GRNUpdateOneWithoutGrn_itemsNestedInput = {
1145
- create?: Prisma.XOR<Prisma.GRNCreateWithoutGrn_itemsInput, Prisma.GRNUncheckedCreateWithoutGrn_itemsInput>
1146
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutGrn_itemsInput
1147
- upsert?: Prisma.GRNUpsertWithoutGrn_itemsInput
1148
- disconnect?: Prisma.GRNWhereInput | boolean
1149
- delete?: Prisma.GRNWhereInput | boolean
1150
- connect?: Prisma.GRNWhereUniqueInput
1151
- update?: Prisma.XOR<Prisma.XOR<Prisma.GRNUpdateToOneWithWhereWithoutGrn_itemsInput, Prisma.GRNUpdateWithoutGrn_itemsInput>, Prisma.GRNUncheckedUpdateWithoutGrn_itemsInput>
1152
- }
1153
-
1154
- export type GRNCreateNestedManyWithoutBusiness_entityInput = {
1155
- create?: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput> | Prisma.GRNCreateWithoutBusiness_entityInput[] | Prisma.GRNUncheckedCreateWithoutBusiness_entityInput[]
1156
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutBusiness_entityInput | Prisma.GRNCreateOrConnectWithoutBusiness_entityInput[]
1157
- createMany?: Prisma.GRNCreateManyBusiness_entityInputEnvelope
1158
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1159
- }
1160
-
1161
- export type GRNUncheckedCreateNestedManyWithoutBusiness_entityInput = {
1162
- create?: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput> | Prisma.GRNCreateWithoutBusiness_entityInput[] | Prisma.GRNUncheckedCreateWithoutBusiness_entityInput[]
1163
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutBusiness_entityInput | Prisma.GRNCreateOrConnectWithoutBusiness_entityInput[]
1164
- createMany?: Prisma.GRNCreateManyBusiness_entityInputEnvelope
1165
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1166
- }
1167
-
1168
- export type GRNUpdateManyWithoutBusiness_entityNestedInput = {
1169
- create?: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput> | Prisma.GRNCreateWithoutBusiness_entityInput[] | Prisma.GRNUncheckedCreateWithoutBusiness_entityInput[]
1170
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutBusiness_entityInput | Prisma.GRNCreateOrConnectWithoutBusiness_entityInput[]
1171
- upsert?: Prisma.GRNUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.GRNUpsertWithWhereUniqueWithoutBusiness_entityInput[]
1172
- createMany?: Prisma.GRNCreateManyBusiness_entityInputEnvelope
1173
- set?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1174
- disconnect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1175
- delete?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1176
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1177
- update?: Prisma.GRNUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.GRNUpdateWithWhereUniqueWithoutBusiness_entityInput[]
1178
- updateMany?: Prisma.GRNUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.GRNUpdateManyWithWhereWithoutBusiness_entityInput[]
1179
- deleteMany?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1180
- }
1181
-
1182
- export type GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput = {
1183
- create?: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput> | Prisma.GRNCreateWithoutBusiness_entityInput[] | Prisma.GRNUncheckedCreateWithoutBusiness_entityInput[]
1184
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutBusiness_entityInput | Prisma.GRNCreateOrConnectWithoutBusiness_entityInput[]
1185
- upsert?: Prisma.GRNUpsertWithWhereUniqueWithoutBusiness_entityInput | Prisma.GRNUpsertWithWhereUniqueWithoutBusiness_entityInput[]
1186
- createMany?: Prisma.GRNCreateManyBusiness_entityInputEnvelope
1187
- set?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1188
- disconnect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1189
- delete?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1190
- connect?: Prisma.GRNWhereUniqueInput | Prisma.GRNWhereUniqueInput[]
1191
- update?: Prisma.GRNUpdateWithWhereUniqueWithoutBusiness_entityInput | Prisma.GRNUpdateWithWhereUniqueWithoutBusiness_entityInput[]
1192
- updateMany?: Prisma.GRNUpdateManyWithWhereWithoutBusiness_entityInput | Prisma.GRNUpdateManyWithWhereWithoutBusiness_entityInput[]
1193
- deleteMany?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1194
- }
1195
-
1196
- export type GRNCreateNestedOneWithoutInvoicesInput = {
1197
- create?: Prisma.XOR<Prisma.GRNCreateWithoutInvoicesInput, Prisma.GRNUncheckedCreateWithoutInvoicesInput>
1198
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutInvoicesInput
1199
- connect?: Prisma.GRNWhereUniqueInput
1200
- }
1201
-
1202
- export type GRNUpdateOneWithoutInvoicesNestedInput = {
1203
- create?: Prisma.XOR<Prisma.GRNCreateWithoutInvoicesInput, Prisma.GRNUncheckedCreateWithoutInvoicesInput>
1204
- connectOrCreate?: Prisma.GRNCreateOrConnectWithoutInvoicesInput
1205
- upsert?: Prisma.GRNUpsertWithoutInvoicesInput
1206
- disconnect?: Prisma.GRNWhereInput | boolean
1207
- delete?: Prisma.GRNWhereInput | boolean
1208
- connect?: Prisma.GRNWhereUniqueInput
1209
- update?: Prisma.XOR<Prisma.XOR<Prisma.GRNUpdateToOneWithWhereWithoutInvoicesInput, Prisma.GRNUpdateWithoutInvoicesInput>, Prisma.GRNUncheckedUpdateWithoutInvoicesInput>
1210
- }
1211
-
1212
- export type GRNCreateWithoutPurchase_orderInput = {
1213
- uuid?: string
1214
- grn_number?: string | null
1215
- dispatch_date_time?: Date | string | null
1216
- expected_arrival_date?: Date | string | null
1217
- received_date_time?: Date | string | null
1218
- received_by?: string | null
1219
- remarks?: string | null
1220
- start_point?: string | null
1221
- end_point?: string | null
1222
- transporter_name?: string | null
1223
- transport_vehicle_registration_number?: string | null
1224
- transport_vehicle_type?: string | null
1225
- challan_number?: string | null
1226
- driver_name?: string | null
1227
- country_code?: string | null
1228
- driver_contact_number?: string | null
1229
- e_way_bill_number?: string | null
1230
- tracking_link?: string | null
1231
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1232
- grn_status?: $Enums.GRNStatus
1233
- delivery_challan_number?: string | null
1234
- inspection_date_time?: Date | string | null
1235
- inspection_code?: string | null
1236
- warehouse?: string | null
1237
- inspector_name?: string | null
1238
- inspection_status?: $Enums.InspectionStatus
1239
- created_at?: Date | string
1240
- created_by?: number | null
1241
- updated_at?: Date | string
1242
- updated_by?: number | null
1243
- is_deleted?: boolean
1244
- deleted_at?: Date | string | null
1245
- deleted_by?: number | null
1246
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutGrnsInput
1247
- grn_items?: Prisma.GRNItemCreateNestedManyWithoutGrnInput
1248
- invoices?: Prisma.InvoiceCreateNestedManyWithoutGrnInput
1249
- }
1250
-
1251
- export type GRNUncheckedCreateWithoutPurchase_orderInput = {
1252
- id?: number
1253
- uuid?: string
1254
- grn_number?: string | null
1255
- dispatch_date_time?: Date | string | null
1256
- expected_arrival_date?: Date | string | null
1257
- received_date_time?: Date | string | null
1258
- received_by?: string | null
1259
- remarks?: string | null
1260
- start_point?: string | null
1261
- end_point?: string | null
1262
- transporter_name?: string | null
1263
- transport_vehicle_registration_number?: string | null
1264
- transport_vehicle_type?: string | null
1265
- challan_number?: string | null
1266
- driver_name?: string | null
1267
- country_code?: string | null
1268
- driver_contact_number?: string | null
1269
- e_way_bill_number?: string | null
1270
- tracking_link?: string | null
1271
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1272
- grn_status?: $Enums.GRNStatus
1273
- delivery_challan_number?: string | null
1274
- inspection_date_time?: Date | string | null
1275
- inspection_code?: string | null
1276
- warehouse?: string | null
1277
- inspector_name?: string | null
1278
- inspection_status?: $Enums.InspectionStatus
1279
- business_entity_id?: number | null
1280
- created_at?: Date | string
1281
- created_by?: number | null
1282
- updated_at?: Date | string
1283
- updated_by?: number | null
1284
- is_deleted?: boolean
1285
- deleted_at?: Date | string | null
1286
- deleted_by?: number | null
1287
- grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutGrnInput
1288
- invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutGrnInput
1289
- }
1290
-
1291
- export type GRNCreateOrConnectWithoutPurchase_orderInput = {
1292
- where: Prisma.GRNWhereUniqueInput
1293
- create: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput>
1294
- }
1295
-
1296
- export type GRNCreateManyPurchase_orderInputEnvelope = {
1297
- data: Prisma.GRNCreateManyPurchase_orderInput | Prisma.GRNCreateManyPurchase_orderInput[]
1298
- skipDuplicates?: boolean
1299
- }
1300
-
1301
- export type GRNUpsertWithWhereUniqueWithoutPurchase_orderInput = {
1302
- where: Prisma.GRNWhereUniqueInput
1303
- update: Prisma.XOR<Prisma.GRNUpdateWithoutPurchase_orderInput, Prisma.GRNUncheckedUpdateWithoutPurchase_orderInput>
1304
- create: Prisma.XOR<Prisma.GRNCreateWithoutPurchase_orderInput, Prisma.GRNUncheckedCreateWithoutPurchase_orderInput>
1305
- }
1306
-
1307
- export type GRNUpdateWithWhereUniqueWithoutPurchase_orderInput = {
1308
- where: Prisma.GRNWhereUniqueInput
1309
- data: Prisma.XOR<Prisma.GRNUpdateWithoutPurchase_orderInput, Prisma.GRNUncheckedUpdateWithoutPurchase_orderInput>
1310
- }
1311
-
1312
- export type GRNUpdateManyWithWhereWithoutPurchase_orderInput = {
1313
- where: Prisma.GRNScalarWhereInput
1314
- data: Prisma.XOR<Prisma.GRNUpdateManyMutationInput, Prisma.GRNUncheckedUpdateManyWithoutPurchase_orderInput>
1315
- }
1316
-
1317
- export type GRNScalarWhereInput = {
1318
- AND?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1319
- OR?: Prisma.GRNScalarWhereInput[]
1320
- NOT?: Prisma.GRNScalarWhereInput | Prisma.GRNScalarWhereInput[]
1321
- id?: Prisma.IntFilter<"GRN"> | number
1322
- uuid?: Prisma.StringFilter<"GRN"> | string
1323
- grn_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1324
- purchase_order_id?: Prisma.IntNullableFilter<"GRN"> | number | null
1325
- dispatch_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
1326
- expected_arrival_date?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
1327
- received_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
1328
- received_by?: Prisma.StringNullableFilter<"GRN"> | string | null
1329
- remarks?: Prisma.StringNullableFilter<"GRN"> | string | null
1330
- start_point?: Prisma.StringNullableFilter<"GRN"> | string | null
1331
- end_point?: Prisma.StringNullableFilter<"GRN"> | string | null
1332
- transporter_name?: Prisma.StringNullableFilter<"GRN"> | string | null
1333
- transport_vehicle_registration_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1334
- transport_vehicle_type?: Prisma.StringNullableFilter<"GRN"> | string | null
1335
- challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1336
- driver_name?: Prisma.StringNullableFilter<"GRN"> | string | null
1337
- country_code?: Prisma.StringNullableFilter<"GRN"> | string | null
1338
- driver_contact_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1339
- e_way_bill_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1340
- tracking_link?: Prisma.StringNullableFilter<"GRN"> | string | null
1341
- delivery_challan_documents?: Prisma.JsonNullableFilter<"GRN">
1342
- grn_status?: Prisma.EnumGRNStatusFilter<"GRN"> | $Enums.GRNStatus
1343
- delivery_challan_number?: Prisma.StringNullableFilter<"GRN"> | string | null
1344
- inspection_date_time?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
1345
- inspection_code?: Prisma.StringNullableFilter<"GRN"> | string | null
1346
- warehouse?: Prisma.StringNullableFilter<"GRN"> | string | null
1347
- inspector_name?: Prisma.StringNullableFilter<"GRN"> | string | null
1348
- inspection_status?: Prisma.EnumInspectionStatusFilter<"GRN"> | $Enums.InspectionStatus
1349
- business_entity_id?: Prisma.IntNullableFilter<"GRN"> | number | null
1350
- created_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
1351
- created_by?: Prisma.IntNullableFilter<"GRN"> | number | null
1352
- updated_at?: Prisma.DateTimeFilter<"GRN"> | Date | string
1353
- updated_by?: Prisma.IntNullableFilter<"GRN"> | number | null
1354
- is_deleted?: Prisma.BoolFilter<"GRN"> | boolean
1355
- deleted_at?: Prisma.DateTimeNullableFilter<"GRN"> | Date | string | null
1356
- deleted_by?: Prisma.IntNullableFilter<"GRN"> | number | null
1357
- }
1358
-
1359
- export type GRNCreateWithoutGrn_itemsInput = {
1360
- uuid?: string
1361
- grn_number?: string | null
1362
- dispatch_date_time?: Date | string | null
1363
- expected_arrival_date?: Date | string | null
1364
- received_date_time?: Date | string | null
1365
- received_by?: string | null
1366
- remarks?: string | null
1367
- start_point?: string | null
1368
- end_point?: string | null
1369
- transporter_name?: string | null
1370
- transport_vehicle_registration_number?: string | null
1371
- transport_vehicle_type?: string | null
1372
- challan_number?: string | null
1373
- driver_name?: string | null
1374
- country_code?: string | null
1375
- driver_contact_number?: string | null
1376
- e_way_bill_number?: string | null
1377
- tracking_link?: string | null
1378
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1379
- grn_status?: $Enums.GRNStatus
1380
- delivery_challan_number?: string | null
1381
- inspection_date_time?: Date | string | null
1382
- inspection_code?: string | null
1383
- warehouse?: string | null
1384
- inspector_name?: string | null
1385
- inspection_status?: $Enums.InspectionStatus
1386
- created_at?: Date | string
1387
- created_by?: number | null
1388
- updated_at?: Date | string
1389
- updated_by?: number | null
1390
- is_deleted?: boolean
1391
- deleted_at?: Date | string | null
1392
- deleted_by?: number | null
1393
- purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutGrnInput
1394
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutGrnsInput
1395
- invoices?: Prisma.InvoiceCreateNestedManyWithoutGrnInput
1396
- }
1397
-
1398
- export type GRNUncheckedCreateWithoutGrn_itemsInput = {
1399
- id?: number
1400
- uuid?: string
1401
- grn_number?: string | null
1402
- purchase_order_id?: number | null
1403
- dispatch_date_time?: Date | string | null
1404
- expected_arrival_date?: Date | string | null
1405
- received_date_time?: Date | string | null
1406
- received_by?: string | null
1407
- remarks?: string | null
1408
- start_point?: string | null
1409
- end_point?: string | null
1410
- transporter_name?: string | null
1411
- transport_vehicle_registration_number?: string | null
1412
- transport_vehicle_type?: string | null
1413
- challan_number?: string | null
1414
- driver_name?: string | null
1415
- country_code?: string | null
1416
- driver_contact_number?: string | null
1417
- e_way_bill_number?: string | null
1418
- tracking_link?: string | null
1419
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1420
- grn_status?: $Enums.GRNStatus
1421
- delivery_challan_number?: string | null
1422
- inspection_date_time?: Date | string | null
1423
- inspection_code?: string | null
1424
- warehouse?: string | null
1425
- inspector_name?: string | null
1426
- inspection_status?: $Enums.InspectionStatus
1427
- business_entity_id?: number | null
1428
- created_at?: Date | string
1429
- created_by?: number | null
1430
- updated_at?: Date | string
1431
- updated_by?: number | null
1432
- is_deleted?: boolean
1433
- deleted_at?: Date | string | null
1434
- deleted_by?: number | null
1435
- invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutGrnInput
1436
- }
1437
-
1438
- export type GRNCreateOrConnectWithoutGrn_itemsInput = {
1439
- where: Prisma.GRNWhereUniqueInput
1440
- create: Prisma.XOR<Prisma.GRNCreateWithoutGrn_itemsInput, Prisma.GRNUncheckedCreateWithoutGrn_itemsInput>
1441
- }
1442
-
1443
- export type GRNUpsertWithoutGrn_itemsInput = {
1444
- update: Prisma.XOR<Prisma.GRNUpdateWithoutGrn_itemsInput, Prisma.GRNUncheckedUpdateWithoutGrn_itemsInput>
1445
- create: Prisma.XOR<Prisma.GRNCreateWithoutGrn_itemsInput, Prisma.GRNUncheckedCreateWithoutGrn_itemsInput>
1446
- where?: Prisma.GRNWhereInput
1447
- }
1448
-
1449
- export type GRNUpdateToOneWithWhereWithoutGrn_itemsInput = {
1450
- where?: Prisma.GRNWhereInput
1451
- data: Prisma.XOR<Prisma.GRNUpdateWithoutGrn_itemsInput, Prisma.GRNUncheckedUpdateWithoutGrn_itemsInput>
1452
- }
1453
-
1454
- export type GRNUpdateWithoutGrn_itemsInput = {
1455
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1456
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1457
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1458
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1459
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1460
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1461
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1462
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1463
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1464
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1465
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1466
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1467
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1468
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1469
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1470
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1471
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1472
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1473
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1474
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1475
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1476
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1477
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1479
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1480
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1481
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1482
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1483
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1484
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1485
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1486
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1487
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1488
- purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutGrnNestedInput
1489
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutGrnsNestedInput
1490
- invoices?: Prisma.InvoiceUpdateManyWithoutGrnNestedInput
1491
- }
1492
-
1493
- export type GRNUncheckedUpdateWithoutGrn_itemsInput = {
1494
- id?: Prisma.IntFieldUpdateOperationsInput | number
1495
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1496
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1497
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1498
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1499
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1500
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1501
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1502
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1503
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1504
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1505
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1506
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1507
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1508
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1509
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1510
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1511
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1513
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1514
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1515
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1516
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1517
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1518
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1519
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1520
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1521
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1522
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1523
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1524
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1525
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1526
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1527
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1528
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1529
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1530
- invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutGrnNestedInput
1531
- }
1532
-
1533
- export type GRNCreateWithoutBusiness_entityInput = {
1534
- uuid?: string
1535
- grn_number?: string | null
1536
- dispatch_date_time?: Date | string | null
1537
- expected_arrival_date?: Date | string | null
1538
- received_date_time?: Date | string | null
1539
- received_by?: string | null
1540
- remarks?: string | null
1541
- start_point?: string | null
1542
- end_point?: string | null
1543
- transporter_name?: string | null
1544
- transport_vehicle_registration_number?: string | null
1545
- transport_vehicle_type?: string | null
1546
- challan_number?: string | null
1547
- driver_name?: string | null
1548
- country_code?: string | null
1549
- driver_contact_number?: string | null
1550
- e_way_bill_number?: string | null
1551
- tracking_link?: string | null
1552
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1553
- grn_status?: $Enums.GRNStatus
1554
- delivery_challan_number?: string | null
1555
- inspection_date_time?: Date | string | null
1556
- inspection_code?: string | null
1557
- warehouse?: string | null
1558
- inspector_name?: string | null
1559
- inspection_status?: $Enums.InspectionStatus
1560
- created_at?: Date | string
1561
- created_by?: number | null
1562
- updated_at?: Date | string
1563
- updated_by?: number | null
1564
- is_deleted?: boolean
1565
- deleted_at?: Date | string | null
1566
- deleted_by?: number | null
1567
- purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutGrnInput
1568
- grn_items?: Prisma.GRNItemCreateNestedManyWithoutGrnInput
1569
- invoices?: Prisma.InvoiceCreateNestedManyWithoutGrnInput
1570
- }
1571
-
1572
- export type GRNUncheckedCreateWithoutBusiness_entityInput = {
1573
- id?: number
1574
- uuid?: string
1575
- grn_number?: string | null
1576
- purchase_order_id?: number | null
1577
- dispatch_date_time?: Date | string | null
1578
- expected_arrival_date?: Date | string | null
1579
- received_date_time?: Date | string | null
1580
- received_by?: string | null
1581
- remarks?: string | null
1582
- start_point?: string | null
1583
- end_point?: string | null
1584
- transporter_name?: string | null
1585
- transport_vehicle_registration_number?: string | null
1586
- transport_vehicle_type?: string | null
1587
- challan_number?: string | null
1588
- driver_name?: string | null
1589
- country_code?: string | null
1590
- driver_contact_number?: string | null
1591
- e_way_bill_number?: string | null
1592
- tracking_link?: string | null
1593
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1594
- grn_status?: $Enums.GRNStatus
1595
- delivery_challan_number?: string | null
1596
- inspection_date_time?: Date | string | null
1597
- inspection_code?: string | null
1598
- warehouse?: string | null
1599
- inspector_name?: string | null
1600
- inspection_status?: $Enums.InspectionStatus
1601
- created_at?: Date | string
1602
- created_by?: number | null
1603
- updated_at?: Date | string
1604
- updated_by?: number | null
1605
- is_deleted?: boolean
1606
- deleted_at?: Date | string | null
1607
- deleted_by?: number | null
1608
- grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutGrnInput
1609
- invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutGrnInput
1610
- }
1611
-
1612
- export type GRNCreateOrConnectWithoutBusiness_entityInput = {
1613
- where: Prisma.GRNWhereUniqueInput
1614
- create: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput>
1615
- }
1616
-
1617
- export type GRNCreateManyBusiness_entityInputEnvelope = {
1618
- data: Prisma.GRNCreateManyBusiness_entityInput | Prisma.GRNCreateManyBusiness_entityInput[]
1619
- skipDuplicates?: boolean
1620
- }
1621
-
1622
- export type GRNUpsertWithWhereUniqueWithoutBusiness_entityInput = {
1623
- where: Prisma.GRNWhereUniqueInput
1624
- update: Prisma.XOR<Prisma.GRNUpdateWithoutBusiness_entityInput, Prisma.GRNUncheckedUpdateWithoutBusiness_entityInput>
1625
- create: Prisma.XOR<Prisma.GRNCreateWithoutBusiness_entityInput, Prisma.GRNUncheckedCreateWithoutBusiness_entityInput>
1626
- }
1627
-
1628
- export type GRNUpdateWithWhereUniqueWithoutBusiness_entityInput = {
1629
- where: Prisma.GRNWhereUniqueInput
1630
- data: Prisma.XOR<Prisma.GRNUpdateWithoutBusiness_entityInput, Prisma.GRNUncheckedUpdateWithoutBusiness_entityInput>
1631
- }
1632
-
1633
- export type GRNUpdateManyWithWhereWithoutBusiness_entityInput = {
1634
- where: Prisma.GRNScalarWhereInput
1635
- data: Prisma.XOR<Prisma.GRNUpdateManyMutationInput, Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityInput>
1636
- }
1637
-
1638
- export type GRNCreateWithoutInvoicesInput = {
1639
- uuid?: string
1640
- grn_number?: string | null
1641
- dispatch_date_time?: Date | string | null
1642
- expected_arrival_date?: Date | string | null
1643
- received_date_time?: Date | string | null
1644
- received_by?: string | null
1645
- remarks?: string | null
1646
- start_point?: string | null
1647
- end_point?: string | null
1648
- transporter_name?: string | null
1649
- transport_vehicle_registration_number?: string | null
1650
- transport_vehicle_type?: string | null
1651
- challan_number?: string | null
1652
- driver_name?: string | null
1653
- country_code?: string | null
1654
- driver_contact_number?: string | null
1655
- e_way_bill_number?: string | null
1656
- tracking_link?: string | null
1657
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1658
- grn_status?: $Enums.GRNStatus
1659
- delivery_challan_number?: string | null
1660
- inspection_date_time?: Date | string | null
1661
- inspection_code?: string | null
1662
- warehouse?: string | null
1663
- inspector_name?: string | null
1664
- inspection_status?: $Enums.InspectionStatus
1665
- created_at?: Date | string
1666
- created_by?: number | null
1667
- updated_at?: Date | string
1668
- updated_by?: number | null
1669
- is_deleted?: boolean
1670
- deleted_at?: Date | string | null
1671
- deleted_by?: number | null
1672
- purchase_order?: Prisma.PurchaseOrderCreateNestedOneWithoutGrnInput
1673
- business_entity?: Prisma.BusinessEntityCreateNestedOneWithoutGrnsInput
1674
- grn_items?: Prisma.GRNItemCreateNestedManyWithoutGrnInput
1675
- }
1676
-
1677
- export type GRNUncheckedCreateWithoutInvoicesInput = {
1678
- id?: number
1679
- uuid?: string
1680
- grn_number?: string | null
1681
- purchase_order_id?: number | null
1682
- dispatch_date_time?: Date | string | null
1683
- expected_arrival_date?: Date | string | null
1684
- received_date_time?: Date | string | null
1685
- received_by?: string | null
1686
- remarks?: string | null
1687
- start_point?: string | null
1688
- end_point?: string | null
1689
- transporter_name?: string | null
1690
- transport_vehicle_registration_number?: string | null
1691
- transport_vehicle_type?: string | null
1692
- challan_number?: string | null
1693
- driver_name?: string | null
1694
- country_code?: string | null
1695
- driver_contact_number?: string | null
1696
- e_way_bill_number?: string | null
1697
- tracking_link?: string | null
1698
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1699
- grn_status?: $Enums.GRNStatus
1700
- delivery_challan_number?: string | null
1701
- inspection_date_time?: Date | string | null
1702
- inspection_code?: string | null
1703
- warehouse?: string | null
1704
- inspector_name?: string | null
1705
- inspection_status?: $Enums.InspectionStatus
1706
- business_entity_id?: number | null
1707
- created_at?: Date | string
1708
- created_by?: number | null
1709
- updated_at?: Date | string
1710
- updated_by?: number | null
1711
- is_deleted?: boolean
1712
- deleted_at?: Date | string | null
1713
- deleted_by?: number | null
1714
- grn_items?: Prisma.GRNItemUncheckedCreateNestedManyWithoutGrnInput
1715
- }
1716
-
1717
- export type GRNCreateOrConnectWithoutInvoicesInput = {
1718
- where: Prisma.GRNWhereUniqueInput
1719
- create: Prisma.XOR<Prisma.GRNCreateWithoutInvoicesInput, Prisma.GRNUncheckedCreateWithoutInvoicesInput>
1720
- }
1721
-
1722
- export type GRNUpsertWithoutInvoicesInput = {
1723
- update: Prisma.XOR<Prisma.GRNUpdateWithoutInvoicesInput, Prisma.GRNUncheckedUpdateWithoutInvoicesInput>
1724
- create: Prisma.XOR<Prisma.GRNCreateWithoutInvoicesInput, Prisma.GRNUncheckedCreateWithoutInvoicesInput>
1725
- where?: Prisma.GRNWhereInput
1726
- }
1727
-
1728
- export type GRNUpdateToOneWithWhereWithoutInvoicesInput = {
1729
- where?: Prisma.GRNWhereInput
1730
- data: Prisma.XOR<Prisma.GRNUpdateWithoutInvoicesInput, Prisma.GRNUncheckedUpdateWithoutInvoicesInput>
1731
- }
1732
-
1733
- export type GRNUpdateWithoutInvoicesInput = {
1734
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1735
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1736
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1737
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1738
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1739
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1740
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1741
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1742
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1743
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1744
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1745
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1746
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1747
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1748
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1749
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1750
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1751
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1752
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1753
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1754
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1755
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1756
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1757
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1758
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1759
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1760
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1761
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1762
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1763
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1764
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1765
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1766
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1767
- purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutGrnNestedInput
1768
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutGrnsNestedInput
1769
- grn_items?: Prisma.GRNItemUpdateManyWithoutGrnNestedInput
1770
- }
1771
-
1772
- export type GRNUncheckedUpdateWithoutInvoicesInput = {
1773
- id?: Prisma.IntFieldUpdateOperationsInput | number
1774
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1775
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1776
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1777
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1778
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1779
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1780
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1781
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1782
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1783
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1784
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1785
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1786
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1787
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1788
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1789
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1790
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1791
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1792
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1793
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1794
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1795
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1796
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1797
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1798
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1799
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1800
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1801
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1802
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1803
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1804
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1805
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1806
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1807
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1808
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1809
- grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutGrnNestedInput
1810
- }
1811
-
1812
- export type GRNCreateManyPurchase_orderInput = {
1813
- id?: number
1814
- uuid?: string
1815
- grn_number?: string | null
1816
- dispatch_date_time?: Date | string | null
1817
- expected_arrival_date?: Date | string | null
1818
- received_date_time?: Date | string | null
1819
- received_by?: string | null
1820
- remarks?: string | null
1821
- start_point?: string | null
1822
- end_point?: string | null
1823
- transporter_name?: string | null
1824
- transport_vehicle_registration_number?: string | null
1825
- transport_vehicle_type?: string | null
1826
- challan_number?: string | null
1827
- driver_name?: string | null
1828
- country_code?: string | null
1829
- driver_contact_number?: string | null
1830
- e_way_bill_number?: string | null
1831
- tracking_link?: string | null
1832
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1833
- grn_status?: $Enums.GRNStatus
1834
- delivery_challan_number?: string | null
1835
- inspection_date_time?: Date | string | null
1836
- inspection_code?: string | null
1837
- warehouse?: string | null
1838
- inspector_name?: string | null
1839
- inspection_status?: $Enums.InspectionStatus
1840
- business_entity_id?: number | null
1841
- created_at?: Date | string
1842
- created_by?: number | null
1843
- updated_at?: Date | string
1844
- updated_by?: number | null
1845
- is_deleted?: boolean
1846
- deleted_at?: Date | string | null
1847
- deleted_by?: number | null
1848
- }
1849
-
1850
- export type GRNUpdateWithoutPurchase_orderInput = {
1851
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1852
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1853
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1854
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1855
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1856
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1857
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1858
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1859
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1860
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1861
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1862
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1863
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1864
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1865
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1866
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1867
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1868
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1869
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1870
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1871
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1872
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1873
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1874
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1875
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1876
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1877
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1878
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1879
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1880
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1881
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1882
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1883
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1884
- business_entity?: Prisma.BusinessEntityUpdateOneWithoutGrnsNestedInput
1885
- grn_items?: Prisma.GRNItemUpdateManyWithoutGrnNestedInput
1886
- invoices?: Prisma.InvoiceUpdateManyWithoutGrnNestedInput
1887
- }
1888
-
1889
- export type GRNUncheckedUpdateWithoutPurchase_orderInput = {
1890
- id?: Prisma.IntFieldUpdateOperationsInput | number
1891
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1892
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1893
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1894
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1895
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1896
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1897
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1898
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1899
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1900
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1901
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1902
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1903
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1904
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1905
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1906
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1907
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1908
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1909
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1910
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1911
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1912
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1913
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1914
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1915
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1916
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1917
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1918
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1919
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1920
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1921
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1922
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1923
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1924
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1925
- grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutGrnNestedInput
1926
- invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutGrnNestedInput
1927
- }
1928
-
1929
- export type GRNUncheckedUpdateManyWithoutPurchase_orderInput = {
1930
- id?: Prisma.IntFieldUpdateOperationsInput | number
1931
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
1932
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1933
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1934
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1935
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1936
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1937
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1938
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1939
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1940
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1941
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1942
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1943
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1944
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1945
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1946
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1947
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1948
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1949
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1950
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
1951
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1952
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1953
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1954
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1955
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1956
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
1957
- business_entity_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1958
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1959
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1960
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1961
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1962
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1963
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1964
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1965
- }
1966
-
1967
- export type GRNCreateManyBusiness_entityInput = {
1968
- id?: number
1969
- uuid?: string
1970
- grn_number?: string | null
1971
- purchase_order_id?: number | null
1972
- dispatch_date_time?: Date | string | null
1973
- expected_arrival_date?: Date | string | null
1974
- received_date_time?: Date | string | null
1975
- received_by?: string | null
1976
- remarks?: string | null
1977
- start_point?: string | null
1978
- end_point?: string | null
1979
- transporter_name?: string | null
1980
- transport_vehicle_registration_number?: string | null
1981
- transport_vehicle_type?: string | null
1982
- challan_number?: string | null
1983
- driver_name?: string | null
1984
- country_code?: string | null
1985
- driver_contact_number?: string | null
1986
- e_way_bill_number?: string | null
1987
- tracking_link?: string | null
1988
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1989
- grn_status?: $Enums.GRNStatus
1990
- delivery_challan_number?: string | null
1991
- inspection_date_time?: Date | string | null
1992
- inspection_code?: string | null
1993
- warehouse?: string | null
1994
- inspector_name?: string | null
1995
- inspection_status?: $Enums.InspectionStatus
1996
- created_at?: Date | string
1997
- created_by?: number | null
1998
- updated_at?: Date | string
1999
- updated_by?: number | null
2000
- is_deleted?: boolean
2001
- deleted_at?: Date | string | null
2002
- deleted_by?: number | null
2003
- }
2004
-
2005
- export type GRNUpdateWithoutBusiness_entityInput = {
2006
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
2007
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2008
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2009
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2010
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2011
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2012
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2013
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2014
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2015
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2016
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2017
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2018
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2019
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2020
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2021
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2022
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2023
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2024
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2025
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
2026
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2027
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2028
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2029
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2030
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2031
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
2032
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2033
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2034
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2035
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2036
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2037
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2038
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2039
- purchase_order?: Prisma.PurchaseOrderUpdateOneWithoutGrnNestedInput
2040
- grn_items?: Prisma.GRNItemUpdateManyWithoutGrnNestedInput
2041
- invoices?: Prisma.InvoiceUpdateManyWithoutGrnNestedInput
2042
- }
2043
-
2044
- export type GRNUncheckedUpdateWithoutBusiness_entityInput = {
2045
- id?: Prisma.IntFieldUpdateOperationsInput | number
2046
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
2047
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2048
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2049
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2050
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2051
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2052
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2053
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2054
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2055
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2056
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2057
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2058
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2059
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2060
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2061
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2062
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2063
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2064
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2065
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2066
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
2067
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2068
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2069
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2070
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2071
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2072
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
2073
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2074
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2075
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2076
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2077
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2078
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2079
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2080
- grn_items?: Prisma.GRNItemUncheckedUpdateManyWithoutGrnNestedInput
2081
- invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutGrnNestedInput
2082
- }
2083
-
2084
- export type GRNUncheckedUpdateManyWithoutBusiness_entityInput = {
2085
- id?: Prisma.IntFieldUpdateOperationsInput | number
2086
- uuid?: Prisma.StringFieldUpdateOperationsInput | string
2087
- grn_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2088
- purchase_order_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2089
- dispatch_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2090
- expected_arrival_date?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2091
- received_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2092
- received_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2093
- remarks?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2094
- start_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2095
- end_point?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2096
- transporter_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2097
- transport_vehicle_registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2098
- transport_vehicle_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2099
- challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2100
- driver_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2101
- country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2102
- driver_contact_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2103
- e_way_bill_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2104
- tracking_link?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2105
- delivery_challan_documents?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
2106
- grn_status?: Prisma.EnumGRNStatusFieldUpdateOperationsInput | $Enums.GRNStatus
2107
- delivery_challan_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2108
- inspection_date_time?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2109
- inspection_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2110
- warehouse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2111
- inspector_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2112
- inspection_status?: Prisma.EnumInspectionStatusFieldUpdateOperationsInput | $Enums.InspectionStatus
2113
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2114
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2115
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2116
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2117
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2118
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2119
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
2120
- }
2121
-
2122
-
2123
- /**
2124
- * Count Type GRNCountOutputType
2125
- */
2126
-
2127
- export type GRNCountOutputType = {
2128
- grn_items: number
2129
- invoices: number
2130
- }
2131
-
2132
- export type GRNCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2133
- grn_items?: boolean | GRNCountOutputTypeCountGrn_itemsArgs
2134
- invoices?: boolean | GRNCountOutputTypeCountInvoicesArgs
2135
- }
2136
-
2137
- /**
2138
- * GRNCountOutputType without action
2139
- */
2140
- export type GRNCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2141
- /**
2142
- * Select specific fields to fetch from the GRNCountOutputType
2143
- */
2144
- select?: Prisma.GRNCountOutputTypeSelect<ExtArgs> | null
2145
- }
2146
-
2147
- /**
2148
- * GRNCountOutputType without action
2149
- */
2150
- export type GRNCountOutputTypeCountGrn_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2151
- where?: Prisma.GRNItemWhereInput
2152
- }
2153
-
2154
- /**
2155
- * GRNCountOutputType without action
2156
- */
2157
- export type GRNCountOutputTypeCountInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2158
- where?: Prisma.InvoiceWhereInput
2159
- }
2160
-
2161
-
2162
- export type GRNSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2163
- id?: boolean
2164
- uuid?: boolean
2165
- grn_number?: boolean
2166
- purchase_order_id?: boolean
2167
- dispatch_date_time?: boolean
2168
- expected_arrival_date?: boolean
2169
- received_date_time?: boolean
2170
- received_by?: boolean
2171
- remarks?: boolean
2172
- start_point?: boolean
2173
- end_point?: boolean
2174
- transporter_name?: boolean
2175
- transport_vehicle_registration_number?: boolean
2176
- transport_vehicle_type?: boolean
2177
- challan_number?: boolean
2178
- driver_name?: boolean
2179
- country_code?: boolean
2180
- driver_contact_number?: boolean
2181
- e_way_bill_number?: boolean
2182
- tracking_link?: boolean
2183
- delivery_challan_documents?: boolean
2184
- grn_status?: boolean
2185
- delivery_challan_number?: boolean
2186
- inspection_date_time?: boolean
2187
- inspection_code?: boolean
2188
- warehouse?: boolean
2189
- inspector_name?: boolean
2190
- inspection_status?: boolean
2191
- business_entity_id?: boolean
2192
- created_at?: boolean
2193
- created_by?: boolean
2194
- updated_at?: boolean
2195
- updated_by?: boolean
2196
- is_deleted?: boolean
2197
- deleted_at?: boolean
2198
- deleted_by?: boolean
2199
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2200
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2201
- grn_items?: boolean | Prisma.GRN$grn_itemsArgs<ExtArgs>
2202
- invoices?: boolean | Prisma.GRN$invoicesArgs<ExtArgs>
2203
- _count?: boolean | Prisma.GRNCountOutputTypeDefaultArgs<ExtArgs>
2204
- }, ExtArgs["result"]["gRN"]>
2205
-
2206
- export type GRNSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2207
- id?: boolean
2208
- uuid?: boolean
2209
- grn_number?: boolean
2210
- purchase_order_id?: boolean
2211
- dispatch_date_time?: boolean
2212
- expected_arrival_date?: boolean
2213
- received_date_time?: boolean
2214
- received_by?: boolean
2215
- remarks?: boolean
2216
- start_point?: boolean
2217
- end_point?: boolean
2218
- transporter_name?: boolean
2219
- transport_vehicle_registration_number?: boolean
2220
- transport_vehicle_type?: boolean
2221
- challan_number?: boolean
2222
- driver_name?: boolean
2223
- country_code?: boolean
2224
- driver_contact_number?: boolean
2225
- e_way_bill_number?: boolean
2226
- tracking_link?: boolean
2227
- delivery_challan_documents?: boolean
2228
- grn_status?: boolean
2229
- delivery_challan_number?: boolean
2230
- inspection_date_time?: boolean
2231
- inspection_code?: boolean
2232
- warehouse?: boolean
2233
- inspector_name?: boolean
2234
- inspection_status?: boolean
2235
- business_entity_id?: boolean
2236
- created_at?: boolean
2237
- created_by?: boolean
2238
- updated_at?: boolean
2239
- updated_by?: boolean
2240
- is_deleted?: boolean
2241
- deleted_at?: boolean
2242
- deleted_by?: boolean
2243
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2244
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2245
- }, ExtArgs["result"]["gRN"]>
2246
-
2247
- export type GRNSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2248
- id?: boolean
2249
- uuid?: boolean
2250
- grn_number?: boolean
2251
- purchase_order_id?: boolean
2252
- dispatch_date_time?: boolean
2253
- expected_arrival_date?: boolean
2254
- received_date_time?: boolean
2255
- received_by?: boolean
2256
- remarks?: boolean
2257
- start_point?: boolean
2258
- end_point?: boolean
2259
- transporter_name?: boolean
2260
- transport_vehicle_registration_number?: boolean
2261
- transport_vehicle_type?: boolean
2262
- challan_number?: boolean
2263
- driver_name?: boolean
2264
- country_code?: boolean
2265
- driver_contact_number?: boolean
2266
- e_way_bill_number?: boolean
2267
- tracking_link?: boolean
2268
- delivery_challan_documents?: boolean
2269
- grn_status?: boolean
2270
- delivery_challan_number?: boolean
2271
- inspection_date_time?: boolean
2272
- inspection_code?: boolean
2273
- warehouse?: boolean
2274
- inspector_name?: boolean
2275
- inspection_status?: boolean
2276
- business_entity_id?: boolean
2277
- created_at?: boolean
2278
- created_by?: boolean
2279
- updated_at?: boolean
2280
- updated_by?: boolean
2281
- is_deleted?: boolean
2282
- deleted_at?: boolean
2283
- deleted_by?: boolean
2284
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2285
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2286
- }, ExtArgs["result"]["gRN"]>
2287
-
2288
- export type GRNSelectScalar = {
2289
- id?: boolean
2290
- uuid?: boolean
2291
- grn_number?: boolean
2292
- purchase_order_id?: boolean
2293
- dispatch_date_time?: boolean
2294
- expected_arrival_date?: boolean
2295
- received_date_time?: boolean
2296
- received_by?: boolean
2297
- remarks?: boolean
2298
- start_point?: boolean
2299
- end_point?: boolean
2300
- transporter_name?: boolean
2301
- transport_vehicle_registration_number?: boolean
2302
- transport_vehicle_type?: boolean
2303
- challan_number?: boolean
2304
- driver_name?: boolean
2305
- country_code?: boolean
2306
- driver_contact_number?: boolean
2307
- e_way_bill_number?: boolean
2308
- tracking_link?: boolean
2309
- delivery_challan_documents?: boolean
2310
- grn_status?: boolean
2311
- delivery_challan_number?: boolean
2312
- inspection_date_time?: boolean
2313
- inspection_code?: boolean
2314
- warehouse?: boolean
2315
- inspector_name?: boolean
2316
- inspection_status?: boolean
2317
- business_entity_id?: boolean
2318
- created_at?: boolean
2319
- created_by?: boolean
2320
- updated_at?: boolean
2321
- updated_by?: boolean
2322
- is_deleted?: boolean
2323
- deleted_at?: boolean
2324
- deleted_by?: boolean
2325
- }
2326
-
2327
- export type GRNOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "grn_number" | "purchase_order_id" | "dispatch_date_time" | "expected_arrival_date" | "received_date_time" | "received_by" | "remarks" | "start_point" | "end_point" | "transporter_name" | "transport_vehicle_registration_number" | "transport_vehicle_type" | "challan_number" | "driver_name" | "country_code" | "driver_contact_number" | "e_way_bill_number" | "tracking_link" | "delivery_challan_documents" | "grn_status" | "delivery_challan_number" | "inspection_date_time" | "inspection_code" | "warehouse" | "inspector_name" | "inspection_status" | "business_entity_id" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_at" | "deleted_by", ExtArgs["result"]["gRN"]>
2328
- export type GRNInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2329
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2330
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2331
- grn_items?: boolean | Prisma.GRN$grn_itemsArgs<ExtArgs>
2332
- invoices?: boolean | Prisma.GRN$invoicesArgs<ExtArgs>
2333
- _count?: boolean | Prisma.GRNCountOutputTypeDefaultArgs<ExtArgs>
2334
- }
2335
- export type GRNIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2336
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2337
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2338
- }
2339
- export type GRNIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2340
- purchase_order?: boolean | Prisma.GRN$purchase_orderArgs<ExtArgs>
2341
- business_entity?: boolean | Prisma.GRN$business_entityArgs<ExtArgs>
2342
- }
2343
-
2344
- export type $GRNPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2345
- name: "GRN"
2346
- objects: {
2347
- purchase_order: Prisma.$PurchaseOrderPayload<ExtArgs> | null
2348
- business_entity: Prisma.$BusinessEntityPayload<ExtArgs> | null
2349
- grn_items: Prisma.$GRNItemPayload<ExtArgs>[]
2350
- invoices: Prisma.$InvoicePayload<ExtArgs>[]
2351
- }
2352
- scalars: runtime.Types.Extensions.GetPayloadResult<{
2353
- id: number
2354
- uuid: string
2355
- grn_number: string | null
2356
- purchase_order_id: number | null
2357
- dispatch_date_time: Date | null
2358
- expected_arrival_date: Date | null
2359
- received_date_time: Date | null
2360
- received_by: string | null
2361
- remarks: string | null
2362
- start_point: string | null
2363
- end_point: string | null
2364
- transporter_name: string | null
2365
- transport_vehicle_registration_number: string | null
2366
- transport_vehicle_type: string | null
2367
- challan_number: string | null
2368
- driver_name: string | null
2369
- country_code: string | null
2370
- driver_contact_number: string | null
2371
- e_way_bill_number: string | null
2372
- tracking_link: string | null
2373
- delivery_challan_documents: runtime.JsonValue | null
2374
- grn_status: $Enums.GRNStatus
2375
- delivery_challan_number: string | null
2376
- inspection_date_time: Date | null
2377
- inspection_code: string | null
2378
- warehouse: string | null
2379
- inspector_name: string | null
2380
- inspection_status: $Enums.InspectionStatus
2381
- business_entity_id: number | null
2382
- created_at: Date
2383
- created_by: number | null
2384
- updated_at: Date
2385
- updated_by: number | null
2386
- is_deleted: boolean
2387
- deleted_at: Date | null
2388
- deleted_by: number | null
2389
- }, ExtArgs["result"]["gRN"]>
2390
- composites: {}
2391
- }
2392
-
2393
- export type GRNGetPayload<S extends boolean | null | undefined | GRNDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GRNPayload, S>
2394
-
2395
- export type GRNCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2396
- Omit<GRNFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2397
- select?: GRNCountAggregateInputType | true
2398
- }
2399
-
2400
- export interface GRNDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2401
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GRN'], meta: { name: 'GRN' } }
2402
- /**
2403
- * Find zero or one GRN that matches the filter.
2404
- * @param {GRNFindUniqueArgs} args - Arguments to find a GRN
2405
- * @example
2406
- * // Get one GRN
2407
- * const gRN = await prisma.gRN.findUnique({
2408
- * where: {
2409
- * // ... provide filter here
2410
- * }
2411
- * })
2412
- */
2413
- findUnique<T extends GRNFindUniqueArgs>(args: Prisma.SelectSubset<T, GRNFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2414
-
2415
- /**
2416
- * Find one GRN that matches the filter or throw an error with `error.code='P2025'`
2417
- * if no matches were found.
2418
- * @param {GRNFindUniqueOrThrowArgs} args - Arguments to find a GRN
2419
- * @example
2420
- * // Get one GRN
2421
- * const gRN = await prisma.gRN.findUniqueOrThrow({
2422
- * where: {
2423
- * // ... provide filter here
2424
- * }
2425
- * })
2426
- */
2427
- findUniqueOrThrow<T extends GRNFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GRNFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2428
-
2429
- /**
2430
- * Find the first GRN that matches the filter.
2431
- * Note, that providing `undefined` is treated as the value not being there.
2432
- * Read more here: https://pris.ly/d/null-undefined
2433
- * @param {GRNFindFirstArgs} args - Arguments to find a GRN
2434
- * @example
2435
- * // Get one GRN
2436
- * const gRN = await prisma.gRN.findFirst({
2437
- * where: {
2438
- * // ... provide filter here
2439
- * }
2440
- * })
2441
- */
2442
- findFirst<T extends GRNFindFirstArgs>(args?: Prisma.SelectSubset<T, GRNFindFirstArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2443
-
2444
- /**
2445
- * Find the first GRN that matches the filter or
2446
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2447
- * Note, that providing `undefined` is treated as the value not being there.
2448
- * Read more here: https://pris.ly/d/null-undefined
2449
- * @param {GRNFindFirstOrThrowArgs} args - Arguments to find a GRN
2450
- * @example
2451
- * // Get one GRN
2452
- * const gRN = await prisma.gRN.findFirstOrThrow({
2453
- * where: {
2454
- * // ... provide filter here
2455
- * }
2456
- * })
2457
- */
2458
- findFirstOrThrow<T extends GRNFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GRNFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2459
-
2460
- /**
2461
- * Find zero or more GRNS that matches the filter.
2462
- * Note, that providing `undefined` is treated as the value not being there.
2463
- * Read more here: https://pris.ly/d/null-undefined
2464
- * @param {GRNFindManyArgs} args - Arguments to filter and select certain fields only.
2465
- * @example
2466
- * // Get all GRNS
2467
- * const gRNS = await prisma.gRN.findMany()
2468
- *
2469
- * // Get first 10 GRNS
2470
- * const gRNS = await prisma.gRN.findMany({ take: 10 })
2471
- *
2472
- * // Only select the `id`
2473
- * const gRNWithIdOnly = await prisma.gRN.findMany({ select: { id: true } })
2474
- *
2475
- */
2476
- findMany<T extends GRNFindManyArgs>(args?: Prisma.SelectSubset<T, GRNFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2477
-
2478
- /**
2479
- * Create a GRN.
2480
- * @param {GRNCreateArgs} args - Arguments to create a GRN.
2481
- * @example
2482
- * // Create one GRN
2483
- * const GRN = await prisma.gRN.create({
2484
- * data: {
2485
- * // ... data to create a GRN
2486
- * }
2487
- * })
2488
- *
2489
- */
2490
- create<T extends GRNCreateArgs>(args: Prisma.SelectSubset<T, GRNCreateArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2491
-
2492
- /**
2493
- * Create many GRNS.
2494
- * @param {GRNCreateManyArgs} args - Arguments to create many GRNS.
2495
- * @example
2496
- * // Create many GRNS
2497
- * const gRN = await prisma.gRN.createMany({
2498
- * data: [
2499
- * // ... provide data here
2500
- * ]
2501
- * })
2502
- *
2503
- */
2504
- createMany<T extends GRNCreateManyArgs>(args?: Prisma.SelectSubset<T, GRNCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2505
-
2506
- /**
2507
- * Create many GRNS and returns the data saved in the database.
2508
- * @param {GRNCreateManyAndReturnArgs} args - Arguments to create many GRNS.
2509
- * @example
2510
- * // Create many GRNS
2511
- * const gRN = await prisma.gRN.createManyAndReturn({
2512
- * data: [
2513
- * // ... provide data here
2514
- * ]
2515
- * })
2516
- *
2517
- * // Create many GRNS and only return the `id`
2518
- * const gRNWithIdOnly = await prisma.gRN.createManyAndReturn({
2519
- * select: { id: true },
2520
- * data: [
2521
- * // ... provide data here
2522
- * ]
2523
- * })
2524
- * Note, that providing `undefined` is treated as the value not being there.
2525
- * Read more here: https://pris.ly/d/null-undefined
2526
- *
2527
- */
2528
- createManyAndReturn<T extends GRNCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GRNCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2529
-
2530
- /**
2531
- * Delete a GRN.
2532
- * @param {GRNDeleteArgs} args - Arguments to delete one GRN.
2533
- * @example
2534
- * // Delete one GRN
2535
- * const GRN = await prisma.gRN.delete({
2536
- * where: {
2537
- * // ... filter to delete one GRN
2538
- * }
2539
- * })
2540
- *
2541
- */
2542
- delete<T extends GRNDeleteArgs>(args: Prisma.SelectSubset<T, GRNDeleteArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2543
-
2544
- /**
2545
- * Update one GRN.
2546
- * @param {GRNUpdateArgs} args - Arguments to update one GRN.
2547
- * @example
2548
- * // Update one GRN
2549
- * const gRN = await prisma.gRN.update({
2550
- * where: {
2551
- * // ... provide filter here
2552
- * },
2553
- * data: {
2554
- * // ... provide data here
2555
- * }
2556
- * })
2557
- *
2558
- */
2559
- update<T extends GRNUpdateArgs>(args: Prisma.SelectSubset<T, GRNUpdateArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2560
-
2561
- /**
2562
- * Delete zero or more GRNS.
2563
- * @param {GRNDeleteManyArgs} args - Arguments to filter GRNS to delete.
2564
- * @example
2565
- * // Delete a few GRNS
2566
- * const { count } = await prisma.gRN.deleteMany({
2567
- * where: {
2568
- * // ... provide filter here
2569
- * }
2570
- * })
2571
- *
2572
- */
2573
- deleteMany<T extends GRNDeleteManyArgs>(args?: Prisma.SelectSubset<T, GRNDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2574
-
2575
- /**
2576
- * Update zero or more GRNS.
2577
- * Note, that providing `undefined` is treated as the value not being there.
2578
- * Read more here: https://pris.ly/d/null-undefined
2579
- * @param {GRNUpdateManyArgs} args - Arguments to update one or more rows.
2580
- * @example
2581
- * // Update many GRNS
2582
- * const gRN = await prisma.gRN.updateMany({
2583
- * where: {
2584
- * // ... provide filter here
2585
- * },
2586
- * data: {
2587
- * // ... provide data here
2588
- * }
2589
- * })
2590
- *
2591
- */
2592
- updateMany<T extends GRNUpdateManyArgs>(args: Prisma.SelectSubset<T, GRNUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2593
-
2594
- /**
2595
- * Update zero or more GRNS and returns the data updated in the database.
2596
- * @param {GRNUpdateManyAndReturnArgs} args - Arguments to update many GRNS.
2597
- * @example
2598
- * // Update many GRNS
2599
- * const gRN = await prisma.gRN.updateManyAndReturn({
2600
- * where: {
2601
- * // ... provide filter here
2602
- * },
2603
- * data: [
2604
- * // ... provide data here
2605
- * ]
2606
- * })
2607
- *
2608
- * // Update zero or more GRNS and only return the `id`
2609
- * const gRNWithIdOnly = await prisma.gRN.updateManyAndReturn({
2610
- * select: { id: true },
2611
- * where: {
2612
- * // ... provide filter here
2613
- * },
2614
- * data: [
2615
- * // ... provide data here
2616
- * ]
2617
- * })
2618
- * Note, that providing `undefined` is treated as the value not being there.
2619
- * Read more here: https://pris.ly/d/null-undefined
2620
- *
2621
- */
2622
- updateManyAndReturn<T extends GRNUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GRNUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2623
-
2624
- /**
2625
- * Create or update one GRN.
2626
- * @param {GRNUpsertArgs} args - Arguments to update or create a GRN.
2627
- * @example
2628
- * // Update or create a GRN
2629
- * const gRN = await prisma.gRN.upsert({
2630
- * create: {
2631
- * // ... data to create a GRN
2632
- * },
2633
- * update: {
2634
- * // ... in case it already exists, update
2635
- * },
2636
- * where: {
2637
- * // ... the filter for the GRN we want to update
2638
- * }
2639
- * })
2640
- */
2641
- upsert<T extends GRNUpsertArgs>(args: Prisma.SelectSubset<T, GRNUpsertArgs<ExtArgs>>): Prisma.Prisma__GRNClient<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2642
-
2643
-
2644
- /**
2645
- * Count the number of GRNS.
2646
- * Note, that providing `undefined` is treated as the value not being there.
2647
- * Read more here: https://pris.ly/d/null-undefined
2648
- * @param {GRNCountArgs} args - Arguments to filter GRNS to count.
2649
- * @example
2650
- * // Count the number of GRNS
2651
- * const count = await prisma.gRN.count({
2652
- * where: {
2653
- * // ... the filter for the GRNS we want to count
2654
- * }
2655
- * })
2656
- **/
2657
- count<T extends GRNCountArgs>(
2658
- args?: Prisma.Subset<T, GRNCountArgs>,
2659
- ): Prisma.PrismaPromise<
2660
- T extends runtime.Types.Utils.Record<'select', any>
2661
- ? T['select'] extends true
2662
- ? number
2663
- : Prisma.GetScalarType<T['select'], GRNCountAggregateOutputType>
2664
- : number
2665
- >
2666
-
2667
- /**
2668
- * Allows you to perform aggregations operations on a GRN.
2669
- * Note, that providing `undefined` is treated as the value not being there.
2670
- * Read more here: https://pris.ly/d/null-undefined
2671
- * @param {GRNAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2672
- * @example
2673
- * // Ordered by age ascending
2674
- * // Where email contains prisma.io
2675
- * // Limited to the 10 users
2676
- * const aggregations = await prisma.user.aggregate({
2677
- * _avg: {
2678
- * age: true,
2679
- * },
2680
- * where: {
2681
- * email: {
2682
- * contains: "prisma.io",
2683
- * },
2684
- * },
2685
- * orderBy: {
2686
- * age: "asc",
2687
- * },
2688
- * take: 10,
2689
- * })
2690
- **/
2691
- aggregate<T extends GRNAggregateArgs>(args: Prisma.Subset<T, GRNAggregateArgs>): Prisma.PrismaPromise<GetGRNAggregateType<T>>
2692
-
2693
- /**
2694
- * Group by GRN.
2695
- * Note, that providing `undefined` is treated as the value not being there.
2696
- * Read more here: https://pris.ly/d/null-undefined
2697
- * @param {GRNGroupByArgs} args - Group by arguments.
2698
- * @example
2699
- * // Group by city, order by createdAt, get count
2700
- * const result = await prisma.user.groupBy({
2701
- * by: ['city', 'createdAt'],
2702
- * orderBy: {
2703
- * createdAt: true
2704
- * },
2705
- * _count: {
2706
- * _all: true
2707
- * },
2708
- * })
2709
- *
2710
- **/
2711
- groupBy<
2712
- T extends GRNGroupByArgs,
2713
- HasSelectOrTake extends Prisma.Or<
2714
- Prisma.Extends<'skip', Prisma.Keys<T>>,
2715
- Prisma.Extends<'take', Prisma.Keys<T>>
2716
- >,
2717
- OrderByArg extends Prisma.True extends HasSelectOrTake
2718
- ? { orderBy: GRNGroupByArgs['orderBy'] }
2719
- : { orderBy?: GRNGroupByArgs['orderBy'] },
2720
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2721
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2722
- ByValid extends Prisma.Has<ByFields, OrderFields>,
2723
- HavingFields extends Prisma.GetHavingFields<T['having']>,
2724
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
2725
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2726
- InputErrors extends ByEmpty extends Prisma.True
2727
- ? `Error: "by" must not be empty.`
2728
- : HavingValid extends Prisma.False
2729
- ? {
2730
- [P in HavingFields]: P extends ByFields
2731
- ? never
2732
- : P extends string
2733
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2734
- : [
2735
- Error,
2736
- 'Field ',
2737
- P,
2738
- ` in "having" needs to be provided in "by"`,
2739
- ]
2740
- }[HavingFields]
2741
- : 'take' extends Prisma.Keys<T>
2742
- ? 'orderBy' extends Prisma.Keys<T>
2743
- ? ByValid extends Prisma.True
2744
- ? {}
2745
- : {
2746
- [P in OrderFields]: P extends ByFields
2747
- ? never
2748
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2749
- }[OrderFields]
2750
- : 'Error: If you provide "take", you also need to provide "orderBy"'
2751
- : 'skip' extends Prisma.Keys<T>
2752
- ? 'orderBy' extends Prisma.Keys<T>
2753
- ? ByValid extends Prisma.True
2754
- ? {}
2755
- : {
2756
- [P in OrderFields]: P extends ByFields
2757
- ? never
2758
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2759
- }[OrderFields]
2760
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
2761
- : ByValid extends Prisma.True
2762
- ? {}
2763
- : {
2764
- [P in OrderFields]: P extends ByFields
2765
- ? never
2766
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2767
- }[OrderFields]
2768
- >(args: Prisma.SubsetIntersection<T, GRNGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGRNGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2769
- /**
2770
- * Fields of the GRN model
2771
- */
2772
- readonly fields: GRNFieldRefs;
2773
- }
2774
-
2775
- /**
2776
- * The delegate class that acts as a "Promise-like" for GRN.
2777
- * Why is this prefixed with `Prisma__`?
2778
- * Because we want to prevent naming conflicts as mentioned in
2779
- * https://github.com/prisma/prisma-client-js/issues/707
2780
- */
2781
- export interface Prisma__GRNClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2782
- readonly [Symbol.toStringTag]: "PrismaPromise"
2783
- purchase_order<T extends Prisma.GRN$purchase_orderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GRN$purchase_orderArgs<ExtArgs>>): Prisma.Prisma__PurchaseOrderClient<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2784
- business_entity<T extends Prisma.GRN$business_entityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GRN$business_entityArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2785
- grn_items<T extends Prisma.GRN$grn_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GRN$grn_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2786
- invoices<T extends Prisma.GRN$invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GRN$invoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvoicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2787
- /**
2788
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2789
- * @param onfulfilled The callback to execute when the Promise is resolved.
2790
- * @param onrejected The callback to execute when the Promise is rejected.
2791
- * @returns A Promise for the completion of which ever callback is executed.
2792
- */
2793
- 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>
2794
- /**
2795
- * Attaches a callback for only the rejection of the Promise.
2796
- * @param onrejected The callback to execute when the Promise is rejected.
2797
- * @returns A Promise for the completion of the callback.
2798
- */
2799
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2800
- /**
2801
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2802
- * resolved value cannot be modified from the callback.
2803
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2804
- * @returns A Promise for the completion of the callback.
2805
- */
2806
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2807
- }
2808
-
2809
-
2810
-
2811
-
2812
- /**
2813
- * Fields of the GRN model
2814
- */
2815
- export interface GRNFieldRefs {
2816
- readonly id: Prisma.FieldRef<"GRN", 'Int'>
2817
- readonly uuid: Prisma.FieldRef<"GRN", 'String'>
2818
- readonly grn_number: Prisma.FieldRef<"GRN", 'String'>
2819
- readonly purchase_order_id: Prisma.FieldRef<"GRN", 'Int'>
2820
- readonly dispatch_date_time: Prisma.FieldRef<"GRN", 'DateTime'>
2821
- readonly expected_arrival_date: Prisma.FieldRef<"GRN", 'DateTime'>
2822
- readonly received_date_time: Prisma.FieldRef<"GRN", 'DateTime'>
2823
- readonly received_by: Prisma.FieldRef<"GRN", 'String'>
2824
- readonly remarks: Prisma.FieldRef<"GRN", 'String'>
2825
- readonly start_point: Prisma.FieldRef<"GRN", 'String'>
2826
- readonly end_point: Prisma.FieldRef<"GRN", 'String'>
2827
- readonly transporter_name: Prisma.FieldRef<"GRN", 'String'>
2828
- readonly transport_vehicle_registration_number: Prisma.FieldRef<"GRN", 'String'>
2829
- readonly transport_vehicle_type: Prisma.FieldRef<"GRN", 'String'>
2830
- readonly challan_number: Prisma.FieldRef<"GRN", 'String'>
2831
- readonly driver_name: Prisma.FieldRef<"GRN", 'String'>
2832
- readonly country_code: Prisma.FieldRef<"GRN", 'String'>
2833
- readonly driver_contact_number: Prisma.FieldRef<"GRN", 'String'>
2834
- readonly e_way_bill_number: Prisma.FieldRef<"GRN", 'String'>
2835
- readonly tracking_link: Prisma.FieldRef<"GRN", 'String'>
2836
- readonly delivery_challan_documents: Prisma.FieldRef<"GRN", 'Json'>
2837
- readonly grn_status: Prisma.FieldRef<"GRN", 'GRNStatus'>
2838
- readonly delivery_challan_number: Prisma.FieldRef<"GRN", 'String'>
2839
- readonly inspection_date_time: Prisma.FieldRef<"GRN", 'DateTime'>
2840
- readonly inspection_code: Prisma.FieldRef<"GRN", 'String'>
2841
- readonly warehouse: Prisma.FieldRef<"GRN", 'String'>
2842
- readonly inspector_name: Prisma.FieldRef<"GRN", 'String'>
2843
- readonly inspection_status: Prisma.FieldRef<"GRN", 'InspectionStatus'>
2844
- readonly business_entity_id: Prisma.FieldRef<"GRN", 'Int'>
2845
- readonly created_at: Prisma.FieldRef<"GRN", 'DateTime'>
2846
- readonly created_by: Prisma.FieldRef<"GRN", 'Int'>
2847
- readonly updated_at: Prisma.FieldRef<"GRN", 'DateTime'>
2848
- readonly updated_by: Prisma.FieldRef<"GRN", 'Int'>
2849
- readonly is_deleted: Prisma.FieldRef<"GRN", 'Boolean'>
2850
- readonly deleted_at: Prisma.FieldRef<"GRN", 'DateTime'>
2851
- readonly deleted_by: Prisma.FieldRef<"GRN", 'Int'>
2852
- }
2853
-
2854
-
2855
- // Custom InputTypes
2856
- /**
2857
- * GRN findUnique
2858
- */
2859
- export type GRNFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2860
- /**
2861
- * Select specific fields to fetch from the GRN
2862
- */
2863
- select?: Prisma.GRNSelect<ExtArgs> | null
2864
- /**
2865
- * Omit specific fields from the GRN
2866
- */
2867
- omit?: Prisma.GRNOmit<ExtArgs> | null
2868
- /**
2869
- * Choose, which related nodes to fetch as well
2870
- */
2871
- include?: Prisma.GRNInclude<ExtArgs> | null
2872
- /**
2873
- * Filter, which GRN to fetch.
2874
- */
2875
- where: Prisma.GRNWhereUniqueInput
2876
- }
2877
-
2878
- /**
2879
- * GRN findUniqueOrThrow
2880
- */
2881
- export type GRNFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2882
- /**
2883
- * Select specific fields to fetch from the GRN
2884
- */
2885
- select?: Prisma.GRNSelect<ExtArgs> | null
2886
- /**
2887
- * Omit specific fields from the GRN
2888
- */
2889
- omit?: Prisma.GRNOmit<ExtArgs> | null
2890
- /**
2891
- * Choose, which related nodes to fetch as well
2892
- */
2893
- include?: Prisma.GRNInclude<ExtArgs> | null
2894
- /**
2895
- * Filter, which GRN to fetch.
2896
- */
2897
- where: Prisma.GRNWhereUniqueInput
2898
- }
2899
-
2900
- /**
2901
- * GRN findFirst
2902
- */
2903
- export type GRNFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2904
- /**
2905
- * Select specific fields to fetch from the GRN
2906
- */
2907
- select?: Prisma.GRNSelect<ExtArgs> | null
2908
- /**
2909
- * Omit specific fields from the GRN
2910
- */
2911
- omit?: Prisma.GRNOmit<ExtArgs> | null
2912
- /**
2913
- * Choose, which related nodes to fetch as well
2914
- */
2915
- include?: Prisma.GRNInclude<ExtArgs> | null
2916
- /**
2917
- * Filter, which GRN to fetch.
2918
- */
2919
- where?: Prisma.GRNWhereInput
2920
- /**
2921
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2922
- *
2923
- * Determine the order of GRNS to fetch.
2924
- */
2925
- orderBy?: Prisma.GRNOrderByWithRelationInput | Prisma.GRNOrderByWithRelationInput[]
2926
- /**
2927
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2928
- *
2929
- * Sets the position for searching for GRNS.
2930
- */
2931
- cursor?: Prisma.GRNWhereUniqueInput
2932
- /**
2933
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2934
- *
2935
- * Take `±n` GRNS from the position of the cursor.
2936
- */
2937
- take?: number
2938
- /**
2939
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2940
- *
2941
- * Skip the first `n` GRNS.
2942
- */
2943
- skip?: number
2944
- /**
2945
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2946
- *
2947
- * Filter by unique combinations of GRNS.
2948
- */
2949
- distinct?: Prisma.GRNScalarFieldEnum | Prisma.GRNScalarFieldEnum[]
2950
- }
2951
-
2952
- /**
2953
- * GRN findFirstOrThrow
2954
- */
2955
- export type GRNFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2956
- /**
2957
- * Select specific fields to fetch from the GRN
2958
- */
2959
- select?: Prisma.GRNSelect<ExtArgs> | null
2960
- /**
2961
- * Omit specific fields from the GRN
2962
- */
2963
- omit?: Prisma.GRNOmit<ExtArgs> | null
2964
- /**
2965
- * Choose, which related nodes to fetch as well
2966
- */
2967
- include?: Prisma.GRNInclude<ExtArgs> | null
2968
- /**
2969
- * Filter, which GRN to fetch.
2970
- */
2971
- where?: Prisma.GRNWhereInput
2972
- /**
2973
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2974
- *
2975
- * Determine the order of GRNS to fetch.
2976
- */
2977
- orderBy?: Prisma.GRNOrderByWithRelationInput | Prisma.GRNOrderByWithRelationInput[]
2978
- /**
2979
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2980
- *
2981
- * Sets the position for searching for GRNS.
2982
- */
2983
- cursor?: Prisma.GRNWhereUniqueInput
2984
- /**
2985
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2986
- *
2987
- * Take `±n` GRNS from the position of the cursor.
2988
- */
2989
- take?: number
2990
- /**
2991
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2992
- *
2993
- * Skip the first `n` GRNS.
2994
- */
2995
- skip?: number
2996
- /**
2997
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2998
- *
2999
- * Filter by unique combinations of GRNS.
3000
- */
3001
- distinct?: Prisma.GRNScalarFieldEnum | Prisma.GRNScalarFieldEnum[]
3002
- }
3003
-
3004
- /**
3005
- * GRN findMany
3006
- */
3007
- export type GRNFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3008
- /**
3009
- * Select specific fields to fetch from the GRN
3010
- */
3011
- select?: Prisma.GRNSelect<ExtArgs> | null
3012
- /**
3013
- * Omit specific fields from the GRN
3014
- */
3015
- omit?: Prisma.GRNOmit<ExtArgs> | null
3016
- /**
3017
- * Choose, which related nodes to fetch as well
3018
- */
3019
- include?: Prisma.GRNInclude<ExtArgs> | null
3020
- /**
3021
- * Filter, which GRNS to fetch.
3022
- */
3023
- where?: Prisma.GRNWhereInput
3024
- /**
3025
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3026
- *
3027
- * Determine the order of GRNS to fetch.
3028
- */
3029
- orderBy?: Prisma.GRNOrderByWithRelationInput | Prisma.GRNOrderByWithRelationInput[]
3030
- /**
3031
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3032
- *
3033
- * Sets the position for listing GRNS.
3034
- */
3035
- cursor?: Prisma.GRNWhereUniqueInput
3036
- /**
3037
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3038
- *
3039
- * Take `±n` GRNS from the position of the cursor.
3040
- */
3041
- take?: number
3042
- /**
3043
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3044
- *
3045
- * Skip the first `n` GRNS.
3046
- */
3047
- skip?: number
3048
- /**
3049
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3050
- *
3051
- * Filter by unique combinations of GRNS.
3052
- */
3053
- distinct?: Prisma.GRNScalarFieldEnum | Prisma.GRNScalarFieldEnum[]
3054
- }
3055
-
3056
- /**
3057
- * GRN create
3058
- */
3059
- export type GRNCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3060
- /**
3061
- * Select specific fields to fetch from the GRN
3062
- */
3063
- select?: Prisma.GRNSelect<ExtArgs> | null
3064
- /**
3065
- * Omit specific fields from the GRN
3066
- */
3067
- omit?: Prisma.GRNOmit<ExtArgs> | null
3068
- /**
3069
- * Choose, which related nodes to fetch as well
3070
- */
3071
- include?: Prisma.GRNInclude<ExtArgs> | null
3072
- /**
3073
- * The data needed to create a GRN.
3074
- */
3075
- data: Prisma.XOR<Prisma.GRNCreateInput, Prisma.GRNUncheckedCreateInput>
3076
- }
3077
-
3078
- /**
3079
- * GRN createMany
3080
- */
3081
- export type GRNCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3082
- /**
3083
- * The data used to create many GRNS.
3084
- */
3085
- data: Prisma.GRNCreateManyInput | Prisma.GRNCreateManyInput[]
3086
- skipDuplicates?: boolean
3087
- }
3088
-
3089
- /**
3090
- * GRN createManyAndReturn
3091
- */
3092
- export type GRNCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3093
- /**
3094
- * Select specific fields to fetch from the GRN
3095
- */
3096
- select?: Prisma.GRNSelectCreateManyAndReturn<ExtArgs> | null
3097
- /**
3098
- * Omit specific fields from the GRN
3099
- */
3100
- omit?: Prisma.GRNOmit<ExtArgs> | null
3101
- /**
3102
- * The data used to create many GRNS.
3103
- */
3104
- data: Prisma.GRNCreateManyInput | Prisma.GRNCreateManyInput[]
3105
- skipDuplicates?: boolean
3106
- /**
3107
- * Choose, which related nodes to fetch as well
3108
- */
3109
- include?: Prisma.GRNIncludeCreateManyAndReturn<ExtArgs> | null
3110
- }
3111
-
3112
- /**
3113
- * GRN update
3114
- */
3115
- export type GRNUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3116
- /**
3117
- * Select specific fields to fetch from the GRN
3118
- */
3119
- select?: Prisma.GRNSelect<ExtArgs> | null
3120
- /**
3121
- * Omit specific fields from the GRN
3122
- */
3123
- omit?: Prisma.GRNOmit<ExtArgs> | null
3124
- /**
3125
- * Choose, which related nodes to fetch as well
3126
- */
3127
- include?: Prisma.GRNInclude<ExtArgs> | null
3128
- /**
3129
- * The data needed to update a GRN.
3130
- */
3131
- data: Prisma.XOR<Prisma.GRNUpdateInput, Prisma.GRNUncheckedUpdateInput>
3132
- /**
3133
- * Choose, which GRN to update.
3134
- */
3135
- where: Prisma.GRNWhereUniqueInput
3136
- }
3137
-
3138
- /**
3139
- * GRN updateMany
3140
- */
3141
- export type GRNUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3142
- /**
3143
- * The data used to update GRNS.
3144
- */
3145
- data: Prisma.XOR<Prisma.GRNUpdateManyMutationInput, Prisma.GRNUncheckedUpdateManyInput>
3146
- /**
3147
- * Filter which GRNS to update
3148
- */
3149
- where?: Prisma.GRNWhereInput
3150
- /**
3151
- * Limit how many GRNS to update.
3152
- */
3153
- limit?: number
3154
- }
3155
-
3156
- /**
3157
- * GRN updateManyAndReturn
3158
- */
3159
- export type GRNUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3160
- /**
3161
- * Select specific fields to fetch from the GRN
3162
- */
3163
- select?: Prisma.GRNSelectUpdateManyAndReturn<ExtArgs> | null
3164
- /**
3165
- * Omit specific fields from the GRN
3166
- */
3167
- omit?: Prisma.GRNOmit<ExtArgs> | null
3168
- /**
3169
- * The data used to update GRNS.
3170
- */
3171
- data: Prisma.XOR<Prisma.GRNUpdateManyMutationInput, Prisma.GRNUncheckedUpdateManyInput>
3172
- /**
3173
- * Filter which GRNS to update
3174
- */
3175
- where?: Prisma.GRNWhereInput
3176
- /**
3177
- * Limit how many GRNS to update.
3178
- */
3179
- limit?: number
3180
- /**
3181
- * Choose, which related nodes to fetch as well
3182
- */
3183
- include?: Prisma.GRNIncludeUpdateManyAndReturn<ExtArgs> | null
3184
- }
3185
-
3186
- /**
3187
- * GRN upsert
3188
- */
3189
- export type GRNUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3190
- /**
3191
- * Select specific fields to fetch from the GRN
3192
- */
3193
- select?: Prisma.GRNSelect<ExtArgs> | null
3194
- /**
3195
- * Omit specific fields from the GRN
3196
- */
3197
- omit?: Prisma.GRNOmit<ExtArgs> | null
3198
- /**
3199
- * Choose, which related nodes to fetch as well
3200
- */
3201
- include?: Prisma.GRNInclude<ExtArgs> | null
3202
- /**
3203
- * The filter to search for the GRN to update in case it exists.
3204
- */
3205
- where: Prisma.GRNWhereUniqueInput
3206
- /**
3207
- * In case the GRN found by the `where` argument doesn't exist, create a new GRN with this data.
3208
- */
3209
- create: Prisma.XOR<Prisma.GRNCreateInput, Prisma.GRNUncheckedCreateInput>
3210
- /**
3211
- * In case the GRN was found with the provided `where` argument, update it with this data.
3212
- */
3213
- update: Prisma.XOR<Prisma.GRNUpdateInput, Prisma.GRNUncheckedUpdateInput>
3214
- }
3215
-
3216
- /**
3217
- * GRN delete
3218
- */
3219
- export type GRNDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3220
- /**
3221
- * Select specific fields to fetch from the GRN
3222
- */
3223
- select?: Prisma.GRNSelect<ExtArgs> | null
3224
- /**
3225
- * Omit specific fields from the GRN
3226
- */
3227
- omit?: Prisma.GRNOmit<ExtArgs> | null
3228
- /**
3229
- * Choose, which related nodes to fetch as well
3230
- */
3231
- include?: Prisma.GRNInclude<ExtArgs> | null
3232
- /**
3233
- * Filter which GRN to delete.
3234
- */
3235
- where: Prisma.GRNWhereUniqueInput
3236
- }
3237
-
3238
- /**
3239
- * GRN deleteMany
3240
- */
3241
- export type GRNDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3242
- /**
3243
- * Filter which GRNS to delete
3244
- */
3245
- where?: Prisma.GRNWhereInput
3246
- /**
3247
- * Limit how many GRNS to delete.
3248
- */
3249
- limit?: number
3250
- }
3251
-
3252
- /**
3253
- * GRN.purchase_order
3254
- */
3255
- export type GRN$purchase_orderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3256
- /**
3257
- * Select specific fields to fetch from the PurchaseOrder
3258
- */
3259
- select?: Prisma.PurchaseOrderSelect<ExtArgs> | null
3260
- /**
3261
- * Omit specific fields from the PurchaseOrder
3262
- */
3263
- omit?: Prisma.PurchaseOrderOmit<ExtArgs> | null
3264
- /**
3265
- * Choose, which related nodes to fetch as well
3266
- */
3267
- include?: Prisma.PurchaseOrderInclude<ExtArgs> | null
3268
- where?: Prisma.PurchaseOrderWhereInput
3269
- }
3270
-
3271
- /**
3272
- * GRN.business_entity
3273
- */
3274
- export type GRN$business_entityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3275
- /**
3276
- * Select specific fields to fetch from the BusinessEntity
3277
- */
3278
- select?: Prisma.BusinessEntitySelect<ExtArgs> | null
3279
- /**
3280
- * Omit specific fields from the BusinessEntity
3281
- */
3282
- omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
3283
- /**
3284
- * Choose, which related nodes to fetch as well
3285
- */
3286
- include?: Prisma.BusinessEntityInclude<ExtArgs> | null
3287
- where?: Prisma.BusinessEntityWhereInput
3288
- }
3289
-
3290
- /**
3291
- * GRN.grn_items
3292
- */
3293
- export type GRN$grn_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3294
- /**
3295
- * Select specific fields to fetch from the GRNItem
3296
- */
3297
- select?: Prisma.GRNItemSelect<ExtArgs> | null
3298
- /**
3299
- * Omit specific fields from the GRNItem
3300
- */
3301
- omit?: Prisma.GRNItemOmit<ExtArgs> | null
3302
- /**
3303
- * Choose, which related nodes to fetch as well
3304
- */
3305
- include?: Prisma.GRNItemInclude<ExtArgs> | null
3306
- where?: Prisma.GRNItemWhereInput
3307
- orderBy?: Prisma.GRNItemOrderByWithRelationInput | Prisma.GRNItemOrderByWithRelationInput[]
3308
- cursor?: Prisma.GRNItemWhereUniqueInput
3309
- take?: number
3310
- skip?: number
3311
- distinct?: Prisma.GRNItemScalarFieldEnum | Prisma.GRNItemScalarFieldEnum[]
3312
- }
3313
-
3314
- /**
3315
- * GRN.invoices
3316
- */
3317
- export type GRN$invoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3318
- /**
3319
- * Select specific fields to fetch from the Invoice
3320
- */
3321
- select?: Prisma.InvoiceSelect<ExtArgs> | null
3322
- /**
3323
- * Omit specific fields from the Invoice
3324
- */
3325
- omit?: Prisma.InvoiceOmit<ExtArgs> | null
3326
- /**
3327
- * Choose, which related nodes to fetch as well
3328
- */
3329
- include?: Prisma.InvoiceInclude<ExtArgs> | null
3330
- where?: Prisma.InvoiceWhereInput
3331
- orderBy?: Prisma.InvoiceOrderByWithRelationInput | Prisma.InvoiceOrderByWithRelationInput[]
3332
- cursor?: Prisma.InvoiceWhereUniqueInput
3333
- take?: number
3334
- skip?: number
3335
- distinct?: Prisma.InvoiceScalarFieldEnum | Prisma.InvoiceScalarFieldEnum[]
3336
- }
3337
-
3338
- /**
3339
- * GRN without action
3340
- */
3341
- export type GRNDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3342
- /**
3343
- * Select specific fields to fetch from the GRN
3344
- */
3345
- select?: Prisma.GRNSelect<ExtArgs> | null
3346
- /**
3347
- * Omit specific fields from the GRN
3348
- */
3349
- omit?: Prisma.GRNOmit<ExtArgs> | null
3350
- /**
3351
- * Choose, which related nodes to fetch as well
3352
- */
3353
- include?: Prisma.GRNInclude<ExtArgs> | null
3354
- }