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,1707 +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 `VendorReference` 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 VendorReference
17
- *
18
- */
19
- export type VendorReferenceModel = runtime.Types.Result.DefaultSelection<Prisma.$VendorReferencePayload>
20
-
21
- export type AggregateVendorReference = {
22
- _count: VendorReferenceCountAggregateOutputType | null
23
- _avg: VendorReferenceAvgAggregateOutputType | null
24
- _sum: VendorReferenceSumAggregateOutputType | null
25
- _min: VendorReferenceMinAggregateOutputType | null
26
- _max: VendorReferenceMaxAggregateOutputType | null
27
- }
28
-
29
- export type VendorReferenceAvgAggregateOutputType = {
30
- id: number | null
31
- global_vendor_id: number | null
32
- invited_by: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type VendorReferenceSumAggregateOutputType = {
39
- id: number | null
40
- global_vendor_id: number | null
41
- invited_by: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type VendorReferenceMinAggregateOutputType = {
48
- id: number | null
49
- global_vendor_id: number | null
50
- tenant_vendor_code: string | null
51
- invited_by: number | null
52
- invited_on: Date | null
53
- is_deleted: boolean | null
54
- created_at: Date | null
55
- created_by: number | null
56
- updated_at: Date | null
57
- updated_by: number | null
58
- deleted_at: Date | null
59
- deleted_by: number | null
60
- }
61
-
62
- export type VendorReferenceMaxAggregateOutputType = {
63
- id: number | null
64
- global_vendor_id: number | null
65
- tenant_vendor_code: string | null
66
- invited_by: number | null
67
- invited_on: Date | null
68
- is_deleted: boolean | null
69
- created_at: Date | null
70
- created_by: number | null
71
- updated_at: Date | null
72
- updated_by: number | null
73
- deleted_at: Date | null
74
- deleted_by: number | null
75
- }
76
-
77
- export type VendorReferenceCountAggregateOutputType = {
78
- id: number
79
- global_vendor_id: number
80
- tenant_vendor_code: number
81
- invited_by: number
82
- invited_on: number
83
- meta_data: number
84
- is_deleted: number
85
- created_at: number
86
- created_by: number
87
- updated_at: number
88
- updated_by: number
89
- deleted_at: number
90
- deleted_by: number
91
- _all: number
92
- }
93
-
94
-
95
- export type VendorReferenceAvgAggregateInputType = {
96
- id?: true
97
- global_vendor_id?: true
98
- invited_by?: true
99
- created_by?: true
100
- updated_by?: true
101
- deleted_by?: true
102
- }
103
-
104
- export type VendorReferenceSumAggregateInputType = {
105
- id?: true
106
- global_vendor_id?: true
107
- invited_by?: true
108
- created_by?: true
109
- updated_by?: true
110
- deleted_by?: true
111
- }
112
-
113
- export type VendorReferenceMinAggregateInputType = {
114
- id?: true
115
- global_vendor_id?: true
116
- tenant_vendor_code?: true
117
- invited_by?: true
118
- invited_on?: true
119
- is_deleted?: true
120
- created_at?: true
121
- created_by?: true
122
- updated_at?: true
123
- updated_by?: true
124
- deleted_at?: true
125
- deleted_by?: true
126
- }
127
-
128
- export type VendorReferenceMaxAggregateInputType = {
129
- id?: true
130
- global_vendor_id?: true
131
- tenant_vendor_code?: true
132
- invited_by?: true
133
- invited_on?: true
134
- is_deleted?: true
135
- created_at?: true
136
- created_by?: true
137
- updated_at?: true
138
- updated_by?: true
139
- deleted_at?: true
140
- deleted_by?: true
141
- }
142
-
143
- export type VendorReferenceCountAggregateInputType = {
144
- id?: true
145
- global_vendor_id?: true
146
- tenant_vendor_code?: true
147
- invited_by?: true
148
- invited_on?: true
149
- meta_data?: true
150
- is_deleted?: true
151
- created_at?: true
152
- created_by?: true
153
- updated_at?: true
154
- updated_by?: true
155
- deleted_at?: true
156
- deleted_by?: true
157
- _all?: true
158
- }
159
-
160
- export type VendorReferenceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
161
- /**
162
- * Filter which VendorReference to aggregate.
163
- */
164
- where?: Prisma.VendorReferenceWhereInput
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
167
- *
168
- * Determine the order of VendorReferences to fetch.
169
- */
170
- orderBy?: Prisma.VendorReferenceOrderByWithRelationInput | Prisma.VendorReferenceOrderByWithRelationInput[]
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
173
- *
174
- * Sets the start position
175
- */
176
- cursor?: Prisma.VendorReferenceWhereUniqueInput
177
- /**
178
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
179
- *
180
- * Take `±n` VendorReferences from the position of the cursor.
181
- */
182
- take?: number
183
- /**
184
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
185
- *
186
- * Skip the first `n` VendorReferences.
187
- */
188
- skip?: number
189
- /**
190
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
191
- *
192
- * Count returned VendorReferences
193
- **/
194
- _count?: true | VendorReferenceCountAggregateInputType
195
- /**
196
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
197
- *
198
- * Select which fields to average
199
- **/
200
- _avg?: VendorReferenceAvgAggregateInputType
201
- /**
202
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
203
- *
204
- * Select which fields to sum
205
- **/
206
- _sum?: VendorReferenceSumAggregateInputType
207
- /**
208
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
209
- *
210
- * Select which fields to find the minimum value
211
- **/
212
- _min?: VendorReferenceMinAggregateInputType
213
- /**
214
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
- *
216
- * Select which fields to find the maximum value
217
- **/
218
- _max?: VendorReferenceMaxAggregateInputType
219
- }
220
-
221
- export type GetVendorReferenceAggregateType<T extends VendorReferenceAggregateArgs> = {
222
- [P in keyof T & keyof AggregateVendorReference]: P extends '_count' | 'count'
223
- ? T[P] extends true
224
- ? number
225
- : Prisma.GetScalarType<T[P], AggregateVendorReference[P]>
226
- : Prisma.GetScalarType<T[P], AggregateVendorReference[P]>
227
- }
228
-
229
-
230
-
231
-
232
- export type VendorReferenceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
233
- where?: Prisma.VendorReferenceWhereInput
234
- orderBy?: Prisma.VendorReferenceOrderByWithAggregationInput | Prisma.VendorReferenceOrderByWithAggregationInput[]
235
- by: Prisma.VendorReferenceScalarFieldEnum[] | Prisma.VendorReferenceScalarFieldEnum
236
- having?: Prisma.VendorReferenceScalarWhereWithAggregatesInput
237
- take?: number
238
- skip?: number
239
- _count?: VendorReferenceCountAggregateInputType | true
240
- _avg?: VendorReferenceAvgAggregateInputType
241
- _sum?: VendorReferenceSumAggregateInputType
242
- _min?: VendorReferenceMinAggregateInputType
243
- _max?: VendorReferenceMaxAggregateInputType
244
- }
245
-
246
- export type VendorReferenceGroupByOutputType = {
247
- id: number
248
- global_vendor_id: number | null
249
- tenant_vendor_code: string | null
250
- invited_by: number | null
251
- invited_on: Date | null
252
- meta_data: runtime.JsonValue | null
253
- is_deleted: boolean
254
- created_at: Date
255
- created_by: number | null
256
- updated_at: Date
257
- updated_by: number | null
258
- deleted_at: Date | null
259
- deleted_by: number | null
260
- _count: VendorReferenceCountAggregateOutputType | null
261
- _avg: VendorReferenceAvgAggregateOutputType | null
262
- _sum: VendorReferenceSumAggregateOutputType | null
263
- _min: VendorReferenceMinAggregateOutputType | null
264
- _max: VendorReferenceMaxAggregateOutputType | null
265
- }
266
-
267
- export type GetVendorReferenceGroupByPayload<T extends VendorReferenceGroupByArgs> = Prisma.PrismaPromise<
268
- Array<
269
- Prisma.PickEnumerable<VendorReferenceGroupByOutputType, T['by']> &
270
- {
271
- [P in ((keyof T) & (keyof VendorReferenceGroupByOutputType))]: P extends '_count'
272
- ? T[P] extends boolean
273
- ? number
274
- : Prisma.GetScalarType<T[P], VendorReferenceGroupByOutputType[P]>
275
- : Prisma.GetScalarType<T[P], VendorReferenceGroupByOutputType[P]>
276
- }
277
- >
278
- >
279
-
280
-
281
-
282
- export type VendorReferenceWhereInput = {
283
- AND?: Prisma.VendorReferenceWhereInput | Prisma.VendorReferenceWhereInput[]
284
- OR?: Prisma.VendorReferenceWhereInput[]
285
- NOT?: Prisma.VendorReferenceWhereInput | Prisma.VendorReferenceWhereInput[]
286
- id?: Prisma.IntFilter<"VendorReference"> | number
287
- global_vendor_id?: Prisma.IntNullableFilter<"VendorReference"> | number | null
288
- tenant_vendor_code?: Prisma.StringNullableFilter<"VendorReference"> | string | null
289
- invited_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
290
- invited_on?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
291
- meta_data?: Prisma.JsonNullableFilter<"VendorReference">
292
- is_deleted?: Prisma.BoolFilter<"VendorReference"> | boolean
293
- created_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
294
- created_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
295
- updated_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
296
- updated_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
297
- deleted_at?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
298
- deleted_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
299
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
300
- }
301
-
302
- export type VendorReferenceOrderByWithRelationInput = {
303
- id?: Prisma.SortOrder
304
- global_vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
305
- tenant_vendor_code?: Prisma.SortOrderInput | Prisma.SortOrder
306
- invited_by?: Prisma.SortOrderInput | Prisma.SortOrder
307
- invited_on?: Prisma.SortOrderInput | Prisma.SortOrder
308
- meta_data?: Prisma.SortOrderInput | Prisma.SortOrder
309
- is_deleted?: Prisma.SortOrder
310
- created_at?: Prisma.SortOrder
311
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
312
- updated_at?: Prisma.SortOrder
313
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
314
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
315
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
316
- user?: Prisma.UserOrderByWithRelationInput
317
- }
318
-
319
- export type VendorReferenceWhereUniqueInput = Prisma.AtLeast<{
320
- id?: number
321
- AND?: Prisma.VendorReferenceWhereInput | Prisma.VendorReferenceWhereInput[]
322
- OR?: Prisma.VendorReferenceWhereInput[]
323
- NOT?: Prisma.VendorReferenceWhereInput | Prisma.VendorReferenceWhereInput[]
324
- global_vendor_id?: Prisma.IntNullableFilter<"VendorReference"> | number | null
325
- tenant_vendor_code?: Prisma.StringNullableFilter<"VendorReference"> | string | null
326
- invited_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
327
- invited_on?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
328
- meta_data?: Prisma.JsonNullableFilter<"VendorReference">
329
- is_deleted?: Prisma.BoolFilter<"VendorReference"> | boolean
330
- created_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
331
- created_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
332
- updated_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
333
- updated_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
334
- deleted_at?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
335
- deleted_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
336
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
337
- }, "id">
338
-
339
- export type VendorReferenceOrderByWithAggregationInput = {
340
- id?: Prisma.SortOrder
341
- global_vendor_id?: Prisma.SortOrderInput | Prisma.SortOrder
342
- tenant_vendor_code?: Prisma.SortOrderInput | Prisma.SortOrder
343
- invited_by?: Prisma.SortOrderInput | Prisma.SortOrder
344
- invited_on?: Prisma.SortOrderInput | Prisma.SortOrder
345
- meta_data?: Prisma.SortOrderInput | Prisma.SortOrder
346
- is_deleted?: Prisma.SortOrder
347
- created_at?: Prisma.SortOrder
348
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
349
- updated_at?: Prisma.SortOrder
350
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
351
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
352
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
353
- _count?: Prisma.VendorReferenceCountOrderByAggregateInput
354
- _avg?: Prisma.VendorReferenceAvgOrderByAggregateInput
355
- _max?: Prisma.VendorReferenceMaxOrderByAggregateInput
356
- _min?: Prisma.VendorReferenceMinOrderByAggregateInput
357
- _sum?: Prisma.VendorReferenceSumOrderByAggregateInput
358
- }
359
-
360
- export type VendorReferenceScalarWhereWithAggregatesInput = {
361
- AND?: Prisma.VendorReferenceScalarWhereWithAggregatesInput | Prisma.VendorReferenceScalarWhereWithAggregatesInput[]
362
- OR?: Prisma.VendorReferenceScalarWhereWithAggregatesInput[]
363
- NOT?: Prisma.VendorReferenceScalarWhereWithAggregatesInput | Prisma.VendorReferenceScalarWhereWithAggregatesInput[]
364
- id?: Prisma.IntWithAggregatesFilter<"VendorReference"> | number
365
- global_vendor_id?: Prisma.IntNullableWithAggregatesFilter<"VendorReference"> | number | null
366
- tenant_vendor_code?: Prisma.StringNullableWithAggregatesFilter<"VendorReference"> | string | null
367
- invited_by?: Prisma.IntNullableWithAggregatesFilter<"VendorReference"> | number | null
368
- invited_on?: Prisma.DateTimeNullableWithAggregatesFilter<"VendorReference"> | Date | string | null
369
- meta_data?: Prisma.JsonNullableWithAggregatesFilter<"VendorReference">
370
- is_deleted?: Prisma.BoolWithAggregatesFilter<"VendorReference"> | boolean
371
- created_at?: Prisma.DateTimeWithAggregatesFilter<"VendorReference"> | Date | string
372
- created_by?: Prisma.IntNullableWithAggregatesFilter<"VendorReference"> | number | null
373
- updated_at?: Prisma.DateTimeWithAggregatesFilter<"VendorReference"> | Date | string
374
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"VendorReference"> | number | null
375
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"VendorReference"> | Date | string | null
376
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"VendorReference"> | number | null
377
- }
378
-
379
- export type VendorReferenceCreateInput = {
380
- global_vendor_id?: number | null
381
- tenant_vendor_code?: string | null
382
- invited_on?: Date | string | null
383
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
384
- is_deleted?: boolean
385
- created_at?: Date | string
386
- created_by?: number | null
387
- updated_at?: Date | string
388
- updated_by?: number | null
389
- deleted_at?: Date | string | null
390
- deleted_by?: number | null
391
- user?: Prisma.UserCreateNestedOneWithoutVendor_referenceInput
392
- }
393
-
394
- export type VendorReferenceUncheckedCreateInput = {
395
- id?: number
396
- global_vendor_id?: number | null
397
- tenant_vendor_code?: string | null
398
- invited_by?: number | null
399
- invited_on?: Date | string | null
400
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
401
- is_deleted?: boolean
402
- created_at?: Date | string
403
- created_by?: number | null
404
- updated_at?: Date | string
405
- updated_by?: number | null
406
- deleted_at?: Date | string | null
407
- deleted_by?: number | null
408
- }
409
-
410
- export type VendorReferenceUpdateInput = {
411
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
412
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
414
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
415
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
416
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
417
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
418
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
419
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
420
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
421
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
422
- user?: Prisma.UserUpdateOneWithoutVendor_referenceNestedInput
423
- }
424
-
425
- export type VendorReferenceUncheckedUpdateInput = {
426
- id?: Prisma.IntFieldUpdateOperationsInput | number
427
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
428
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
429
- invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
430
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
431
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
432
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
433
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
434
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
435
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
436
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
437
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
438
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
439
- }
440
-
441
- export type VendorReferenceCreateManyInput = {
442
- id?: number
443
- global_vendor_id?: number | null
444
- tenant_vendor_code?: string | null
445
- invited_by?: number | null
446
- invited_on?: Date | string | null
447
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
448
- is_deleted?: boolean
449
- created_at?: Date | string
450
- created_by?: number | null
451
- updated_at?: Date | string
452
- updated_by?: number | null
453
- deleted_at?: Date | string | null
454
- deleted_by?: number | null
455
- }
456
-
457
- export type VendorReferenceUpdateManyMutationInput = {
458
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
459
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
460
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
461
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
462
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
463
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
464
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
465
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
466
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
467
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
468
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
469
- }
470
-
471
- export type VendorReferenceUncheckedUpdateManyInput = {
472
- id?: Prisma.IntFieldUpdateOperationsInput | number
473
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
474
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
475
- invited_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
476
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
477
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
478
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
479
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
480
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
481
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
482
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
483
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
484
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
485
- }
486
-
487
- export type VendorReferenceListRelationFilter = {
488
- every?: Prisma.VendorReferenceWhereInput
489
- some?: Prisma.VendorReferenceWhereInput
490
- none?: Prisma.VendorReferenceWhereInput
491
- }
492
-
493
- export type VendorReferenceOrderByRelationAggregateInput = {
494
- _count?: Prisma.SortOrder
495
- }
496
-
497
- export type VendorReferenceCountOrderByAggregateInput = {
498
- id?: Prisma.SortOrder
499
- global_vendor_id?: Prisma.SortOrder
500
- tenant_vendor_code?: Prisma.SortOrder
501
- invited_by?: Prisma.SortOrder
502
- invited_on?: Prisma.SortOrder
503
- meta_data?: Prisma.SortOrder
504
- is_deleted?: Prisma.SortOrder
505
- created_at?: Prisma.SortOrder
506
- created_by?: Prisma.SortOrder
507
- updated_at?: Prisma.SortOrder
508
- updated_by?: Prisma.SortOrder
509
- deleted_at?: Prisma.SortOrder
510
- deleted_by?: Prisma.SortOrder
511
- }
512
-
513
- export type VendorReferenceAvgOrderByAggregateInput = {
514
- id?: Prisma.SortOrder
515
- global_vendor_id?: Prisma.SortOrder
516
- invited_by?: Prisma.SortOrder
517
- created_by?: Prisma.SortOrder
518
- updated_by?: Prisma.SortOrder
519
- deleted_by?: Prisma.SortOrder
520
- }
521
-
522
- export type VendorReferenceMaxOrderByAggregateInput = {
523
- id?: Prisma.SortOrder
524
- global_vendor_id?: Prisma.SortOrder
525
- tenant_vendor_code?: Prisma.SortOrder
526
- invited_by?: Prisma.SortOrder
527
- invited_on?: Prisma.SortOrder
528
- is_deleted?: Prisma.SortOrder
529
- created_at?: Prisma.SortOrder
530
- created_by?: Prisma.SortOrder
531
- updated_at?: Prisma.SortOrder
532
- updated_by?: Prisma.SortOrder
533
- deleted_at?: Prisma.SortOrder
534
- deleted_by?: Prisma.SortOrder
535
- }
536
-
537
- export type VendorReferenceMinOrderByAggregateInput = {
538
- id?: Prisma.SortOrder
539
- global_vendor_id?: Prisma.SortOrder
540
- tenant_vendor_code?: Prisma.SortOrder
541
- invited_by?: Prisma.SortOrder
542
- invited_on?: Prisma.SortOrder
543
- is_deleted?: Prisma.SortOrder
544
- created_at?: Prisma.SortOrder
545
- created_by?: Prisma.SortOrder
546
- updated_at?: Prisma.SortOrder
547
- updated_by?: Prisma.SortOrder
548
- deleted_at?: Prisma.SortOrder
549
- deleted_by?: Prisma.SortOrder
550
- }
551
-
552
- export type VendorReferenceSumOrderByAggregateInput = {
553
- id?: Prisma.SortOrder
554
- global_vendor_id?: Prisma.SortOrder
555
- invited_by?: Prisma.SortOrder
556
- created_by?: Prisma.SortOrder
557
- updated_by?: Prisma.SortOrder
558
- deleted_by?: Prisma.SortOrder
559
- }
560
-
561
- export type VendorReferenceCreateNestedManyWithoutUserInput = {
562
- create?: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput> | Prisma.VendorReferenceCreateWithoutUserInput[] | Prisma.VendorReferenceUncheckedCreateWithoutUserInput[]
563
- connectOrCreate?: Prisma.VendorReferenceCreateOrConnectWithoutUserInput | Prisma.VendorReferenceCreateOrConnectWithoutUserInput[]
564
- createMany?: Prisma.VendorReferenceCreateManyUserInputEnvelope
565
- connect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
566
- }
567
-
568
- export type VendorReferenceUncheckedCreateNestedManyWithoutUserInput = {
569
- create?: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput> | Prisma.VendorReferenceCreateWithoutUserInput[] | Prisma.VendorReferenceUncheckedCreateWithoutUserInput[]
570
- connectOrCreate?: Prisma.VendorReferenceCreateOrConnectWithoutUserInput | Prisma.VendorReferenceCreateOrConnectWithoutUserInput[]
571
- createMany?: Prisma.VendorReferenceCreateManyUserInputEnvelope
572
- connect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
573
- }
574
-
575
- export type VendorReferenceUpdateManyWithoutUserNestedInput = {
576
- create?: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput> | Prisma.VendorReferenceCreateWithoutUserInput[] | Prisma.VendorReferenceUncheckedCreateWithoutUserInput[]
577
- connectOrCreate?: Prisma.VendorReferenceCreateOrConnectWithoutUserInput | Prisma.VendorReferenceCreateOrConnectWithoutUserInput[]
578
- upsert?: Prisma.VendorReferenceUpsertWithWhereUniqueWithoutUserInput | Prisma.VendorReferenceUpsertWithWhereUniqueWithoutUserInput[]
579
- createMany?: Prisma.VendorReferenceCreateManyUserInputEnvelope
580
- set?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
581
- disconnect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
582
- delete?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
583
- connect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
584
- update?: Prisma.VendorReferenceUpdateWithWhereUniqueWithoutUserInput | Prisma.VendorReferenceUpdateWithWhereUniqueWithoutUserInput[]
585
- updateMany?: Prisma.VendorReferenceUpdateManyWithWhereWithoutUserInput | Prisma.VendorReferenceUpdateManyWithWhereWithoutUserInput[]
586
- deleteMany?: Prisma.VendorReferenceScalarWhereInput | Prisma.VendorReferenceScalarWhereInput[]
587
- }
588
-
589
- export type VendorReferenceUncheckedUpdateManyWithoutUserNestedInput = {
590
- create?: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput> | Prisma.VendorReferenceCreateWithoutUserInput[] | Prisma.VendorReferenceUncheckedCreateWithoutUserInput[]
591
- connectOrCreate?: Prisma.VendorReferenceCreateOrConnectWithoutUserInput | Prisma.VendorReferenceCreateOrConnectWithoutUserInput[]
592
- upsert?: Prisma.VendorReferenceUpsertWithWhereUniqueWithoutUserInput | Prisma.VendorReferenceUpsertWithWhereUniqueWithoutUserInput[]
593
- createMany?: Prisma.VendorReferenceCreateManyUserInputEnvelope
594
- set?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
595
- disconnect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
596
- delete?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
597
- connect?: Prisma.VendorReferenceWhereUniqueInput | Prisma.VendorReferenceWhereUniqueInput[]
598
- update?: Prisma.VendorReferenceUpdateWithWhereUniqueWithoutUserInput | Prisma.VendorReferenceUpdateWithWhereUniqueWithoutUserInput[]
599
- updateMany?: Prisma.VendorReferenceUpdateManyWithWhereWithoutUserInput | Prisma.VendorReferenceUpdateManyWithWhereWithoutUserInput[]
600
- deleteMany?: Prisma.VendorReferenceScalarWhereInput | Prisma.VendorReferenceScalarWhereInput[]
601
- }
602
-
603
- export type VendorReferenceCreateWithoutUserInput = {
604
- global_vendor_id?: number | null
605
- tenant_vendor_code?: string | null
606
- invited_on?: Date | string | null
607
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
608
- is_deleted?: boolean
609
- created_at?: Date | string
610
- created_by?: number | null
611
- updated_at?: Date | string
612
- updated_by?: number | null
613
- deleted_at?: Date | string | null
614
- deleted_by?: number | null
615
- }
616
-
617
- export type VendorReferenceUncheckedCreateWithoutUserInput = {
618
- id?: number
619
- global_vendor_id?: number | null
620
- tenant_vendor_code?: string | null
621
- invited_on?: Date | string | null
622
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
623
- is_deleted?: boolean
624
- created_at?: Date | string
625
- created_by?: number | null
626
- updated_at?: Date | string
627
- updated_by?: number | null
628
- deleted_at?: Date | string | null
629
- deleted_by?: number | null
630
- }
631
-
632
- export type VendorReferenceCreateOrConnectWithoutUserInput = {
633
- where: Prisma.VendorReferenceWhereUniqueInput
634
- create: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput>
635
- }
636
-
637
- export type VendorReferenceCreateManyUserInputEnvelope = {
638
- data: Prisma.VendorReferenceCreateManyUserInput | Prisma.VendorReferenceCreateManyUserInput[]
639
- skipDuplicates?: boolean
640
- }
641
-
642
- export type VendorReferenceUpsertWithWhereUniqueWithoutUserInput = {
643
- where: Prisma.VendorReferenceWhereUniqueInput
644
- update: Prisma.XOR<Prisma.VendorReferenceUpdateWithoutUserInput, Prisma.VendorReferenceUncheckedUpdateWithoutUserInput>
645
- create: Prisma.XOR<Prisma.VendorReferenceCreateWithoutUserInput, Prisma.VendorReferenceUncheckedCreateWithoutUserInput>
646
- }
647
-
648
- export type VendorReferenceUpdateWithWhereUniqueWithoutUserInput = {
649
- where: Prisma.VendorReferenceWhereUniqueInput
650
- data: Prisma.XOR<Prisma.VendorReferenceUpdateWithoutUserInput, Prisma.VendorReferenceUncheckedUpdateWithoutUserInput>
651
- }
652
-
653
- export type VendorReferenceUpdateManyWithWhereWithoutUserInput = {
654
- where: Prisma.VendorReferenceScalarWhereInput
655
- data: Prisma.XOR<Prisma.VendorReferenceUpdateManyMutationInput, Prisma.VendorReferenceUncheckedUpdateManyWithoutUserInput>
656
- }
657
-
658
- export type VendorReferenceScalarWhereInput = {
659
- AND?: Prisma.VendorReferenceScalarWhereInput | Prisma.VendorReferenceScalarWhereInput[]
660
- OR?: Prisma.VendorReferenceScalarWhereInput[]
661
- NOT?: Prisma.VendorReferenceScalarWhereInput | Prisma.VendorReferenceScalarWhereInput[]
662
- id?: Prisma.IntFilter<"VendorReference"> | number
663
- global_vendor_id?: Prisma.IntNullableFilter<"VendorReference"> | number | null
664
- tenant_vendor_code?: Prisma.StringNullableFilter<"VendorReference"> | string | null
665
- invited_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
666
- invited_on?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
667
- meta_data?: Prisma.JsonNullableFilter<"VendorReference">
668
- is_deleted?: Prisma.BoolFilter<"VendorReference"> | boolean
669
- created_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
670
- created_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
671
- updated_at?: Prisma.DateTimeFilter<"VendorReference"> | Date | string
672
- updated_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
673
- deleted_at?: Prisma.DateTimeNullableFilter<"VendorReference"> | Date | string | null
674
- deleted_by?: Prisma.IntNullableFilter<"VendorReference"> | number | null
675
- }
676
-
677
- export type VendorReferenceCreateManyUserInput = {
678
- id?: number
679
- global_vendor_id?: number | null
680
- tenant_vendor_code?: string | null
681
- invited_on?: Date | string | null
682
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
683
- is_deleted?: boolean
684
- created_at?: Date | string
685
- created_by?: number | null
686
- updated_at?: Date | string
687
- updated_by?: number | null
688
- deleted_at?: Date | string | null
689
- deleted_by?: number | null
690
- }
691
-
692
- export type VendorReferenceUpdateWithoutUserInput = {
693
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
694
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
695
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
696
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
697
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
698
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
699
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
700
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
701
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
702
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
703
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
704
- }
705
-
706
- export type VendorReferenceUncheckedUpdateWithoutUserInput = {
707
- id?: Prisma.IntFieldUpdateOperationsInput | number
708
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
709
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
710
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
711
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
712
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
713
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
714
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
715
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
716
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
717
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
718
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
719
- }
720
-
721
- export type VendorReferenceUncheckedUpdateManyWithoutUserInput = {
722
- id?: Prisma.IntFieldUpdateOperationsInput | number
723
- global_vendor_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
724
- tenant_vendor_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
725
- invited_on?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
726
- meta_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
727
- is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
728
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
729
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
730
- updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
731
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
732
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
733
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
734
- }
735
-
736
-
737
-
738
- export type VendorReferenceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
739
- id?: boolean
740
- global_vendor_id?: boolean
741
- tenant_vendor_code?: boolean
742
- invited_by?: boolean
743
- invited_on?: boolean
744
- meta_data?: boolean
745
- is_deleted?: boolean
746
- created_at?: boolean
747
- created_by?: boolean
748
- updated_at?: boolean
749
- updated_by?: boolean
750
- deleted_at?: boolean
751
- deleted_by?: boolean
752
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
753
- }, ExtArgs["result"]["vendorReference"]>
754
-
755
- export type VendorReferenceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
756
- id?: boolean
757
- global_vendor_id?: boolean
758
- tenant_vendor_code?: boolean
759
- invited_by?: boolean
760
- invited_on?: boolean
761
- meta_data?: boolean
762
- is_deleted?: boolean
763
- created_at?: boolean
764
- created_by?: boolean
765
- updated_at?: boolean
766
- updated_by?: boolean
767
- deleted_at?: boolean
768
- deleted_by?: boolean
769
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
770
- }, ExtArgs["result"]["vendorReference"]>
771
-
772
- export type VendorReferenceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
773
- id?: boolean
774
- global_vendor_id?: boolean
775
- tenant_vendor_code?: boolean
776
- invited_by?: boolean
777
- invited_on?: boolean
778
- meta_data?: boolean
779
- is_deleted?: boolean
780
- created_at?: boolean
781
- created_by?: boolean
782
- updated_at?: boolean
783
- updated_by?: boolean
784
- deleted_at?: boolean
785
- deleted_by?: boolean
786
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
787
- }, ExtArgs["result"]["vendorReference"]>
788
-
789
- export type VendorReferenceSelectScalar = {
790
- id?: boolean
791
- global_vendor_id?: boolean
792
- tenant_vendor_code?: boolean
793
- invited_by?: boolean
794
- invited_on?: boolean
795
- meta_data?: boolean
796
- is_deleted?: boolean
797
- created_at?: boolean
798
- created_by?: boolean
799
- updated_at?: boolean
800
- updated_by?: boolean
801
- deleted_at?: boolean
802
- deleted_by?: boolean
803
- }
804
-
805
- export type VendorReferenceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "global_vendor_id" | "tenant_vendor_code" | "invited_by" | "invited_on" | "meta_data" | "is_deleted" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["vendorReference"]>
806
- export type VendorReferenceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
807
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
808
- }
809
- export type VendorReferenceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
810
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
811
- }
812
- export type VendorReferenceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
813
- user?: boolean | Prisma.VendorReference$userArgs<ExtArgs>
814
- }
815
-
816
- export type $VendorReferencePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
817
- name: "VendorReference"
818
- objects: {
819
- user: Prisma.$UserPayload<ExtArgs> | null
820
- }
821
- scalars: runtime.Types.Extensions.GetPayloadResult<{
822
- id: number
823
- global_vendor_id: number | null
824
- tenant_vendor_code: string | null
825
- invited_by: number | null
826
- invited_on: Date | null
827
- meta_data: runtime.JsonValue | null
828
- is_deleted: boolean
829
- created_at: Date
830
- created_by: number | null
831
- updated_at: Date
832
- updated_by: number | null
833
- deleted_at: Date | null
834
- deleted_by: number | null
835
- }, ExtArgs["result"]["vendorReference"]>
836
- composites: {}
837
- }
838
-
839
- export type VendorReferenceGetPayload<S extends boolean | null | undefined | VendorReferenceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload, S>
840
-
841
- export type VendorReferenceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
842
- Omit<VendorReferenceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
843
- select?: VendorReferenceCountAggregateInputType | true
844
- }
845
-
846
- export interface VendorReferenceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
847
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['VendorReference'], meta: { name: 'VendorReference' } }
848
- /**
849
- * Find zero or one VendorReference that matches the filter.
850
- * @param {VendorReferenceFindUniqueArgs} args - Arguments to find a VendorReference
851
- * @example
852
- * // Get one VendorReference
853
- * const vendorReference = await prisma.vendorReference.findUnique({
854
- * where: {
855
- * // ... provide filter here
856
- * }
857
- * })
858
- */
859
- findUnique<T extends VendorReferenceFindUniqueArgs>(args: Prisma.SelectSubset<T, VendorReferenceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
860
-
861
- /**
862
- * Find one VendorReference that matches the filter or throw an error with `error.code='P2025'`
863
- * if no matches were found.
864
- * @param {VendorReferenceFindUniqueOrThrowArgs} args - Arguments to find a VendorReference
865
- * @example
866
- * // Get one VendorReference
867
- * const vendorReference = await prisma.vendorReference.findUniqueOrThrow({
868
- * where: {
869
- * // ... provide filter here
870
- * }
871
- * })
872
- */
873
- findUniqueOrThrow<T extends VendorReferenceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, VendorReferenceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
874
-
875
- /**
876
- * Find the first VendorReference that matches the filter.
877
- * Note, that providing `undefined` is treated as the value not being there.
878
- * Read more here: https://pris.ly/d/null-undefined
879
- * @param {VendorReferenceFindFirstArgs} args - Arguments to find a VendorReference
880
- * @example
881
- * // Get one VendorReference
882
- * const vendorReference = await prisma.vendorReference.findFirst({
883
- * where: {
884
- * // ... provide filter here
885
- * }
886
- * })
887
- */
888
- findFirst<T extends VendorReferenceFindFirstArgs>(args?: Prisma.SelectSubset<T, VendorReferenceFindFirstArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
889
-
890
- /**
891
- * Find the first VendorReference that matches the filter or
892
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
893
- * Note, that providing `undefined` is treated as the value not being there.
894
- * Read more here: https://pris.ly/d/null-undefined
895
- * @param {VendorReferenceFindFirstOrThrowArgs} args - Arguments to find a VendorReference
896
- * @example
897
- * // Get one VendorReference
898
- * const vendorReference = await prisma.vendorReference.findFirstOrThrow({
899
- * where: {
900
- * // ... provide filter here
901
- * }
902
- * })
903
- */
904
- findFirstOrThrow<T extends VendorReferenceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, VendorReferenceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
905
-
906
- /**
907
- * Find zero or more VendorReferences that matches the filter.
908
- * Note, that providing `undefined` is treated as the value not being there.
909
- * Read more here: https://pris.ly/d/null-undefined
910
- * @param {VendorReferenceFindManyArgs} args - Arguments to filter and select certain fields only.
911
- * @example
912
- * // Get all VendorReferences
913
- * const vendorReferences = await prisma.vendorReference.findMany()
914
- *
915
- * // Get first 10 VendorReferences
916
- * const vendorReferences = await prisma.vendorReference.findMany({ take: 10 })
917
- *
918
- * // Only select the `id`
919
- * const vendorReferenceWithIdOnly = await prisma.vendorReference.findMany({ select: { id: true } })
920
- *
921
- */
922
- findMany<T extends VendorReferenceFindManyArgs>(args?: Prisma.SelectSubset<T, VendorReferenceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
923
-
924
- /**
925
- * Create a VendorReference.
926
- * @param {VendorReferenceCreateArgs} args - Arguments to create a VendorReference.
927
- * @example
928
- * // Create one VendorReference
929
- * const VendorReference = await prisma.vendorReference.create({
930
- * data: {
931
- * // ... data to create a VendorReference
932
- * }
933
- * })
934
- *
935
- */
936
- create<T extends VendorReferenceCreateArgs>(args: Prisma.SelectSubset<T, VendorReferenceCreateArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
937
-
938
- /**
939
- * Create many VendorReferences.
940
- * @param {VendorReferenceCreateManyArgs} args - Arguments to create many VendorReferences.
941
- * @example
942
- * // Create many VendorReferences
943
- * const vendorReference = await prisma.vendorReference.createMany({
944
- * data: [
945
- * // ... provide data here
946
- * ]
947
- * })
948
- *
949
- */
950
- createMany<T extends VendorReferenceCreateManyArgs>(args?: Prisma.SelectSubset<T, VendorReferenceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
951
-
952
- /**
953
- * Create many VendorReferences and returns the data saved in the database.
954
- * @param {VendorReferenceCreateManyAndReturnArgs} args - Arguments to create many VendorReferences.
955
- * @example
956
- * // Create many VendorReferences
957
- * const vendorReference = await prisma.vendorReference.createManyAndReturn({
958
- * data: [
959
- * // ... provide data here
960
- * ]
961
- * })
962
- *
963
- * // Create many VendorReferences and only return the `id`
964
- * const vendorReferenceWithIdOnly = await prisma.vendorReference.createManyAndReturn({
965
- * select: { id: true },
966
- * data: [
967
- * // ... provide data here
968
- * ]
969
- * })
970
- * Note, that providing `undefined` is treated as the value not being there.
971
- * Read more here: https://pris.ly/d/null-undefined
972
- *
973
- */
974
- createManyAndReturn<T extends VendorReferenceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, VendorReferenceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
975
-
976
- /**
977
- * Delete a VendorReference.
978
- * @param {VendorReferenceDeleteArgs} args - Arguments to delete one VendorReference.
979
- * @example
980
- * // Delete one VendorReference
981
- * const VendorReference = await prisma.vendorReference.delete({
982
- * where: {
983
- * // ... filter to delete one VendorReference
984
- * }
985
- * })
986
- *
987
- */
988
- delete<T extends VendorReferenceDeleteArgs>(args: Prisma.SelectSubset<T, VendorReferenceDeleteArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
989
-
990
- /**
991
- * Update one VendorReference.
992
- * @param {VendorReferenceUpdateArgs} args - Arguments to update one VendorReference.
993
- * @example
994
- * // Update one VendorReference
995
- * const vendorReference = await prisma.vendorReference.update({
996
- * where: {
997
- * // ... provide filter here
998
- * },
999
- * data: {
1000
- * // ... provide data here
1001
- * }
1002
- * })
1003
- *
1004
- */
1005
- update<T extends VendorReferenceUpdateArgs>(args: Prisma.SelectSubset<T, VendorReferenceUpdateArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1006
-
1007
- /**
1008
- * Delete zero or more VendorReferences.
1009
- * @param {VendorReferenceDeleteManyArgs} args - Arguments to filter VendorReferences to delete.
1010
- * @example
1011
- * // Delete a few VendorReferences
1012
- * const { count } = await prisma.vendorReference.deleteMany({
1013
- * where: {
1014
- * // ... provide filter here
1015
- * }
1016
- * })
1017
- *
1018
- */
1019
- deleteMany<T extends VendorReferenceDeleteManyArgs>(args?: Prisma.SelectSubset<T, VendorReferenceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1020
-
1021
- /**
1022
- * Update zero or more VendorReferences.
1023
- * Note, that providing `undefined` is treated as the value not being there.
1024
- * Read more here: https://pris.ly/d/null-undefined
1025
- * @param {VendorReferenceUpdateManyArgs} args - Arguments to update one or more rows.
1026
- * @example
1027
- * // Update many VendorReferences
1028
- * const vendorReference = await prisma.vendorReference.updateMany({
1029
- * where: {
1030
- * // ... provide filter here
1031
- * },
1032
- * data: {
1033
- * // ... provide data here
1034
- * }
1035
- * })
1036
- *
1037
- */
1038
- updateMany<T extends VendorReferenceUpdateManyArgs>(args: Prisma.SelectSubset<T, VendorReferenceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1039
-
1040
- /**
1041
- * Update zero or more VendorReferences and returns the data updated in the database.
1042
- * @param {VendorReferenceUpdateManyAndReturnArgs} args - Arguments to update many VendorReferences.
1043
- * @example
1044
- * // Update many VendorReferences
1045
- * const vendorReference = await prisma.vendorReference.updateManyAndReturn({
1046
- * where: {
1047
- * // ... provide filter here
1048
- * },
1049
- * data: [
1050
- * // ... provide data here
1051
- * ]
1052
- * })
1053
- *
1054
- * // Update zero or more VendorReferences and only return the `id`
1055
- * const vendorReferenceWithIdOnly = await prisma.vendorReference.updateManyAndReturn({
1056
- * select: { id: true },
1057
- * where: {
1058
- * // ... provide filter here
1059
- * },
1060
- * data: [
1061
- * // ... provide data here
1062
- * ]
1063
- * })
1064
- * Note, that providing `undefined` is treated as the value not being there.
1065
- * Read more here: https://pris.ly/d/null-undefined
1066
- *
1067
- */
1068
- updateManyAndReturn<T extends VendorReferenceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, VendorReferenceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1069
-
1070
- /**
1071
- * Create or update one VendorReference.
1072
- * @param {VendorReferenceUpsertArgs} args - Arguments to update or create a VendorReference.
1073
- * @example
1074
- * // Update or create a VendorReference
1075
- * const vendorReference = await prisma.vendorReference.upsert({
1076
- * create: {
1077
- * // ... data to create a VendorReference
1078
- * },
1079
- * update: {
1080
- * // ... in case it already exists, update
1081
- * },
1082
- * where: {
1083
- * // ... the filter for the VendorReference we want to update
1084
- * }
1085
- * })
1086
- */
1087
- upsert<T extends VendorReferenceUpsertArgs>(args: Prisma.SelectSubset<T, VendorReferenceUpsertArgs<ExtArgs>>): Prisma.Prisma__VendorReferenceClient<runtime.Types.Result.GetResult<Prisma.$VendorReferencePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1088
-
1089
-
1090
- /**
1091
- * Count the number of VendorReferences.
1092
- * Note, that providing `undefined` is treated as the value not being there.
1093
- * Read more here: https://pris.ly/d/null-undefined
1094
- * @param {VendorReferenceCountArgs} args - Arguments to filter VendorReferences to count.
1095
- * @example
1096
- * // Count the number of VendorReferences
1097
- * const count = await prisma.vendorReference.count({
1098
- * where: {
1099
- * // ... the filter for the VendorReferences we want to count
1100
- * }
1101
- * })
1102
- **/
1103
- count<T extends VendorReferenceCountArgs>(
1104
- args?: Prisma.Subset<T, VendorReferenceCountArgs>,
1105
- ): Prisma.PrismaPromise<
1106
- T extends runtime.Types.Utils.Record<'select', any>
1107
- ? T['select'] extends true
1108
- ? number
1109
- : Prisma.GetScalarType<T['select'], VendorReferenceCountAggregateOutputType>
1110
- : number
1111
- >
1112
-
1113
- /**
1114
- * Allows you to perform aggregations operations on a VendorReference.
1115
- * Note, that providing `undefined` is treated as the value not being there.
1116
- * Read more here: https://pris.ly/d/null-undefined
1117
- * @param {VendorReferenceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1118
- * @example
1119
- * // Ordered by age ascending
1120
- * // Where email contains prisma.io
1121
- * // Limited to the 10 users
1122
- * const aggregations = await prisma.user.aggregate({
1123
- * _avg: {
1124
- * age: true,
1125
- * },
1126
- * where: {
1127
- * email: {
1128
- * contains: "prisma.io",
1129
- * },
1130
- * },
1131
- * orderBy: {
1132
- * age: "asc",
1133
- * },
1134
- * take: 10,
1135
- * })
1136
- **/
1137
- aggregate<T extends VendorReferenceAggregateArgs>(args: Prisma.Subset<T, VendorReferenceAggregateArgs>): Prisma.PrismaPromise<GetVendorReferenceAggregateType<T>>
1138
-
1139
- /**
1140
- * Group by VendorReference.
1141
- * Note, that providing `undefined` is treated as the value not being there.
1142
- * Read more here: https://pris.ly/d/null-undefined
1143
- * @param {VendorReferenceGroupByArgs} args - Group by arguments.
1144
- * @example
1145
- * // Group by city, order by createdAt, get count
1146
- * const result = await prisma.user.groupBy({
1147
- * by: ['city', 'createdAt'],
1148
- * orderBy: {
1149
- * createdAt: true
1150
- * },
1151
- * _count: {
1152
- * _all: true
1153
- * },
1154
- * })
1155
- *
1156
- **/
1157
- groupBy<
1158
- T extends VendorReferenceGroupByArgs,
1159
- HasSelectOrTake extends Prisma.Or<
1160
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1161
- Prisma.Extends<'take', Prisma.Keys<T>>
1162
- >,
1163
- OrderByArg extends Prisma.True extends HasSelectOrTake
1164
- ? { orderBy: VendorReferenceGroupByArgs['orderBy'] }
1165
- : { orderBy?: VendorReferenceGroupByArgs['orderBy'] },
1166
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1167
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1168
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1169
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1170
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1171
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1172
- InputErrors extends ByEmpty extends Prisma.True
1173
- ? `Error: "by" must not be empty.`
1174
- : HavingValid extends Prisma.False
1175
- ? {
1176
- [P in HavingFields]: P extends ByFields
1177
- ? never
1178
- : P extends string
1179
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1180
- : [
1181
- Error,
1182
- 'Field ',
1183
- P,
1184
- ` in "having" needs to be provided in "by"`,
1185
- ]
1186
- }[HavingFields]
1187
- : 'take' extends Prisma.Keys<T>
1188
- ? 'orderBy' extends Prisma.Keys<T>
1189
- ? ByValid extends Prisma.True
1190
- ? {}
1191
- : {
1192
- [P in OrderFields]: P extends ByFields
1193
- ? never
1194
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1195
- }[OrderFields]
1196
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1197
- : 'skip' extends Prisma.Keys<T>
1198
- ? 'orderBy' extends Prisma.Keys<T>
1199
- ? ByValid extends Prisma.True
1200
- ? {}
1201
- : {
1202
- [P in OrderFields]: P extends ByFields
1203
- ? never
1204
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1205
- }[OrderFields]
1206
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1207
- : ByValid extends Prisma.True
1208
- ? {}
1209
- : {
1210
- [P in OrderFields]: P extends ByFields
1211
- ? never
1212
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1213
- }[OrderFields]
1214
- >(args: Prisma.SubsetIntersection<T, VendorReferenceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVendorReferenceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1215
- /**
1216
- * Fields of the VendorReference model
1217
- */
1218
- readonly fields: VendorReferenceFieldRefs;
1219
- }
1220
-
1221
- /**
1222
- * The delegate class that acts as a "Promise-like" for VendorReference.
1223
- * Why is this prefixed with `Prisma__`?
1224
- * Because we want to prevent naming conflicts as mentioned in
1225
- * https://github.com/prisma/prisma-client-js/issues/707
1226
- */
1227
- export interface Prisma__VendorReferenceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1228
- readonly [Symbol.toStringTag]: "PrismaPromise"
1229
- user<T extends Prisma.VendorReference$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.VendorReference$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1230
- /**
1231
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1232
- * @param onfulfilled The callback to execute when the Promise is resolved.
1233
- * @param onrejected The callback to execute when the Promise is rejected.
1234
- * @returns A Promise for the completion of which ever callback is executed.
1235
- */
1236
- 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>
1237
- /**
1238
- * Attaches a callback for only the rejection of the Promise.
1239
- * @param onrejected The callback to execute when the Promise is rejected.
1240
- * @returns A Promise for the completion of the callback.
1241
- */
1242
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1243
- /**
1244
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1245
- * resolved value cannot be modified from the callback.
1246
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1247
- * @returns A Promise for the completion of the callback.
1248
- */
1249
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1250
- }
1251
-
1252
-
1253
-
1254
-
1255
- /**
1256
- * Fields of the VendorReference model
1257
- */
1258
- export interface VendorReferenceFieldRefs {
1259
- readonly id: Prisma.FieldRef<"VendorReference", 'Int'>
1260
- readonly global_vendor_id: Prisma.FieldRef<"VendorReference", 'Int'>
1261
- readonly tenant_vendor_code: Prisma.FieldRef<"VendorReference", 'String'>
1262
- readonly invited_by: Prisma.FieldRef<"VendorReference", 'Int'>
1263
- readonly invited_on: Prisma.FieldRef<"VendorReference", 'DateTime'>
1264
- readonly meta_data: Prisma.FieldRef<"VendorReference", 'Json'>
1265
- readonly is_deleted: Prisma.FieldRef<"VendorReference", 'Boolean'>
1266
- readonly created_at: Prisma.FieldRef<"VendorReference", 'DateTime'>
1267
- readonly created_by: Prisma.FieldRef<"VendorReference", 'Int'>
1268
- readonly updated_at: Prisma.FieldRef<"VendorReference", 'DateTime'>
1269
- readonly updated_by: Prisma.FieldRef<"VendorReference", 'Int'>
1270
- readonly deleted_at: Prisma.FieldRef<"VendorReference", 'DateTime'>
1271
- readonly deleted_by: Prisma.FieldRef<"VendorReference", 'Int'>
1272
- }
1273
-
1274
-
1275
- // Custom InputTypes
1276
- /**
1277
- * VendorReference findUnique
1278
- */
1279
- export type VendorReferenceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1280
- /**
1281
- * Select specific fields to fetch from the VendorReference
1282
- */
1283
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1284
- /**
1285
- * Omit specific fields from the VendorReference
1286
- */
1287
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1288
- /**
1289
- * Choose, which related nodes to fetch as well
1290
- */
1291
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1292
- /**
1293
- * Filter, which VendorReference to fetch.
1294
- */
1295
- where: Prisma.VendorReferenceWhereUniqueInput
1296
- }
1297
-
1298
- /**
1299
- * VendorReference findUniqueOrThrow
1300
- */
1301
- export type VendorReferenceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1302
- /**
1303
- * Select specific fields to fetch from the VendorReference
1304
- */
1305
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1306
- /**
1307
- * Omit specific fields from the VendorReference
1308
- */
1309
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1310
- /**
1311
- * Choose, which related nodes to fetch as well
1312
- */
1313
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1314
- /**
1315
- * Filter, which VendorReference to fetch.
1316
- */
1317
- where: Prisma.VendorReferenceWhereUniqueInput
1318
- }
1319
-
1320
- /**
1321
- * VendorReference findFirst
1322
- */
1323
- export type VendorReferenceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1324
- /**
1325
- * Select specific fields to fetch from the VendorReference
1326
- */
1327
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1328
- /**
1329
- * Omit specific fields from the VendorReference
1330
- */
1331
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1332
- /**
1333
- * Choose, which related nodes to fetch as well
1334
- */
1335
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1336
- /**
1337
- * Filter, which VendorReference to fetch.
1338
- */
1339
- where?: Prisma.VendorReferenceWhereInput
1340
- /**
1341
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1342
- *
1343
- * Determine the order of VendorReferences to fetch.
1344
- */
1345
- orderBy?: Prisma.VendorReferenceOrderByWithRelationInput | Prisma.VendorReferenceOrderByWithRelationInput[]
1346
- /**
1347
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1348
- *
1349
- * Sets the position for searching for VendorReferences.
1350
- */
1351
- cursor?: Prisma.VendorReferenceWhereUniqueInput
1352
- /**
1353
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1354
- *
1355
- * Take `±n` VendorReferences from the position of the cursor.
1356
- */
1357
- take?: number
1358
- /**
1359
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1360
- *
1361
- * Skip the first `n` VendorReferences.
1362
- */
1363
- skip?: number
1364
- /**
1365
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1366
- *
1367
- * Filter by unique combinations of VendorReferences.
1368
- */
1369
- distinct?: Prisma.VendorReferenceScalarFieldEnum | Prisma.VendorReferenceScalarFieldEnum[]
1370
- }
1371
-
1372
- /**
1373
- * VendorReference findFirstOrThrow
1374
- */
1375
- export type VendorReferenceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1376
- /**
1377
- * Select specific fields to fetch from the VendorReference
1378
- */
1379
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1380
- /**
1381
- * Omit specific fields from the VendorReference
1382
- */
1383
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1384
- /**
1385
- * Choose, which related nodes to fetch as well
1386
- */
1387
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1388
- /**
1389
- * Filter, which VendorReference to fetch.
1390
- */
1391
- where?: Prisma.VendorReferenceWhereInput
1392
- /**
1393
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1394
- *
1395
- * Determine the order of VendorReferences to fetch.
1396
- */
1397
- orderBy?: Prisma.VendorReferenceOrderByWithRelationInput | Prisma.VendorReferenceOrderByWithRelationInput[]
1398
- /**
1399
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1400
- *
1401
- * Sets the position for searching for VendorReferences.
1402
- */
1403
- cursor?: Prisma.VendorReferenceWhereUniqueInput
1404
- /**
1405
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1406
- *
1407
- * Take `±n` VendorReferences from the position of the cursor.
1408
- */
1409
- take?: number
1410
- /**
1411
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1412
- *
1413
- * Skip the first `n` VendorReferences.
1414
- */
1415
- skip?: number
1416
- /**
1417
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1418
- *
1419
- * Filter by unique combinations of VendorReferences.
1420
- */
1421
- distinct?: Prisma.VendorReferenceScalarFieldEnum | Prisma.VendorReferenceScalarFieldEnum[]
1422
- }
1423
-
1424
- /**
1425
- * VendorReference findMany
1426
- */
1427
- export type VendorReferenceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1428
- /**
1429
- * Select specific fields to fetch from the VendorReference
1430
- */
1431
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1432
- /**
1433
- * Omit specific fields from the VendorReference
1434
- */
1435
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1436
- /**
1437
- * Choose, which related nodes to fetch as well
1438
- */
1439
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1440
- /**
1441
- * Filter, which VendorReferences to fetch.
1442
- */
1443
- where?: Prisma.VendorReferenceWhereInput
1444
- /**
1445
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1446
- *
1447
- * Determine the order of VendorReferences to fetch.
1448
- */
1449
- orderBy?: Prisma.VendorReferenceOrderByWithRelationInput | Prisma.VendorReferenceOrderByWithRelationInput[]
1450
- /**
1451
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1452
- *
1453
- * Sets the position for listing VendorReferences.
1454
- */
1455
- cursor?: Prisma.VendorReferenceWhereUniqueInput
1456
- /**
1457
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1458
- *
1459
- * Take `±n` VendorReferences from the position of the cursor.
1460
- */
1461
- take?: number
1462
- /**
1463
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1464
- *
1465
- * Skip the first `n` VendorReferences.
1466
- */
1467
- skip?: number
1468
- /**
1469
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1470
- *
1471
- * Filter by unique combinations of VendorReferences.
1472
- */
1473
- distinct?: Prisma.VendorReferenceScalarFieldEnum | Prisma.VendorReferenceScalarFieldEnum[]
1474
- }
1475
-
1476
- /**
1477
- * VendorReference create
1478
- */
1479
- export type VendorReferenceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1480
- /**
1481
- * Select specific fields to fetch from the VendorReference
1482
- */
1483
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1484
- /**
1485
- * Omit specific fields from the VendorReference
1486
- */
1487
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1488
- /**
1489
- * Choose, which related nodes to fetch as well
1490
- */
1491
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1492
- /**
1493
- * The data needed to create a VendorReference.
1494
- */
1495
- data: Prisma.XOR<Prisma.VendorReferenceCreateInput, Prisma.VendorReferenceUncheckedCreateInput>
1496
- }
1497
-
1498
- /**
1499
- * VendorReference createMany
1500
- */
1501
- export type VendorReferenceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1502
- /**
1503
- * The data used to create many VendorReferences.
1504
- */
1505
- data: Prisma.VendorReferenceCreateManyInput | Prisma.VendorReferenceCreateManyInput[]
1506
- skipDuplicates?: boolean
1507
- }
1508
-
1509
- /**
1510
- * VendorReference createManyAndReturn
1511
- */
1512
- export type VendorReferenceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1513
- /**
1514
- * Select specific fields to fetch from the VendorReference
1515
- */
1516
- select?: Prisma.VendorReferenceSelectCreateManyAndReturn<ExtArgs> | null
1517
- /**
1518
- * Omit specific fields from the VendorReference
1519
- */
1520
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1521
- /**
1522
- * The data used to create many VendorReferences.
1523
- */
1524
- data: Prisma.VendorReferenceCreateManyInput | Prisma.VendorReferenceCreateManyInput[]
1525
- skipDuplicates?: boolean
1526
- /**
1527
- * Choose, which related nodes to fetch as well
1528
- */
1529
- include?: Prisma.VendorReferenceIncludeCreateManyAndReturn<ExtArgs> | null
1530
- }
1531
-
1532
- /**
1533
- * VendorReference update
1534
- */
1535
- export type VendorReferenceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1536
- /**
1537
- * Select specific fields to fetch from the VendorReference
1538
- */
1539
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1540
- /**
1541
- * Omit specific fields from the VendorReference
1542
- */
1543
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1544
- /**
1545
- * Choose, which related nodes to fetch as well
1546
- */
1547
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1548
- /**
1549
- * The data needed to update a VendorReference.
1550
- */
1551
- data: Prisma.XOR<Prisma.VendorReferenceUpdateInput, Prisma.VendorReferenceUncheckedUpdateInput>
1552
- /**
1553
- * Choose, which VendorReference to update.
1554
- */
1555
- where: Prisma.VendorReferenceWhereUniqueInput
1556
- }
1557
-
1558
- /**
1559
- * VendorReference updateMany
1560
- */
1561
- export type VendorReferenceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1562
- /**
1563
- * The data used to update VendorReferences.
1564
- */
1565
- data: Prisma.XOR<Prisma.VendorReferenceUpdateManyMutationInput, Prisma.VendorReferenceUncheckedUpdateManyInput>
1566
- /**
1567
- * Filter which VendorReferences to update
1568
- */
1569
- where?: Prisma.VendorReferenceWhereInput
1570
- /**
1571
- * Limit how many VendorReferences to update.
1572
- */
1573
- limit?: number
1574
- }
1575
-
1576
- /**
1577
- * VendorReference updateManyAndReturn
1578
- */
1579
- export type VendorReferenceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1580
- /**
1581
- * Select specific fields to fetch from the VendorReference
1582
- */
1583
- select?: Prisma.VendorReferenceSelectUpdateManyAndReturn<ExtArgs> | null
1584
- /**
1585
- * Omit specific fields from the VendorReference
1586
- */
1587
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1588
- /**
1589
- * The data used to update VendorReferences.
1590
- */
1591
- data: Prisma.XOR<Prisma.VendorReferenceUpdateManyMutationInput, Prisma.VendorReferenceUncheckedUpdateManyInput>
1592
- /**
1593
- * Filter which VendorReferences to update
1594
- */
1595
- where?: Prisma.VendorReferenceWhereInput
1596
- /**
1597
- * Limit how many VendorReferences to update.
1598
- */
1599
- limit?: number
1600
- /**
1601
- * Choose, which related nodes to fetch as well
1602
- */
1603
- include?: Prisma.VendorReferenceIncludeUpdateManyAndReturn<ExtArgs> | null
1604
- }
1605
-
1606
- /**
1607
- * VendorReference upsert
1608
- */
1609
- export type VendorReferenceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1610
- /**
1611
- * Select specific fields to fetch from the VendorReference
1612
- */
1613
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1614
- /**
1615
- * Omit specific fields from the VendorReference
1616
- */
1617
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1618
- /**
1619
- * Choose, which related nodes to fetch as well
1620
- */
1621
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1622
- /**
1623
- * The filter to search for the VendorReference to update in case it exists.
1624
- */
1625
- where: Prisma.VendorReferenceWhereUniqueInput
1626
- /**
1627
- * In case the VendorReference found by the `where` argument doesn't exist, create a new VendorReference with this data.
1628
- */
1629
- create: Prisma.XOR<Prisma.VendorReferenceCreateInput, Prisma.VendorReferenceUncheckedCreateInput>
1630
- /**
1631
- * In case the VendorReference was found with the provided `where` argument, update it with this data.
1632
- */
1633
- update: Prisma.XOR<Prisma.VendorReferenceUpdateInput, Prisma.VendorReferenceUncheckedUpdateInput>
1634
- }
1635
-
1636
- /**
1637
- * VendorReference delete
1638
- */
1639
- export type VendorReferenceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1640
- /**
1641
- * Select specific fields to fetch from the VendorReference
1642
- */
1643
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1644
- /**
1645
- * Omit specific fields from the VendorReference
1646
- */
1647
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1648
- /**
1649
- * Choose, which related nodes to fetch as well
1650
- */
1651
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1652
- /**
1653
- * Filter which VendorReference to delete.
1654
- */
1655
- where: Prisma.VendorReferenceWhereUniqueInput
1656
- }
1657
-
1658
- /**
1659
- * VendorReference deleteMany
1660
- */
1661
- export type VendorReferenceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1662
- /**
1663
- * Filter which VendorReferences to delete
1664
- */
1665
- where?: Prisma.VendorReferenceWhereInput
1666
- /**
1667
- * Limit how many VendorReferences to delete.
1668
- */
1669
- limit?: number
1670
- }
1671
-
1672
- /**
1673
- * VendorReference.user
1674
- */
1675
- export type VendorReference$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1676
- /**
1677
- * Select specific fields to fetch from the User
1678
- */
1679
- select?: Prisma.UserSelect<ExtArgs> | null
1680
- /**
1681
- * Omit specific fields from the User
1682
- */
1683
- omit?: Prisma.UserOmit<ExtArgs> | null
1684
- /**
1685
- * Choose, which related nodes to fetch as well
1686
- */
1687
- include?: Prisma.UserInclude<ExtArgs> | null
1688
- where?: Prisma.UserWhereInput
1689
- }
1690
-
1691
- /**
1692
- * VendorReference without action
1693
- */
1694
- export type VendorReferenceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1695
- /**
1696
- * Select specific fields to fetch from the VendorReference
1697
- */
1698
- select?: Prisma.VendorReferenceSelect<ExtArgs> | null
1699
- /**
1700
- * Omit specific fields from the VendorReference
1701
- */
1702
- omit?: Prisma.VendorReferenceOmit<ExtArgs> | null
1703
- /**
1704
- * Choose, which related nodes to fetch as well
1705
- */
1706
- include?: Prisma.VendorReferenceInclude<ExtArgs> | null
1707
- }