procbay-schema 1.0.171 → 1.0.175

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