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.
- package/package.json +13 -22
- package/prisma/migrations/20260518124524_added_new_template_builder_changes/migration.sql +26 -0
- package/prisma/schema.prisma +17 -7
- package/scripts/sync-schemas.js +1 -5
- package/src/create-prisma-client.js +9 -49
- package/src/prisma/client.d.ts +1 -0
- package/src/prisma/client.js +4 -0
- package/src/prisma/default.d.ts +1 -0
- package/src/prisma/default.js +4 -0
- package/src/prisma/edge.d.ts +1 -0
- package/src/prisma/edge.js +2911 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +991 -739
- package/src/prisma/index.d.ts +286785 -0
- package/src/prisma/index.js +2940 -2
- package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
- package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/src/prisma/package.json +140 -0
- package/src/prisma/query_engine-windows.dll.node +0 -0
- package/src/prisma/runtime/edge-esm.js +34 -0
- package/src/prisma/runtime/edge.js +34 -0
- package/src/prisma/runtime/index-browser.d.ts +370 -0
- package/src/prisma/runtime/index-browser.js +16 -0
- package/src/prisma/runtime/library.d.ts +3647 -0
- package/src/prisma/runtime/library.js +146 -0
- package/src/prisma/runtime/react-native.js +83 -0
- package/src/prisma/runtime/wasm.js +35 -0
- package/src/prisma/schema.prisma +3831 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2873 -0
- package/prisma/migrations/20260515130204_updated_user_approval_management_schema/migration.sql +0 -55
- package/prisma.config.js +0 -19
- package/src/generated/prisma/browser.ts +0 -574
- package/src/generated/prisma/client.bundle.mjs +0 -6733
- package/src/generated/prisma/client.ts +0 -598
- package/src/generated/prisma/commonInputTypes.ts +0 -2911
- package/src/generated/prisma/enums.ts +0 -730
- package/src/generated/prisma/internal/class.ts +0 -1304
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
- package/src/generated/prisma/models/ActivityLog.ts +0 -1590
- package/src/generated/prisma/models/AdminAlert.ts +0 -1547
- package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
- package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
- package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
- package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
- package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
- package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
- package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
- package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
- package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
- package/src/generated/prisma/models/Attribute.ts +0 -2075
- package/src/generated/prisma/models/AttributeValue.ts +0 -1882
- package/src/generated/prisma/models/Bid.ts +0 -2719
- package/src/generated/prisma/models/BidLog.ts +0 -3560
- package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
- package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
- package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
- package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
- package/src/generated/prisma/models/Budget.ts +0 -1954
- package/src/generated/prisma/models/BudgetHold.ts +0 -1904
- package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
- package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
- package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
- package/src/generated/prisma/models/Catalogue.ts +0 -2081
- package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
- package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
- package/src/generated/prisma/models/Category.ts +0 -3091
- package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
- package/src/generated/prisma/models/City.ts +0 -2180
- package/src/generated/prisma/models/Cms.ts +0 -1492
- package/src/generated/prisma/models/ContactUs.ts +0 -1654
- package/src/generated/prisma/models/Conversation.ts +0 -2389
- package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
- package/src/generated/prisma/models/CounterOffer.ts +0 -2156
- package/src/generated/prisma/models/Country.ts +0 -3394
- package/src/generated/prisma/models/Currency.ts +0 -1642
- package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
- package/src/generated/prisma/models/Department.ts +0 -2372
- package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
- package/src/generated/prisma/models/DynamicForm.ts +0 -2021
- package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
- package/src/generated/prisma/models/Event.ts +0 -6819
- package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
- package/src/generated/prisma/models/EventCriteria.ts +0 -2134
- package/src/generated/prisma/models/EventItems.ts +0 -2821
- package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
- package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
- package/src/generated/prisma/models/EventStrategies.ts +0 -1857
- package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
- package/src/generated/prisma/models/EventVendors.ts +0 -3446
- package/src/generated/prisma/models/Expense.ts +0 -1625
- package/src/generated/prisma/models/ExportLog.ts +0 -1822
- package/src/generated/prisma/models/Faq.ts +0 -1753
- package/src/generated/prisma/models/FaqCategory.ts +0 -1610
- package/src/generated/prisma/models/FiscalYear.ts +0 -1460
- package/src/generated/prisma/models/FormMaster.ts +0 -1831
- package/src/generated/prisma/models/GRN.ts +0 -3354
- package/src/generated/prisma/models/GRNItem.ts +0 -2119
- package/src/generated/prisma/models/Industry.ts +0 -1642
- package/src/generated/prisma/models/Invoice.ts +0 -2949
- package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
- package/src/generated/prisma/models/Item.ts +0 -10644
- package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
- package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
- package/src/generated/prisma/models/ItemDocument.ts +0 -1590
- package/src/generated/prisma/models/Location.ts +0 -2711
- package/src/generated/prisma/models/Message.ts +0 -2744
- package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
- package/src/generated/prisma/models/Module.ts +0 -1630
- package/src/generated/prisma/models/Permission.ts +0 -1640
- package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
- package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
- package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
- package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
- package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
- package/src/generated/prisma/models/Quotation.ts +0 -3207
- package/src/generated/prisma/models/QuotationLog.ts +0 -3239
- package/src/generated/prisma/models/Region.ts +0 -1746
- package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
- package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
- package/src/generated/prisma/models/Role.ts +0 -1907
- package/src/generated/prisma/models/RolePermission.ts +0 -1737
- package/src/generated/prisma/models/SendBack.ts +0 -1830
- package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
- package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
- package/src/generated/prisma/models/State.ts +0 -2174
- package/src/generated/prisma/models/Strategies.ts +0 -1791
- package/src/generated/prisma/models/SubModule.ts +0 -1450
- package/src/generated/prisma/models/Subregion.ts +0 -1870
- package/src/generated/prisma/models/SupportCategory.ts +0 -1712
- package/src/generated/prisma/models/SupportTicket.ts +0 -2478
- package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
- package/src/generated/prisma/models/Template.ts +0 -2429
- package/src/generated/prisma/models/TemplateField.ts +0 -1916
- package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
- package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
- package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
- package/src/generated/prisma/models/TicketHistory.ts +0 -1789
- package/src/generated/prisma/models/TicketReply.ts +0 -1640
- package/src/generated/prisma/models/Uom.ts +0 -1752
- package/src/generated/prisma/models/UomCategory.ts +0 -1558
- package/src/generated/prisma/models/UploadLog.ts +0 -1731
- package/src/generated/prisma/models/User.ts +0 -19397
- package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
- package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
- package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
- package/src/generated/prisma/models/UserRole.ts +0 -1696
- package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
- package/src/generated/prisma/models/VendorReference.ts +0 -1707
- package/src/generated/prisma/models.ts +0 -122
|
@@ -1,3901 +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 `BusinessEntity` 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 BusinessEntity
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type BusinessEntityModel = runtime.Types.Result.DefaultSelection<Prisma.$BusinessEntityPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateBusinessEntity = {
|
|
22
|
-
_count: BusinessEntityCountAggregateOutputType | null
|
|
23
|
-
_avg: BusinessEntityAvgAggregateOutputType | null
|
|
24
|
-
_sum: BusinessEntitySumAggregateOutputType | null
|
|
25
|
-
_min: BusinessEntityMinAggregateOutputType | null
|
|
26
|
-
_max: BusinessEntityMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type BusinessEntityAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
created_by: number | null
|
|
32
|
-
updated_by: number | null
|
|
33
|
-
deleted_by: number | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type BusinessEntitySumAggregateOutputType = {
|
|
37
|
-
id: number | null
|
|
38
|
-
created_by: number | null
|
|
39
|
-
updated_by: number | null
|
|
40
|
-
deleted_by: number | null
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type BusinessEntityMinAggregateOutputType = {
|
|
44
|
-
id: number | null
|
|
45
|
-
uuid: string | null
|
|
46
|
-
business_code: string | null
|
|
47
|
-
business_name: string | null
|
|
48
|
-
business_email: string | null
|
|
49
|
-
business_country_code: string | null
|
|
50
|
-
business_phone: string | null
|
|
51
|
-
business_website: string | null
|
|
52
|
-
business_logo: string | null
|
|
53
|
-
business_description: string | null
|
|
54
|
-
business_type: $Enums.BusinessEntityType | null
|
|
55
|
-
is_active: boolean | null
|
|
56
|
-
created_at: Date | null
|
|
57
|
-
created_by: number | null
|
|
58
|
-
updated_at: Date | null
|
|
59
|
-
updated_by: number | null
|
|
60
|
-
is_deleted: boolean | null
|
|
61
|
-
deleted_at: Date | null
|
|
62
|
-
deleted_by: number | null
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export type BusinessEntityMaxAggregateOutputType = {
|
|
66
|
-
id: number | null
|
|
67
|
-
uuid: string | null
|
|
68
|
-
business_code: string | null
|
|
69
|
-
business_name: string | null
|
|
70
|
-
business_email: string | null
|
|
71
|
-
business_country_code: string | null
|
|
72
|
-
business_phone: string | null
|
|
73
|
-
business_website: string | null
|
|
74
|
-
business_logo: string | null
|
|
75
|
-
business_description: string | null
|
|
76
|
-
business_type: $Enums.BusinessEntityType | null
|
|
77
|
-
is_active: boolean | null
|
|
78
|
-
created_at: Date | null
|
|
79
|
-
created_by: number | null
|
|
80
|
-
updated_at: Date | null
|
|
81
|
-
updated_by: number | null
|
|
82
|
-
is_deleted: boolean | null
|
|
83
|
-
deleted_at: Date | null
|
|
84
|
-
deleted_by: number | null
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export type BusinessEntityCountAggregateOutputType = {
|
|
88
|
-
id: number
|
|
89
|
-
uuid: number
|
|
90
|
-
business_code: number
|
|
91
|
-
business_name: number
|
|
92
|
-
business_email: number
|
|
93
|
-
business_country_code: number
|
|
94
|
-
business_phone: number
|
|
95
|
-
business_website: number
|
|
96
|
-
business_logo: number
|
|
97
|
-
business_description: number
|
|
98
|
-
business_type: number
|
|
99
|
-
is_active: number
|
|
100
|
-
created_at: number
|
|
101
|
-
created_by: number
|
|
102
|
-
updated_at: number
|
|
103
|
-
updated_by: number
|
|
104
|
-
is_deleted: number
|
|
105
|
-
deleted_at: number
|
|
106
|
-
deleted_by: number
|
|
107
|
-
_all: number
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
export type BusinessEntityAvgAggregateInputType = {
|
|
112
|
-
id?: true
|
|
113
|
-
created_by?: true
|
|
114
|
-
updated_by?: true
|
|
115
|
-
deleted_by?: true
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export type BusinessEntitySumAggregateInputType = {
|
|
119
|
-
id?: true
|
|
120
|
-
created_by?: true
|
|
121
|
-
updated_by?: true
|
|
122
|
-
deleted_by?: true
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export type BusinessEntityMinAggregateInputType = {
|
|
126
|
-
id?: true
|
|
127
|
-
uuid?: true
|
|
128
|
-
business_code?: true
|
|
129
|
-
business_name?: true
|
|
130
|
-
business_email?: true
|
|
131
|
-
business_country_code?: true
|
|
132
|
-
business_phone?: true
|
|
133
|
-
business_website?: true
|
|
134
|
-
business_logo?: true
|
|
135
|
-
business_description?: true
|
|
136
|
-
business_type?: true
|
|
137
|
-
is_active?: true
|
|
138
|
-
created_at?: true
|
|
139
|
-
created_by?: true
|
|
140
|
-
updated_at?: true
|
|
141
|
-
updated_by?: true
|
|
142
|
-
is_deleted?: true
|
|
143
|
-
deleted_at?: true
|
|
144
|
-
deleted_by?: true
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
export type BusinessEntityMaxAggregateInputType = {
|
|
148
|
-
id?: true
|
|
149
|
-
uuid?: true
|
|
150
|
-
business_code?: true
|
|
151
|
-
business_name?: true
|
|
152
|
-
business_email?: true
|
|
153
|
-
business_country_code?: true
|
|
154
|
-
business_phone?: true
|
|
155
|
-
business_website?: true
|
|
156
|
-
business_logo?: true
|
|
157
|
-
business_description?: true
|
|
158
|
-
business_type?: true
|
|
159
|
-
is_active?: true
|
|
160
|
-
created_at?: true
|
|
161
|
-
created_by?: true
|
|
162
|
-
updated_at?: true
|
|
163
|
-
updated_by?: true
|
|
164
|
-
is_deleted?: true
|
|
165
|
-
deleted_at?: true
|
|
166
|
-
deleted_by?: true
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export type BusinessEntityCountAggregateInputType = {
|
|
170
|
-
id?: true
|
|
171
|
-
uuid?: true
|
|
172
|
-
business_code?: true
|
|
173
|
-
business_name?: true
|
|
174
|
-
business_email?: true
|
|
175
|
-
business_country_code?: true
|
|
176
|
-
business_phone?: true
|
|
177
|
-
business_website?: true
|
|
178
|
-
business_logo?: true
|
|
179
|
-
business_description?: true
|
|
180
|
-
business_type?: true
|
|
181
|
-
is_active?: true
|
|
182
|
-
created_at?: true
|
|
183
|
-
created_by?: true
|
|
184
|
-
updated_at?: true
|
|
185
|
-
updated_by?: true
|
|
186
|
-
is_deleted?: true
|
|
187
|
-
deleted_at?: true
|
|
188
|
-
deleted_by?: true
|
|
189
|
-
_all?: true
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export type BusinessEntityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
193
|
-
/**
|
|
194
|
-
* Filter which BusinessEntity to aggregate.
|
|
195
|
-
*/
|
|
196
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
197
|
-
/**
|
|
198
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
199
|
-
*
|
|
200
|
-
* Determine the order of BusinessEntities to fetch.
|
|
201
|
-
*/
|
|
202
|
-
orderBy?: Prisma.BusinessEntityOrderByWithRelationInput | Prisma.BusinessEntityOrderByWithRelationInput[]
|
|
203
|
-
/**
|
|
204
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
205
|
-
*
|
|
206
|
-
* Sets the start position
|
|
207
|
-
*/
|
|
208
|
-
cursor?: Prisma.BusinessEntityWhereUniqueInput
|
|
209
|
-
/**
|
|
210
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
211
|
-
*
|
|
212
|
-
* Take `±n` BusinessEntities from the position of the cursor.
|
|
213
|
-
*/
|
|
214
|
-
take?: number
|
|
215
|
-
/**
|
|
216
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
217
|
-
*
|
|
218
|
-
* Skip the first `n` BusinessEntities.
|
|
219
|
-
*/
|
|
220
|
-
skip?: number
|
|
221
|
-
/**
|
|
222
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
223
|
-
*
|
|
224
|
-
* Count returned BusinessEntities
|
|
225
|
-
**/
|
|
226
|
-
_count?: true | BusinessEntityCountAggregateInputType
|
|
227
|
-
/**
|
|
228
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
229
|
-
*
|
|
230
|
-
* Select which fields to average
|
|
231
|
-
**/
|
|
232
|
-
_avg?: BusinessEntityAvgAggregateInputType
|
|
233
|
-
/**
|
|
234
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
235
|
-
*
|
|
236
|
-
* Select which fields to sum
|
|
237
|
-
**/
|
|
238
|
-
_sum?: BusinessEntitySumAggregateInputType
|
|
239
|
-
/**
|
|
240
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
241
|
-
*
|
|
242
|
-
* Select which fields to find the minimum value
|
|
243
|
-
**/
|
|
244
|
-
_min?: BusinessEntityMinAggregateInputType
|
|
245
|
-
/**
|
|
246
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
247
|
-
*
|
|
248
|
-
* Select which fields to find the maximum value
|
|
249
|
-
**/
|
|
250
|
-
_max?: BusinessEntityMaxAggregateInputType
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
export type GetBusinessEntityAggregateType<T extends BusinessEntityAggregateArgs> = {
|
|
254
|
-
[P in keyof T & keyof AggregateBusinessEntity]: P extends '_count' | 'count'
|
|
255
|
-
? T[P] extends true
|
|
256
|
-
? number
|
|
257
|
-
: Prisma.GetScalarType<T[P], AggregateBusinessEntity[P]>
|
|
258
|
-
: Prisma.GetScalarType<T[P], AggregateBusinessEntity[P]>
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
export type BusinessEntityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
265
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
266
|
-
orderBy?: Prisma.BusinessEntityOrderByWithAggregationInput | Prisma.BusinessEntityOrderByWithAggregationInput[]
|
|
267
|
-
by: Prisma.BusinessEntityScalarFieldEnum[] | Prisma.BusinessEntityScalarFieldEnum
|
|
268
|
-
having?: Prisma.BusinessEntityScalarWhereWithAggregatesInput
|
|
269
|
-
take?: number
|
|
270
|
-
skip?: number
|
|
271
|
-
_count?: BusinessEntityCountAggregateInputType | true
|
|
272
|
-
_avg?: BusinessEntityAvgAggregateInputType
|
|
273
|
-
_sum?: BusinessEntitySumAggregateInputType
|
|
274
|
-
_min?: BusinessEntityMinAggregateInputType
|
|
275
|
-
_max?: BusinessEntityMaxAggregateInputType
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
export type BusinessEntityGroupByOutputType = {
|
|
279
|
-
id: number
|
|
280
|
-
uuid: string | null
|
|
281
|
-
business_code: string | null
|
|
282
|
-
business_name: string | null
|
|
283
|
-
business_email: string | null
|
|
284
|
-
business_country_code: string | null
|
|
285
|
-
business_phone: string | null
|
|
286
|
-
business_website: string | null
|
|
287
|
-
business_logo: string | null
|
|
288
|
-
business_description: string | null
|
|
289
|
-
business_type: $Enums.BusinessEntityType | null
|
|
290
|
-
is_active: boolean | null
|
|
291
|
-
created_at: Date | null
|
|
292
|
-
created_by: number | null
|
|
293
|
-
updated_at: Date | null
|
|
294
|
-
updated_by: number | null
|
|
295
|
-
is_deleted: boolean | null
|
|
296
|
-
deleted_at: Date | null
|
|
297
|
-
deleted_by: number | null
|
|
298
|
-
_count: BusinessEntityCountAggregateOutputType | null
|
|
299
|
-
_avg: BusinessEntityAvgAggregateOutputType | null
|
|
300
|
-
_sum: BusinessEntitySumAggregateOutputType | null
|
|
301
|
-
_min: BusinessEntityMinAggregateOutputType | null
|
|
302
|
-
_max: BusinessEntityMaxAggregateOutputType | null
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export type GetBusinessEntityGroupByPayload<T extends BusinessEntityGroupByArgs> = Prisma.PrismaPromise<
|
|
306
|
-
Array<
|
|
307
|
-
Prisma.PickEnumerable<BusinessEntityGroupByOutputType, T['by']> &
|
|
308
|
-
{
|
|
309
|
-
[P in ((keyof T) & (keyof BusinessEntityGroupByOutputType))]: P extends '_count'
|
|
310
|
-
? T[P] extends boolean
|
|
311
|
-
? number
|
|
312
|
-
: Prisma.GetScalarType<T[P], BusinessEntityGroupByOutputType[P]>
|
|
313
|
-
: Prisma.GetScalarType<T[P], BusinessEntityGroupByOutputType[P]>
|
|
314
|
-
}
|
|
315
|
-
>
|
|
316
|
-
>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
export type BusinessEntityWhereInput = {
|
|
321
|
-
AND?: Prisma.BusinessEntityWhereInput | Prisma.BusinessEntityWhereInput[]
|
|
322
|
-
OR?: Prisma.BusinessEntityWhereInput[]
|
|
323
|
-
NOT?: Prisma.BusinessEntityWhereInput | Prisma.BusinessEntityWhereInput[]
|
|
324
|
-
id?: Prisma.IntFilter<"BusinessEntity"> | number
|
|
325
|
-
uuid?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
326
|
-
business_code?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
327
|
-
business_name?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
328
|
-
business_email?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
329
|
-
business_country_code?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
330
|
-
business_phone?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
331
|
-
business_website?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
332
|
-
business_logo?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
333
|
-
business_description?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
334
|
-
business_type?: Prisma.EnumBusinessEntityTypeNullableFilter<"BusinessEntity"> | $Enums.BusinessEntityType | null
|
|
335
|
-
is_active?: Prisma.BoolNullableFilter<"BusinessEntity"> | boolean | null
|
|
336
|
-
created_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
337
|
-
created_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
338
|
-
updated_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
339
|
-
updated_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
340
|
-
is_deleted?: Prisma.BoolNullableFilter<"BusinessEntity"> | boolean | null
|
|
341
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
342
|
-
deleted_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
343
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentListRelationFilter
|
|
344
|
-
business_entity_locations?: Prisma.BusinessEntityLocationListRelationFilter
|
|
345
|
-
user_department_entities?: Prisma.UserDepartmentEntityListRelationFilter
|
|
346
|
-
purchase_intakes?: Prisma.PurchaseIntakeListRelationFilter
|
|
347
|
-
events?: Prisma.EventListRelationFilter
|
|
348
|
-
purchase_orders?: Prisma.PurchaseOrderListRelationFilter
|
|
349
|
-
event_rfi_forms?: Prisma.EventRfiFormListRelationFilter
|
|
350
|
-
grns?: Prisma.GRNListRelationFilter
|
|
351
|
-
invoices?: Prisma.InvoiceListRelationFilter
|
|
352
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderListRelationFilter
|
|
353
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyListRelationFilter
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
export type BusinessEntityOrderByWithRelationInput = {
|
|
357
|
-
id?: Prisma.SortOrder
|
|
358
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
359
|
-
business_code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
360
|
-
business_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
361
|
-
business_email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
362
|
-
business_country_code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
363
|
-
business_phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
364
|
-
business_website?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
365
|
-
business_logo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
366
|
-
business_description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
367
|
-
business_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
368
|
-
is_active?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
369
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
370
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
371
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
372
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
373
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
374
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
375
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
376
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentOrderByRelationAggregateInput
|
|
377
|
-
business_entity_locations?: Prisma.BusinessEntityLocationOrderByRelationAggregateInput
|
|
378
|
-
user_department_entities?: Prisma.UserDepartmentEntityOrderByRelationAggregateInput
|
|
379
|
-
purchase_intakes?: Prisma.PurchaseIntakeOrderByRelationAggregateInput
|
|
380
|
-
events?: Prisma.EventOrderByRelationAggregateInput
|
|
381
|
-
purchase_orders?: Prisma.PurchaseOrderOrderByRelationAggregateInput
|
|
382
|
-
event_rfi_forms?: Prisma.EventRfiFormOrderByRelationAggregateInput
|
|
383
|
-
grns?: Prisma.GRNOrderByRelationAggregateInput
|
|
384
|
-
invoices?: Prisma.InvoiceOrderByRelationAggregateInput
|
|
385
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderOrderByRelationAggregateInput
|
|
386
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyOrderByRelationAggregateInput
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export type BusinessEntityWhereUniqueInput = Prisma.AtLeast<{
|
|
390
|
-
id?: number
|
|
391
|
-
uuid?: string
|
|
392
|
-
business_code?: string
|
|
393
|
-
AND?: Prisma.BusinessEntityWhereInput | Prisma.BusinessEntityWhereInput[]
|
|
394
|
-
OR?: Prisma.BusinessEntityWhereInput[]
|
|
395
|
-
NOT?: Prisma.BusinessEntityWhereInput | Prisma.BusinessEntityWhereInput[]
|
|
396
|
-
business_name?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
397
|
-
business_email?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
398
|
-
business_country_code?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
399
|
-
business_phone?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
400
|
-
business_website?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
401
|
-
business_logo?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
402
|
-
business_description?: Prisma.StringNullableFilter<"BusinessEntity"> | string | null
|
|
403
|
-
business_type?: Prisma.EnumBusinessEntityTypeNullableFilter<"BusinessEntity"> | $Enums.BusinessEntityType | null
|
|
404
|
-
is_active?: Prisma.BoolNullableFilter<"BusinessEntity"> | boolean | null
|
|
405
|
-
created_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
406
|
-
created_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
407
|
-
updated_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
408
|
-
updated_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
409
|
-
is_deleted?: Prisma.BoolNullableFilter<"BusinessEntity"> | boolean | null
|
|
410
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"BusinessEntity"> | Date | string | null
|
|
411
|
-
deleted_by?: Prisma.IntNullableFilter<"BusinessEntity"> | number | null
|
|
412
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentListRelationFilter
|
|
413
|
-
business_entity_locations?: Prisma.BusinessEntityLocationListRelationFilter
|
|
414
|
-
user_department_entities?: Prisma.UserDepartmentEntityListRelationFilter
|
|
415
|
-
purchase_intakes?: Prisma.PurchaseIntakeListRelationFilter
|
|
416
|
-
events?: Prisma.EventListRelationFilter
|
|
417
|
-
purchase_orders?: Prisma.PurchaseOrderListRelationFilter
|
|
418
|
-
event_rfi_forms?: Prisma.EventRfiFormListRelationFilter
|
|
419
|
-
grns?: Prisma.GRNListRelationFilter
|
|
420
|
-
invoices?: Prisma.InvoiceListRelationFilter
|
|
421
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderListRelationFilter
|
|
422
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyListRelationFilter
|
|
423
|
-
}, "id" | "uuid" | "business_code">
|
|
424
|
-
|
|
425
|
-
export type BusinessEntityOrderByWithAggregationInput = {
|
|
426
|
-
id?: Prisma.SortOrder
|
|
427
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
428
|
-
business_code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
429
|
-
business_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
430
|
-
business_email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
431
|
-
business_country_code?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
432
|
-
business_phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
433
|
-
business_website?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
434
|
-
business_logo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
435
|
-
business_description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
436
|
-
business_type?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
437
|
-
is_active?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
438
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
439
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
440
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
441
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
442
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
443
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
444
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
445
|
-
_count?: Prisma.BusinessEntityCountOrderByAggregateInput
|
|
446
|
-
_avg?: Prisma.BusinessEntityAvgOrderByAggregateInput
|
|
447
|
-
_max?: Prisma.BusinessEntityMaxOrderByAggregateInput
|
|
448
|
-
_min?: Prisma.BusinessEntityMinOrderByAggregateInput
|
|
449
|
-
_sum?: Prisma.BusinessEntitySumOrderByAggregateInput
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
export type BusinessEntityScalarWhereWithAggregatesInput = {
|
|
453
|
-
AND?: Prisma.BusinessEntityScalarWhereWithAggregatesInput | Prisma.BusinessEntityScalarWhereWithAggregatesInput[]
|
|
454
|
-
OR?: Prisma.BusinessEntityScalarWhereWithAggregatesInput[]
|
|
455
|
-
NOT?: Prisma.BusinessEntityScalarWhereWithAggregatesInput | Prisma.BusinessEntityScalarWhereWithAggregatesInput[]
|
|
456
|
-
id?: Prisma.IntWithAggregatesFilter<"BusinessEntity"> | number
|
|
457
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
458
|
-
business_code?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
459
|
-
business_name?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
460
|
-
business_email?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
461
|
-
business_country_code?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
462
|
-
business_phone?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
463
|
-
business_website?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
464
|
-
business_logo?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
465
|
-
business_description?: Prisma.StringNullableWithAggregatesFilter<"BusinessEntity"> | string | null
|
|
466
|
-
business_type?: Prisma.EnumBusinessEntityTypeNullableWithAggregatesFilter<"BusinessEntity"> | $Enums.BusinessEntityType | null
|
|
467
|
-
is_active?: Prisma.BoolNullableWithAggregatesFilter<"BusinessEntity"> | boolean | null
|
|
468
|
-
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntity"> | Date | string | null
|
|
469
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntity"> | number | null
|
|
470
|
-
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntity"> | Date | string | null
|
|
471
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntity"> | number | null
|
|
472
|
-
is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"BusinessEntity"> | boolean | null
|
|
473
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"BusinessEntity"> | Date | string | null
|
|
474
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"BusinessEntity"> | number | null
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
export type BusinessEntityCreateInput = {
|
|
478
|
-
uuid?: string | null
|
|
479
|
-
business_code?: string | null
|
|
480
|
-
business_name?: string | null
|
|
481
|
-
business_email?: string | null
|
|
482
|
-
business_country_code?: string | null
|
|
483
|
-
business_phone?: string | null
|
|
484
|
-
business_website?: string | null
|
|
485
|
-
business_logo?: string | null
|
|
486
|
-
business_description?: string | null
|
|
487
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
488
|
-
is_active?: boolean | null
|
|
489
|
-
created_at?: Date | string | null
|
|
490
|
-
created_by?: number | null
|
|
491
|
-
updated_at?: Date | string | null
|
|
492
|
-
updated_by?: number | null
|
|
493
|
-
is_deleted?: boolean | null
|
|
494
|
-
deleted_at?: Date | string | null
|
|
495
|
-
deleted_by?: number | null
|
|
496
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
497
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
498
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
499
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
500
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
501
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
502
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
503
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
504
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
505
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
506
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
export type BusinessEntityUncheckedCreateInput = {
|
|
510
|
-
id?: number
|
|
511
|
-
uuid?: string | null
|
|
512
|
-
business_code?: string | null
|
|
513
|
-
business_name?: string | null
|
|
514
|
-
business_email?: string | null
|
|
515
|
-
business_country_code?: string | null
|
|
516
|
-
business_phone?: string | null
|
|
517
|
-
business_website?: string | null
|
|
518
|
-
business_logo?: string | null
|
|
519
|
-
business_description?: string | null
|
|
520
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
521
|
-
is_active?: boolean | null
|
|
522
|
-
created_at?: Date | string | null
|
|
523
|
-
created_by?: number | null
|
|
524
|
-
updated_at?: Date | string | null
|
|
525
|
-
updated_by?: number | null
|
|
526
|
-
is_deleted?: boolean | null
|
|
527
|
-
deleted_at?: Date | string | null
|
|
528
|
-
deleted_by?: number | null
|
|
529
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
530
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
531
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
532
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
533
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
534
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
535
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
536
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
537
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
538
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
539
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
export type BusinessEntityUpdateInput = {
|
|
543
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
544
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
545
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
546
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
547
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
548
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
549
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
550
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
551
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
552
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
553
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
554
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
555
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
556
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
557
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
558
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
559
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
560
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
561
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
562
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
563
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
564
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
565
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
566
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
567
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
568
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
569
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
570
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
571
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
export type BusinessEntityUncheckedUpdateInput = {
|
|
575
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
576
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
577
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
578
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
579
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
580
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
581
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
582
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
583
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
584
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
585
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
586
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
587
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
588
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
589
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
590
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
591
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
592
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
593
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
594
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
595
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
596
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
597
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
598
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
599
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
600
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
601
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
602
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
603
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
604
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
export type BusinessEntityCreateManyInput = {
|
|
608
|
-
id?: number
|
|
609
|
-
uuid?: string | null
|
|
610
|
-
business_code?: string | null
|
|
611
|
-
business_name?: string | null
|
|
612
|
-
business_email?: string | null
|
|
613
|
-
business_country_code?: string | null
|
|
614
|
-
business_phone?: string | null
|
|
615
|
-
business_website?: string | null
|
|
616
|
-
business_logo?: string | null
|
|
617
|
-
business_description?: string | null
|
|
618
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
619
|
-
is_active?: boolean | null
|
|
620
|
-
created_at?: Date | string | null
|
|
621
|
-
created_by?: number | null
|
|
622
|
-
updated_at?: Date | string | null
|
|
623
|
-
updated_by?: number | null
|
|
624
|
-
is_deleted?: boolean | null
|
|
625
|
-
deleted_at?: Date | string | null
|
|
626
|
-
deleted_by?: number | null
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
export type BusinessEntityUpdateManyMutationInput = {
|
|
630
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
631
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
632
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
633
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
634
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
635
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
636
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
637
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
638
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
639
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
640
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
641
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
642
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
643
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
644
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
645
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
646
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
647
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
export type BusinessEntityUncheckedUpdateManyInput = {
|
|
651
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
652
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
653
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
654
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
656
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
657
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
658
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
659
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
660
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
661
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
662
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
663
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
664
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
665
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
666
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
667
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
668
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
669
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
export type BusinessEntityNullableScalarRelationFilter = {
|
|
673
|
-
is?: Prisma.BusinessEntityWhereInput | null
|
|
674
|
-
isNot?: Prisma.BusinessEntityWhereInput | null
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
export type BusinessEntityCountOrderByAggregateInput = {
|
|
678
|
-
id?: Prisma.SortOrder
|
|
679
|
-
uuid?: Prisma.SortOrder
|
|
680
|
-
business_code?: Prisma.SortOrder
|
|
681
|
-
business_name?: Prisma.SortOrder
|
|
682
|
-
business_email?: Prisma.SortOrder
|
|
683
|
-
business_country_code?: Prisma.SortOrder
|
|
684
|
-
business_phone?: Prisma.SortOrder
|
|
685
|
-
business_website?: Prisma.SortOrder
|
|
686
|
-
business_logo?: Prisma.SortOrder
|
|
687
|
-
business_description?: Prisma.SortOrder
|
|
688
|
-
business_type?: Prisma.SortOrder
|
|
689
|
-
is_active?: Prisma.SortOrder
|
|
690
|
-
created_at?: Prisma.SortOrder
|
|
691
|
-
created_by?: Prisma.SortOrder
|
|
692
|
-
updated_at?: Prisma.SortOrder
|
|
693
|
-
updated_by?: Prisma.SortOrder
|
|
694
|
-
is_deleted?: Prisma.SortOrder
|
|
695
|
-
deleted_at?: Prisma.SortOrder
|
|
696
|
-
deleted_by?: Prisma.SortOrder
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
export type BusinessEntityAvgOrderByAggregateInput = {
|
|
700
|
-
id?: Prisma.SortOrder
|
|
701
|
-
created_by?: Prisma.SortOrder
|
|
702
|
-
updated_by?: Prisma.SortOrder
|
|
703
|
-
deleted_by?: Prisma.SortOrder
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
export type BusinessEntityMaxOrderByAggregateInput = {
|
|
707
|
-
id?: Prisma.SortOrder
|
|
708
|
-
uuid?: Prisma.SortOrder
|
|
709
|
-
business_code?: Prisma.SortOrder
|
|
710
|
-
business_name?: Prisma.SortOrder
|
|
711
|
-
business_email?: Prisma.SortOrder
|
|
712
|
-
business_country_code?: Prisma.SortOrder
|
|
713
|
-
business_phone?: Prisma.SortOrder
|
|
714
|
-
business_website?: Prisma.SortOrder
|
|
715
|
-
business_logo?: Prisma.SortOrder
|
|
716
|
-
business_description?: Prisma.SortOrder
|
|
717
|
-
business_type?: Prisma.SortOrder
|
|
718
|
-
is_active?: Prisma.SortOrder
|
|
719
|
-
created_at?: Prisma.SortOrder
|
|
720
|
-
created_by?: Prisma.SortOrder
|
|
721
|
-
updated_at?: Prisma.SortOrder
|
|
722
|
-
updated_by?: Prisma.SortOrder
|
|
723
|
-
is_deleted?: Prisma.SortOrder
|
|
724
|
-
deleted_at?: Prisma.SortOrder
|
|
725
|
-
deleted_by?: Prisma.SortOrder
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
export type BusinessEntityMinOrderByAggregateInput = {
|
|
729
|
-
id?: Prisma.SortOrder
|
|
730
|
-
uuid?: Prisma.SortOrder
|
|
731
|
-
business_code?: Prisma.SortOrder
|
|
732
|
-
business_name?: Prisma.SortOrder
|
|
733
|
-
business_email?: Prisma.SortOrder
|
|
734
|
-
business_country_code?: Prisma.SortOrder
|
|
735
|
-
business_phone?: Prisma.SortOrder
|
|
736
|
-
business_website?: Prisma.SortOrder
|
|
737
|
-
business_logo?: Prisma.SortOrder
|
|
738
|
-
business_description?: Prisma.SortOrder
|
|
739
|
-
business_type?: Prisma.SortOrder
|
|
740
|
-
is_active?: Prisma.SortOrder
|
|
741
|
-
created_at?: Prisma.SortOrder
|
|
742
|
-
created_by?: Prisma.SortOrder
|
|
743
|
-
updated_at?: Prisma.SortOrder
|
|
744
|
-
updated_by?: Prisma.SortOrder
|
|
745
|
-
is_deleted?: Prisma.SortOrder
|
|
746
|
-
deleted_at?: Prisma.SortOrder
|
|
747
|
-
deleted_by?: Prisma.SortOrder
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export type BusinessEntitySumOrderByAggregateInput = {
|
|
751
|
-
id?: Prisma.SortOrder
|
|
752
|
-
created_by?: Prisma.SortOrder
|
|
753
|
-
updated_by?: Prisma.SortOrder
|
|
754
|
-
deleted_by?: Prisma.SortOrder
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
export type BusinessEntityScalarRelationFilter = {
|
|
758
|
-
is?: Prisma.BusinessEntityWhereInput
|
|
759
|
-
isNot?: Prisma.BusinessEntityWhereInput
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
export type BusinessEntityCreateNestedOneWithoutUser_department_entitiesInput = {
|
|
763
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedCreateWithoutUser_department_entitiesInput>
|
|
764
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutUser_department_entitiesInput
|
|
765
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
export type BusinessEntityUpdateOneWithoutUser_department_entitiesNestedInput = {
|
|
769
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedCreateWithoutUser_department_entitiesInput>
|
|
770
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutUser_department_entitiesInput
|
|
771
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutUser_department_entitiesInput
|
|
772
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
773
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
774
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
775
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutUser_department_entitiesInput, Prisma.BusinessEntityUpdateWithoutUser_department_entitiesInput>, Prisma.BusinessEntityUncheckedUpdateWithoutUser_department_entitiesInput>
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
export type BusinessEntityCreateNestedOneWithoutBusiness_entity_departmentsInput = {
|
|
779
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_departmentsInput>
|
|
780
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBusiness_entity_departmentsInput
|
|
781
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
export type BusinessEntityUpdateOneWithoutBusiness_entity_departmentsNestedInput = {
|
|
785
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_departmentsInput>
|
|
786
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBusiness_entity_departmentsInput
|
|
787
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutBusiness_entity_departmentsInput
|
|
788
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
789
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
790
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
791
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUpdateWithoutBusiness_entity_departmentsInput>, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_departmentsInput>
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export type BusinessEntityCreateNestedOneWithoutPurchase_intakesInput = {
|
|
795
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_intakesInput>
|
|
796
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutPurchase_intakesInput
|
|
797
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
export type BusinessEntityUpdateOneWithoutPurchase_intakesNestedInput = {
|
|
801
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_intakesInput>
|
|
802
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutPurchase_intakesInput
|
|
803
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutPurchase_intakesInput
|
|
804
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
805
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
806
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
807
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutPurchase_intakesInput, Prisma.BusinessEntityUpdateWithoutPurchase_intakesInput>, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_intakesInput>
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
export type BusinessEntityCreateNestedOneWithoutApproval_hierarchiesInput = {
|
|
811
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedCreateWithoutApproval_hierarchiesInput>
|
|
812
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutApproval_hierarchiesInput
|
|
813
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
export type BusinessEntityUpdateOneWithoutApproval_hierarchiesNestedInput = {
|
|
817
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedCreateWithoutApproval_hierarchiesInput>
|
|
818
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutApproval_hierarchiesInput
|
|
819
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutApproval_hierarchiesInput
|
|
820
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
821
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
822
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
823
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUpdateWithoutApproval_hierarchiesInput>, Prisma.BusinessEntityUncheckedUpdateWithoutApproval_hierarchiesInput>
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
export type BusinessEntityCreateNestedOneWithoutEventsInput = {
|
|
827
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEventsInput, Prisma.BusinessEntityUncheckedCreateWithoutEventsInput>
|
|
828
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutEventsInput
|
|
829
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
export type BusinessEntityUpdateOneWithoutEventsNestedInput = {
|
|
833
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEventsInput, Prisma.BusinessEntityUncheckedCreateWithoutEventsInput>
|
|
834
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutEventsInput
|
|
835
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutEventsInput
|
|
836
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
837
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
838
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
839
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutEventsInput, Prisma.BusinessEntityUpdateWithoutEventsInput>, Prisma.BusinessEntityUncheckedUpdateWithoutEventsInput>
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
export type BusinessEntityCreateNestedOneWithoutPurchase_ordersInput = {
|
|
843
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_ordersInput>
|
|
844
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutPurchase_ordersInput
|
|
845
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
export type BusinessEntityUpdateOneWithoutPurchase_ordersNestedInput = {
|
|
849
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_ordersInput>
|
|
850
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutPurchase_ordersInput
|
|
851
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutPurchase_ordersInput
|
|
852
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
853
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
854
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
855
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutPurchase_ordersInput, Prisma.BusinessEntityUpdateWithoutPurchase_ordersInput>, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_ordersInput>
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
export type BusinessEntityCreateNestedOneWithoutEvent_rfi_formsInput = {
|
|
859
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedCreateWithoutEvent_rfi_formsInput>
|
|
860
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutEvent_rfi_formsInput
|
|
861
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
export type BusinessEntityUpdateOneWithoutEvent_rfi_formsNestedInput = {
|
|
865
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedCreateWithoutEvent_rfi_formsInput>
|
|
866
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutEvent_rfi_formsInput
|
|
867
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutEvent_rfi_formsInput
|
|
868
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
869
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
870
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
871
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUpdateWithoutEvent_rfi_formsInput>, Prisma.BusinessEntityUncheckedUpdateWithoutEvent_rfi_formsInput>
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export type BusinessEntityCreateNestedOneWithoutBlanket_purchase_ordersInput = {
|
|
875
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutBlanket_purchase_ordersInput>
|
|
876
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBlanket_purchase_ordersInput
|
|
877
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
export type BusinessEntityUpdateOneWithoutBlanket_purchase_ordersNestedInput = {
|
|
881
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutBlanket_purchase_ordersInput>
|
|
882
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBlanket_purchase_ordersInput
|
|
883
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutBlanket_purchase_ordersInput
|
|
884
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
885
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
886
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
887
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUpdateWithoutBlanket_purchase_ordersInput>, Prisma.BusinessEntityUncheckedUpdateWithoutBlanket_purchase_ordersInput>
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
export type BusinessEntityCreateNestedOneWithoutGrnsInput = {
|
|
891
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutGrnsInput, Prisma.BusinessEntityUncheckedCreateWithoutGrnsInput>
|
|
892
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutGrnsInput
|
|
893
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
export type BusinessEntityUpdateOneWithoutGrnsNestedInput = {
|
|
897
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutGrnsInput, Prisma.BusinessEntityUncheckedCreateWithoutGrnsInput>
|
|
898
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutGrnsInput
|
|
899
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutGrnsInput
|
|
900
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
901
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
902
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
903
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutGrnsInput, Prisma.BusinessEntityUpdateWithoutGrnsInput>, Prisma.BusinessEntityUncheckedUpdateWithoutGrnsInput>
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export type NullableEnumBusinessEntityTypeFieldUpdateOperationsInput = {
|
|
907
|
-
set?: $Enums.BusinessEntityType | null
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
export type BusinessEntityCreateNestedOneWithoutBusiness_entity_locationsInput = {
|
|
911
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_locationsInput>
|
|
912
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBusiness_entity_locationsInput
|
|
913
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
export type BusinessEntityUpdateOneRequiredWithoutBusiness_entity_locationsNestedInput = {
|
|
917
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_locationsInput>
|
|
918
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutBusiness_entity_locationsInput
|
|
919
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutBusiness_entity_locationsInput
|
|
920
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
921
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUpdateWithoutBusiness_entity_locationsInput>, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_locationsInput>
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
export type BusinessEntityCreateNestedOneWithoutInvoicesInput = {
|
|
925
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedCreateWithoutInvoicesInput>
|
|
926
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutInvoicesInput
|
|
927
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
export type BusinessEntityUpdateOneWithoutInvoicesNestedInput = {
|
|
931
|
-
create?: Prisma.XOR<Prisma.BusinessEntityCreateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedCreateWithoutInvoicesInput>
|
|
932
|
-
connectOrCreate?: Prisma.BusinessEntityCreateOrConnectWithoutInvoicesInput
|
|
933
|
-
upsert?: Prisma.BusinessEntityUpsertWithoutInvoicesInput
|
|
934
|
-
disconnect?: Prisma.BusinessEntityWhereInput | boolean
|
|
935
|
-
delete?: Prisma.BusinessEntityWhereInput | boolean
|
|
936
|
-
connect?: Prisma.BusinessEntityWhereUniqueInput
|
|
937
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessEntityUpdateToOneWithWhereWithoutInvoicesInput, Prisma.BusinessEntityUpdateWithoutInvoicesInput>, Prisma.BusinessEntityUncheckedUpdateWithoutInvoicesInput>
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
export type BusinessEntityCreateWithoutUser_department_entitiesInput = {
|
|
941
|
-
uuid?: string | null
|
|
942
|
-
business_code?: string | null
|
|
943
|
-
business_name?: string | null
|
|
944
|
-
business_email?: string | null
|
|
945
|
-
business_country_code?: string | null
|
|
946
|
-
business_phone?: string | null
|
|
947
|
-
business_website?: string | null
|
|
948
|
-
business_logo?: string | null
|
|
949
|
-
business_description?: string | null
|
|
950
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
951
|
-
is_active?: boolean | null
|
|
952
|
-
created_at?: Date | string | null
|
|
953
|
-
created_by?: number | null
|
|
954
|
-
updated_at?: Date | string | null
|
|
955
|
-
updated_by?: number | null
|
|
956
|
-
is_deleted?: boolean | null
|
|
957
|
-
deleted_at?: Date | string | null
|
|
958
|
-
deleted_by?: number | null
|
|
959
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
960
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
961
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
962
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
963
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
964
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
965
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
966
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
967
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
968
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
export type BusinessEntityUncheckedCreateWithoutUser_department_entitiesInput = {
|
|
972
|
-
id?: number
|
|
973
|
-
uuid?: string | null
|
|
974
|
-
business_code?: string | null
|
|
975
|
-
business_name?: string | null
|
|
976
|
-
business_email?: string | null
|
|
977
|
-
business_country_code?: string | null
|
|
978
|
-
business_phone?: string | null
|
|
979
|
-
business_website?: string | null
|
|
980
|
-
business_logo?: string | null
|
|
981
|
-
business_description?: string | null
|
|
982
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
983
|
-
is_active?: boolean | null
|
|
984
|
-
created_at?: Date | string | null
|
|
985
|
-
created_by?: number | null
|
|
986
|
-
updated_at?: Date | string | null
|
|
987
|
-
updated_by?: number | null
|
|
988
|
-
is_deleted?: boolean | null
|
|
989
|
-
deleted_at?: Date | string | null
|
|
990
|
-
deleted_by?: number | null
|
|
991
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
992
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
993
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
994
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
995
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
996
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
997
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
998
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
999
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1000
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
export type BusinessEntityCreateOrConnectWithoutUser_department_entitiesInput = {
|
|
1004
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1005
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedCreateWithoutUser_department_entitiesInput>
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
export type BusinessEntityUpsertWithoutUser_department_entitiesInput = {
|
|
1009
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedUpdateWithoutUser_department_entitiesInput>
|
|
1010
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedCreateWithoutUser_department_entitiesInput>
|
|
1011
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutUser_department_entitiesInput = {
|
|
1015
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1016
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutUser_department_entitiesInput, Prisma.BusinessEntityUncheckedUpdateWithoutUser_department_entitiesInput>
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
export type BusinessEntityUpdateWithoutUser_department_entitiesInput = {
|
|
1020
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1021
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1022
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1023
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1024
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1025
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1026
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1027
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1028
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1029
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1030
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1031
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1032
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1033
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1034
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1035
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1036
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1037
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1038
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1039
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1040
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1041
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1042
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1043
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1044
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1045
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1046
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1047
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
export type BusinessEntityUncheckedUpdateWithoutUser_department_entitiesInput = {
|
|
1051
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1052
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1053
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1054
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1055
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1056
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1057
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1058
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1059
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1060
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1061
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1062
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1063
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1064
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1065
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1066
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1067
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1068
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1069
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1070
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1071
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1072
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1073
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1074
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1075
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1076
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1077
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1078
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1079
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
export type BusinessEntityCreateWithoutBusiness_entity_departmentsInput = {
|
|
1083
|
-
uuid?: string | null
|
|
1084
|
-
business_code?: string | null
|
|
1085
|
-
business_name?: string | null
|
|
1086
|
-
business_email?: string | null
|
|
1087
|
-
business_country_code?: string | null
|
|
1088
|
-
business_phone?: string | null
|
|
1089
|
-
business_website?: string | null
|
|
1090
|
-
business_logo?: string | null
|
|
1091
|
-
business_description?: string | null
|
|
1092
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1093
|
-
is_active?: boolean | null
|
|
1094
|
-
created_at?: Date | string | null
|
|
1095
|
-
created_by?: number | null
|
|
1096
|
-
updated_at?: Date | string | null
|
|
1097
|
-
updated_by?: number | null
|
|
1098
|
-
is_deleted?: boolean | null
|
|
1099
|
-
deleted_at?: Date | string | null
|
|
1100
|
-
deleted_by?: number | null
|
|
1101
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1102
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1103
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1104
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1105
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1106
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1107
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1108
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1109
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1110
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
export type BusinessEntityUncheckedCreateWithoutBusiness_entity_departmentsInput = {
|
|
1114
|
-
id?: number
|
|
1115
|
-
uuid?: string | null
|
|
1116
|
-
business_code?: string | null
|
|
1117
|
-
business_name?: string | null
|
|
1118
|
-
business_email?: string | null
|
|
1119
|
-
business_country_code?: string | null
|
|
1120
|
-
business_phone?: string | null
|
|
1121
|
-
business_website?: string | null
|
|
1122
|
-
business_logo?: string | null
|
|
1123
|
-
business_description?: string | null
|
|
1124
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1125
|
-
is_active?: boolean | null
|
|
1126
|
-
created_at?: Date | string | null
|
|
1127
|
-
created_by?: number | null
|
|
1128
|
-
updated_at?: Date | string | null
|
|
1129
|
-
updated_by?: number | null
|
|
1130
|
-
is_deleted?: boolean | null
|
|
1131
|
-
deleted_at?: Date | string | null
|
|
1132
|
-
deleted_by?: number | null
|
|
1133
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1134
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1135
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1136
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1137
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1138
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1139
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1140
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1141
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1142
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1143
|
-
}
|
|
1144
|
-
|
|
1145
|
-
export type BusinessEntityCreateOrConnectWithoutBusiness_entity_departmentsInput = {
|
|
1146
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1147
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_departmentsInput>
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
export type BusinessEntityUpsertWithoutBusiness_entity_departmentsInput = {
|
|
1151
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_departmentsInput>
|
|
1152
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_departmentsInput>
|
|
1153
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutBusiness_entity_departmentsInput = {
|
|
1157
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1158
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBusiness_entity_departmentsInput, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_departmentsInput>
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
export type BusinessEntityUpdateWithoutBusiness_entity_departmentsInput = {
|
|
1162
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1163
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1164
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1165
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1166
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1167
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1168
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1169
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1170
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1171
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1172
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1173
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1174
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1175
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1176
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1177
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1178
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1179
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1180
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1181
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1182
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1183
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1184
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1185
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1186
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1187
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1188
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1189
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
export type BusinessEntityUncheckedUpdateWithoutBusiness_entity_departmentsInput = {
|
|
1193
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1194
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1195
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1196
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1197
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1199
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1200
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1201
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1202
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1203
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1204
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1205
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1206
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1207
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1208
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1209
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1210
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1211
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1212
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1213
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1214
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1215
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1216
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1217
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1218
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1219
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1220
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1221
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
export type BusinessEntityCreateWithoutPurchase_intakesInput = {
|
|
1225
|
-
uuid?: string | null
|
|
1226
|
-
business_code?: string | null
|
|
1227
|
-
business_name?: string | null
|
|
1228
|
-
business_email?: string | null
|
|
1229
|
-
business_country_code?: string | null
|
|
1230
|
-
business_phone?: string | null
|
|
1231
|
-
business_website?: string | null
|
|
1232
|
-
business_logo?: string | null
|
|
1233
|
-
business_description?: string | null
|
|
1234
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1235
|
-
is_active?: boolean | null
|
|
1236
|
-
created_at?: Date | string | null
|
|
1237
|
-
created_by?: number | null
|
|
1238
|
-
updated_at?: Date | string | null
|
|
1239
|
-
updated_by?: number | null
|
|
1240
|
-
is_deleted?: boolean | null
|
|
1241
|
-
deleted_at?: Date | string | null
|
|
1242
|
-
deleted_by?: number | null
|
|
1243
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1244
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1245
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1246
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1247
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1248
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1249
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1250
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1251
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1252
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
export type BusinessEntityUncheckedCreateWithoutPurchase_intakesInput = {
|
|
1256
|
-
id?: number
|
|
1257
|
-
uuid?: string | null
|
|
1258
|
-
business_code?: string | null
|
|
1259
|
-
business_name?: string | null
|
|
1260
|
-
business_email?: string | null
|
|
1261
|
-
business_country_code?: string | null
|
|
1262
|
-
business_phone?: string | null
|
|
1263
|
-
business_website?: string | null
|
|
1264
|
-
business_logo?: string | null
|
|
1265
|
-
business_description?: string | null
|
|
1266
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1267
|
-
is_active?: boolean | null
|
|
1268
|
-
created_at?: Date | string | null
|
|
1269
|
-
created_by?: number | null
|
|
1270
|
-
updated_at?: Date | string | null
|
|
1271
|
-
updated_by?: number | null
|
|
1272
|
-
is_deleted?: boolean | null
|
|
1273
|
-
deleted_at?: Date | string | null
|
|
1274
|
-
deleted_by?: number | null
|
|
1275
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1276
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1277
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1278
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1279
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1280
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1281
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1282
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1283
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1284
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
export type BusinessEntityCreateOrConnectWithoutPurchase_intakesInput = {
|
|
1288
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1289
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_intakesInput>
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
export type BusinessEntityUpsertWithoutPurchase_intakesInput = {
|
|
1293
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_intakesInput>
|
|
1294
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_intakesInput>
|
|
1295
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutPurchase_intakesInput = {
|
|
1299
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1300
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutPurchase_intakesInput, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_intakesInput>
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
export type BusinessEntityUpdateWithoutPurchase_intakesInput = {
|
|
1304
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1305
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1306
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1307
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1308
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1309
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1310
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1311
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1312
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1313
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1314
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1315
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1316
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1317
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1318
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1319
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1320
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1321
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1322
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1323
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1324
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1325
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1326
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1327
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1328
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1329
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1330
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1331
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
export type BusinessEntityUncheckedUpdateWithoutPurchase_intakesInput = {
|
|
1335
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1336
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1337
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1338
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1339
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1340
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1341
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1342
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1343
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1344
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1345
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1346
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1347
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1348
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1349
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1350
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1351
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1352
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1353
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1354
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1355
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1356
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1357
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1358
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1359
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1360
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1361
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1362
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1363
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
export type BusinessEntityCreateWithoutApproval_hierarchiesInput = {
|
|
1367
|
-
uuid?: string | null
|
|
1368
|
-
business_code?: string | null
|
|
1369
|
-
business_name?: string | null
|
|
1370
|
-
business_email?: string | null
|
|
1371
|
-
business_country_code?: string | null
|
|
1372
|
-
business_phone?: string | null
|
|
1373
|
-
business_website?: string | null
|
|
1374
|
-
business_logo?: string | null
|
|
1375
|
-
business_description?: string | null
|
|
1376
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1377
|
-
is_active?: boolean | null
|
|
1378
|
-
created_at?: Date | string | null
|
|
1379
|
-
created_by?: number | null
|
|
1380
|
-
updated_at?: Date | string | null
|
|
1381
|
-
updated_by?: number | null
|
|
1382
|
-
is_deleted?: boolean | null
|
|
1383
|
-
deleted_at?: Date | string | null
|
|
1384
|
-
deleted_by?: number | null
|
|
1385
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1386
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1387
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1388
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1389
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1390
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1391
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1392
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1393
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1394
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
export type BusinessEntityUncheckedCreateWithoutApproval_hierarchiesInput = {
|
|
1398
|
-
id?: number
|
|
1399
|
-
uuid?: string | null
|
|
1400
|
-
business_code?: string | null
|
|
1401
|
-
business_name?: string | null
|
|
1402
|
-
business_email?: string | null
|
|
1403
|
-
business_country_code?: string | null
|
|
1404
|
-
business_phone?: string | null
|
|
1405
|
-
business_website?: string | null
|
|
1406
|
-
business_logo?: string | null
|
|
1407
|
-
business_description?: string | null
|
|
1408
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1409
|
-
is_active?: boolean | null
|
|
1410
|
-
created_at?: Date | string | null
|
|
1411
|
-
created_by?: number | null
|
|
1412
|
-
updated_at?: Date | string | null
|
|
1413
|
-
updated_by?: number | null
|
|
1414
|
-
is_deleted?: boolean | null
|
|
1415
|
-
deleted_at?: Date | string | null
|
|
1416
|
-
deleted_by?: number | null
|
|
1417
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1418
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1419
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1420
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1421
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1422
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1423
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1424
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1425
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1426
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
|
-
export type BusinessEntityCreateOrConnectWithoutApproval_hierarchiesInput = {
|
|
1430
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1431
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedCreateWithoutApproval_hierarchiesInput>
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
export type BusinessEntityUpsertWithoutApproval_hierarchiesInput = {
|
|
1435
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedUpdateWithoutApproval_hierarchiesInput>
|
|
1436
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedCreateWithoutApproval_hierarchiesInput>
|
|
1437
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1438
|
-
}
|
|
1439
|
-
|
|
1440
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutApproval_hierarchiesInput = {
|
|
1441
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1442
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutApproval_hierarchiesInput, Prisma.BusinessEntityUncheckedUpdateWithoutApproval_hierarchiesInput>
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
export type BusinessEntityUpdateWithoutApproval_hierarchiesInput = {
|
|
1446
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1447
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1448
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1449
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1450
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1451
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1452
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1453
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1454
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1455
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1456
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1457
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1458
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1459
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1460
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1461
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1462
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1463
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1464
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1465
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1466
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1467
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1468
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1469
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1470
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1471
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1472
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1473
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
export type BusinessEntityUncheckedUpdateWithoutApproval_hierarchiesInput = {
|
|
1477
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1478
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1479
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1480
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1481
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1482
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1483
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1484
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1485
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1486
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1487
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1488
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1489
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1490
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1491
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1492
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1493
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1494
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1495
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1496
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1497
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1498
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1499
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1500
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1501
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1502
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1503
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1504
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1505
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
export type BusinessEntityCreateWithoutEventsInput = {
|
|
1509
|
-
uuid?: string | null
|
|
1510
|
-
business_code?: string | null
|
|
1511
|
-
business_name?: string | null
|
|
1512
|
-
business_email?: string | null
|
|
1513
|
-
business_country_code?: string | null
|
|
1514
|
-
business_phone?: string | null
|
|
1515
|
-
business_website?: string | null
|
|
1516
|
-
business_logo?: string | null
|
|
1517
|
-
business_description?: string | null
|
|
1518
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1519
|
-
is_active?: boolean | null
|
|
1520
|
-
created_at?: Date | string | null
|
|
1521
|
-
created_by?: number | null
|
|
1522
|
-
updated_at?: Date | string | null
|
|
1523
|
-
updated_by?: number | null
|
|
1524
|
-
is_deleted?: boolean | null
|
|
1525
|
-
deleted_at?: Date | string | null
|
|
1526
|
-
deleted_by?: number | null
|
|
1527
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1528
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1529
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1530
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1531
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1532
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1533
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1534
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1535
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1536
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export type BusinessEntityUncheckedCreateWithoutEventsInput = {
|
|
1540
|
-
id?: number
|
|
1541
|
-
uuid?: string | null
|
|
1542
|
-
business_code?: string | null
|
|
1543
|
-
business_name?: string | null
|
|
1544
|
-
business_email?: string | null
|
|
1545
|
-
business_country_code?: string | null
|
|
1546
|
-
business_phone?: string | null
|
|
1547
|
-
business_website?: string | null
|
|
1548
|
-
business_logo?: string | null
|
|
1549
|
-
business_description?: string | null
|
|
1550
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1551
|
-
is_active?: boolean | null
|
|
1552
|
-
created_at?: Date | string | null
|
|
1553
|
-
created_by?: number | null
|
|
1554
|
-
updated_at?: Date | string | null
|
|
1555
|
-
updated_by?: number | null
|
|
1556
|
-
is_deleted?: boolean | null
|
|
1557
|
-
deleted_at?: Date | string | null
|
|
1558
|
-
deleted_by?: number | null
|
|
1559
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1560
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1561
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1562
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1563
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1564
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1565
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1566
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1567
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1568
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
export type BusinessEntityCreateOrConnectWithoutEventsInput = {
|
|
1572
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1573
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEventsInput, Prisma.BusinessEntityUncheckedCreateWithoutEventsInput>
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
export type BusinessEntityUpsertWithoutEventsInput = {
|
|
1577
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutEventsInput, Prisma.BusinessEntityUncheckedUpdateWithoutEventsInput>
|
|
1578
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEventsInput, Prisma.BusinessEntityUncheckedCreateWithoutEventsInput>
|
|
1579
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutEventsInput = {
|
|
1583
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1584
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutEventsInput, Prisma.BusinessEntityUncheckedUpdateWithoutEventsInput>
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
export type BusinessEntityUpdateWithoutEventsInput = {
|
|
1588
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1589
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1590
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1591
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1592
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1593
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1594
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1595
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1596
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1597
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1598
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1599
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1600
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1601
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1602
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1603
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1604
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1605
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1606
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1607
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1608
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1609
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1610
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1611
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1612
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1613
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1614
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1615
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
export type BusinessEntityUncheckedUpdateWithoutEventsInput = {
|
|
1619
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1620
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1621
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1622
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1623
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1624
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1625
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1626
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1627
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1628
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1629
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1630
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1631
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1632
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1633
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1634
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1635
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1636
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1637
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1638
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1639
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1640
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1641
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1642
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1643
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1644
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1645
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1646
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1647
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
export type BusinessEntityCreateWithoutPurchase_ordersInput = {
|
|
1651
|
-
uuid?: string | null
|
|
1652
|
-
business_code?: string | null
|
|
1653
|
-
business_name?: string | null
|
|
1654
|
-
business_email?: string | null
|
|
1655
|
-
business_country_code?: string | null
|
|
1656
|
-
business_phone?: string | null
|
|
1657
|
-
business_website?: string | null
|
|
1658
|
-
business_logo?: string | null
|
|
1659
|
-
business_description?: string | null
|
|
1660
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1661
|
-
is_active?: boolean | null
|
|
1662
|
-
created_at?: Date | string | null
|
|
1663
|
-
created_by?: number | null
|
|
1664
|
-
updated_at?: Date | string | null
|
|
1665
|
-
updated_by?: number | null
|
|
1666
|
-
is_deleted?: boolean | null
|
|
1667
|
-
deleted_at?: Date | string | null
|
|
1668
|
-
deleted_by?: number | null
|
|
1669
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1670
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1671
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1672
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1673
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1674
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1675
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1676
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1677
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1678
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
export type BusinessEntityUncheckedCreateWithoutPurchase_ordersInput = {
|
|
1682
|
-
id?: number
|
|
1683
|
-
uuid?: string | null
|
|
1684
|
-
business_code?: string | null
|
|
1685
|
-
business_name?: string | null
|
|
1686
|
-
business_email?: string | null
|
|
1687
|
-
business_country_code?: string | null
|
|
1688
|
-
business_phone?: string | null
|
|
1689
|
-
business_website?: string | null
|
|
1690
|
-
business_logo?: string | null
|
|
1691
|
-
business_description?: string | null
|
|
1692
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1693
|
-
is_active?: boolean | null
|
|
1694
|
-
created_at?: Date | string | null
|
|
1695
|
-
created_by?: number | null
|
|
1696
|
-
updated_at?: Date | string | null
|
|
1697
|
-
updated_by?: number | null
|
|
1698
|
-
is_deleted?: boolean | null
|
|
1699
|
-
deleted_at?: Date | string | null
|
|
1700
|
-
deleted_by?: number | null
|
|
1701
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1702
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1703
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1704
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1705
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1706
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1707
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1708
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1709
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1710
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
export type BusinessEntityCreateOrConnectWithoutPurchase_ordersInput = {
|
|
1714
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1715
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_ordersInput>
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
export type BusinessEntityUpsertWithoutPurchase_ordersInput = {
|
|
1719
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_ordersInput>
|
|
1720
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutPurchase_ordersInput>
|
|
1721
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutPurchase_ordersInput = {
|
|
1725
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1726
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutPurchase_ordersInput, Prisma.BusinessEntityUncheckedUpdateWithoutPurchase_ordersInput>
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
export type BusinessEntityUpdateWithoutPurchase_ordersInput = {
|
|
1730
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1731
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1732
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1733
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1734
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1735
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1736
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1737
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1738
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1739
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1740
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1741
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1742
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1743
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1744
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1745
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1746
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1747
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1748
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1749
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1750
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1751
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1752
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1753
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
1754
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1755
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1756
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1757
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
export type BusinessEntityUncheckedUpdateWithoutPurchase_ordersInput = {
|
|
1761
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1762
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1763
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1764
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1765
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1766
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1767
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1768
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1769
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1770
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1771
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1772
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1773
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1774
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1775
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1776
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1777
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1778
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1779
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1780
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1781
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1782
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1783
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1784
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1785
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1786
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1787
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1788
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1789
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
|
-
export type BusinessEntityCreateWithoutEvent_rfi_formsInput = {
|
|
1793
|
-
uuid?: string | null
|
|
1794
|
-
business_code?: string | null
|
|
1795
|
-
business_name?: string | null
|
|
1796
|
-
business_email?: string | null
|
|
1797
|
-
business_country_code?: string | null
|
|
1798
|
-
business_phone?: string | null
|
|
1799
|
-
business_website?: string | null
|
|
1800
|
-
business_logo?: string | null
|
|
1801
|
-
business_description?: string | null
|
|
1802
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1803
|
-
is_active?: boolean | null
|
|
1804
|
-
created_at?: Date | string | null
|
|
1805
|
-
created_by?: number | null
|
|
1806
|
-
updated_at?: Date | string | null
|
|
1807
|
-
updated_by?: number | null
|
|
1808
|
-
is_deleted?: boolean | null
|
|
1809
|
-
deleted_at?: Date | string | null
|
|
1810
|
-
deleted_by?: number | null
|
|
1811
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1812
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1813
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1814
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1815
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1816
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1817
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1818
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1819
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1820
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
export type BusinessEntityUncheckedCreateWithoutEvent_rfi_formsInput = {
|
|
1824
|
-
id?: number
|
|
1825
|
-
uuid?: string | null
|
|
1826
|
-
business_code?: string | null
|
|
1827
|
-
business_name?: string | null
|
|
1828
|
-
business_email?: string | null
|
|
1829
|
-
business_country_code?: string | null
|
|
1830
|
-
business_phone?: string | null
|
|
1831
|
-
business_website?: string | null
|
|
1832
|
-
business_logo?: string | null
|
|
1833
|
-
business_description?: string | null
|
|
1834
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1835
|
-
is_active?: boolean | null
|
|
1836
|
-
created_at?: Date | string | null
|
|
1837
|
-
created_by?: number | null
|
|
1838
|
-
updated_at?: Date | string | null
|
|
1839
|
-
updated_by?: number | null
|
|
1840
|
-
is_deleted?: boolean | null
|
|
1841
|
-
deleted_at?: Date | string | null
|
|
1842
|
-
deleted_by?: number | null
|
|
1843
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1844
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1845
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1846
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1847
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1848
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1849
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1850
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1851
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1852
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1853
|
-
}
|
|
1854
|
-
|
|
1855
|
-
export type BusinessEntityCreateOrConnectWithoutEvent_rfi_formsInput = {
|
|
1856
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1857
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedCreateWithoutEvent_rfi_formsInput>
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
export type BusinessEntityUpsertWithoutEvent_rfi_formsInput = {
|
|
1861
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedUpdateWithoutEvent_rfi_formsInput>
|
|
1862
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedCreateWithoutEvent_rfi_formsInput>
|
|
1863
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutEvent_rfi_formsInput = {
|
|
1867
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
1868
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutEvent_rfi_formsInput, Prisma.BusinessEntityUncheckedUpdateWithoutEvent_rfi_formsInput>
|
|
1869
|
-
}
|
|
1870
|
-
|
|
1871
|
-
export type BusinessEntityUpdateWithoutEvent_rfi_formsInput = {
|
|
1872
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1873
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1874
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1875
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1876
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1877
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1878
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1879
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1880
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1881
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1882
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1883
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1884
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1885
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1886
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1887
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1888
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1889
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1890
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
1891
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
1892
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
1893
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
1894
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
1895
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1896
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
1897
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
1898
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
1899
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
export type BusinessEntityUncheckedUpdateWithoutEvent_rfi_formsInput = {
|
|
1903
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1904
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1905
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1906
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1907
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1908
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1909
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1910
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1911
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1912
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1913
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
1914
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1915
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1916
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1917
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1918
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1919
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1920
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1921
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1922
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1923
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1924
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1925
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1926
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1927
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1928
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1929
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1930
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1931
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
export type BusinessEntityCreateWithoutBlanket_purchase_ordersInput = {
|
|
1935
|
-
uuid?: string | null
|
|
1936
|
-
business_code?: string | null
|
|
1937
|
-
business_name?: string | null
|
|
1938
|
-
business_email?: string | null
|
|
1939
|
-
business_country_code?: string | null
|
|
1940
|
-
business_phone?: string | null
|
|
1941
|
-
business_website?: string | null
|
|
1942
|
-
business_logo?: string | null
|
|
1943
|
-
business_description?: string | null
|
|
1944
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1945
|
-
is_active?: boolean | null
|
|
1946
|
-
created_at?: Date | string | null
|
|
1947
|
-
created_by?: number | null
|
|
1948
|
-
updated_at?: Date | string | null
|
|
1949
|
-
updated_by?: number | null
|
|
1950
|
-
is_deleted?: boolean | null
|
|
1951
|
-
deleted_at?: Date | string | null
|
|
1952
|
-
deleted_by?: number | null
|
|
1953
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
1954
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
1955
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
1956
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
1957
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
1958
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
1959
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
1960
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
1961
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
1962
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
export type BusinessEntityUncheckedCreateWithoutBlanket_purchase_ordersInput = {
|
|
1966
|
-
id?: number
|
|
1967
|
-
uuid?: string | null
|
|
1968
|
-
business_code?: string | null
|
|
1969
|
-
business_name?: string | null
|
|
1970
|
-
business_email?: string | null
|
|
1971
|
-
business_country_code?: string | null
|
|
1972
|
-
business_phone?: string | null
|
|
1973
|
-
business_website?: string | null
|
|
1974
|
-
business_logo?: string | null
|
|
1975
|
-
business_description?: string | null
|
|
1976
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
1977
|
-
is_active?: boolean | null
|
|
1978
|
-
created_at?: Date | string | null
|
|
1979
|
-
created_by?: number | null
|
|
1980
|
-
updated_at?: Date | string | null
|
|
1981
|
-
updated_by?: number | null
|
|
1982
|
-
is_deleted?: boolean | null
|
|
1983
|
-
deleted_at?: Date | string | null
|
|
1984
|
-
deleted_by?: number | null
|
|
1985
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1986
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1987
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1988
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1989
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1990
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1991
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1992
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1993
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1994
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
export type BusinessEntityCreateOrConnectWithoutBlanket_purchase_ordersInput = {
|
|
1998
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
1999
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutBlanket_purchase_ordersInput>
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
export type BusinessEntityUpsertWithoutBlanket_purchase_ordersInput = {
|
|
2003
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedUpdateWithoutBlanket_purchase_ordersInput>
|
|
2004
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedCreateWithoutBlanket_purchase_ordersInput>
|
|
2005
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutBlanket_purchase_ordersInput = {
|
|
2009
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2010
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBlanket_purchase_ordersInput, Prisma.BusinessEntityUncheckedUpdateWithoutBlanket_purchase_ordersInput>
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
export type BusinessEntityUpdateWithoutBlanket_purchase_ordersInput = {
|
|
2014
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2015
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2016
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2017
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2018
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2019
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2020
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2021
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2022
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2023
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2024
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2025
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2026
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2027
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2028
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2029
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2030
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2031
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2032
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
2033
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
2034
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
2035
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
2036
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
2037
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2038
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
2039
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
2040
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
2041
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
export type BusinessEntityUncheckedUpdateWithoutBlanket_purchase_ordersInput = {
|
|
2045
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
2046
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2047
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2048
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2049
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2050
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2051
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2052
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2053
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2054
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2055
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2056
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2057
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2058
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2059
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2060
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2061
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2062
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2063
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2064
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2065
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2066
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2067
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2068
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2069
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2070
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2071
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2072
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2073
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2074
|
-
}
|
|
2075
|
-
|
|
2076
|
-
export type BusinessEntityCreateWithoutGrnsInput = {
|
|
2077
|
-
uuid?: string | null
|
|
2078
|
-
business_code?: string | null
|
|
2079
|
-
business_name?: string | null
|
|
2080
|
-
business_email?: string | null
|
|
2081
|
-
business_country_code?: string | null
|
|
2082
|
-
business_phone?: string | null
|
|
2083
|
-
business_website?: string | null
|
|
2084
|
-
business_logo?: string | null
|
|
2085
|
-
business_description?: string | null
|
|
2086
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2087
|
-
is_active?: boolean | null
|
|
2088
|
-
created_at?: Date | string | null
|
|
2089
|
-
created_by?: number | null
|
|
2090
|
-
updated_at?: Date | string | null
|
|
2091
|
-
updated_by?: number | null
|
|
2092
|
-
is_deleted?: boolean | null
|
|
2093
|
-
deleted_at?: Date | string | null
|
|
2094
|
-
deleted_by?: number | null
|
|
2095
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
2096
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
2097
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
2098
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
2099
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
2100
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2101
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
2102
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
2103
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2104
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
export type BusinessEntityUncheckedCreateWithoutGrnsInput = {
|
|
2108
|
-
id?: number
|
|
2109
|
-
uuid?: string | null
|
|
2110
|
-
business_code?: string | null
|
|
2111
|
-
business_name?: string | null
|
|
2112
|
-
business_email?: string | null
|
|
2113
|
-
business_country_code?: string | null
|
|
2114
|
-
business_phone?: string | null
|
|
2115
|
-
business_website?: string | null
|
|
2116
|
-
business_logo?: string | null
|
|
2117
|
-
business_description?: string | null
|
|
2118
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2119
|
-
is_active?: boolean | null
|
|
2120
|
-
created_at?: Date | string | null
|
|
2121
|
-
created_by?: number | null
|
|
2122
|
-
updated_at?: Date | string | null
|
|
2123
|
-
updated_by?: number | null
|
|
2124
|
-
is_deleted?: boolean | null
|
|
2125
|
-
deleted_at?: Date | string | null
|
|
2126
|
-
deleted_by?: number | null
|
|
2127
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2128
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2129
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2130
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2131
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2132
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2133
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2134
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2135
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2136
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
export type BusinessEntityCreateOrConnectWithoutGrnsInput = {
|
|
2140
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
2141
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutGrnsInput, Prisma.BusinessEntityUncheckedCreateWithoutGrnsInput>
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
export type BusinessEntityUpsertWithoutGrnsInput = {
|
|
2145
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutGrnsInput, Prisma.BusinessEntityUncheckedUpdateWithoutGrnsInput>
|
|
2146
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutGrnsInput, Prisma.BusinessEntityUncheckedCreateWithoutGrnsInput>
|
|
2147
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutGrnsInput = {
|
|
2151
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2152
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutGrnsInput, Prisma.BusinessEntityUncheckedUpdateWithoutGrnsInput>
|
|
2153
|
-
}
|
|
2154
|
-
|
|
2155
|
-
export type BusinessEntityUpdateWithoutGrnsInput = {
|
|
2156
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2157
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2158
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2159
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2160
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2161
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2162
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2163
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2164
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2165
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2166
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2167
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2168
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2169
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2170
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2171
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2172
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2173
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2174
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
2175
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
2176
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
2177
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
2178
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
2179
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2180
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
2181
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
2182
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2183
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
2184
|
-
}
|
|
2185
|
-
|
|
2186
|
-
export type BusinessEntityUncheckedUpdateWithoutGrnsInput = {
|
|
2187
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
2188
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2189
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2190
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2191
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2192
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2193
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2194
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2195
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2196
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2197
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2198
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2199
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2200
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2201
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2202
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2203
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2204
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2205
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2206
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2207
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2208
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2209
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2210
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2211
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2212
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2213
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2214
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2215
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
export type BusinessEntityCreateWithoutBusiness_entity_locationsInput = {
|
|
2219
|
-
uuid?: string | null
|
|
2220
|
-
business_code?: string | null
|
|
2221
|
-
business_name?: string | null
|
|
2222
|
-
business_email?: string | null
|
|
2223
|
-
business_country_code?: string | null
|
|
2224
|
-
business_phone?: string | null
|
|
2225
|
-
business_website?: string | null
|
|
2226
|
-
business_logo?: string | null
|
|
2227
|
-
business_description?: string | null
|
|
2228
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2229
|
-
is_active?: boolean | null
|
|
2230
|
-
created_at?: Date | string | null
|
|
2231
|
-
created_by?: number | null
|
|
2232
|
-
updated_at?: Date | string | null
|
|
2233
|
-
updated_by?: number | null
|
|
2234
|
-
is_deleted?: boolean | null
|
|
2235
|
-
deleted_at?: Date | string | null
|
|
2236
|
-
deleted_by?: number | null
|
|
2237
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
2238
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
2239
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
2240
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
2241
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2242
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
2243
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
2244
|
-
invoices?: Prisma.InvoiceCreateNestedManyWithoutBusiness_entityInput
|
|
2245
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2246
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
export type BusinessEntityUncheckedCreateWithoutBusiness_entity_locationsInput = {
|
|
2250
|
-
id?: number
|
|
2251
|
-
uuid?: string | null
|
|
2252
|
-
business_code?: string | null
|
|
2253
|
-
business_name?: string | null
|
|
2254
|
-
business_email?: string | null
|
|
2255
|
-
business_country_code?: string | null
|
|
2256
|
-
business_phone?: string | null
|
|
2257
|
-
business_website?: string | null
|
|
2258
|
-
business_logo?: string | null
|
|
2259
|
-
business_description?: string | null
|
|
2260
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2261
|
-
is_active?: boolean | null
|
|
2262
|
-
created_at?: Date | string | null
|
|
2263
|
-
created_by?: number | null
|
|
2264
|
-
updated_at?: Date | string | null
|
|
2265
|
-
updated_by?: number | null
|
|
2266
|
-
is_deleted?: boolean | null
|
|
2267
|
-
deleted_at?: Date | string | null
|
|
2268
|
-
deleted_by?: number | null
|
|
2269
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2270
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2271
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2272
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2273
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2274
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2275
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2276
|
-
invoices?: Prisma.InvoiceUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2277
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2278
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
export type BusinessEntityCreateOrConnectWithoutBusiness_entity_locationsInput = {
|
|
2282
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
2283
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_locationsInput>
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
export type BusinessEntityUpsertWithoutBusiness_entity_locationsInput = {
|
|
2287
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_locationsInput>
|
|
2288
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedCreateWithoutBusiness_entity_locationsInput>
|
|
2289
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutBusiness_entity_locationsInput = {
|
|
2293
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2294
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutBusiness_entity_locationsInput, Prisma.BusinessEntityUncheckedUpdateWithoutBusiness_entity_locationsInput>
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
export type BusinessEntityUpdateWithoutBusiness_entity_locationsInput = {
|
|
2298
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2299
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2300
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2301
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2302
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2303
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2304
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2305
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2306
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2307
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2308
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2309
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2310
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2311
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2312
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2313
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2314
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2315
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2316
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
2317
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
2318
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
2319
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
2320
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2321
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
2322
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
2323
|
-
invoices?: Prisma.InvoiceUpdateManyWithoutBusiness_entityNestedInput
|
|
2324
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2325
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
export type BusinessEntityUncheckedUpdateWithoutBusiness_entity_locationsInput = {
|
|
2329
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
2330
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2331
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2332
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2333
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2334
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2335
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2336
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2337
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2338
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2339
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2340
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2341
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2342
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2343
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2344
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2345
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2346
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2347
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2348
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2349
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2350
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2351
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2352
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2353
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2354
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2355
|
-
invoices?: Prisma.InvoiceUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2356
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2357
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
|
-
export type BusinessEntityCreateWithoutInvoicesInput = {
|
|
2361
|
-
uuid?: string | null
|
|
2362
|
-
business_code?: string | null
|
|
2363
|
-
business_name?: string | null
|
|
2364
|
-
business_email?: string | null
|
|
2365
|
-
business_country_code?: string | null
|
|
2366
|
-
business_phone?: string | null
|
|
2367
|
-
business_website?: string | null
|
|
2368
|
-
business_logo?: string | null
|
|
2369
|
-
business_description?: string | null
|
|
2370
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2371
|
-
is_active?: boolean | null
|
|
2372
|
-
created_at?: Date | string | null
|
|
2373
|
-
created_by?: number | null
|
|
2374
|
-
updated_at?: Date | string | null
|
|
2375
|
-
updated_by?: number | null
|
|
2376
|
-
is_deleted?: boolean | null
|
|
2377
|
-
deleted_at?: Date | string | null
|
|
2378
|
-
deleted_by?: number | null
|
|
2379
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentCreateNestedManyWithoutBusiness_entityInput
|
|
2380
|
-
business_entity_locations?: Prisma.BusinessEntityLocationCreateNestedManyWithoutBusiness_entityInput
|
|
2381
|
-
user_department_entities?: Prisma.UserDepartmentEntityCreateNestedManyWithoutBusiness_entityInput
|
|
2382
|
-
purchase_intakes?: Prisma.PurchaseIntakeCreateNestedManyWithoutBusiness_entityInput
|
|
2383
|
-
events?: Prisma.EventCreateNestedManyWithoutBusiness_entityInput
|
|
2384
|
-
purchase_orders?: Prisma.PurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2385
|
-
event_rfi_forms?: Prisma.EventRfiFormCreateNestedManyWithoutBusiness_entityInput
|
|
2386
|
-
grns?: Prisma.GRNCreateNestedManyWithoutBusiness_entityInput
|
|
2387
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderCreateNestedManyWithoutBusiness_entityInput
|
|
2388
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyCreateNestedManyWithoutBusiness_entityInput
|
|
2389
|
-
}
|
|
2390
|
-
|
|
2391
|
-
export type BusinessEntityUncheckedCreateWithoutInvoicesInput = {
|
|
2392
|
-
id?: number
|
|
2393
|
-
uuid?: string | null
|
|
2394
|
-
business_code?: string | null
|
|
2395
|
-
business_name?: string | null
|
|
2396
|
-
business_email?: string | null
|
|
2397
|
-
business_country_code?: string | null
|
|
2398
|
-
business_phone?: string | null
|
|
2399
|
-
business_website?: string | null
|
|
2400
|
-
business_logo?: string | null
|
|
2401
|
-
business_description?: string | null
|
|
2402
|
-
business_type?: $Enums.BusinessEntityType | null
|
|
2403
|
-
is_active?: boolean | null
|
|
2404
|
-
created_at?: Date | string | null
|
|
2405
|
-
created_by?: number | null
|
|
2406
|
-
updated_at?: Date | string | null
|
|
2407
|
-
updated_by?: number | null
|
|
2408
|
-
is_deleted?: boolean | null
|
|
2409
|
-
deleted_at?: Date | string | null
|
|
2410
|
-
deleted_by?: number | null
|
|
2411
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2412
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2413
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2414
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2415
|
-
events?: Prisma.EventUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2416
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2417
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2418
|
-
grns?: Prisma.GRNUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2419
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2420
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedCreateNestedManyWithoutBusiness_entityInput
|
|
2421
|
-
}
|
|
2422
|
-
|
|
2423
|
-
export type BusinessEntityCreateOrConnectWithoutInvoicesInput = {
|
|
2424
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
2425
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedCreateWithoutInvoicesInput>
|
|
2426
|
-
}
|
|
2427
|
-
|
|
2428
|
-
export type BusinessEntityUpsertWithoutInvoicesInput = {
|
|
2429
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedUpdateWithoutInvoicesInput>
|
|
2430
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedCreateWithoutInvoicesInput>
|
|
2431
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2432
|
-
}
|
|
2433
|
-
|
|
2434
|
-
export type BusinessEntityUpdateToOneWithWhereWithoutInvoicesInput = {
|
|
2435
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
2436
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateWithoutInvoicesInput, Prisma.BusinessEntityUncheckedUpdateWithoutInvoicesInput>
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
export type BusinessEntityUpdateWithoutInvoicesInput = {
|
|
2440
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2441
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2442
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2443
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2444
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2445
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2446
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2447
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2448
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2449
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2450
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2451
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2452
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2453
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2454
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2455
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2456
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2457
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2458
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUpdateManyWithoutBusiness_entityNestedInput
|
|
2459
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUpdateManyWithoutBusiness_entityNestedInput
|
|
2460
|
-
user_department_entities?: Prisma.UserDepartmentEntityUpdateManyWithoutBusiness_entityNestedInput
|
|
2461
|
-
purchase_intakes?: Prisma.PurchaseIntakeUpdateManyWithoutBusiness_entityNestedInput
|
|
2462
|
-
events?: Prisma.EventUpdateManyWithoutBusiness_entityNestedInput
|
|
2463
|
-
purchase_orders?: Prisma.PurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2464
|
-
event_rfi_forms?: Prisma.EventRfiFormUpdateManyWithoutBusiness_entityNestedInput
|
|
2465
|
-
grns?: Prisma.GRNUpdateManyWithoutBusiness_entityNestedInput
|
|
2466
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUpdateManyWithoutBusiness_entityNestedInput
|
|
2467
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUpdateManyWithoutBusiness_entityNestedInput
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
export type BusinessEntityUncheckedUpdateWithoutInvoicesInput = {
|
|
2471
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
2472
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2473
|
-
business_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2474
|
-
business_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2475
|
-
business_email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2476
|
-
business_country_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2477
|
-
business_phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2478
|
-
business_website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2479
|
-
business_logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2480
|
-
business_description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2481
|
-
business_type?: Prisma.NullableEnumBusinessEntityTypeFieldUpdateOperationsInput | $Enums.BusinessEntityType | null
|
|
2482
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2483
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2484
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2485
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2486
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2487
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
2488
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2489
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
2490
|
-
business_entity_departments?: Prisma.BusinessEntityDepartmentUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2491
|
-
business_entity_locations?: Prisma.BusinessEntityLocationUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2492
|
-
user_department_entities?: Prisma.UserDepartmentEntityUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2493
|
-
purchase_intakes?: Prisma.PurchaseIntakeUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2494
|
-
events?: Prisma.EventUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2495
|
-
purchase_orders?: Prisma.PurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2496
|
-
event_rfi_forms?: Prisma.EventRfiFormUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2497
|
-
grns?: Prisma.GRNUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2498
|
-
blanket_purchase_orders?: Prisma.BlanketPurchaseOrderUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2499
|
-
approval_hierarchies?: Prisma.ApprovalHierarchyUncheckedUpdateManyWithoutBusiness_entityNestedInput
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
/**
|
|
2504
|
-
* Count Type BusinessEntityCountOutputType
|
|
2505
|
-
*/
|
|
2506
|
-
|
|
2507
|
-
export type BusinessEntityCountOutputType = {
|
|
2508
|
-
business_entity_departments: number
|
|
2509
|
-
business_entity_locations: number
|
|
2510
|
-
user_department_entities: number
|
|
2511
|
-
purchase_intakes: number
|
|
2512
|
-
events: number
|
|
2513
|
-
purchase_orders: number
|
|
2514
|
-
event_rfi_forms: number
|
|
2515
|
-
grns: number
|
|
2516
|
-
invoices: number
|
|
2517
|
-
blanket_purchase_orders: number
|
|
2518
|
-
approval_hierarchies: number
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
export type BusinessEntityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2522
|
-
business_entity_departments?: boolean | BusinessEntityCountOutputTypeCountBusiness_entity_departmentsArgs
|
|
2523
|
-
business_entity_locations?: boolean | BusinessEntityCountOutputTypeCountBusiness_entity_locationsArgs
|
|
2524
|
-
user_department_entities?: boolean | BusinessEntityCountOutputTypeCountUser_department_entitiesArgs
|
|
2525
|
-
purchase_intakes?: boolean | BusinessEntityCountOutputTypeCountPurchase_intakesArgs
|
|
2526
|
-
events?: boolean | BusinessEntityCountOutputTypeCountEventsArgs
|
|
2527
|
-
purchase_orders?: boolean | BusinessEntityCountOutputTypeCountPurchase_ordersArgs
|
|
2528
|
-
event_rfi_forms?: boolean | BusinessEntityCountOutputTypeCountEvent_rfi_formsArgs
|
|
2529
|
-
grns?: boolean | BusinessEntityCountOutputTypeCountGrnsArgs
|
|
2530
|
-
invoices?: boolean | BusinessEntityCountOutputTypeCountInvoicesArgs
|
|
2531
|
-
blanket_purchase_orders?: boolean | BusinessEntityCountOutputTypeCountBlanket_purchase_ordersArgs
|
|
2532
|
-
approval_hierarchies?: boolean | BusinessEntityCountOutputTypeCountApproval_hierarchiesArgs
|
|
2533
|
-
}
|
|
2534
|
-
|
|
2535
|
-
/**
|
|
2536
|
-
* BusinessEntityCountOutputType without action
|
|
2537
|
-
*/
|
|
2538
|
-
export type BusinessEntityCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2539
|
-
/**
|
|
2540
|
-
* Select specific fields to fetch from the BusinessEntityCountOutputType
|
|
2541
|
-
*/
|
|
2542
|
-
select?: Prisma.BusinessEntityCountOutputTypeSelect<ExtArgs> | null
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
/**
|
|
2546
|
-
* BusinessEntityCountOutputType without action
|
|
2547
|
-
*/
|
|
2548
|
-
export type BusinessEntityCountOutputTypeCountBusiness_entity_departmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2549
|
-
where?: Prisma.BusinessEntityDepartmentWhereInput
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
/**
|
|
2553
|
-
* BusinessEntityCountOutputType without action
|
|
2554
|
-
*/
|
|
2555
|
-
export type BusinessEntityCountOutputTypeCountBusiness_entity_locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2556
|
-
where?: Prisma.BusinessEntityLocationWhereInput
|
|
2557
|
-
}
|
|
2558
|
-
|
|
2559
|
-
/**
|
|
2560
|
-
* BusinessEntityCountOutputType without action
|
|
2561
|
-
*/
|
|
2562
|
-
export type BusinessEntityCountOutputTypeCountUser_department_entitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2563
|
-
where?: Prisma.UserDepartmentEntityWhereInput
|
|
2564
|
-
}
|
|
2565
|
-
|
|
2566
|
-
/**
|
|
2567
|
-
* BusinessEntityCountOutputType without action
|
|
2568
|
-
*/
|
|
2569
|
-
export type BusinessEntityCountOutputTypeCountPurchase_intakesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2570
|
-
where?: Prisma.PurchaseIntakeWhereInput
|
|
2571
|
-
}
|
|
2572
|
-
|
|
2573
|
-
/**
|
|
2574
|
-
* BusinessEntityCountOutputType without action
|
|
2575
|
-
*/
|
|
2576
|
-
export type BusinessEntityCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2577
|
-
where?: Prisma.EventWhereInput
|
|
2578
|
-
}
|
|
2579
|
-
|
|
2580
|
-
/**
|
|
2581
|
-
* BusinessEntityCountOutputType without action
|
|
2582
|
-
*/
|
|
2583
|
-
export type BusinessEntityCountOutputTypeCountPurchase_ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2584
|
-
where?: Prisma.PurchaseOrderWhereInput
|
|
2585
|
-
}
|
|
2586
|
-
|
|
2587
|
-
/**
|
|
2588
|
-
* BusinessEntityCountOutputType without action
|
|
2589
|
-
*/
|
|
2590
|
-
export type BusinessEntityCountOutputTypeCountEvent_rfi_formsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2591
|
-
where?: Prisma.EventRfiFormWhereInput
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2594
|
-
/**
|
|
2595
|
-
* BusinessEntityCountOutputType without action
|
|
2596
|
-
*/
|
|
2597
|
-
export type BusinessEntityCountOutputTypeCountGrnsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2598
|
-
where?: Prisma.GRNWhereInput
|
|
2599
|
-
}
|
|
2600
|
-
|
|
2601
|
-
/**
|
|
2602
|
-
* BusinessEntityCountOutputType without action
|
|
2603
|
-
*/
|
|
2604
|
-
export type BusinessEntityCountOutputTypeCountInvoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2605
|
-
where?: Prisma.InvoiceWhereInput
|
|
2606
|
-
}
|
|
2607
|
-
|
|
2608
|
-
/**
|
|
2609
|
-
* BusinessEntityCountOutputType without action
|
|
2610
|
-
*/
|
|
2611
|
-
export type BusinessEntityCountOutputTypeCountBlanket_purchase_ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2612
|
-
where?: Prisma.BlanketPurchaseOrderWhereInput
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* BusinessEntityCountOutputType without action
|
|
2617
|
-
*/
|
|
2618
|
-
export type BusinessEntityCountOutputTypeCountApproval_hierarchiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2619
|
-
where?: Prisma.ApprovalHierarchyWhereInput
|
|
2620
|
-
}
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
export type BusinessEntitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2624
|
-
id?: boolean
|
|
2625
|
-
uuid?: boolean
|
|
2626
|
-
business_code?: boolean
|
|
2627
|
-
business_name?: boolean
|
|
2628
|
-
business_email?: boolean
|
|
2629
|
-
business_country_code?: boolean
|
|
2630
|
-
business_phone?: boolean
|
|
2631
|
-
business_website?: boolean
|
|
2632
|
-
business_logo?: boolean
|
|
2633
|
-
business_description?: boolean
|
|
2634
|
-
business_type?: boolean
|
|
2635
|
-
is_active?: boolean
|
|
2636
|
-
created_at?: boolean
|
|
2637
|
-
created_by?: boolean
|
|
2638
|
-
updated_at?: boolean
|
|
2639
|
-
updated_by?: boolean
|
|
2640
|
-
is_deleted?: boolean
|
|
2641
|
-
deleted_at?: boolean
|
|
2642
|
-
deleted_by?: boolean
|
|
2643
|
-
business_entity_departments?: boolean | Prisma.BusinessEntity$business_entity_departmentsArgs<ExtArgs>
|
|
2644
|
-
business_entity_locations?: boolean | Prisma.BusinessEntity$business_entity_locationsArgs<ExtArgs>
|
|
2645
|
-
user_department_entities?: boolean | Prisma.BusinessEntity$user_department_entitiesArgs<ExtArgs>
|
|
2646
|
-
purchase_intakes?: boolean | Prisma.BusinessEntity$purchase_intakesArgs<ExtArgs>
|
|
2647
|
-
events?: boolean | Prisma.BusinessEntity$eventsArgs<ExtArgs>
|
|
2648
|
-
purchase_orders?: boolean | Prisma.BusinessEntity$purchase_ordersArgs<ExtArgs>
|
|
2649
|
-
event_rfi_forms?: boolean | Prisma.BusinessEntity$event_rfi_formsArgs<ExtArgs>
|
|
2650
|
-
grns?: boolean | Prisma.BusinessEntity$grnsArgs<ExtArgs>
|
|
2651
|
-
invoices?: boolean | Prisma.BusinessEntity$invoicesArgs<ExtArgs>
|
|
2652
|
-
blanket_purchase_orders?: boolean | Prisma.BusinessEntity$blanket_purchase_ordersArgs<ExtArgs>
|
|
2653
|
-
approval_hierarchies?: boolean | Prisma.BusinessEntity$approval_hierarchiesArgs<ExtArgs>
|
|
2654
|
-
_count?: boolean | Prisma.BusinessEntityCountOutputTypeDefaultArgs<ExtArgs>
|
|
2655
|
-
}, ExtArgs["result"]["businessEntity"]>
|
|
2656
|
-
|
|
2657
|
-
export type BusinessEntitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2658
|
-
id?: boolean
|
|
2659
|
-
uuid?: boolean
|
|
2660
|
-
business_code?: boolean
|
|
2661
|
-
business_name?: boolean
|
|
2662
|
-
business_email?: boolean
|
|
2663
|
-
business_country_code?: boolean
|
|
2664
|
-
business_phone?: boolean
|
|
2665
|
-
business_website?: boolean
|
|
2666
|
-
business_logo?: boolean
|
|
2667
|
-
business_description?: boolean
|
|
2668
|
-
business_type?: boolean
|
|
2669
|
-
is_active?: boolean
|
|
2670
|
-
created_at?: boolean
|
|
2671
|
-
created_by?: boolean
|
|
2672
|
-
updated_at?: boolean
|
|
2673
|
-
updated_by?: boolean
|
|
2674
|
-
is_deleted?: boolean
|
|
2675
|
-
deleted_at?: boolean
|
|
2676
|
-
deleted_by?: boolean
|
|
2677
|
-
}, ExtArgs["result"]["businessEntity"]>
|
|
2678
|
-
|
|
2679
|
-
export type BusinessEntitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2680
|
-
id?: boolean
|
|
2681
|
-
uuid?: boolean
|
|
2682
|
-
business_code?: boolean
|
|
2683
|
-
business_name?: boolean
|
|
2684
|
-
business_email?: boolean
|
|
2685
|
-
business_country_code?: boolean
|
|
2686
|
-
business_phone?: boolean
|
|
2687
|
-
business_website?: boolean
|
|
2688
|
-
business_logo?: boolean
|
|
2689
|
-
business_description?: boolean
|
|
2690
|
-
business_type?: boolean
|
|
2691
|
-
is_active?: boolean
|
|
2692
|
-
created_at?: boolean
|
|
2693
|
-
created_by?: boolean
|
|
2694
|
-
updated_at?: boolean
|
|
2695
|
-
updated_by?: boolean
|
|
2696
|
-
is_deleted?: boolean
|
|
2697
|
-
deleted_at?: boolean
|
|
2698
|
-
deleted_by?: boolean
|
|
2699
|
-
}, ExtArgs["result"]["businessEntity"]>
|
|
2700
|
-
|
|
2701
|
-
export type BusinessEntitySelectScalar = {
|
|
2702
|
-
id?: boolean
|
|
2703
|
-
uuid?: boolean
|
|
2704
|
-
business_code?: boolean
|
|
2705
|
-
business_name?: boolean
|
|
2706
|
-
business_email?: boolean
|
|
2707
|
-
business_country_code?: boolean
|
|
2708
|
-
business_phone?: boolean
|
|
2709
|
-
business_website?: boolean
|
|
2710
|
-
business_logo?: boolean
|
|
2711
|
-
business_description?: boolean
|
|
2712
|
-
business_type?: boolean
|
|
2713
|
-
is_active?: boolean
|
|
2714
|
-
created_at?: boolean
|
|
2715
|
-
created_by?: boolean
|
|
2716
|
-
updated_at?: boolean
|
|
2717
|
-
updated_by?: boolean
|
|
2718
|
-
is_deleted?: boolean
|
|
2719
|
-
deleted_at?: boolean
|
|
2720
|
-
deleted_by?: boolean
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
export type BusinessEntityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "business_code" | "business_name" | "business_email" | "business_country_code" | "business_phone" | "business_website" | "business_logo" | "business_description" | "business_type" | "is_active" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_at" | "deleted_by", ExtArgs["result"]["businessEntity"]>
|
|
2724
|
-
export type BusinessEntityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2725
|
-
business_entity_departments?: boolean | Prisma.BusinessEntity$business_entity_departmentsArgs<ExtArgs>
|
|
2726
|
-
business_entity_locations?: boolean | Prisma.BusinessEntity$business_entity_locationsArgs<ExtArgs>
|
|
2727
|
-
user_department_entities?: boolean | Prisma.BusinessEntity$user_department_entitiesArgs<ExtArgs>
|
|
2728
|
-
purchase_intakes?: boolean | Prisma.BusinessEntity$purchase_intakesArgs<ExtArgs>
|
|
2729
|
-
events?: boolean | Prisma.BusinessEntity$eventsArgs<ExtArgs>
|
|
2730
|
-
purchase_orders?: boolean | Prisma.BusinessEntity$purchase_ordersArgs<ExtArgs>
|
|
2731
|
-
event_rfi_forms?: boolean | Prisma.BusinessEntity$event_rfi_formsArgs<ExtArgs>
|
|
2732
|
-
grns?: boolean | Prisma.BusinessEntity$grnsArgs<ExtArgs>
|
|
2733
|
-
invoices?: boolean | Prisma.BusinessEntity$invoicesArgs<ExtArgs>
|
|
2734
|
-
blanket_purchase_orders?: boolean | Prisma.BusinessEntity$blanket_purchase_ordersArgs<ExtArgs>
|
|
2735
|
-
approval_hierarchies?: boolean | Prisma.BusinessEntity$approval_hierarchiesArgs<ExtArgs>
|
|
2736
|
-
_count?: boolean | Prisma.BusinessEntityCountOutputTypeDefaultArgs<ExtArgs>
|
|
2737
|
-
}
|
|
2738
|
-
export type BusinessEntityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
2739
|
-
export type BusinessEntityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
2740
|
-
|
|
2741
|
-
export type $BusinessEntityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2742
|
-
name: "BusinessEntity"
|
|
2743
|
-
objects: {
|
|
2744
|
-
business_entity_departments: Prisma.$BusinessEntityDepartmentPayload<ExtArgs>[]
|
|
2745
|
-
business_entity_locations: Prisma.$BusinessEntityLocationPayload<ExtArgs>[]
|
|
2746
|
-
user_department_entities: Prisma.$UserDepartmentEntityPayload<ExtArgs>[]
|
|
2747
|
-
purchase_intakes: Prisma.$PurchaseIntakePayload<ExtArgs>[]
|
|
2748
|
-
events: Prisma.$EventPayload<ExtArgs>[]
|
|
2749
|
-
purchase_orders: Prisma.$PurchaseOrderPayload<ExtArgs>[]
|
|
2750
|
-
event_rfi_forms: Prisma.$EventRfiFormPayload<ExtArgs>[]
|
|
2751
|
-
grns: Prisma.$GRNPayload<ExtArgs>[]
|
|
2752
|
-
invoices: Prisma.$InvoicePayload<ExtArgs>[]
|
|
2753
|
-
blanket_purchase_orders: Prisma.$BlanketPurchaseOrderPayload<ExtArgs>[]
|
|
2754
|
-
approval_hierarchies: Prisma.$ApprovalHierarchyPayload<ExtArgs>[]
|
|
2755
|
-
}
|
|
2756
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2757
|
-
id: number
|
|
2758
|
-
uuid: string | null
|
|
2759
|
-
business_code: string | null
|
|
2760
|
-
business_name: string | null
|
|
2761
|
-
business_email: string | null
|
|
2762
|
-
business_country_code: string | null
|
|
2763
|
-
business_phone: string | null
|
|
2764
|
-
business_website: string | null
|
|
2765
|
-
business_logo: string | null
|
|
2766
|
-
business_description: string | null
|
|
2767
|
-
business_type: $Enums.BusinessEntityType | null
|
|
2768
|
-
is_active: boolean | null
|
|
2769
|
-
created_at: Date | null
|
|
2770
|
-
created_by: number | null
|
|
2771
|
-
updated_at: Date | null
|
|
2772
|
-
updated_by: number | null
|
|
2773
|
-
is_deleted: boolean | null
|
|
2774
|
-
deleted_at: Date | null
|
|
2775
|
-
deleted_by: number | null
|
|
2776
|
-
}, ExtArgs["result"]["businessEntity"]>
|
|
2777
|
-
composites: {}
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
export type BusinessEntityGetPayload<S extends boolean | null | undefined | BusinessEntityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload, S>
|
|
2781
|
-
|
|
2782
|
-
export type BusinessEntityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
2783
|
-
Omit<BusinessEntityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2784
|
-
select?: BusinessEntityCountAggregateInputType | true
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
export interface BusinessEntityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2788
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BusinessEntity'], meta: { name: 'BusinessEntity' } }
|
|
2789
|
-
/**
|
|
2790
|
-
* Find zero or one BusinessEntity that matches the filter.
|
|
2791
|
-
* @param {BusinessEntityFindUniqueArgs} args - Arguments to find a BusinessEntity
|
|
2792
|
-
* @example
|
|
2793
|
-
* // Get one BusinessEntity
|
|
2794
|
-
* const businessEntity = await prisma.businessEntity.findUnique({
|
|
2795
|
-
* where: {
|
|
2796
|
-
* // ... provide filter here
|
|
2797
|
-
* }
|
|
2798
|
-
* })
|
|
2799
|
-
*/
|
|
2800
|
-
findUnique<T extends BusinessEntityFindUniqueArgs>(args: Prisma.SelectSubset<T, BusinessEntityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2801
|
-
|
|
2802
|
-
/**
|
|
2803
|
-
* Find one BusinessEntity that matches the filter or throw an error with `error.code='P2025'`
|
|
2804
|
-
* if no matches were found.
|
|
2805
|
-
* @param {BusinessEntityFindUniqueOrThrowArgs} args - Arguments to find a BusinessEntity
|
|
2806
|
-
* @example
|
|
2807
|
-
* // Get one BusinessEntity
|
|
2808
|
-
* const businessEntity = await prisma.businessEntity.findUniqueOrThrow({
|
|
2809
|
-
* where: {
|
|
2810
|
-
* // ... provide filter here
|
|
2811
|
-
* }
|
|
2812
|
-
* })
|
|
2813
|
-
*/
|
|
2814
|
-
findUniqueOrThrow<T extends BusinessEntityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BusinessEntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2815
|
-
|
|
2816
|
-
/**
|
|
2817
|
-
* Find the first BusinessEntity that matches the filter.
|
|
2818
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2819
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2820
|
-
* @param {BusinessEntityFindFirstArgs} args - Arguments to find a BusinessEntity
|
|
2821
|
-
* @example
|
|
2822
|
-
* // Get one BusinessEntity
|
|
2823
|
-
* const businessEntity = await prisma.businessEntity.findFirst({
|
|
2824
|
-
* where: {
|
|
2825
|
-
* // ... provide filter here
|
|
2826
|
-
* }
|
|
2827
|
-
* })
|
|
2828
|
-
*/
|
|
2829
|
-
findFirst<T extends BusinessEntityFindFirstArgs>(args?: Prisma.SelectSubset<T, BusinessEntityFindFirstArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2830
|
-
|
|
2831
|
-
/**
|
|
2832
|
-
* Find the first BusinessEntity that matches the filter or
|
|
2833
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2834
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2835
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2836
|
-
* @param {BusinessEntityFindFirstOrThrowArgs} args - Arguments to find a BusinessEntity
|
|
2837
|
-
* @example
|
|
2838
|
-
* // Get one BusinessEntity
|
|
2839
|
-
* const businessEntity = await prisma.businessEntity.findFirstOrThrow({
|
|
2840
|
-
* where: {
|
|
2841
|
-
* // ... provide filter here
|
|
2842
|
-
* }
|
|
2843
|
-
* })
|
|
2844
|
-
*/
|
|
2845
|
-
findFirstOrThrow<T extends BusinessEntityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BusinessEntityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2846
|
-
|
|
2847
|
-
/**
|
|
2848
|
-
* Find zero or more BusinessEntities that matches the filter.
|
|
2849
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2850
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2851
|
-
* @param {BusinessEntityFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2852
|
-
* @example
|
|
2853
|
-
* // Get all BusinessEntities
|
|
2854
|
-
* const businessEntities = await prisma.businessEntity.findMany()
|
|
2855
|
-
*
|
|
2856
|
-
* // Get first 10 BusinessEntities
|
|
2857
|
-
* const businessEntities = await prisma.businessEntity.findMany({ take: 10 })
|
|
2858
|
-
*
|
|
2859
|
-
* // Only select the `id`
|
|
2860
|
-
* const businessEntityWithIdOnly = await prisma.businessEntity.findMany({ select: { id: true } })
|
|
2861
|
-
*
|
|
2862
|
-
*/
|
|
2863
|
-
findMany<T extends BusinessEntityFindManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2864
|
-
|
|
2865
|
-
/**
|
|
2866
|
-
* Create a BusinessEntity.
|
|
2867
|
-
* @param {BusinessEntityCreateArgs} args - Arguments to create a BusinessEntity.
|
|
2868
|
-
* @example
|
|
2869
|
-
* // Create one BusinessEntity
|
|
2870
|
-
* const BusinessEntity = await prisma.businessEntity.create({
|
|
2871
|
-
* data: {
|
|
2872
|
-
* // ... data to create a BusinessEntity
|
|
2873
|
-
* }
|
|
2874
|
-
* })
|
|
2875
|
-
*
|
|
2876
|
-
*/
|
|
2877
|
-
create<T extends BusinessEntityCreateArgs>(args: Prisma.SelectSubset<T, BusinessEntityCreateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2878
|
-
|
|
2879
|
-
/**
|
|
2880
|
-
* Create many BusinessEntities.
|
|
2881
|
-
* @param {BusinessEntityCreateManyArgs} args - Arguments to create many BusinessEntities.
|
|
2882
|
-
* @example
|
|
2883
|
-
* // Create many BusinessEntities
|
|
2884
|
-
* const businessEntity = await prisma.businessEntity.createMany({
|
|
2885
|
-
* data: [
|
|
2886
|
-
* // ... provide data here
|
|
2887
|
-
* ]
|
|
2888
|
-
* })
|
|
2889
|
-
*
|
|
2890
|
-
*/
|
|
2891
|
-
createMany<T extends BusinessEntityCreateManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2892
|
-
|
|
2893
|
-
/**
|
|
2894
|
-
* Create many BusinessEntities and returns the data saved in the database.
|
|
2895
|
-
* @param {BusinessEntityCreateManyAndReturnArgs} args - Arguments to create many BusinessEntities.
|
|
2896
|
-
* @example
|
|
2897
|
-
* // Create many BusinessEntities
|
|
2898
|
-
* const businessEntity = await prisma.businessEntity.createManyAndReturn({
|
|
2899
|
-
* data: [
|
|
2900
|
-
* // ... provide data here
|
|
2901
|
-
* ]
|
|
2902
|
-
* })
|
|
2903
|
-
*
|
|
2904
|
-
* // Create many BusinessEntities and only return the `id`
|
|
2905
|
-
* const businessEntityWithIdOnly = await prisma.businessEntity.createManyAndReturn({
|
|
2906
|
-
* select: { id: true },
|
|
2907
|
-
* data: [
|
|
2908
|
-
* // ... provide data here
|
|
2909
|
-
* ]
|
|
2910
|
-
* })
|
|
2911
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2912
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2913
|
-
*
|
|
2914
|
-
*/
|
|
2915
|
-
createManyAndReturn<T extends BusinessEntityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BusinessEntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2916
|
-
|
|
2917
|
-
/**
|
|
2918
|
-
* Delete a BusinessEntity.
|
|
2919
|
-
* @param {BusinessEntityDeleteArgs} args - Arguments to delete one BusinessEntity.
|
|
2920
|
-
* @example
|
|
2921
|
-
* // Delete one BusinessEntity
|
|
2922
|
-
* const BusinessEntity = await prisma.businessEntity.delete({
|
|
2923
|
-
* where: {
|
|
2924
|
-
* // ... filter to delete one BusinessEntity
|
|
2925
|
-
* }
|
|
2926
|
-
* })
|
|
2927
|
-
*
|
|
2928
|
-
*/
|
|
2929
|
-
delete<T extends BusinessEntityDeleteArgs>(args: Prisma.SelectSubset<T, BusinessEntityDeleteArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2930
|
-
|
|
2931
|
-
/**
|
|
2932
|
-
* Update one BusinessEntity.
|
|
2933
|
-
* @param {BusinessEntityUpdateArgs} args - Arguments to update one BusinessEntity.
|
|
2934
|
-
* @example
|
|
2935
|
-
* // Update one BusinessEntity
|
|
2936
|
-
* const businessEntity = await prisma.businessEntity.update({
|
|
2937
|
-
* where: {
|
|
2938
|
-
* // ... provide filter here
|
|
2939
|
-
* },
|
|
2940
|
-
* data: {
|
|
2941
|
-
* // ... provide data here
|
|
2942
|
-
* }
|
|
2943
|
-
* })
|
|
2944
|
-
*
|
|
2945
|
-
*/
|
|
2946
|
-
update<T extends BusinessEntityUpdateArgs>(args: Prisma.SelectSubset<T, BusinessEntityUpdateArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2947
|
-
|
|
2948
|
-
/**
|
|
2949
|
-
* Delete zero or more BusinessEntities.
|
|
2950
|
-
* @param {BusinessEntityDeleteManyArgs} args - Arguments to filter BusinessEntities to delete.
|
|
2951
|
-
* @example
|
|
2952
|
-
* // Delete a few BusinessEntities
|
|
2953
|
-
* const { count } = await prisma.businessEntity.deleteMany({
|
|
2954
|
-
* where: {
|
|
2955
|
-
* // ... provide filter here
|
|
2956
|
-
* }
|
|
2957
|
-
* })
|
|
2958
|
-
*
|
|
2959
|
-
*/
|
|
2960
|
-
deleteMany<T extends BusinessEntityDeleteManyArgs>(args?: Prisma.SelectSubset<T, BusinessEntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* Update zero or more BusinessEntities.
|
|
2964
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2965
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2966
|
-
* @param {BusinessEntityUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2967
|
-
* @example
|
|
2968
|
-
* // Update many BusinessEntities
|
|
2969
|
-
* const businessEntity = await prisma.businessEntity.updateMany({
|
|
2970
|
-
* where: {
|
|
2971
|
-
* // ... provide filter here
|
|
2972
|
-
* },
|
|
2973
|
-
* data: {
|
|
2974
|
-
* // ... provide data here
|
|
2975
|
-
* }
|
|
2976
|
-
* })
|
|
2977
|
-
*
|
|
2978
|
-
*/
|
|
2979
|
-
updateMany<T extends BusinessEntityUpdateManyArgs>(args: Prisma.SelectSubset<T, BusinessEntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2980
|
-
|
|
2981
|
-
/**
|
|
2982
|
-
* Update zero or more BusinessEntities and returns the data updated in the database.
|
|
2983
|
-
* @param {BusinessEntityUpdateManyAndReturnArgs} args - Arguments to update many BusinessEntities.
|
|
2984
|
-
* @example
|
|
2985
|
-
* // Update many BusinessEntities
|
|
2986
|
-
* const businessEntity = await prisma.businessEntity.updateManyAndReturn({
|
|
2987
|
-
* where: {
|
|
2988
|
-
* // ... provide filter here
|
|
2989
|
-
* },
|
|
2990
|
-
* data: [
|
|
2991
|
-
* // ... provide data here
|
|
2992
|
-
* ]
|
|
2993
|
-
* })
|
|
2994
|
-
*
|
|
2995
|
-
* // Update zero or more BusinessEntities and only return the `id`
|
|
2996
|
-
* const businessEntityWithIdOnly = await prisma.businessEntity.updateManyAndReturn({
|
|
2997
|
-
* select: { id: true },
|
|
2998
|
-
* where: {
|
|
2999
|
-
* // ... provide filter here
|
|
3000
|
-
* },
|
|
3001
|
-
* data: [
|
|
3002
|
-
* // ... provide data here
|
|
3003
|
-
* ]
|
|
3004
|
-
* })
|
|
3005
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
3006
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
3007
|
-
*
|
|
3008
|
-
*/
|
|
3009
|
-
updateManyAndReturn<T extends BusinessEntityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BusinessEntityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
3010
|
-
|
|
3011
|
-
/**
|
|
3012
|
-
* Create or update one BusinessEntity.
|
|
3013
|
-
* @param {BusinessEntityUpsertArgs} args - Arguments to update or create a BusinessEntity.
|
|
3014
|
-
* @example
|
|
3015
|
-
* // Update or create a BusinessEntity
|
|
3016
|
-
* const businessEntity = await prisma.businessEntity.upsert({
|
|
3017
|
-
* create: {
|
|
3018
|
-
* // ... data to create a BusinessEntity
|
|
3019
|
-
* },
|
|
3020
|
-
* update: {
|
|
3021
|
-
* // ... in case it already exists, update
|
|
3022
|
-
* },
|
|
3023
|
-
* where: {
|
|
3024
|
-
* // ... the filter for the BusinessEntity we want to update
|
|
3025
|
-
* }
|
|
3026
|
-
* })
|
|
3027
|
-
*/
|
|
3028
|
-
upsert<T extends BusinessEntityUpsertArgs>(args: Prisma.SelectSubset<T, BusinessEntityUpsertArgs<ExtArgs>>): Prisma.Prisma__BusinessEntityClient<runtime.Types.Result.GetResult<Prisma.$BusinessEntityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
/**
|
|
3032
|
-
* Count the number of BusinessEntities.
|
|
3033
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
3034
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
3035
|
-
* @param {BusinessEntityCountArgs} args - Arguments to filter BusinessEntities to count.
|
|
3036
|
-
* @example
|
|
3037
|
-
* // Count the number of BusinessEntities
|
|
3038
|
-
* const count = await prisma.businessEntity.count({
|
|
3039
|
-
* where: {
|
|
3040
|
-
* // ... the filter for the BusinessEntities we want to count
|
|
3041
|
-
* }
|
|
3042
|
-
* })
|
|
3043
|
-
**/
|
|
3044
|
-
count<T extends BusinessEntityCountArgs>(
|
|
3045
|
-
args?: Prisma.Subset<T, BusinessEntityCountArgs>,
|
|
3046
|
-
): Prisma.PrismaPromise<
|
|
3047
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
3048
|
-
? T['select'] extends true
|
|
3049
|
-
? number
|
|
3050
|
-
: Prisma.GetScalarType<T['select'], BusinessEntityCountAggregateOutputType>
|
|
3051
|
-
: number
|
|
3052
|
-
>
|
|
3053
|
-
|
|
3054
|
-
/**
|
|
3055
|
-
* Allows you to perform aggregations operations on a BusinessEntity.
|
|
3056
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
3057
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
3058
|
-
* @param {BusinessEntityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
3059
|
-
* @example
|
|
3060
|
-
* // Ordered by age ascending
|
|
3061
|
-
* // Where email contains prisma.io
|
|
3062
|
-
* // Limited to the 10 users
|
|
3063
|
-
* const aggregations = await prisma.user.aggregate({
|
|
3064
|
-
* _avg: {
|
|
3065
|
-
* age: true,
|
|
3066
|
-
* },
|
|
3067
|
-
* where: {
|
|
3068
|
-
* email: {
|
|
3069
|
-
* contains: "prisma.io",
|
|
3070
|
-
* },
|
|
3071
|
-
* },
|
|
3072
|
-
* orderBy: {
|
|
3073
|
-
* age: "asc",
|
|
3074
|
-
* },
|
|
3075
|
-
* take: 10,
|
|
3076
|
-
* })
|
|
3077
|
-
**/
|
|
3078
|
-
aggregate<T extends BusinessEntityAggregateArgs>(args: Prisma.Subset<T, BusinessEntityAggregateArgs>): Prisma.PrismaPromise<GetBusinessEntityAggregateType<T>>
|
|
3079
|
-
|
|
3080
|
-
/**
|
|
3081
|
-
* Group by BusinessEntity.
|
|
3082
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
3083
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
3084
|
-
* @param {BusinessEntityGroupByArgs} args - Group by arguments.
|
|
3085
|
-
* @example
|
|
3086
|
-
* // Group by city, order by createdAt, get count
|
|
3087
|
-
* const result = await prisma.user.groupBy({
|
|
3088
|
-
* by: ['city', 'createdAt'],
|
|
3089
|
-
* orderBy: {
|
|
3090
|
-
* createdAt: true
|
|
3091
|
-
* },
|
|
3092
|
-
* _count: {
|
|
3093
|
-
* _all: true
|
|
3094
|
-
* },
|
|
3095
|
-
* })
|
|
3096
|
-
*
|
|
3097
|
-
**/
|
|
3098
|
-
groupBy<
|
|
3099
|
-
T extends BusinessEntityGroupByArgs,
|
|
3100
|
-
HasSelectOrTake extends Prisma.Or<
|
|
3101
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
3102
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
3103
|
-
>,
|
|
3104
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
3105
|
-
? { orderBy: BusinessEntityGroupByArgs['orderBy'] }
|
|
3106
|
-
: { orderBy?: BusinessEntityGroupByArgs['orderBy'] },
|
|
3107
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
3108
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
3109
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
3110
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
3111
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
3112
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
3113
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
3114
|
-
? `Error: "by" must not be empty.`
|
|
3115
|
-
: HavingValid extends Prisma.False
|
|
3116
|
-
? {
|
|
3117
|
-
[P in HavingFields]: P extends ByFields
|
|
3118
|
-
? never
|
|
3119
|
-
: P extends string
|
|
3120
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
3121
|
-
: [
|
|
3122
|
-
Error,
|
|
3123
|
-
'Field ',
|
|
3124
|
-
P,
|
|
3125
|
-
` in "having" needs to be provided in "by"`,
|
|
3126
|
-
]
|
|
3127
|
-
}[HavingFields]
|
|
3128
|
-
: 'take' extends Prisma.Keys<T>
|
|
3129
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
3130
|
-
? ByValid extends Prisma.True
|
|
3131
|
-
? {}
|
|
3132
|
-
: {
|
|
3133
|
-
[P in OrderFields]: P extends ByFields
|
|
3134
|
-
? never
|
|
3135
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
3136
|
-
}[OrderFields]
|
|
3137
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
3138
|
-
: 'skip' extends Prisma.Keys<T>
|
|
3139
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
3140
|
-
? ByValid extends Prisma.True
|
|
3141
|
-
? {}
|
|
3142
|
-
: {
|
|
3143
|
-
[P in OrderFields]: P extends ByFields
|
|
3144
|
-
? never
|
|
3145
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
3146
|
-
}[OrderFields]
|
|
3147
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
3148
|
-
: ByValid extends Prisma.True
|
|
3149
|
-
? {}
|
|
3150
|
-
: {
|
|
3151
|
-
[P in OrderFields]: P extends ByFields
|
|
3152
|
-
? never
|
|
3153
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
3154
|
-
}[OrderFields]
|
|
3155
|
-
>(args: Prisma.SubsetIntersection<T, BusinessEntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBusinessEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
3156
|
-
/**
|
|
3157
|
-
* Fields of the BusinessEntity model
|
|
3158
|
-
*/
|
|
3159
|
-
readonly fields: BusinessEntityFieldRefs;
|
|
3160
|
-
}
|
|
3161
|
-
|
|
3162
|
-
/**
|
|
3163
|
-
* The delegate class that acts as a "Promise-like" for BusinessEntity.
|
|
3164
|
-
* Why is this prefixed with `Prisma__`?
|
|
3165
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
3166
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
3167
|
-
*/
|
|
3168
|
-
export interface Prisma__BusinessEntityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
3169
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
3170
|
-
business_entity_departments<T extends Prisma.BusinessEntity$business_entity_departmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$business_entity_departmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityDepartmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3171
|
-
business_entity_locations<T extends Prisma.BusinessEntity$business_entity_locationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$business_entity_locationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessEntityLocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3172
|
-
user_department_entities<T extends Prisma.BusinessEntity$user_department_entitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$user_department_entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserDepartmentEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3173
|
-
purchase_intakes<T extends Prisma.BusinessEntity$purchase_intakesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$purchase_intakesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseIntakePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3174
|
-
events<T extends Prisma.BusinessEntity$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3175
|
-
purchase_orders<T extends Prisma.BusinessEntity$purchase_ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$purchase_ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseOrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3176
|
-
event_rfi_forms<T extends Prisma.BusinessEntity$event_rfi_formsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$event_rfi_formsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventRfiFormPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3177
|
-
grns<T extends Prisma.BusinessEntity$grnsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$grnsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GRNPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3178
|
-
invoices<T extends Prisma.BusinessEntity$invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$invoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvoicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3179
|
-
blanket_purchase_orders<T extends Prisma.BusinessEntity$blanket_purchase_ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$blanket_purchase_ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlanketPurchaseOrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3180
|
-
approval_hierarchies<T extends Prisma.BusinessEntity$approval_hierarchiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessEntity$approval_hierarchiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalHierarchyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
3181
|
-
/**
|
|
3182
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3183
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
3184
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3185
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
3186
|
-
*/
|
|
3187
|
-
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>
|
|
3188
|
-
/**
|
|
3189
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
3190
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
3191
|
-
* @returns A Promise for the completion of the callback.
|
|
3192
|
-
*/
|
|
3193
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
3194
|
-
/**
|
|
3195
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
3196
|
-
* resolved value cannot be modified from the callback.
|
|
3197
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
3198
|
-
* @returns A Promise for the completion of the callback.
|
|
3199
|
-
*/
|
|
3200
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
3201
|
-
}
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
/**
|
|
3207
|
-
* Fields of the BusinessEntity model
|
|
3208
|
-
*/
|
|
3209
|
-
export interface BusinessEntityFieldRefs {
|
|
3210
|
-
readonly id: Prisma.FieldRef<"BusinessEntity", 'Int'>
|
|
3211
|
-
readonly uuid: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3212
|
-
readonly business_code: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3213
|
-
readonly business_name: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3214
|
-
readonly business_email: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3215
|
-
readonly business_country_code: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3216
|
-
readonly business_phone: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3217
|
-
readonly business_website: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3218
|
-
readonly business_logo: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3219
|
-
readonly business_description: Prisma.FieldRef<"BusinessEntity", 'String'>
|
|
3220
|
-
readonly business_type: Prisma.FieldRef<"BusinessEntity", 'BusinessEntityType'>
|
|
3221
|
-
readonly is_active: Prisma.FieldRef<"BusinessEntity", 'Boolean'>
|
|
3222
|
-
readonly created_at: Prisma.FieldRef<"BusinessEntity", 'DateTime'>
|
|
3223
|
-
readonly created_by: Prisma.FieldRef<"BusinessEntity", 'Int'>
|
|
3224
|
-
readonly updated_at: Prisma.FieldRef<"BusinessEntity", 'DateTime'>
|
|
3225
|
-
readonly updated_by: Prisma.FieldRef<"BusinessEntity", 'Int'>
|
|
3226
|
-
readonly is_deleted: Prisma.FieldRef<"BusinessEntity", 'Boolean'>
|
|
3227
|
-
readonly deleted_at: Prisma.FieldRef<"BusinessEntity", 'DateTime'>
|
|
3228
|
-
readonly deleted_by: Prisma.FieldRef<"BusinessEntity", 'Int'>
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
// Custom InputTypes
|
|
3233
|
-
/**
|
|
3234
|
-
* BusinessEntity findUnique
|
|
3235
|
-
*/
|
|
3236
|
-
export type BusinessEntityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3237
|
-
/**
|
|
3238
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3239
|
-
*/
|
|
3240
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3241
|
-
/**
|
|
3242
|
-
* Omit specific fields from the BusinessEntity
|
|
3243
|
-
*/
|
|
3244
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3245
|
-
/**
|
|
3246
|
-
* Choose, which related nodes to fetch as well
|
|
3247
|
-
*/
|
|
3248
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3249
|
-
/**
|
|
3250
|
-
* Filter, which BusinessEntity to fetch.
|
|
3251
|
-
*/
|
|
3252
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
|
-
/**
|
|
3256
|
-
* BusinessEntity findUniqueOrThrow
|
|
3257
|
-
*/
|
|
3258
|
-
export type BusinessEntityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3259
|
-
/**
|
|
3260
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3261
|
-
*/
|
|
3262
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3263
|
-
/**
|
|
3264
|
-
* Omit specific fields from the BusinessEntity
|
|
3265
|
-
*/
|
|
3266
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3267
|
-
/**
|
|
3268
|
-
* Choose, which related nodes to fetch as well
|
|
3269
|
-
*/
|
|
3270
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3271
|
-
/**
|
|
3272
|
-
* Filter, which BusinessEntity to fetch.
|
|
3273
|
-
*/
|
|
3274
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
|
-
/**
|
|
3278
|
-
* BusinessEntity findFirst
|
|
3279
|
-
*/
|
|
3280
|
-
export type BusinessEntityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3281
|
-
/**
|
|
3282
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3283
|
-
*/
|
|
3284
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3285
|
-
/**
|
|
3286
|
-
* Omit specific fields from the BusinessEntity
|
|
3287
|
-
*/
|
|
3288
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3289
|
-
/**
|
|
3290
|
-
* Choose, which related nodes to fetch as well
|
|
3291
|
-
*/
|
|
3292
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3293
|
-
/**
|
|
3294
|
-
* Filter, which BusinessEntity to fetch.
|
|
3295
|
-
*/
|
|
3296
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3297
|
-
/**
|
|
3298
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3299
|
-
*
|
|
3300
|
-
* Determine the order of BusinessEntities to fetch.
|
|
3301
|
-
*/
|
|
3302
|
-
orderBy?: Prisma.BusinessEntityOrderByWithRelationInput | Prisma.BusinessEntityOrderByWithRelationInput[]
|
|
3303
|
-
/**
|
|
3304
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3305
|
-
*
|
|
3306
|
-
* Sets the position for searching for BusinessEntities.
|
|
3307
|
-
*/
|
|
3308
|
-
cursor?: Prisma.BusinessEntityWhereUniqueInput
|
|
3309
|
-
/**
|
|
3310
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3311
|
-
*
|
|
3312
|
-
* Take `±n` BusinessEntities from the position of the cursor.
|
|
3313
|
-
*/
|
|
3314
|
-
take?: number
|
|
3315
|
-
/**
|
|
3316
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3317
|
-
*
|
|
3318
|
-
* Skip the first `n` BusinessEntities.
|
|
3319
|
-
*/
|
|
3320
|
-
skip?: number
|
|
3321
|
-
/**
|
|
3322
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3323
|
-
*
|
|
3324
|
-
* Filter by unique combinations of BusinessEntities.
|
|
3325
|
-
*/
|
|
3326
|
-
distinct?: Prisma.BusinessEntityScalarFieldEnum | Prisma.BusinessEntityScalarFieldEnum[]
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
/**
|
|
3330
|
-
* BusinessEntity findFirstOrThrow
|
|
3331
|
-
*/
|
|
3332
|
-
export type BusinessEntityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3333
|
-
/**
|
|
3334
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3335
|
-
*/
|
|
3336
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3337
|
-
/**
|
|
3338
|
-
* Omit specific fields from the BusinessEntity
|
|
3339
|
-
*/
|
|
3340
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3341
|
-
/**
|
|
3342
|
-
* Choose, which related nodes to fetch as well
|
|
3343
|
-
*/
|
|
3344
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3345
|
-
/**
|
|
3346
|
-
* Filter, which BusinessEntity to fetch.
|
|
3347
|
-
*/
|
|
3348
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3349
|
-
/**
|
|
3350
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3351
|
-
*
|
|
3352
|
-
* Determine the order of BusinessEntities to fetch.
|
|
3353
|
-
*/
|
|
3354
|
-
orderBy?: Prisma.BusinessEntityOrderByWithRelationInput | Prisma.BusinessEntityOrderByWithRelationInput[]
|
|
3355
|
-
/**
|
|
3356
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3357
|
-
*
|
|
3358
|
-
* Sets the position for searching for BusinessEntities.
|
|
3359
|
-
*/
|
|
3360
|
-
cursor?: Prisma.BusinessEntityWhereUniqueInput
|
|
3361
|
-
/**
|
|
3362
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3363
|
-
*
|
|
3364
|
-
* Take `±n` BusinessEntities from the position of the cursor.
|
|
3365
|
-
*/
|
|
3366
|
-
take?: number
|
|
3367
|
-
/**
|
|
3368
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3369
|
-
*
|
|
3370
|
-
* Skip the first `n` BusinessEntities.
|
|
3371
|
-
*/
|
|
3372
|
-
skip?: number
|
|
3373
|
-
/**
|
|
3374
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3375
|
-
*
|
|
3376
|
-
* Filter by unique combinations of BusinessEntities.
|
|
3377
|
-
*/
|
|
3378
|
-
distinct?: Prisma.BusinessEntityScalarFieldEnum | Prisma.BusinessEntityScalarFieldEnum[]
|
|
3379
|
-
}
|
|
3380
|
-
|
|
3381
|
-
/**
|
|
3382
|
-
* BusinessEntity findMany
|
|
3383
|
-
*/
|
|
3384
|
-
export type BusinessEntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3385
|
-
/**
|
|
3386
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3387
|
-
*/
|
|
3388
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3389
|
-
/**
|
|
3390
|
-
* Omit specific fields from the BusinessEntity
|
|
3391
|
-
*/
|
|
3392
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3393
|
-
/**
|
|
3394
|
-
* Choose, which related nodes to fetch as well
|
|
3395
|
-
*/
|
|
3396
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3397
|
-
/**
|
|
3398
|
-
* Filter, which BusinessEntities to fetch.
|
|
3399
|
-
*/
|
|
3400
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3401
|
-
/**
|
|
3402
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3403
|
-
*
|
|
3404
|
-
* Determine the order of BusinessEntities to fetch.
|
|
3405
|
-
*/
|
|
3406
|
-
orderBy?: Prisma.BusinessEntityOrderByWithRelationInput | Prisma.BusinessEntityOrderByWithRelationInput[]
|
|
3407
|
-
/**
|
|
3408
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3409
|
-
*
|
|
3410
|
-
* Sets the position for listing BusinessEntities.
|
|
3411
|
-
*/
|
|
3412
|
-
cursor?: Prisma.BusinessEntityWhereUniqueInput
|
|
3413
|
-
/**
|
|
3414
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3415
|
-
*
|
|
3416
|
-
* Take `±n` BusinessEntities from the position of the cursor.
|
|
3417
|
-
*/
|
|
3418
|
-
take?: number
|
|
3419
|
-
/**
|
|
3420
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3421
|
-
*
|
|
3422
|
-
* Skip the first `n` BusinessEntities.
|
|
3423
|
-
*/
|
|
3424
|
-
skip?: number
|
|
3425
|
-
/**
|
|
3426
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3427
|
-
*
|
|
3428
|
-
* Filter by unique combinations of BusinessEntities.
|
|
3429
|
-
*/
|
|
3430
|
-
distinct?: Prisma.BusinessEntityScalarFieldEnum | Prisma.BusinessEntityScalarFieldEnum[]
|
|
3431
|
-
}
|
|
3432
|
-
|
|
3433
|
-
/**
|
|
3434
|
-
* BusinessEntity create
|
|
3435
|
-
*/
|
|
3436
|
-
export type BusinessEntityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3437
|
-
/**
|
|
3438
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3439
|
-
*/
|
|
3440
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3441
|
-
/**
|
|
3442
|
-
* Omit specific fields from the BusinessEntity
|
|
3443
|
-
*/
|
|
3444
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3445
|
-
/**
|
|
3446
|
-
* Choose, which related nodes to fetch as well
|
|
3447
|
-
*/
|
|
3448
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3449
|
-
/**
|
|
3450
|
-
* The data needed to create a BusinessEntity.
|
|
3451
|
-
*/
|
|
3452
|
-
data?: Prisma.XOR<Prisma.BusinessEntityCreateInput, Prisma.BusinessEntityUncheckedCreateInput>
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
/**
|
|
3456
|
-
* BusinessEntity createMany
|
|
3457
|
-
*/
|
|
3458
|
-
export type BusinessEntityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3459
|
-
/**
|
|
3460
|
-
* The data used to create many BusinessEntities.
|
|
3461
|
-
*/
|
|
3462
|
-
data: Prisma.BusinessEntityCreateManyInput | Prisma.BusinessEntityCreateManyInput[]
|
|
3463
|
-
skipDuplicates?: boolean
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
|
-
/**
|
|
3467
|
-
* BusinessEntity createManyAndReturn
|
|
3468
|
-
*/
|
|
3469
|
-
export type BusinessEntityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3470
|
-
/**
|
|
3471
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3472
|
-
*/
|
|
3473
|
-
select?: Prisma.BusinessEntitySelectCreateManyAndReturn<ExtArgs> | null
|
|
3474
|
-
/**
|
|
3475
|
-
* Omit specific fields from the BusinessEntity
|
|
3476
|
-
*/
|
|
3477
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3478
|
-
/**
|
|
3479
|
-
* The data used to create many BusinessEntities.
|
|
3480
|
-
*/
|
|
3481
|
-
data: Prisma.BusinessEntityCreateManyInput | Prisma.BusinessEntityCreateManyInput[]
|
|
3482
|
-
skipDuplicates?: boolean
|
|
3483
|
-
}
|
|
3484
|
-
|
|
3485
|
-
/**
|
|
3486
|
-
* BusinessEntity update
|
|
3487
|
-
*/
|
|
3488
|
-
export type BusinessEntityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3489
|
-
/**
|
|
3490
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3491
|
-
*/
|
|
3492
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3493
|
-
/**
|
|
3494
|
-
* Omit specific fields from the BusinessEntity
|
|
3495
|
-
*/
|
|
3496
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3497
|
-
/**
|
|
3498
|
-
* Choose, which related nodes to fetch as well
|
|
3499
|
-
*/
|
|
3500
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3501
|
-
/**
|
|
3502
|
-
* The data needed to update a BusinessEntity.
|
|
3503
|
-
*/
|
|
3504
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateInput, Prisma.BusinessEntityUncheckedUpdateInput>
|
|
3505
|
-
/**
|
|
3506
|
-
* Choose, which BusinessEntity to update.
|
|
3507
|
-
*/
|
|
3508
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
3509
|
-
}
|
|
3510
|
-
|
|
3511
|
-
/**
|
|
3512
|
-
* BusinessEntity updateMany
|
|
3513
|
-
*/
|
|
3514
|
-
export type BusinessEntityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3515
|
-
/**
|
|
3516
|
-
* The data used to update BusinessEntities.
|
|
3517
|
-
*/
|
|
3518
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateManyMutationInput, Prisma.BusinessEntityUncheckedUpdateManyInput>
|
|
3519
|
-
/**
|
|
3520
|
-
* Filter which BusinessEntities to update
|
|
3521
|
-
*/
|
|
3522
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3523
|
-
/**
|
|
3524
|
-
* Limit how many BusinessEntities to update.
|
|
3525
|
-
*/
|
|
3526
|
-
limit?: number
|
|
3527
|
-
}
|
|
3528
|
-
|
|
3529
|
-
/**
|
|
3530
|
-
* BusinessEntity updateManyAndReturn
|
|
3531
|
-
*/
|
|
3532
|
-
export type BusinessEntityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3533
|
-
/**
|
|
3534
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3535
|
-
*/
|
|
3536
|
-
select?: Prisma.BusinessEntitySelectUpdateManyAndReturn<ExtArgs> | null
|
|
3537
|
-
/**
|
|
3538
|
-
* Omit specific fields from the BusinessEntity
|
|
3539
|
-
*/
|
|
3540
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3541
|
-
/**
|
|
3542
|
-
* The data used to update BusinessEntities.
|
|
3543
|
-
*/
|
|
3544
|
-
data: Prisma.XOR<Prisma.BusinessEntityUpdateManyMutationInput, Prisma.BusinessEntityUncheckedUpdateManyInput>
|
|
3545
|
-
/**
|
|
3546
|
-
* Filter which BusinessEntities to update
|
|
3547
|
-
*/
|
|
3548
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3549
|
-
/**
|
|
3550
|
-
* Limit how many BusinessEntities to update.
|
|
3551
|
-
*/
|
|
3552
|
-
limit?: number
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
/**
|
|
3556
|
-
* BusinessEntity upsert
|
|
3557
|
-
*/
|
|
3558
|
-
export type BusinessEntityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3559
|
-
/**
|
|
3560
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3561
|
-
*/
|
|
3562
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3563
|
-
/**
|
|
3564
|
-
* Omit specific fields from the BusinessEntity
|
|
3565
|
-
*/
|
|
3566
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3567
|
-
/**
|
|
3568
|
-
* Choose, which related nodes to fetch as well
|
|
3569
|
-
*/
|
|
3570
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3571
|
-
/**
|
|
3572
|
-
* The filter to search for the BusinessEntity to update in case it exists.
|
|
3573
|
-
*/
|
|
3574
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
3575
|
-
/**
|
|
3576
|
-
* In case the BusinessEntity found by the `where` argument doesn't exist, create a new BusinessEntity with this data.
|
|
3577
|
-
*/
|
|
3578
|
-
create: Prisma.XOR<Prisma.BusinessEntityCreateInput, Prisma.BusinessEntityUncheckedCreateInput>
|
|
3579
|
-
/**
|
|
3580
|
-
* In case the BusinessEntity was found with the provided `where` argument, update it with this data.
|
|
3581
|
-
*/
|
|
3582
|
-
update: Prisma.XOR<Prisma.BusinessEntityUpdateInput, Prisma.BusinessEntityUncheckedUpdateInput>
|
|
3583
|
-
}
|
|
3584
|
-
|
|
3585
|
-
/**
|
|
3586
|
-
* BusinessEntity delete
|
|
3587
|
-
*/
|
|
3588
|
-
export type BusinessEntityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3589
|
-
/**
|
|
3590
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3591
|
-
*/
|
|
3592
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3593
|
-
/**
|
|
3594
|
-
* Omit specific fields from the BusinessEntity
|
|
3595
|
-
*/
|
|
3596
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3597
|
-
/**
|
|
3598
|
-
* Choose, which related nodes to fetch as well
|
|
3599
|
-
*/
|
|
3600
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3601
|
-
/**
|
|
3602
|
-
* Filter which BusinessEntity to delete.
|
|
3603
|
-
*/
|
|
3604
|
-
where: Prisma.BusinessEntityWhereUniqueInput
|
|
3605
|
-
}
|
|
3606
|
-
|
|
3607
|
-
/**
|
|
3608
|
-
* BusinessEntity deleteMany
|
|
3609
|
-
*/
|
|
3610
|
-
export type BusinessEntityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3611
|
-
/**
|
|
3612
|
-
* Filter which BusinessEntities to delete
|
|
3613
|
-
*/
|
|
3614
|
-
where?: Prisma.BusinessEntityWhereInput
|
|
3615
|
-
/**
|
|
3616
|
-
* Limit how many BusinessEntities to delete.
|
|
3617
|
-
*/
|
|
3618
|
-
limit?: number
|
|
3619
|
-
}
|
|
3620
|
-
|
|
3621
|
-
/**
|
|
3622
|
-
* BusinessEntity.business_entity_departments
|
|
3623
|
-
*/
|
|
3624
|
-
export type BusinessEntity$business_entity_departmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3625
|
-
/**
|
|
3626
|
-
* Select specific fields to fetch from the BusinessEntityDepartment
|
|
3627
|
-
*/
|
|
3628
|
-
select?: Prisma.BusinessEntityDepartmentSelect<ExtArgs> | null
|
|
3629
|
-
/**
|
|
3630
|
-
* Omit specific fields from the BusinessEntityDepartment
|
|
3631
|
-
*/
|
|
3632
|
-
omit?: Prisma.BusinessEntityDepartmentOmit<ExtArgs> | null
|
|
3633
|
-
/**
|
|
3634
|
-
* Choose, which related nodes to fetch as well
|
|
3635
|
-
*/
|
|
3636
|
-
include?: Prisma.BusinessEntityDepartmentInclude<ExtArgs> | null
|
|
3637
|
-
where?: Prisma.BusinessEntityDepartmentWhereInput
|
|
3638
|
-
orderBy?: Prisma.BusinessEntityDepartmentOrderByWithRelationInput | Prisma.BusinessEntityDepartmentOrderByWithRelationInput[]
|
|
3639
|
-
cursor?: Prisma.BusinessEntityDepartmentWhereUniqueInput
|
|
3640
|
-
take?: number
|
|
3641
|
-
skip?: number
|
|
3642
|
-
distinct?: Prisma.BusinessEntityDepartmentScalarFieldEnum | Prisma.BusinessEntityDepartmentScalarFieldEnum[]
|
|
3643
|
-
}
|
|
3644
|
-
|
|
3645
|
-
/**
|
|
3646
|
-
* BusinessEntity.business_entity_locations
|
|
3647
|
-
*/
|
|
3648
|
-
export type BusinessEntity$business_entity_locationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3649
|
-
/**
|
|
3650
|
-
* Select specific fields to fetch from the BusinessEntityLocation
|
|
3651
|
-
*/
|
|
3652
|
-
select?: Prisma.BusinessEntityLocationSelect<ExtArgs> | null
|
|
3653
|
-
/**
|
|
3654
|
-
* Omit specific fields from the BusinessEntityLocation
|
|
3655
|
-
*/
|
|
3656
|
-
omit?: Prisma.BusinessEntityLocationOmit<ExtArgs> | null
|
|
3657
|
-
/**
|
|
3658
|
-
* Choose, which related nodes to fetch as well
|
|
3659
|
-
*/
|
|
3660
|
-
include?: Prisma.BusinessEntityLocationInclude<ExtArgs> | null
|
|
3661
|
-
where?: Prisma.BusinessEntityLocationWhereInput
|
|
3662
|
-
orderBy?: Prisma.BusinessEntityLocationOrderByWithRelationInput | Prisma.BusinessEntityLocationOrderByWithRelationInput[]
|
|
3663
|
-
cursor?: Prisma.BusinessEntityLocationWhereUniqueInput
|
|
3664
|
-
take?: number
|
|
3665
|
-
skip?: number
|
|
3666
|
-
distinct?: Prisma.BusinessEntityLocationScalarFieldEnum | Prisma.BusinessEntityLocationScalarFieldEnum[]
|
|
3667
|
-
}
|
|
3668
|
-
|
|
3669
|
-
/**
|
|
3670
|
-
* BusinessEntity.user_department_entities
|
|
3671
|
-
*/
|
|
3672
|
-
export type BusinessEntity$user_department_entitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3673
|
-
/**
|
|
3674
|
-
* Select specific fields to fetch from the UserDepartmentEntity
|
|
3675
|
-
*/
|
|
3676
|
-
select?: Prisma.UserDepartmentEntitySelect<ExtArgs> | null
|
|
3677
|
-
/**
|
|
3678
|
-
* Omit specific fields from the UserDepartmentEntity
|
|
3679
|
-
*/
|
|
3680
|
-
omit?: Prisma.UserDepartmentEntityOmit<ExtArgs> | null
|
|
3681
|
-
/**
|
|
3682
|
-
* Choose, which related nodes to fetch as well
|
|
3683
|
-
*/
|
|
3684
|
-
include?: Prisma.UserDepartmentEntityInclude<ExtArgs> | null
|
|
3685
|
-
where?: Prisma.UserDepartmentEntityWhereInput
|
|
3686
|
-
orderBy?: Prisma.UserDepartmentEntityOrderByWithRelationInput | Prisma.UserDepartmentEntityOrderByWithRelationInput[]
|
|
3687
|
-
cursor?: Prisma.UserDepartmentEntityWhereUniqueInput
|
|
3688
|
-
take?: number
|
|
3689
|
-
skip?: number
|
|
3690
|
-
distinct?: Prisma.UserDepartmentEntityScalarFieldEnum | Prisma.UserDepartmentEntityScalarFieldEnum[]
|
|
3691
|
-
}
|
|
3692
|
-
|
|
3693
|
-
/**
|
|
3694
|
-
* BusinessEntity.purchase_intakes
|
|
3695
|
-
*/
|
|
3696
|
-
export type BusinessEntity$purchase_intakesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3697
|
-
/**
|
|
3698
|
-
* Select specific fields to fetch from the PurchaseIntake
|
|
3699
|
-
*/
|
|
3700
|
-
select?: Prisma.PurchaseIntakeSelect<ExtArgs> | null
|
|
3701
|
-
/**
|
|
3702
|
-
* Omit specific fields from the PurchaseIntake
|
|
3703
|
-
*/
|
|
3704
|
-
omit?: Prisma.PurchaseIntakeOmit<ExtArgs> | null
|
|
3705
|
-
/**
|
|
3706
|
-
* Choose, which related nodes to fetch as well
|
|
3707
|
-
*/
|
|
3708
|
-
include?: Prisma.PurchaseIntakeInclude<ExtArgs> | null
|
|
3709
|
-
where?: Prisma.PurchaseIntakeWhereInput
|
|
3710
|
-
orderBy?: Prisma.PurchaseIntakeOrderByWithRelationInput | Prisma.PurchaseIntakeOrderByWithRelationInput[]
|
|
3711
|
-
cursor?: Prisma.PurchaseIntakeWhereUniqueInput
|
|
3712
|
-
take?: number
|
|
3713
|
-
skip?: number
|
|
3714
|
-
distinct?: Prisma.PurchaseIntakeScalarFieldEnum | Prisma.PurchaseIntakeScalarFieldEnum[]
|
|
3715
|
-
}
|
|
3716
|
-
|
|
3717
|
-
/**
|
|
3718
|
-
* BusinessEntity.events
|
|
3719
|
-
*/
|
|
3720
|
-
export type BusinessEntity$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3721
|
-
/**
|
|
3722
|
-
* Select specific fields to fetch from the Event
|
|
3723
|
-
*/
|
|
3724
|
-
select?: Prisma.EventSelect<ExtArgs> | null
|
|
3725
|
-
/**
|
|
3726
|
-
* Omit specific fields from the Event
|
|
3727
|
-
*/
|
|
3728
|
-
omit?: Prisma.EventOmit<ExtArgs> | null
|
|
3729
|
-
/**
|
|
3730
|
-
* Choose, which related nodes to fetch as well
|
|
3731
|
-
*/
|
|
3732
|
-
include?: Prisma.EventInclude<ExtArgs> | null
|
|
3733
|
-
where?: Prisma.EventWhereInput
|
|
3734
|
-
orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[]
|
|
3735
|
-
cursor?: Prisma.EventWhereUniqueInput
|
|
3736
|
-
take?: number
|
|
3737
|
-
skip?: number
|
|
3738
|
-
distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[]
|
|
3739
|
-
}
|
|
3740
|
-
|
|
3741
|
-
/**
|
|
3742
|
-
* BusinessEntity.purchase_orders
|
|
3743
|
-
*/
|
|
3744
|
-
export type BusinessEntity$purchase_ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3745
|
-
/**
|
|
3746
|
-
* Select specific fields to fetch from the PurchaseOrder
|
|
3747
|
-
*/
|
|
3748
|
-
select?: Prisma.PurchaseOrderSelect<ExtArgs> | null
|
|
3749
|
-
/**
|
|
3750
|
-
* Omit specific fields from the PurchaseOrder
|
|
3751
|
-
*/
|
|
3752
|
-
omit?: Prisma.PurchaseOrderOmit<ExtArgs> | null
|
|
3753
|
-
/**
|
|
3754
|
-
* Choose, which related nodes to fetch as well
|
|
3755
|
-
*/
|
|
3756
|
-
include?: Prisma.PurchaseOrderInclude<ExtArgs> | null
|
|
3757
|
-
where?: Prisma.PurchaseOrderWhereInput
|
|
3758
|
-
orderBy?: Prisma.PurchaseOrderOrderByWithRelationInput | Prisma.PurchaseOrderOrderByWithRelationInput[]
|
|
3759
|
-
cursor?: Prisma.PurchaseOrderWhereUniqueInput
|
|
3760
|
-
take?: number
|
|
3761
|
-
skip?: number
|
|
3762
|
-
distinct?: Prisma.PurchaseOrderScalarFieldEnum | Prisma.PurchaseOrderScalarFieldEnum[]
|
|
3763
|
-
}
|
|
3764
|
-
|
|
3765
|
-
/**
|
|
3766
|
-
* BusinessEntity.event_rfi_forms
|
|
3767
|
-
*/
|
|
3768
|
-
export type BusinessEntity$event_rfi_formsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3769
|
-
/**
|
|
3770
|
-
* Select specific fields to fetch from the EventRfiForm
|
|
3771
|
-
*/
|
|
3772
|
-
select?: Prisma.EventRfiFormSelect<ExtArgs> | null
|
|
3773
|
-
/**
|
|
3774
|
-
* Omit specific fields from the EventRfiForm
|
|
3775
|
-
*/
|
|
3776
|
-
omit?: Prisma.EventRfiFormOmit<ExtArgs> | null
|
|
3777
|
-
/**
|
|
3778
|
-
* Choose, which related nodes to fetch as well
|
|
3779
|
-
*/
|
|
3780
|
-
include?: Prisma.EventRfiFormInclude<ExtArgs> | null
|
|
3781
|
-
where?: Prisma.EventRfiFormWhereInput
|
|
3782
|
-
orderBy?: Prisma.EventRfiFormOrderByWithRelationInput | Prisma.EventRfiFormOrderByWithRelationInput[]
|
|
3783
|
-
cursor?: Prisma.EventRfiFormWhereUniqueInput
|
|
3784
|
-
take?: number
|
|
3785
|
-
skip?: number
|
|
3786
|
-
distinct?: Prisma.EventRfiFormScalarFieldEnum | Prisma.EventRfiFormScalarFieldEnum[]
|
|
3787
|
-
}
|
|
3788
|
-
|
|
3789
|
-
/**
|
|
3790
|
-
* BusinessEntity.grns
|
|
3791
|
-
*/
|
|
3792
|
-
export type BusinessEntity$grnsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3793
|
-
/**
|
|
3794
|
-
* Select specific fields to fetch from the GRN
|
|
3795
|
-
*/
|
|
3796
|
-
select?: Prisma.GRNSelect<ExtArgs> | null
|
|
3797
|
-
/**
|
|
3798
|
-
* Omit specific fields from the GRN
|
|
3799
|
-
*/
|
|
3800
|
-
omit?: Prisma.GRNOmit<ExtArgs> | null
|
|
3801
|
-
/**
|
|
3802
|
-
* Choose, which related nodes to fetch as well
|
|
3803
|
-
*/
|
|
3804
|
-
include?: Prisma.GRNInclude<ExtArgs> | null
|
|
3805
|
-
where?: Prisma.GRNWhereInput
|
|
3806
|
-
orderBy?: Prisma.GRNOrderByWithRelationInput | Prisma.GRNOrderByWithRelationInput[]
|
|
3807
|
-
cursor?: Prisma.GRNWhereUniqueInput
|
|
3808
|
-
take?: number
|
|
3809
|
-
skip?: number
|
|
3810
|
-
distinct?: Prisma.GRNScalarFieldEnum | Prisma.GRNScalarFieldEnum[]
|
|
3811
|
-
}
|
|
3812
|
-
|
|
3813
|
-
/**
|
|
3814
|
-
* BusinessEntity.invoices
|
|
3815
|
-
*/
|
|
3816
|
-
export type BusinessEntity$invoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3817
|
-
/**
|
|
3818
|
-
* Select specific fields to fetch from the Invoice
|
|
3819
|
-
*/
|
|
3820
|
-
select?: Prisma.InvoiceSelect<ExtArgs> | null
|
|
3821
|
-
/**
|
|
3822
|
-
* Omit specific fields from the Invoice
|
|
3823
|
-
*/
|
|
3824
|
-
omit?: Prisma.InvoiceOmit<ExtArgs> | null
|
|
3825
|
-
/**
|
|
3826
|
-
* Choose, which related nodes to fetch as well
|
|
3827
|
-
*/
|
|
3828
|
-
include?: Prisma.InvoiceInclude<ExtArgs> | null
|
|
3829
|
-
where?: Prisma.InvoiceWhereInput
|
|
3830
|
-
orderBy?: Prisma.InvoiceOrderByWithRelationInput | Prisma.InvoiceOrderByWithRelationInput[]
|
|
3831
|
-
cursor?: Prisma.InvoiceWhereUniqueInput
|
|
3832
|
-
take?: number
|
|
3833
|
-
skip?: number
|
|
3834
|
-
distinct?: Prisma.InvoiceScalarFieldEnum | Prisma.InvoiceScalarFieldEnum[]
|
|
3835
|
-
}
|
|
3836
|
-
|
|
3837
|
-
/**
|
|
3838
|
-
* BusinessEntity.blanket_purchase_orders
|
|
3839
|
-
*/
|
|
3840
|
-
export type BusinessEntity$blanket_purchase_ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3841
|
-
/**
|
|
3842
|
-
* Select specific fields to fetch from the BlanketPurchaseOrder
|
|
3843
|
-
*/
|
|
3844
|
-
select?: Prisma.BlanketPurchaseOrderSelect<ExtArgs> | null
|
|
3845
|
-
/**
|
|
3846
|
-
* Omit specific fields from the BlanketPurchaseOrder
|
|
3847
|
-
*/
|
|
3848
|
-
omit?: Prisma.BlanketPurchaseOrderOmit<ExtArgs> | null
|
|
3849
|
-
/**
|
|
3850
|
-
* Choose, which related nodes to fetch as well
|
|
3851
|
-
*/
|
|
3852
|
-
include?: Prisma.BlanketPurchaseOrderInclude<ExtArgs> | null
|
|
3853
|
-
where?: Prisma.BlanketPurchaseOrderWhereInput
|
|
3854
|
-
orderBy?: Prisma.BlanketPurchaseOrderOrderByWithRelationInput | Prisma.BlanketPurchaseOrderOrderByWithRelationInput[]
|
|
3855
|
-
cursor?: Prisma.BlanketPurchaseOrderWhereUniqueInput
|
|
3856
|
-
take?: number
|
|
3857
|
-
skip?: number
|
|
3858
|
-
distinct?: Prisma.BlanketPurchaseOrderScalarFieldEnum | Prisma.BlanketPurchaseOrderScalarFieldEnum[]
|
|
3859
|
-
}
|
|
3860
|
-
|
|
3861
|
-
/**
|
|
3862
|
-
* BusinessEntity.approval_hierarchies
|
|
3863
|
-
*/
|
|
3864
|
-
export type BusinessEntity$approval_hierarchiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3865
|
-
/**
|
|
3866
|
-
* Select specific fields to fetch from the ApprovalHierarchy
|
|
3867
|
-
*/
|
|
3868
|
-
select?: Prisma.ApprovalHierarchySelect<ExtArgs> | null
|
|
3869
|
-
/**
|
|
3870
|
-
* Omit specific fields from the ApprovalHierarchy
|
|
3871
|
-
*/
|
|
3872
|
-
omit?: Prisma.ApprovalHierarchyOmit<ExtArgs> | null
|
|
3873
|
-
/**
|
|
3874
|
-
* Choose, which related nodes to fetch as well
|
|
3875
|
-
*/
|
|
3876
|
-
include?: Prisma.ApprovalHierarchyInclude<ExtArgs> | null
|
|
3877
|
-
where?: Prisma.ApprovalHierarchyWhereInput
|
|
3878
|
-
orderBy?: Prisma.ApprovalHierarchyOrderByWithRelationInput | Prisma.ApprovalHierarchyOrderByWithRelationInput[]
|
|
3879
|
-
cursor?: Prisma.ApprovalHierarchyWhereUniqueInput
|
|
3880
|
-
take?: number
|
|
3881
|
-
skip?: number
|
|
3882
|
-
distinct?: Prisma.ApprovalHierarchyScalarFieldEnum | Prisma.ApprovalHierarchyScalarFieldEnum[]
|
|
3883
|
-
}
|
|
3884
|
-
|
|
3885
|
-
/**
|
|
3886
|
-
* BusinessEntity without action
|
|
3887
|
-
*/
|
|
3888
|
-
export type BusinessEntityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3889
|
-
/**
|
|
3890
|
-
* Select specific fields to fetch from the BusinessEntity
|
|
3891
|
-
*/
|
|
3892
|
-
select?: Prisma.BusinessEntitySelect<ExtArgs> | null
|
|
3893
|
-
/**
|
|
3894
|
-
* Omit specific fields from the BusinessEntity
|
|
3895
|
-
*/
|
|
3896
|
-
omit?: Prisma.BusinessEntityOmit<ExtArgs> | null
|
|
3897
|
-
/**
|
|
3898
|
-
* Choose, which related nodes to fetch as well
|
|
3899
|
-
*/
|
|
3900
|
-
include?: Prisma.BusinessEntityInclude<ExtArgs> | null
|
|
3901
|
-
}
|