procbay-schema 1.0.171 → 1.0.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +13 -22
- package/prisma/schema.prisma +4 -5
- 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 +2900 -0
- package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
- package/src/prisma/index.d.ts +286683 -0
- package/src/prisma/index.js +2929 -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 +3820 -0
- package/src/prisma/wasm.d.ts +1 -0
- package/src/prisma/wasm.js +2862 -0
- 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,3091 +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 `Category` 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 Category
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type CategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$CategoryPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateCategory = {
|
|
22
|
-
_count: CategoryCountAggregateOutputType | null
|
|
23
|
-
_avg: CategoryAvgAggregateOutputType | null
|
|
24
|
-
_sum: CategorySumAggregateOutputType | null
|
|
25
|
-
_min: CategoryMinAggregateOutputType | null
|
|
26
|
-
_max: CategoryMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type CategoryAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
industry_id: number | null
|
|
32
|
-
parent_id: number | null
|
|
33
|
-
created_by: number | null
|
|
34
|
-
updated_by: number | null
|
|
35
|
-
deleted_by: number | null
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export type CategorySumAggregateOutputType = {
|
|
39
|
-
id: number | null
|
|
40
|
-
industry_id: number | null
|
|
41
|
-
parent_id: number | null
|
|
42
|
-
created_by: number | null
|
|
43
|
-
updated_by: number | null
|
|
44
|
-
deleted_by: number | null
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export type CategoryMinAggregateOutputType = {
|
|
48
|
-
id: number | null
|
|
49
|
-
uuid: string | null
|
|
50
|
-
industry_id: number | null
|
|
51
|
-
name: string | null
|
|
52
|
-
slug: string | null
|
|
53
|
-
is_active: boolean | null
|
|
54
|
-
parent_id: number | null
|
|
55
|
-
description: string | null
|
|
56
|
-
image_url: string | null
|
|
57
|
-
created_by: number | null
|
|
58
|
-
created_at: Date | null
|
|
59
|
-
updated_by: number | null
|
|
60
|
-
updated_at: Date | null
|
|
61
|
-
is_deleted: boolean | null
|
|
62
|
-
deleted_by: number | null
|
|
63
|
-
deleted_at: Date | null
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type CategoryMaxAggregateOutputType = {
|
|
67
|
-
id: number | null
|
|
68
|
-
uuid: string | null
|
|
69
|
-
industry_id: number | null
|
|
70
|
-
name: string | null
|
|
71
|
-
slug: string | null
|
|
72
|
-
is_active: boolean | null
|
|
73
|
-
parent_id: number | null
|
|
74
|
-
description: string | null
|
|
75
|
-
image_url: string | null
|
|
76
|
-
created_by: number | null
|
|
77
|
-
created_at: Date | null
|
|
78
|
-
updated_by: number | null
|
|
79
|
-
updated_at: Date | null
|
|
80
|
-
is_deleted: boolean | null
|
|
81
|
-
deleted_by: number | null
|
|
82
|
-
deleted_at: Date | null
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export type CategoryCountAggregateOutputType = {
|
|
86
|
-
id: number
|
|
87
|
-
uuid: number
|
|
88
|
-
industry_id: number
|
|
89
|
-
name: number
|
|
90
|
-
slug: number
|
|
91
|
-
is_active: number
|
|
92
|
-
parent_id: number
|
|
93
|
-
description: number
|
|
94
|
-
image_url: number
|
|
95
|
-
created_by: number
|
|
96
|
-
created_at: number
|
|
97
|
-
updated_by: number
|
|
98
|
-
updated_at: number
|
|
99
|
-
is_deleted: number
|
|
100
|
-
deleted_by: number
|
|
101
|
-
deleted_at: number
|
|
102
|
-
_all: number
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export type CategoryAvgAggregateInputType = {
|
|
107
|
-
id?: true
|
|
108
|
-
industry_id?: true
|
|
109
|
-
parent_id?: true
|
|
110
|
-
created_by?: true
|
|
111
|
-
updated_by?: true
|
|
112
|
-
deleted_by?: true
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export type CategorySumAggregateInputType = {
|
|
116
|
-
id?: true
|
|
117
|
-
industry_id?: true
|
|
118
|
-
parent_id?: true
|
|
119
|
-
created_by?: true
|
|
120
|
-
updated_by?: true
|
|
121
|
-
deleted_by?: true
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export type CategoryMinAggregateInputType = {
|
|
125
|
-
id?: true
|
|
126
|
-
uuid?: true
|
|
127
|
-
industry_id?: true
|
|
128
|
-
name?: true
|
|
129
|
-
slug?: true
|
|
130
|
-
is_active?: true
|
|
131
|
-
parent_id?: true
|
|
132
|
-
description?: true
|
|
133
|
-
image_url?: true
|
|
134
|
-
created_by?: true
|
|
135
|
-
created_at?: true
|
|
136
|
-
updated_by?: true
|
|
137
|
-
updated_at?: true
|
|
138
|
-
is_deleted?: true
|
|
139
|
-
deleted_by?: true
|
|
140
|
-
deleted_at?: true
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export type CategoryMaxAggregateInputType = {
|
|
144
|
-
id?: true
|
|
145
|
-
uuid?: true
|
|
146
|
-
industry_id?: true
|
|
147
|
-
name?: true
|
|
148
|
-
slug?: true
|
|
149
|
-
is_active?: true
|
|
150
|
-
parent_id?: true
|
|
151
|
-
description?: true
|
|
152
|
-
image_url?: true
|
|
153
|
-
created_by?: true
|
|
154
|
-
created_at?: true
|
|
155
|
-
updated_by?: true
|
|
156
|
-
updated_at?: true
|
|
157
|
-
is_deleted?: true
|
|
158
|
-
deleted_by?: true
|
|
159
|
-
deleted_at?: true
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export type CategoryCountAggregateInputType = {
|
|
163
|
-
id?: true
|
|
164
|
-
uuid?: true
|
|
165
|
-
industry_id?: true
|
|
166
|
-
name?: true
|
|
167
|
-
slug?: true
|
|
168
|
-
is_active?: true
|
|
169
|
-
parent_id?: true
|
|
170
|
-
description?: true
|
|
171
|
-
image_url?: true
|
|
172
|
-
created_by?: true
|
|
173
|
-
created_at?: true
|
|
174
|
-
updated_by?: true
|
|
175
|
-
updated_at?: true
|
|
176
|
-
is_deleted?: true
|
|
177
|
-
deleted_by?: true
|
|
178
|
-
deleted_at?: true
|
|
179
|
-
_all?: true
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export type CategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
183
|
-
/**
|
|
184
|
-
* Filter which Category to aggregate.
|
|
185
|
-
*/
|
|
186
|
-
where?: Prisma.CategoryWhereInput
|
|
187
|
-
/**
|
|
188
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
189
|
-
*
|
|
190
|
-
* Determine the order of Categories to fetch.
|
|
191
|
-
*/
|
|
192
|
-
orderBy?: Prisma.CategoryOrderByWithRelationInput | Prisma.CategoryOrderByWithRelationInput[]
|
|
193
|
-
/**
|
|
194
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
195
|
-
*
|
|
196
|
-
* Sets the start position
|
|
197
|
-
*/
|
|
198
|
-
cursor?: Prisma.CategoryWhereUniqueInput
|
|
199
|
-
/**
|
|
200
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
201
|
-
*
|
|
202
|
-
* Take `±n` Categories from the position of the cursor.
|
|
203
|
-
*/
|
|
204
|
-
take?: number
|
|
205
|
-
/**
|
|
206
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
207
|
-
*
|
|
208
|
-
* Skip the first `n` Categories.
|
|
209
|
-
*/
|
|
210
|
-
skip?: number
|
|
211
|
-
/**
|
|
212
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
213
|
-
*
|
|
214
|
-
* Count returned Categories
|
|
215
|
-
**/
|
|
216
|
-
_count?: true | CategoryCountAggregateInputType
|
|
217
|
-
/**
|
|
218
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
219
|
-
*
|
|
220
|
-
* Select which fields to average
|
|
221
|
-
**/
|
|
222
|
-
_avg?: CategoryAvgAggregateInputType
|
|
223
|
-
/**
|
|
224
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
225
|
-
*
|
|
226
|
-
* Select which fields to sum
|
|
227
|
-
**/
|
|
228
|
-
_sum?: CategorySumAggregateInputType
|
|
229
|
-
/**
|
|
230
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
231
|
-
*
|
|
232
|
-
* Select which fields to find the minimum value
|
|
233
|
-
**/
|
|
234
|
-
_min?: CategoryMinAggregateInputType
|
|
235
|
-
/**
|
|
236
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
237
|
-
*
|
|
238
|
-
* Select which fields to find the maximum value
|
|
239
|
-
**/
|
|
240
|
-
_max?: CategoryMaxAggregateInputType
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
export type GetCategoryAggregateType<T extends CategoryAggregateArgs> = {
|
|
244
|
-
[P in keyof T & keyof AggregateCategory]: P extends '_count' | 'count'
|
|
245
|
-
? T[P] extends true
|
|
246
|
-
? number
|
|
247
|
-
: Prisma.GetScalarType<T[P], AggregateCategory[P]>
|
|
248
|
-
: Prisma.GetScalarType<T[P], AggregateCategory[P]>
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
export type CategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
255
|
-
where?: Prisma.CategoryWhereInput
|
|
256
|
-
orderBy?: Prisma.CategoryOrderByWithAggregationInput | Prisma.CategoryOrderByWithAggregationInput[]
|
|
257
|
-
by: Prisma.CategoryScalarFieldEnum[] | Prisma.CategoryScalarFieldEnum
|
|
258
|
-
having?: Prisma.CategoryScalarWhereWithAggregatesInput
|
|
259
|
-
take?: number
|
|
260
|
-
skip?: number
|
|
261
|
-
_count?: CategoryCountAggregateInputType | true
|
|
262
|
-
_avg?: CategoryAvgAggregateInputType
|
|
263
|
-
_sum?: CategorySumAggregateInputType
|
|
264
|
-
_min?: CategoryMinAggregateInputType
|
|
265
|
-
_max?: CategoryMaxAggregateInputType
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
export type CategoryGroupByOutputType = {
|
|
269
|
-
id: number
|
|
270
|
-
uuid: string | null
|
|
271
|
-
industry_id: number | null
|
|
272
|
-
name: string | null
|
|
273
|
-
slug: string | null
|
|
274
|
-
is_active: boolean
|
|
275
|
-
parent_id: number
|
|
276
|
-
description: string | null
|
|
277
|
-
image_url: string | null
|
|
278
|
-
created_by: number | null
|
|
279
|
-
created_at: Date
|
|
280
|
-
updated_by: number | null
|
|
281
|
-
updated_at: Date
|
|
282
|
-
is_deleted: boolean
|
|
283
|
-
deleted_by: number | null
|
|
284
|
-
deleted_at: Date | null
|
|
285
|
-
_count: CategoryCountAggregateOutputType | null
|
|
286
|
-
_avg: CategoryAvgAggregateOutputType | null
|
|
287
|
-
_sum: CategorySumAggregateOutputType | null
|
|
288
|
-
_min: CategoryMinAggregateOutputType | null
|
|
289
|
-
_max: CategoryMaxAggregateOutputType | null
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export type GetCategoryGroupByPayload<T extends CategoryGroupByArgs> = Prisma.PrismaPromise<
|
|
293
|
-
Array<
|
|
294
|
-
Prisma.PickEnumerable<CategoryGroupByOutputType, T['by']> &
|
|
295
|
-
{
|
|
296
|
-
[P in ((keyof T) & (keyof CategoryGroupByOutputType))]: P extends '_count'
|
|
297
|
-
? T[P] extends boolean
|
|
298
|
-
? number
|
|
299
|
-
: Prisma.GetScalarType<T[P], CategoryGroupByOutputType[P]>
|
|
300
|
-
: Prisma.GetScalarType<T[P], CategoryGroupByOutputType[P]>
|
|
301
|
-
}
|
|
302
|
-
>
|
|
303
|
-
>
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
export type CategoryWhereInput = {
|
|
308
|
-
AND?: Prisma.CategoryWhereInput | Prisma.CategoryWhereInput[]
|
|
309
|
-
OR?: Prisma.CategoryWhereInput[]
|
|
310
|
-
NOT?: Prisma.CategoryWhereInput | Prisma.CategoryWhereInput[]
|
|
311
|
-
id?: Prisma.IntFilter<"Category"> | number
|
|
312
|
-
uuid?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
313
|
-
industry_id?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
314
|
-
name?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
315
|
-
slug?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
316
|
-
is_active?: Prisma.BoolFilter<"Category"> | boolean
|
|
317
|
-
parent_id?: Prisma.IntFilter<"Category"> | number
|
|
318
|
-
description?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
319
|
-
image_url?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
320
|
-
created_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
321
|
-
created_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
322
|
-
updated_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
323
|
-
updated_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
324
|
-
is_deleted?: Prisma.BoolFilter<"Category"> | boolean
|
|
325
|
-
deleted_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
326
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Category"> | Date | string | null
|
|
327
|
-
industry?: Prisma.XOR<Prisma.IndustryNullableScalarRelationFilter, Prisma.IndustryWhereInput> | null
|
|
328
|
-
attributes?: Prisma.AttributeListRelationFilter
|
|
329
|
-
category_uom?: Prisma.UomCategoryListRelationFilter
|
|
330
|
-
category_budget?: Prisma.CategoryBudgetListRelationFilter
|
|
331
|
-
item_category?: Prisma.ItemListRelationFilter
|
|
332
|
-
item_sub_category?: Prisma.ItemListRelationFilter
|
|
333
|
-
boq_event_items_as_category?: Prisma.BoqEventItemListRelationFilter
|
|
334
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemListRelationFilter
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type CategoryOrderByWithRelationInput = {
|
|
338
|
-
id?: Prisma.SortOrder
|
|
339
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
340
|
-
industry_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
341
|
-
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
-
slug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
-
is_active?: Prisma.SortOrder
|
|
344
|
-
parent_id?: Prisma.SortOrder
|
|
345
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
346
|
-
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
-
created_at?: Prisma.SortOrder
|
|
349
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
-
updated_at?: Prisma.SortOrder
|
|
351
|
-
is_deleted?: Prisma.SortOrder
|
|
352
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
353
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
354
|
-
industry?: Prisma.IndustryOrderByWithRelationInput
|
|
355
|
-
attributes?: Prisma.AttributeOrderByRelationAggregateInput
|
|
356
|
-
category_uom?: Prisma.UomCategoryOrderByRelationAggregateInput
|
|
357
|
-
category_budget?: Prisma.CategoryBudgetOrderByRelationAggregateInput
|
|
358
|
-
item_category?: Prisma.ItemOrderByRelationAggregateInput
|
|
359
|
-
item_sub_category?: Prisma.ItemOrderByRelationAggregateInput
|
|
360
|
-
boq_event_items_as_category?: Prisma.BoqEventItemOrderByRelationAggregateInput
|
|
361
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemOrderByRelationAggregateInput
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
export type CategoryWhereUniqueInput = Prisma.AtLeast<{
|
|
365
|
-
id?: number
|
|
366
|
-
uuid?: string
|
|
367
|
-
name?: string
|
|
368
|
-
AND?: Prisma.CategoryWhereInput | Prisma.CategoryWhereInput[]
|
|
369
|
-
OR?: Prisma.CategoryWhereInput[]
|
|
370
|
-
NOT?: Prisma.CategoryWhereInput | Prisma.CategoryWhereInput[]
|
|
371
|
-
industry_id?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
372
|
-
slug?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
373
|
-
is_active?: Prisma.BoolFilter<"Category"> | boolean
|
|
374
|
-
parent_id?: Prisma.IntFilter<"Category"> | number
|
|
375
|
-
description?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
376
|
-
image_url?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
377
|
-
created_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
378
|
-
created_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
379
|
-
updated_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
380
|
-
updated_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
381
|
-
is_deleted?: Prisma.BoolFilter<"Category"> | boolean
|
|
382
|
-
deleted_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
383
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Category"> | Date | string | null
|
|
384
|
-
industry?: Prisma.XOR<Prisma.IndustryNullableScalarRelationFilter, Prisma.IndustryWhereInput> | null
|
|
385
|
-
attributes?: Prisma.AttributeListRelationFilter
|
|
386
|
-
category_uom?: Prisma.UomCategoryListRelationFilter
|
|
387
|
-
category_budget?: Prisma.CategoryBudgetListRelationFilter
|
|
388
|
-
item_category?: Prisma.ItemListRelationFilter
|
|
389
|
-
item_sub_category?: Prisma.ItemListRelationFilter
|
|
390
|
-
boq_event_items_as_category?: Prisma.BoqEventItemListRelationFilter
|
|
391
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemListRelationFilter
|
|
392
|
-
}, "id" | "uuid" | "name">
|
|
393
|
-
|
|
394
|
-
export type CategoryOrderByWithAggregationInput = {
|
|
395
|
-
id?: Prisma.SortOrder
|
|
396
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
397
|
-
industry_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
398
|
-
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
-
slug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
400
|
-
is_active?: Prisma.SortOrder
|
|
401
|
-
parent_id?: Prisma.SortOrder
|
|
402
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
403
|
-
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
404
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
405
|
-
created_at?: Prisma.SortOrder
|
|
406
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
407
|
-
updated_at?: Prisma.SortOrder
|
|
408
|
-
is_deleted?: Prisma.SortOrder
|
|
409
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
410
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
411
|
-
_count?: Prisma.CategoryCountOrderByAggregateInput
|
|
412
|
-
_avg?: Prisma.CategoryAvgOrderByAggregateInput
|
|
413
|
-
_max?: Prisma.CategoryMaxOrderByAggregateInput
|
|
414
|
-
_min?: Prisma.CategoryMinOrderByAggregateInput
|
|
415
|
-
_sum?: Prisma.CategorySumOrderByAggregateInput
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export type CategoryScalarWhereWithAggregatesInput = {
|
|
419
|
-
AND?: Prisma.CategoryScalarWhereWithAggregatesInput | Prisma.CategoryScalarWhereWithAggregatesInput[]
|
|
420
|
-
OR?: Prisma.CategoryScalarWhereWithAggregatesInput[]
|
|
421
|
-
NOT?: Prisma.CategoryScalarWhereWithAggregatesInput | Prisma.CategoryScalarWhereWithAggregatesInput[]
|
|
422
|
-
id?: Prisma.IntWithAggregatesFilter<"Category"> | number
|
|
423
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"Category"> | string | null
|
|
424
|
-
industry_id?: Prisma.IntNullableWithAggregatesFilter<"Category"> | number | null
|
|
425
|
-
name?: Prisma.StringNullableWithAggregatesFilter<"Category"> | string | null
|
|
426
|
-
slug?: Prisma.StringNullableWithAggregatesFilter<"Category"> | string | null
|
|
427
|
-
is_active?: Prisma.BoolWithAggregatesFilter<"Category"> | boolean
|
|
428
|
-
parent_id?: Prisma.IntWithAggregatesFilter<"Category"> | number
|
|
429
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"Category"> | string | null
|
|
430
|
-
image_url?: Prisma.StringNullableWithAggregatesFilter<"Category"> | string | null
|
|
431
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"Category"> | number | null
|
|
432
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"Category"> | Date | string
|
|
433
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"Category"> | number | null
|
|
434
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Category"> | Date | string
|
|
435
|
-
is_deleted?: Prisma.BoolWithAggregatesFilter<"Category"> | boolean
|
|
436
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Category"> | number | null
|
|
437
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Category"> | Date | string | null
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
export type CategoryCreateInput = {
|
|
441
|
-
uuid?: string | null
|
|
442
|
-
name?: string | null
|
|
443
|
-
slug?: string | null
|
|
444
|
-
is_active?: boolean
|
|
445
|
-
parent_id?: number
|
|
446
|
-
description?: string | null
|
|
447
|
-
image_url?: string | null
|
|
448
|
-
created_by?: number | null
|
|
449
|
-
created_at?: Date | string
|
|
450
|
-
updated_by?: number | null
|
|
451
|
-
updated_at?: Date | string
|
|
452
|
-
is_deleted?: boolean
|
|
453
|
-
deleted_by?: number | null
|
|
454
|
-
deleted_at?: Date | string | null
|
|
455
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
456
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
457
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
458
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
459
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
460
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
461
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
462
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
export type CategoryUncheckedCreateInput = {
|
|
466
|
-
id?: number
|
|
467
|
-
uuid?: string | null
|
|
468
|
-
industry_id?: number | null
|
|
469
|
-
name?: string | null
|
|
470
|
-
slug?: string | null
|
|
471
|
-
is_active?: boolean
|
|
472
|
-
parent_id?: number
|
|
473
|
-
description?: string | null
|
|
474
|
-
image_url?: string | null
|
|
475
|
-
created_by?: number | null
|
|
476
|
-
created_at?: Date | string
|
|
477
|
-
updated_by?: number | null
|
|
478
|
-
updated_at?: Date | string
|
|
479
|
-
is_deleted?: boolean
|
|
480
|
-
deleted_by?: number | null
|
|
481
|
-
deleted_at?: Date | string | null
|
|
482
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
483
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
484
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
485
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
486
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
487
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
488
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
export type CategoryUpdateInput = {
|
|
492
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
493
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
494
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
495
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
496
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
497
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
498
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
499
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
500
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
501
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
502
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
503
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
504
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
505
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
506
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
507
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
508
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
509
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
510
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
511
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
512
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
513
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
export type CategoryUncheckedUpdateInput = {
|
|
517
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
518
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
519
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
520
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
521
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
522
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
523
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
524
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
525
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
526
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
527
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
528
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
529
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
530
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
531
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
532
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
533
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
534
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
535
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
536
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
537
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
538
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
539
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
export type CategoryCreateManyInput = {
|
|
543
|
-
id?: number
|
|
544
|
-
uuid?: string | null
|
|
545
|
-
industry_id?: number | null
|
|
546
|
-
name?: string | null
|
|
547
|
-
slug?: string | null
|
|
548
|
-
is_active?: boolean
|
|
549
|
-
parent_id?: number
|
|
550
|
-
description?: string | null
|
|
551
|
-
image_url?: string | null
|
|
552
|
-
created_by?: number | null
|
|
553
|
-
created_at?: Date | string
|
|
554
|
-
updated_by?: number | null
|
|
555
|
-
updated_at?: Date | string
|
|
556
|
-
is_deleted?: boolean
|
|
557
|
-
deleted_by?: number | null
|
|
558
|
-
deleted_at?: Date | string | null
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export type CategoryUpdateManyMutationInput = {
|
|
562
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
563
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
564
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
565
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
566
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
567
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
568
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
569
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
570
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
571
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
572
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
573
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
574
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
575
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
export type CategoryUncheckedUpdateManyInput = {
|
|
579
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
580
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
581
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
582
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
583
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
584
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
585
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
586
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
587
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
588
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
589
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
590
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
591
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
592
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
593
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
594
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
export type CategoryListRelationFilter = {
|
|
598
|
-
every?: Prisma.CategoryWhereInput
|
|
599
|
-
some?: Prisma.CategoryWhereInput
|
|
600
|
-
none?: Prisma.CategoryWhereInput
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
export type CategoryOrderByRelationAggregateInput = {
|
|
604
|
-
_count?: Prisma.SortOrder
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
export type CategoryCountOrderByAggregateInput = {
|
|
608
|
-
id?: Prisma.SortOrder
|
|
609
|
-
uuid?: Prisma.SortOrder
|
|
610
|
-
industry_id?: Prisma.SortOrder
|
|
611
|
-
name?: Prisma.SortOrder
|
|
612
|
-
slug?: Prisma.SortOrder
|
|
613
|
-
is_active?: Prisma.SortOrder
|
|
614
|
-
parent_id?: Prisma.SortOrder
|
|
615
|
-
description?: Prisma.SortOrder
|
|
616
|
-
image_url?: Prisma.SortOrder
|
|
617
|
-
created_by?: Prisma.SortOrder
|
|
618
|
-
created_at?: Prisma.SortOrder
|
|
619
|
-
updated_by?: Prisma.SortOrder
|
|
620
|
-
updated_at?: Prisma.SortOrder
|
|
621
|
-
is_deleted?: Prisma.SortOrder
|
|
622
|
-
deleted_by?: Prisma.SortOrder
|
|
623
|
-
deleted_at?: Prisma.SortOrder
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
export type CategoryAvgOrderByAggregateInput = {
|
|
627
|
-
id?: Prisma.SortOrder
|
|
628
|
-
industry_id?: Prisma.SortOrder
|
|
629
|
-
parent_id?: Prisma.SortOrder
|
|
630
|
-
created_by?: Prisma.SortOrder
|
|
631
|
-
updated_by?: Prisma.SortOrder
|
|
632
|
-
deleted_by?: Prisma.SortOrder
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
export type CategoryMaxOrderByAggregateInput = {
|
|
636
|
-
id?: Prisma.SortOrder
|
|
637
|
-
uuid?: Prisma.SortOrder
|
|
638
|
-
industry_id?: Prisma.SortOrder
|
|
639
|
-
name?: Prisma.SortOrder
|
|
640
|
-
slug?: Prisma.SortOrder
|
|
641
|
-
is_active?: Prisma.SortOrder
|
|
642
|
-
parent_id?: Prisma.SortOrder
|
|
643
|
-
description?: Prisma.SortOrder
|
|
644
|
-
image_url?: Prisma.SortOrder
|
|
645
|
-
created_by?: Prisma.SortOrder
|
|
646
|
-
created_at?: Prisma.SortOrder
|
|
647
|
-
updated_by?: Prisma.SortOrder
|
|
648
|
-
updated_at?: Prisma.SortOrder
|
|
649
|
-
is_deleted?: Prisma.SortOrder
|
|
650
|
-
deleted_by?: Prisma.SortOrder
|
|
651
|
-
deleted_at?: Prisma.SortOrder
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
export type CategoryMinOrderByAggregateInput = {
|
|
655
|
-
id?: Prisma.SortOrder
|
|
656
|
-
uuid?: Prisma.SortOrder
|
|
657
|
-
industry_id?: Prisma.SortOrder
|
|
658
|
-
name?: Prisma.SortOrder
|
|
659
|
-
slug?: Prisma.SortOrder
|
|
660
|
-
is_active?: Prisma.SortOrder
|
|
661
|
-
parent_id?: Prisma.SortOrder
|
|
662
|
-
description?: Prisma.SortOrder
|
|
663
|
-
image_url?: Prisma.SortOrder
|
|
664
|
-
created_by?: Prisma.SortOrder
|
|
665
|
-
created_at?: Prisma.SortOrder
|
|
666
|
-
updated_by?: Prisma.SortOrder
|
|
667
|
-
updated_at?: Prisma.SortOrder
|
|
668
|
-
is_deleted?: Prisma.SortOrder
|
|
669
|
-
deleted_by?: Prisma.SortOrder
|
|
670
|
-
deleted_at?: Prisma.SortOrder
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export type CategorySumOrderByAggregateInput = {
|
|
674
|
-
id?: Prisma.SortOrder
|
|
675
|
-
industry_id?: Prisma.SortOrder
|
|
676
|
-
parent_id?: Prisma.SortOrder
|
|
677
|
-
created_by?: Prisma.SortOrder
|
|
678
|
-
updated_by?: Prisma.SortOrder
|
|
679
|
-
deleted_by?: Prisma.SortOrder
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
export type CategoryNullableScalarRelationFilter = {
|
|
683
|
-
is?: Prisma.CategoryWhereInput | null
|
|
684
|
-
isNot?: Prisma.CategoryWhereInput | null
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
export type CategoryCreateNestedManyWithoutIndustryInput = {
|
|
688
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput> | Prisma.CategoryCreateWithoutIndustryInput[] | Prisma.CategoryUncheckedCreateWithoutIndustryInput[]
|
|
689
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutIndustryInput | Prisma.CategoryCreateOrConnectWithoutIndustryInput[]
|
|
690
|
-
createMany?: Prisma.CategoryCreateManyIndustryInputEnvelope
|
|
691
|
-
connect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
export type CategoryUncheckedCreateNestedManyWithoutIndustryInput = {
|
|
695
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput> | Prisma.CategoryCreateWithoutIndustryInput[] | Prisma.CategoryUncheckedCreateWithoutIndustryInput[]
|
|
696
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutIndustryInput | Prisma.CategoryCreateOrConnectWithoutIndustryInput[]
|
|
697
|
-
createMany?: Prisma.CategoryCreateManyIndustryInputEnvelope
|
|
698
|
-
connect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
export type CategoryUpdateManyWithoutIndustryNestedInput = {
|
|
702
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput> | Prisma.CategoryCreateWithoutIndustryInput[] | Prisma.CategoryUncheckedCreateWithoutIndustryInput[]
|
|
703
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutIndustryInput | Prisma.CategoryCreateOrConnectWithoutIndustryInput[]
|
|
704
|
-
upsert?: Prisma.CategoryUpsertWithWhereUniqueWithoutIndustryInput | Prisma.CategoryUpsertWithWhereUniqueWithoutIndustryInput[]
|
|
705
|
-
createMany?: Prisma.CategoryCreateManyIndustryInputEnvelope
|
|
706
|
-
set?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
707
|
-
disconnect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
708
|
-
delete?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
709
|
-
connect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
710
|
-
update?: Prisma.CategoryUpdateWithWhereUniqueWithoutIndustryInput | Prisma.CategoryUpdateWithWhereUniqueWithoutIndustryInput[]
|
|
711
|
-
updateMany?: Prisma.CategoryUpdateManyWithWhereWithoutIndustryInput | Prisma.CategoryUpdateManyWithWhereWithoutIndustryInput[]
|
|
712
|
-
deleteMany?: Prisma.CategoryScalarWhereInput | Prisma.CategoryScalarWhereInput[]
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
export type CategoryUncheckedUpdateManyWithoutIndustryNestedInput = {
|
|
716
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput> | Prisma.CategoryCreateWithoutIndustryInput[] | Prisma.CategoryUncheckedCreateWithoutIndustryInput[]
|
|
717
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutIndustryInput | Prisma.CategoryCreateOrConnectWithoutIndustryInput[]
|
|
718
|
-
upsert?: Prisma.CategoryUpsertWithWhereUniqueWithoutIndustryInput | Prisma.CategoryUpsertWithWhereUniqueWithoutIndustryInput[]
|
|
719
|
-
createMany?: Prisma.CategoryCreateManyIndustryInputEnvelope
|
|
720
|
-
set?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
721
|
-
disconnect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
722
|
-
delete?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
723
|
-
connect?: Prisma.CategoryWhereUniqueInput | Prisma.CategoryWhereUniqueInput[]
|
|
724
|
-
update?: Prisma.CategoryUpdateWithWhereUniqueWithoutIndustryInput | Prisma.CategoryUpdateWithWhereUniqueWithoutIndustryInput[]
|
|
725
|
-
updateMany?: Prisma.CategoryUpdateManyWithWhereWithoutIndustryInput | Prisma.CategoryUpdateManyWithWhereWithoutIndustryInput[]
|
|
726
|
-
deleteMany?: Prisma.CategoryScalarWhereInput | Prisma.CategoryScalarWhereInput[]
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export type CategoryCreateNestedOneWithoutAttributesInput = {
|
|
730
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutAttributesInput, Prisma.CategoryUncheckedCreateWithoutAttributesInput>
|
|
731
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutAttributesInput
|
|
732
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
export type CategoryUpdateOneWithoutAttributesNestedInput = {
|
|
736
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutAttributesInput, Prisma.CategoryUncheckedCreateWithoutAttributesInput>
|
|
737
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutAttributesInput
|
|
738
|
-
upsert?: Prisma.CategoryUpsertWithoutAttributesInput
|
|
739
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
740
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
741
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
742
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutAttributesInput, Prisma.CategoryUpdateWithoutAttributesInput>, Prisma.CategoryUncheckedUpdateWithoutAttributesInput>
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
export type CategoryCreateNestedOneWithoutItem_categoryInput = {
|
|
746
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutItem_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_categoryInput>
|
|
747
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutItem_categoryInput
|
|
748
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
export type CategoryCreateNestedOneWithoutItem_sub_categoryInput = {
|
|
752
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_sub_categoryInput>
|
|
753
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutItem_sub_categoryInput
|
|
754
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
export type CategoryUpdateOneWithoutItem_categoryNestedInput = {
|
|
758
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutItem_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_categoryInput>
|
|
759
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutItem_categoryInput
|
|
760
|
-
upsert?: Prisma.CategoryUpsertWithoutItem_categoryInput
|
|
761
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
762
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
763
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
764
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutItem_categoryInput, Prisma.CategoryUpdateWithoutItem_categoryInput>, Prisma.CategoryUncheckedUpdateWithoutItem_categoryInput>
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
export type CategoryUpdateOneWithoutItem_sub_categoryNestedInput = {
|
|
768
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_sub_categoryInput>
|
|
769
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutItem_sub_categoryInput
|
|
770
|
-
upsert?: Prisma.CategoryUpsertWithoutItem_sub_categoryInput
|
|
771
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
772
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
773
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
774
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutItem_sub_categoryInput, Prisma.CategoryUpdateWithoutItem_sub_categoryInput>, Prisma.CategoryUncheckedUpdateWithoutItem_sub_categoryInput>
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
export type CategoryCreateNestedOneWithoutCategory_uomInput = {
|
|
778
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_uomInput, Prisma.CategoryUncheckedCreateWithoutCategory_uomInput>
|
|
779
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutCategory_uomInput
|
|
780
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
export type CategoryUpdateOneWithoutCategory_uomNestedInput = {
|
|
784
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_uomInput, Prisma.CategoryUncheckedCreateWithoutCategory_uomInput>
|
|
785
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutCategory_uomInput
|
|
786
|
-
upsert?: Prisma.CategoryUpsertWithoutCategory_uomInput
|
|
787
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
788
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
789
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
790
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutCategory_uomInput, Prisma.CategoryUpdateWithoutCategory_uomInput>, Prisma.CategoryUncheckedUpdateWithoutCategory_uomInput>
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
export type CategoryCreateNestedOneWithoutBoq_event_items_as_categoryInput = {
|
|
794
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_categoryInput>
|
|
795
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutBoq_event_items_as_categoryInput
|
|
796
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
export type CategoryCreateNestedOneWithoutBoq_event_items_as_sub_categoryInput = {
|
|
800
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_sub_categoryInput>
|
|
801
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutBoq_event_items_as_sub_categoryInput
|
|
802
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
export type CategoryUpdateOneWithoutBoq_event_items_as_categoryNestedInput = {
|
|
806
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_categoryInput>
|
|
807
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutBoq_event_items_as_categoryInput
|
|
808
|
-
upsert?: Prisma.CategoryUpsertWithoutBoq_event_items_as_categoryInput
|
|
809
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
810
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
811
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
812
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUpdateWithoutBoq_event_items_as_categoryInput>, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_categoryInput>
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
export type CategoryUpdateOneWithoutBoq_event_items_as_sub_categoryNestedInput = {
|
|
816
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_sub_categoryInput>
|
|
817
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutBoq_event_items_as_sub_categoryInput
|
|
818
|
-
upsert?: Prisma.CategoryUpsertWithoutBoq_event_items_as_sub_categoryInput
|
|
819
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
820
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
821
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
822
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUpdateWithoutBoq_event_items_as_sub_categoryInput>, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_sub_categoryInput>
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
export type CategoryCreateNestedOneWithoutCategory_budgetInput = {
|
|
826
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_budgetInput, Prisma.CategoryUncheckedCreateWithoutCategory_budgetInput>
|
|
827
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutCategory_budgetInput
|
|
828
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export type CategoryUpdateOneWithoutCategory_budgetNestedInput = {
|
|
832
|
-
create?: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_budgetInput, Prisma.CategoryUncheckedCreateWithoutCategory_budgetInput>
|
|
833
|
-
connectOrCreate?: Prisma.CategoryCreateOrConnectWithoutCategory_budgetInput
|
|
834
|
-
upsert?: Prisma.CategoryUpsertWithoutCategory_budgetInput
|
|
835
|
-
disconnect?: Prisma.CategoryWhereInput | boolean
|
|
836
|
-
delete?: Prisma.CategoryWhereInput | boolean
|
|
837
|
-
connect?: Prisma.CategoryWhereUniqueInput
|
|
838
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.CategoryUpdateToOneWithWhereWithoutCategory_budgetInput, Prisma.CategoryUpdateWithoutCategory_budgetInput>, Prisma.CategoryUncheckedUpdateWithoutCategory_budgetInput>
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
export type CategoryCreateWithoutIndustryInput = {
|
|
842
|
-
uuid?: string | null
|
|
843
|
-
name?: string | null
|
|
844
|
-
slug?: string | null
|
|
845
|
-
is_active?: boolean
|
|
846
|
-
parent_id?: number
|
|
847
|
-
description?: string | null
|
|
848
|
-
image_url?: string | null
|
|
849
|
-
created_by?: number | null
|
|
850
|
-
created_at?: Date | string
|
|
851
|
-
updated_by?: number | null
|
|
852
|
-
updated_at?: Date | string
|
|
853
|
-
is_deleted?: boolean
|
|
854
|
-
deleted_by?: number | null
|
|
855
|
-
deleted_at?: Date | string | null
|
|
856
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
857
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
858
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
859
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
860
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
861
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
862
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
export type CategoryUncheckedCreateWithoutIndustryInput = {
|
|
866
|
-
id?: number
|
|
867
|
-
uuid?: string | null
|
|
868
|
-
name?: string | null
|
|
869
|
-
slug?: string | null
|
|
870
|
-
is_active?: boolean
|
|
871
|
-
parent_id?: number
|
|
872
|
-
description?: string | null
|
|
873
|
-
image_url?: string | null
|
|
874
|
-
created_by?: number | null
|
|
875
|
-
created_at?: Date | string
|
|
876
|
-
updated_by?: number | null
|
|
877
|
-
updated_at?: Date | string
|
|
878
|
-
is_deleted?: boolean
|
|
879
|
-
deleted_by?: number | null
|
|
880
|
-
deleted_at?: Date | string | null
|
|
881
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
882
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
883
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
884
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
885
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
886
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
887
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
export type CategoryCreateOrConnectWithoutIndustryInput = {
|
|
891
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
892
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput>
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
export type CategoryCreateManyIndustryInputEnvelope = {
|
|
896
|
-
data: Prisma.CategoryCreateManyIndustryInput | Prisma.CategoryCreateManyIndustryInput[]
|
|
897
|
-
skipDuplicates?: boolean
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
export type CategoryUpsertWithWhereUniqueWithoutIndustryInput = {
|
|
901
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
902
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutIndustryInput, Prisma.CategoryUncheckedUpdateWithoutIndustryInput>
|
|
903
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutIndustryInput, Prisma.CategoryUncheckedCreateWithoutIndustryInput>
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
export type CategoryUpdateWithWhereUniqueWithoutIndustryInput = {
|
|
907
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
908
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutIndustryInput, Prisma.CategoryUncheckedUpdateWithoutIndustryInput>
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
export type CategoryUpdateManyWithWhereWithoutIndustryInput = {
|
|
912
|
-
where: Prisma.CategoryScalarWhereInput
|
|
913
|
-
data: Prisma.XOR<Prisma.CategoryUpdateManyMutationInput, Prisma.CategoryUncheckedUpdateManyWithoutIndustryInput>
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
export type CategoryScalarWhereInput = {
|
|
917
|
-
AND?: Prisma.CategoryScalarWhereInput | Prisma.CategoryScalarWhereInput[]
|
|
918
|
-
OR?: Prisma.CategoryScalarWhereInput[]
|
|
919
|
-
NOT?: Prisma.CategoryScalarWhereInput | Prisma.CategoryScalarWhereInput[]
|
|
920
|
-
id?: Prisma.IntFilter<"Category"> | number
|
|
921
|
-
uuid?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
922
|
-
industry_id?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
923
|
-
name?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
924
|
-
slug?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
925
|
-
is_active?: Prisma.BoolFilter<"Category"> | boolean
|
|
926
|
-
parent_id?: Prisma.IntFilter<"Category"> | number
|
|
927
|
-
description?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
928
|
-
image_url?: Prisma.StringNullableFilter<"Category"> | string | null
|
|
929
|
-
created_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
930
|
-
created_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
931
|
-
updated_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
932
|
-
updated_at?: Prisma.DateTimeFilter<"Category"> | Date | string
|
|
933
|
-
is_deleted?: Prisma.BoolFilter<"Category"> | boolean
|
|
934
|
-
deleted_by?: Prisma.IntNullableFilter<"Category"> | number | null
|
|
935
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Category"> | Date | string | null
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
export type CategoryCreateWithoutAttributesInput = {
|
|
939
|
-
uuid?: string | null
|
|
940
|
-
name?: string | null
|
|
941
|
-
slug?: string | null
|
|
942
|
-
is_active?: boolean
|
|
943
|
-
parent_id?: number
|
|
944
|
-
description?: string | null
|
|
945
|
-
image_url?: string | null
|
|
946
|
-
created_by?: number | null
|
|
947
|
-
created_at?: Date | string
|
|
948
|
-
updated_by?: number | null
|
|
949
|
-
updated_at?: Date | string
|
|
950
|
-
is_deleted?: boolean
|
|
951
|
-
deleted_by?: number | null
|
|
952
|
-
deleted_at?: Date | string | null
|
|
953
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
954
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
955
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
956
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
957
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
958
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
959
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
export type CategoryUncheckedCreateWithoutAttributesInput = {
|
|
963
|
-
id?: number
|
|
964
|
-
uuid?: string | null
|
|
965
|
-
industry_id?: number | null
|
|
966
|
-
name?: string | null
|
|
967
|
-
slug?: string | null
|
|
968
|
-
is_active?: boolean
|
|
969
|
-
parent_id?: number
|
|
970
|
-
description?: string | null
|
|
971
|
-
image_url?: string | null
|
|
972
|
-
created_by?: number | null
|
|
973
|
-
created_at?: Date | string
|
|
974
|
-
updated_by?: number | null
|
|
975
|
-
updated_at?: Date | string
|
|
976
|
-
is_deleted?: boolean
|
|
977
|
-
deleted_by?: number | null
|
|
978
|
-
deleted_at?: Date | string | null
|
|
979
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
980
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
981
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
982
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
983
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
984
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
export type CategoryCreateOrConnectWithoutAttributesInput = {
|
|
988
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
989
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutAttributesInput, Prisma.CategoryUncheckedCreateWithoutAttributesInput>
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export type CategoryUpsertWithoutAttributesInput = {
|
|
993
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutAttributesInput, Prisma.CategoryUncheckedUpdateWithoutAttributesInput>
|
|
994
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutAttributesInput, Prisma.CategoryUncheckedCreateWithoutAttributesInput>
|
|
995
|
-
where?: Prisma.CategoryWhereInput
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
export type CategoryUpdateToOneWithWhereWithoutAttributesInput = {
|
|
999
|
-
where?: Prisma.CategoryWhereInput
|
|
1000
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutAttributesInput, Prisma.CategoryUncheckedUpdateWithoutAttributesInput>
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
export type CategoryUpdateWithoutAttributesInput = {
|
|
1004
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1005
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1006
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1007
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1008
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1009
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1010
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1011
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1012
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1013
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1014
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1015
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1016
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1017
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1018
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1019
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1020
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1021
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1022
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1023
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1024
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export type CategoryUncheckedUpdateWithoutAttributesInput = {
|
|
1028
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1029
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1030
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1031
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1032
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1033
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1034
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1035
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1036
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1037
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1038
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1039
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1040
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1041
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1042
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1043
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1044
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1045
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1046
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1047
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1048
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1049
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
export type CategoryCreateWithoutItem_categoryInput = {
|
|
1053
|
-
uuid?: string | null
|
|
1054
|
-
name?: string | null
|
|
1055
|
-
slug?: string | null
|
|
1056
|
-
is_active?: boolean
|
|
1057
|
-
parent_id?: number
|
|
1058
|
-
description?: string | null
|
|
1059
|
-
image_url?: string | null
|
|
1060
|
-
created_by?: number | null
|
|
1061
|
-
created_at?: Date | string
|
|
1062
|
-
updated_by?: number | null
|
|
1063
|
-
updated_at?: Date | string
|
|
1064
|
-
is_deleted?: boolean
|
|
1065
|
-
deleted_by?: number | null
|
|
1066
|
-
deleted_at?: Date | string | null
|
|
1067
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1068
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1069
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
1070
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
1071
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
1072
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
1073
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
export type CategoryUncheckedCreateWithoutItem_categoryInput = {
|
|
1077
|
-
id?: number
|
|
1078
|
-
uuid?: string | null
|
|
1079
|
-
industry_id?: number | null
|
|
1080
|
-
name?: string | null
|
|
1081
|
-
slug?: string | null
|
|
1082
|
-
is_active?: boolean
|
|
1083
|
-
parent_id?: number
|
|
1084
|
-
description?: string | null
|
|
1085
|
-
image_url?: string | null
|
|
1086
|
-
created_by?: number | null
|
|
1087
|
-
created_at?: Date | string
|
|
1088
|
-
updated_by?: number | null
|
|
1089
|
-
updated_at?: Date | string
|
|
1090
|
-
is_deleted?: boolean
|
|
1091
|
-
deleted_by?: number | null
|
|
1092
|
-
deleted_at?: Date | string | null
|
|
1093
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1094
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
1095
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
1096
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1097
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1098
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
export type CategoryCreateOrConnectWithoutItem_categoryInput = {
|
|
1102
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1103
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutItem_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_categoryInput>
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
export type CategoryCreateWithoutItem_sub_categoryInput = {
|
|
1107
|
-
uuid?: string | null
|
|
1108
|
-
name?: string | null
|
|
1109
|
-
slug?: string | null
|
|
1110
|
-
is_active?: boolean
|
|
1111
|
-
parent_id?: number
|
|
1112
|
-
description?: string | null
|
|
1113
|
-
image_url?: string | null
|
|
1114
|
-
created_by?: number | null
|
|
1115
|
-
created_at?: Date | string
|
|
1116
|
-
updated_by?: number | null
|
|
1117
|
-
updated_at?: Date | string
|
|
1118
|
-
is_deleted?: boolean
|
|
1119
|
-
deleted_by?: number | null
|
|
1120
|
-
deleted_at?: Date | string | null
|
|
1121
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1122
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1123
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
1124
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
1125
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
1126
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
1127
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
export type CategoryUncheckedCreateWithoutItem_sub_categoryInput = {
|
|
1131
|
-
id?: number
|
|
1132
|
-
uuid?: string | null
|
|
1133
|
-
industry_id?: number | null
|
|
1134
|
-
name?: string | null
|
|
1135
|
-
slug?: string | null
|
|
1136
|
-
is_active?: boolean
|
|
1137
|
-
parent_id?: number
|
|
1138
|
-
description?: string | null
|
|
1139
|
-
image_url?: string | null
|
|
1140
|
-
created_by?: number | null
|
|
1141
|
-
created_at?: Date | string
|
|
1142
|
-
updated_by?: number | null
|
|
1143
|
-
updated_at?: Date | string
|
|
1144
|
-
is_deleted?: boolean
|
|
1145
|
-
deleted_by?: number | null
|
|
1146
|
-
deleted_at?: Date | string | null
|
|
1147
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1148
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
1149
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
1150
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1151
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1152
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
export type CategoryCreateOrConnectWithoutItem_sub_categoryInput = {
|
|
1156
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1157
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_sub_categoryInput>
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
export type CategoryUpsertWithoutItem_categoryInput = {
|
|
1161
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutItem_categoryInput, Prisma.CategoryUncheckedUpdateWithoutItem_categoryInput>
|
|
1162
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutItem_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_categoryInput>
|
|
1163
|
-
where?: Prisma.CategoryWhereInput
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
export type CategoryUpdateToOneWithWhereWithoutItem_categoryInput = {
|
|
1167
|
-
where?: Prisma.CategoryWhereInput
|
|
1168
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutItem_categoryInput, Prisma.CategoryUncheckedUpdateWithoutItem_categoryInput>
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
export type CategoryUpdateWithoutItem_categoryInput = {
|
|
1172
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1173
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1174
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1175
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1176
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1177
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1178
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1179
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1180
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1181
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1182
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1183
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1184
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1185
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1186
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1187
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1188
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1189
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1190
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1191
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1192
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
export type CategoryUncheckedUpdateWithoutItem_categoryInput = {
|
|
1196
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1197
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1199
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1200
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1201
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1202
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1203
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1204
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1205
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1206
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1207
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1208
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1209
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1210
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1211
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1212
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1213
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1214
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1215
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1216
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1217
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
export type CategoryUpsertWithoutItem_sub_categoryInput = {
|
|
1221
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedUpdateWithoutItem_sub_categoryInput>
|
|
1222
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutItem_sub_categoryInput>
|
|
1223
|
-
where?: Prisma.CategoryWhereInput
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
export type CategoryUpdateToOneWithWhereWithoutItem_sub_categoryInput = {
|
|
1227
|
-
where?: Prisma.CategoryWhereInput
|
|
1228
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutItem_sub_categoryInput, Prisma.CategoryUncheckedUpdateWithoutItem_sub_categoryInput>
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
export type CategoryUpdateWithoutItem_sub_categoryInput = {
|
|
1232
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1233
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1234
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1235
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1236
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1237
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1238
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1239
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1240
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1241
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1242
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1243
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1244
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1245
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1246
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1247
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1248
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1249
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1250
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1251
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1252
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
export type CategoryUncheckedUpdateWithoutItem_sub_categoryInput = {
|
|
1256
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1257
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1258
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1259
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1260
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1261
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1262
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1263
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1264
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1265
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1266
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1267
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1268
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1269
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1270
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1271
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1272
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1273
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1274
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1275
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1276
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1277
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
export type CategoryCreateWithoutCategory_uomInput = {
|
|
1281
|
-
uuid?: string | null
|
|
1282
|
-
name?: string | null
|
|
1283
|
-
slug?: string | null
|
|
1284
|
-
is_active?: boolean
|
|
1285
|
-
parent_id?: number
|
|
1286
|
-
description?: string | null
|
|
1287
|
-
image_url?: string | null
|
|
1288
|
-
created_by?: number | null
|
|
1289
|
-
created_at?: Date | string
|
|
1290
|
-
updated_by?: number | null
|
|
1291
|
-
updated_at?: Date | string
|
|
1292
|
-
is_deleted?: boolean
|
|
1293
|
-
deleted_by?: number | null
|
|
1294
|
-
deleted_at?: Date | string | null
|
|
1295
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1296
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1297
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
1298
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
1299
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
1300
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
1301
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
export type CategoryUncheckedCreateWithoutCategory_uomInput = {
|
|
1305
|
-
id?: number
|
|
1306
|
-
uuid?: string | null
|
|
1307
|
-
industry_id?: number | null
|
|
1308
|
-
name?: string | null
|
|
1309
|
-
slug?: string | null
|
|
1310
|
-
is_active?: boolean
|
|
1311
|
-
parent_id?: number
|
|
1312
|
-
description?: string | null
|
|
1313
|
-
image_url?: string | null
|
|
1314
|
-
created_by?: number | null
|
|
1315
|
-
created_at?: Date | string
|
|
1316
|
-
updated_by?: number | null
|
|
1317
|
-
updated_at?: Date | string
|
|
1318
|
-
is_deleted?: boolean
|
|
1319
|
-
deleted_by?: number | null
|
|
1320
|
-
deleted_at?: Date | string | null
|
|
1321
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1322
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
1323
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1324
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1325
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1326
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
export type CategoryCreateOrConnectWithoutCategory_uomInput = {
|
|
1330
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1331
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_uomInput, Prisma.CategoryUncheckedCreateWithoutCategory_uomInput>
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
export type CategoryUpsertWithoutCategory_uomInput = {
|
|
1335
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutCategory_uomInput, Prisma.CategoryUncheckedUpdateWithoutCategory_uomInput>
|
|
1336
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_uomInput, Prisma.CategoryUncheckedCreateWithoutCategory_uomInput>
|
|
1337
|
-
where?: Prisma.CategoryWhereInput
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
export type CategoryUpdateToOneWithWhereWithoutCategory_uomInput = {
|
|
1341
|
-
where?: Prisma.CategoryWhereInput
|
|
1342
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutCategory_uomInput, Prisma.CategoryUncheckedUpdateWithoutCategory_uomInput>
|
|
1343
|
-
}
|
|
1344
|
-
|
|
1345
|
-
export type CategoryUpdateWithoutCategory_uomInput = {
|
|
1346
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1347
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1348
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1349
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1350
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1351
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1352
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1353
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1354
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1355
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1356
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1357
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1358
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1359
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1360
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1361
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1362
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1363
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1364
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1365
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1366
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
export type CategoryUncheckedUpdateWithoutCategory_uomInput = {
|
|
1370
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1371
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1372
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1373
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1374
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1375
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1376
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1377
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1378
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1379
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1380
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1381
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1382
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1383
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1384
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1385
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1386
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1387
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1388
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1389
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1390
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1391
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
export type CategoryCreateWithoutBoq_event_items_as_categoryInput = {
|
|
1395
|
-
uuid?: string | null
|
|
1396
|
-
name?: string | null
|
|
1397
|
-
slug?: string | null
|
|
1398
|
-
is_active?: boolean
|
|
1399
|
-
parent_id?: number
|
|
1400
|
-
description?: string | null
|
|
1401
|
-
image_url?: string | null
|
|
1402
|
-
created_by?: number | null
|
|
1403
|
-
created_at?: Date | string
|
|
1404
|
-
updated_by?: number | null
|
|
1405
|
-
updated_at?: Date | string
|
|
1406
|
-
is_deleted?: boolean
|
|
1407
|
-
deleted_by?: number | null
|
|
1408
|
-
deleted_at?: Date | string | null
|
|
1409
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1410
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1411
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
1412
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
1413
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
1414
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
1415
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
export type CategoryUncheckedCreateWithoutBoq_event_items_as_categoryInput = {
|
|
1419
|
-
id?: number
|
|
1420
|
-
uuid?: string | null
|
|
1421
|
-
industry_id?: number | null
|
|
1422
|
-
name?: string | null
|
|
1423
|
-
slug?: string | null
|
|
1424
|
-
is_active?: boolean
|
|
1425
|
-
parent_id?: number
|
|
1426
|
-
description?: string | null
|
|
1427
|
-
image_url?: string | null
|
|
1428
|
-
created_by?: number | null
|
|
1429
|
-
created_at?: Date | string
|
|
1430
|
-
updated_by?: number | null
|
|
1431
|
-
updated_at?: Date | string
|
|
1432
|
-
is_deleted?: boolean
|
|
1433
|
-
deleted_by?: number | null
|
|
1434
|
-
deleted_at?: Date | string | null
|
|
1435
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1436
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
1437
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
1438
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1439
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1440
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
export type CategoryCreateOrConnectWithoutBoq_event_items_as_categoryInput = {
|
|
1444
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1445
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_categoryInput>
|
|
1446
|
-
}
|
|
1447
|
-
|
|
1448
|
-
export type CategoryCreateWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1449
|
-
uuid?: string | null
|
|
1450
|
-
name?: string | null
|
|
1451
|
-
slug?: string | null
|
|
1452
|
-
is_active?: boolean
|
|
1453
|
-
parent_id?: number
|
|
1454
|
-
description?: string | null
|
|
1455
|
-
image_url?: string | null
|
|
1456
|
-
created_by?: number | null
|
|
1457
|
-
created_at?: Date | string
|
|
1458
|
-
updated_by?: number | null
|
|
1459
|
-
updated_at?: Date | string
|
|
1460
|
-
is_deleted?: boolean
|
|
1461
|
-
deleted_by?: number | null
|
|
1462
|
-
deleted_at?: Date | string | null
|
|
1463
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1464
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1465
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
1466
|
-
category_budget?: Prisma.CategoryBudgetCreateNestedManyWithoutCategoryInput
|
|
1467
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
1468
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
1469
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
export type CategoryUncheckedCreateWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1473
|
-
id?: number
|
|
1474
|
-
uuid?: string | null
|
|
1475
|
-
industry_id?: number | null
|
|
1476
|
-
name?: string | null
|
|
1477
|
-
slug?: string | null
|
|
1478
|
-
is_active?: boolean
|
|
1479
|
-
parent_id?: number
|
|
1480
|
-
description?: string | null
|
|
1481
|
-
image_url?: string | null
|
|
1482
|
-
created_by?: number | null
|
|
1483
|
-
created_at?: Date | string
|
|
1484
|
-
updated_by?: number | null
|
|
1485
|
-
updated_at?: Date | string
|
|
1486
|
-
is_deleted?: boolean
|
|
1487
|
-
deleted_by?: number | null
|
|
1488
|
-
deleted_at?: Date | string | null
|
|
1489
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1490
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
1491
|
-
category_budget?: Prisma.CategoryBudgetUncheckedCreateNestedManyWithoutCategoryInput
|
|
1492
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1493
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1494
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
export type CategoryCreateOrConnectWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1498
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1499
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_sub_categoryInput>
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
export type CategoryUpsertWithoutBoq_event_items_as_categoryInput = {
|
|
1503
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_categoryInput>
|
|
1504
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_categoryInput>
|
|
1505
|
-
where?: Prisma.CategoryWhereInput
|
|
1506
|
-
}
|
|
1507
|
-
|
|
1508
|
-
export type CategoryUpdateToOneWithWhereWithoutBoq_event_items_as_categoryInput = {
|
|
1509
|
-
where?: Prisma.CategoryWhereInput
|
|
1510
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutBoq_event_items_as_categoryInput, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_categoryInput>
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
export type CategoryUpdateWithoutBoq_event_items_as_categoryInput = {
|
|
1514
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1515
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1516
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1517
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1518
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1519
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1520
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1521
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1522
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1523
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1524
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1525
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1526
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1527
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1528
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1529
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1530
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1531
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1532
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1533
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1534
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
export type CategoryUncheckedUpdateWithoutBoq_event_items_as_categoryInput = {
|
|
1538
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1539
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1540
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1541
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1542
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1543
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1544
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1545
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1546
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1547
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1548
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1549
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1550
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1551
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1552
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1553
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1554
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1555
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1556
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1557
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1558
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1559
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
export type CategoryUpsertWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1563
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_sub_categoryInput>
|
|
1564
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedCreateWithoutBoq_event_items_as_sub_categoryInput>
|
|
1565
|
-
where?: Prisma.CategoryWhereInput
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
export type CategoryUpdateToOneWithWhereWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1569
|
-
where?: Prisma.CategoryWhereInput
|
|
1570
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutBoq_event_items_as_sub_categoryInput, Prisma.CategoryUncheckedUpdateWithoutBoq_event_items_as_sub_categoryInput>
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
export type CategoryUpdateWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1574
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1575
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1576
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1577
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1578
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1579
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1580
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1581
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1582
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1583
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1584
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1585
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1586
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1587
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1588
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1589
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1590
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1591
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1592
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1593
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1594
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
export type CategoryUncheckedUpdateWithoutBoq_event_items_as_sub_categoryInput = {
|
|
1598
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1599
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1600
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1601
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1602
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1603
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1604
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1605
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1606
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1607
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1608
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1609
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1610
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1611
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1612
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1613
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1614
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1615
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1616
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1617
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1618
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1619
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
export type CategoryCreateWithoutCategory_budgetInput = {
|
|
1623
|
-
uuid?: string | null
|
|
1624
|
-
name?: string | null
|
|
1625
|
-
slug?: string | null
|
|
1626
|
-
is_active?: boolean
|
|
1627
|
-
parent_id?: number
|
|
1628
|
-
description?: string | null
|
|
1629
|
-
image_url?: string | null
|
|
1630
|
-
created_by?: number | null
|
|
1631
|
-
created_at?: Date | string
|
|
1632
|
-
updated_by?: number | null
|
|
1633
|
-
updated_at?: Date | string
|
|
1634
|
-
is_deleted?: boolean
|
|
1635
|
-
deleted_by?: number | null
|
|
1636
|
-
deleted_at?: Date | string | null
|
|
1637
|
-
industry?: Prisma.IndustryCreateNestedOneWithoutCategoriesInput
|
|
1638
|
-
attributes?: Prisma.AttributeCreateNestedManyWithoutCategoryInput
|
|
1639
|
-
category_uom?: Prisma.UomCategoryCreateNestedManyWithoutCategoryInput
|
|
1640
|
-
item_category?: Prisma.ItemCreateNestedManyWithoutCategoryInput
|
|
1641
|
-
item_sub_category?: Prisma.ItemCreateNestedManyWithoutSub_categoryInput
|
|
1642
|
-
boq_event_items_as_category?: Prisma.BoqEventItemCreateNestedManyWithoutCategoryInput
|
|
1643
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemCreateNestedManyWithoutSub_categoryInput
|
|
1644
|
-
}
|
|
1645
|
-
|
|
1646
|
-
export type CategoryUncheckedCreateWithoutCategory_budgetInput = {
|
|
1647
|
-
id?: number
|
|
1648
|
-
uuid?: string | null
|
|
1649
|
-
industry_id?: number | null
|
|
1650
|
-
name?: string | null
|
|
1651
|
-
slug?: string | null
|
|
1652
|
-
is_active?: boolean
|
|
1653
|
-
parent_id?: number
|
|
1654
|
-
description?: string | null
|
|
1655
|
-
image_url?: string | null
|
|
1656
|
-
created_by?: number | null
|
|
1657
|
-
created_at?: Date | string
|
|
1658
|
-
updated_by?: number | null
|
|
1659
|
-
updated_at?: Date | string
|
|
1660
|
-
is_deleted?: boolean
|
|
1661
|
-
deleted_by?: number | null
|
|
1662
|
-
deleted_at?: Date | string | null
|
|
1663
|
-
attributes?: Prisma.AttributeUncheckedCreateNestedManyWithoutCategoryInput
|
|
1664
|
-
category_uom?: Prisma.UomCategoryUncheckedCreateNestedManyWithoutCategoryInput
|
|
1665
|
-
item_category?: Prisma.ItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1666
|
-
item_sub_category?: Prisma.ItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1667
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutCategoryInput
|
|
1668
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedCreateNestedManyWithoutSub_categoryInput
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
export type CategoryCreateOrConnectWithoutCategory_budgetInput = {
|
|
1672
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
1673
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_budgetInput, Prisma.CategoryUncheckedCreateWithoutCategory_budgetInput>
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
export type CategoryUpsertWithoutCategory_budgetInput = {
|
|
1677
|
-
update: Prisma.XOR<Prisma.CategoryUpdateWithoutCategory_budgetInput, Prisma.CategoryUncheckedUpdateWithoutCategory_budgetInput>
|
|
1678
|
-
create: Prisma.XOR<Prisma.CategoryCreateWithoutCategory_budgetInput, Prisma.CategoryUncheckedCreateWithoutCategory_budgetInput>
|
|
1679
|
-
where?: Prisma.CategoryWhereInput
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
export type CategoryUpdateToOneWithWhereWithoutCategory_budgetInput = {
|
|
1683
|
-
where?: Prisma.CategoryWhereInput
|
|
1684
|
-
data: Prisma.XOR<Prisma.CategoryUpdateWithoutCategory_budgetInput, Prisma.CategoryUncheckedUpdateWithoutCategory_budgetInput>
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
export type CategoryUpdateWithoutCategory_budgetInput = {
|
|
1688
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1689
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1690
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1691
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1692
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1693
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1694
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1695
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1696
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1697
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1698
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1699
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1700
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1701
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1702
|
-
industry?: Prisma.IndustryUpdateOneWithoutCategoriesNestedInput
|
|
1703
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1704
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1705
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1706
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1707
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1708
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1709
|
-
}
|
|
1710
|
-
|
|
1711
|
-
export type CategoryUncheckedUpdateWithoutCategory_budgetInput = {
|
|
1712
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1713
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1714
|
-
industry_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1715
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1716
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1717
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1718
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1719
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1720
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1721
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1722
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1723
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1724
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1725
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1726
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1727
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1728
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1729
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1730
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1731
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1732
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1733
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
export type CategoryCreateManyIndustryInput = {
|
|
1737
|
-
id?: number
|
|
1738
|
-
uuid?: string | null
|
|
1739
|
-
name?: string | null
|
|
1740
|
-
slug?: string | null
|
|
1741
|
-
is_active?: boolean
|
|
1742
|
-
parent_id?: number
|
|
1743
|
-
description?: string | null
|
|
1744
|
-
image_url?: string | null
|
|
1745
|
-
created_by?: number | null
|
|
1746
|
-
created_at?: Date | string
|
|
1747
|
-
updated_by?: number | null
|
|
1748
|
-
updated_at?: Date | string
|
|
1749
|
-
is_deleted?: boolean
|
|
1750
|
-
deleted_by?: number | null
|
|
1751
|
-
deleted_at?: Date | string | null
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
export type CategoryUpdateWithoutIndustryInput = {
|
|
1755
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1756
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1757
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1758
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1759
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1760
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1761
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1762
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1763
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1764
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1765
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1766
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1767
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1768
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1769
|
-
attributes?: Prisma.AttributeUpdateManyWithoutCategoryNestedInput
|
|
1770
|
-
category_uom?: Prisma.UomCategoryUpdateManyWithoutCategoryNestedInput
|
|
1771
|
-
category_budget?: Prisma.CategoryBudgetUpdateManyWithoutCategoryNestedInput
|
|
1772
|
-
item_category?: Prisma.ItemUpdateManyWithoutCategoryNestedInput
|
|
1773
|
-
item_sub_category?: Prisma.ItemUpdateManyWithoutSub_categoryNestedInput
|
|
1774
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUpdateManyWithoutCategoryNestedInput
|
|
1775
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUpdateManyWithoutSub_categoryNestedInput
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
export type CategoryUncheckedUpdateWithoutIndustryInput = {
|
|
1779
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1780
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1781
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1782
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1783
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1784
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1785
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1786
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1787
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1788
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1789
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1790
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1791
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1792
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1793
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1794
|
-
attributes?: Prisma.AttributeUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1795
|
-
category_uom?: Prisma.UomCategoryUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1796
|
-
category_budget?: Prisma.CategoryBudgetUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1797
|
-
item_category?: Prisma.ItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1798
|
-
item_sub_category?: Prisma.ItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1799
|
-
boq_event_items_as_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutCategoryNestedInput
|
|
1800
|
-
boq_event_items_as_sub_category?: Prisma.BoqEventItemUncheckedUpdateManyWithoutSub_categoryNestedInput
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
|
-
export type CategoryUncheckedUpdateManyWithoutIndustryInput = {
|
|
1804
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1805
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1806
|
-
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1807
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1808
|
-
is_active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1809
|
-
parent_id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1810
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1811
|
-
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1812
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1813
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1814
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1815
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1816
|
-
is_deleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1817
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1818
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1819
|
-
}
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
/**
|
|
1823
|
-
* Count Type CategoryCountOutputType
|
|
1824
|
-
*/
|
|
1825
|
-
|
|
1826
|
-
export type CategoryCountOutputType = {
|
|
1827
|
-
attributes: number
|
|
1828
|
-
category_uom: number
|
|
1829
|
-
category_budget: number
|
|
1830
|
-
item_category: number
|
|
1831
|
-
item_sub_category: number
|
|
1832
|
-
boq_event_items_as_category: number
|
|
1833
|
-
boq_event_items_as_sub_category: number
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
export type CategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1837
|
-
attributes?: boolean | CategoryCountOutputTypeCountAttributesArgs
|
|
1838
|
-
category_uom?: boolean | CategoryCountOutputTypeCountCategory_uomArgs
|
|
1839
|
-
category_budget?: boolean | CategoryCountOutputTypeCountCategory_budgetArgs
|
|
1840
|
-
item_category?: boolean | CategoryCountOutputTypeCountItem_categoryArgs
|
|
1841
|
-
item_sub_category?: boolean | CategoryCountOutputTypeCountItem_sub_categoryArgs
|
|
1842
|
-
boq_event_items_as_category?: boolean | CategoryCountOutputTypeCountBoq_event_items_as_categoryArgs
|
|
1843
|
-
boq_event_items_as_sub_category?: boolean | CategoryCountOutputTypeCountBoq_event_items_as_sub_categoryArgs
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* CategoryCountOutputType without action
|
|
1848
|
-
*/
|
|
1849
|
-
export type CategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1850
|
-
/**
|
|
1851
|
-
* Select specific fields to fetch from the CategoryCountOutputType
|
|
1852
|
-
*/
|
|
1853
|
-
select?: Prisma.CategoryCountOutputTypeSelect<ExtArgs> | null
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* CategoryCountOutputType without action
|
|
1858
|
-
*/
|
|
1859
|
-
export type CategoryCountOutputTypeCountAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1860
|
-
where?: Prisma.AttributeWhereInput
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
|
-
/**
|
|
1864
|
-
* CategoryCountOutputType without action
|
|
1865
|
-
*/
|
|
1866
|
-
export type CategoryCountOutputTypeCountCategory_uomArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1867
|
-
where?: Prisma.UomCategoryWhereInput
|
|
1868
|
-
}
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* CategoryCountOutputType without action
|
|
1872
|
-
*/
|
|
1873
|
-
export type CategoryCountOutputTypeCountCategory_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1874
|
-
where?: Prisma.CategoryBudgetWhereInput
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
/**
|
|
1878
|
-
* CategoryCountOutputType without action
|
|
1879
|
-
*/
|
|
1880
|
-
export type CategoryCountOutputTypeCountItem_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1881
|
-
where?: Prisma.ItemWhereInput
|
|
1882
|
-
}
|
|
1883
|
-
|
|
1884
|
-
/**
|
|
1885
|
-
* CategoryCountOutputType without action
|
|
1886
|
-
*/
|
|
1887
|
-
export type CategoryCountOutputTypeCountItem_sub_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1888
|
-
where?: Prisma.ItemWhereInput
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
/**
|
|
1892
|
-
* CategoryCountOutputType without action
|
|
1893
|
-
*/
|
|
1894
|
-
export type CategoryCountOutputTypeCountBoq_event_items_as_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1895
|
-
where?: Prisma.BoqEventItemWhereInput
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
/**
|
|
1899
|
-
* CategoryCountOutputType without action
|
|
1900
|
-
*/
|
|
1901
|
-
export type CategoryCountOutputTypeCountBoq_event_items_as_sub_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1902
|
-
where?: Prisma.BoqEventItemWhereInput
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
export type CategorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1907
|
-
id?: boolean
|
|
1908
|
-
uuid?: boolean
|
|
1909
|
-
industry_id?: boolean
|
|
1910
|
-
name?: boolean
|
|
1911
|
-
slug?: boolean
|
|
1912
|
-
is_active?: boolean
|
|
1913
|
-
parent_id?: boolean
|
|
1914
|
-
description?: boolean
|
|
1915
|
-
image_url?: boolean
|
|
1916
|
-
created_by?: boolean
|
|
1917
|
-
created_at?: boolean
|
|
1918
|
-
updated_by?: boolean
|
|
1919
|
-
updated_at?: boolean
|
|
1920
|
-
is_deleted?: boolean
|
|
1921
|
-
deleted_by?: boolean
|
|
1922
|
-
deleted_at?: boolean
|
|
1923
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
1924
|
-
attributes?: boolean | Prisma.Category$attributesArgs<ExtArgs>
|
|
1925
|
-
category_uom?: boolean | Prisma.Category$category_uomArgs<ExtArgs>
|
|
1926
|
-
category_budget?: boolean | Prisma.Category$category_budgetArgs<ExtArgs>
|
|
1927
|
-
item_category?: boolean | Prisma.Category$item_categoryArgs<ExtArgs>
|
|
1928
|
-
item_sub_category?: boolean | Prisma.Category$item_sub_categoryArgs<ExtArgs>
|
|
1929
|
-
boq_event_items_as_category?: boolean | Prisma.Category$boq_event_items_as_categoryArgs<ExtArgs>
|
|
1930
|
-
boq_event_items_as_sub_category?: boolean | Prisma.Category$boq_event_items_as_sub_categoryArgs<ExtArgs>
|
|
1931
|
-
_count?: boolean | Prisma.CategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
1932
|
-
}, ExtArgs["result"]["category"]>
|
|
1933
|
-
|
|
1934
|
-
export type CategorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1935
|
-
id?: boolean
|
|
1936
|
-
uuid?: boolean
|
|
1937
|
-
industry_id?: boolean
|
|
1938
|
-
name?: boolean
|
|
1939
|
-
slug?: boolean
|
|
1940
|
-
is_active?: boolean
|
|
1941
|
-
parent_id?: boolean
|
|
1942
|
-
description?: boolean
|
|
1943
|
-
image_url?: boolean
|
|
1944
|
-
created_by?: boolean
|
|
1945
|
-
created_at?: boolean
|
|
1946
|
-
updated_by?: boolean
|
|
1947
|
-
updated_at?: boolean
|
|
1948
|
-
is_deleted?: boolean
|
|
1949
|
-
deleted_by?: boolean
|
|
1950
|
-
deleted_at?: boolean
|
|
1951
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
1952
|
-
}, ExtArgs["result"]["category"]>
|
|
1953
|
-
|
|
1954
|
-
export type CategorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1955
|
-
id?: boolean
|
|
1956
|
-
uuid?: boolean
|
|
1957
|
-
industry_id?: boolean
|
|
1958
|
-
name?: boolean
|
|
1959
|
-
slug?: boolean
|
|
1960
|
-
is_active?: boolean
|
|
1961
|
-
parent_id?: boolean
|
|
1962
|
-
description?: boolean
|
|
1963
|
-
image_url?: boolean
|
|
1964
|
-
created_by?: boolean
|
|
1965
|
-
created_at?: boolean
|
|
1966
|
-
updated_by?: boolean
|
|
1967
|
-
updated_at?: boolean
|
|
1968
|
-
is_deleted?: boolean
|
|
1969
|
-
deleted_by?: boolean
|
|
1970
|
-
deleted_at?: boolean
|
|
1971
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
1972
|
-
}, ExtArgs["result"]["category"]>
|
|
1973
|
-
|
|
1974
|
-
export type CategorySelectScalar = {
|
|
1975
|
-
id?: boolean
|
|
1976
|
-
uuid?: boolean
|
|
1977
|
-
industry_id?: boolean
|
|
1978
|
-
name?: boolean
|
|
1979
|
-
slug?: boolean
|
|
1980
|
-
is_active?: boolean
|
|
1981
|
-
parent_id?: boolean
|
|
1982
|
-
description?: boolean
|
|
1983
|
-
image_url?: boolean
|
|
1984
|
-
created_by?: boolean
|
|
1985
|
-
created_at?: boolean
|
|
1986
|
-
updated_by?: boolean
|
|
1987
|
-
updated_at?: boolean
|
|
1988
|
-
is_deleted?: boolean
|
|
1989
|
-
deleted_by?: boolean
|
|
1990
|
-
deleted_at?: boolean
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
export type CategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "industry_id" | "name" | "slug" | "is_active" | "parent_id" | "description" | "image_url" | "created_by" | "created_at" | "updated_by" | "updated_at" | "is_deleted" | "deleted_by" | "deleted_at", ExtArgs["result"]["category"]>
|
|
1994
|
-
export type CategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1995
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
1996
|
-
attributes?: boolean | Prisma.Category$attributesArgs<ExtArgs>
|
|
1997
|
-
category_uom?: boolean | Prisma.Category$category_uomArgs<ExtArgs>
|
|
1998
|
-
category_budget?: boolean | Prisma.Category$category_budgetArgs<ExtArgs>
|
|
1999
|
-
item_category?: boolean | Prisma.Category$item_categoryArgs<ExtArgs>
|
|
2000
|
-
item_sub_category?: boolean | Prisma.Category$item_sub_categoryArgs<ExtArgs>
|
|
2001
|
-
boq_event_items_as_category?: boolean | Prisma.Category$boq_event_items_as_categoryArgs<ExtArgs>
|
|
2002
|
-
boq_event_items_as_sub_category?: boolean | Prisma.Category$boq_event_items_as_sub_categoryArgs<ExtArgs>
|
|
2003
|
-
_count?: boolean | Prisma.CategoryCountOutputTypeDefaultArgs<ExtArgs>
|
|
2004
|
-
}
|
|
2005
|
-
export type CategoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2006
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
2007
|
-
}
|
|
2008
|
-
export type CategoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2009
|
-
industry?: boolean | Prisma.Category$industryArgs<ExtArgs>
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
export type $CategoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
-
name: "Category"
|
|
2014
|
-
objects: {
|
|
2015
|
-
industry: Prisma.$IndustryPayload<ExtArgs> | null
|
|
2016
|
-
attributes: Prisma.$AttributePayload<ExtArgs>[]
|
|
2017
|
-
category_uom: Prisma.$UomCategoryPayload<ExtArgs>[]
|
|
2018
|
-
category_budget: Prisma.$CategoryBudgetPayload<ExtArgs>[]
|
|
2019
|
-
item_category: Prisma.$ItemPayload<ExtArgs>[]
|
|
2020
|
-
item_sub_category: Prisma.$ItemPayload<ExtArgs>[]
|
|
2021
|
-
boq_event_items_as_category: Prisma.$BoqEventItemPayload<ExtArgs>[]
|
|
2022
|
-
boq_event_items_as_sub_category: Prisma.$BoqEventItemPayload<ExtArgs>[]
|
|
2023
|
-
}
|
|
2024
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2025
|
-
id: number
|
|
2026
|
-
uuid: string | null
|
|
2027
|
-
industry_id: number | null
|
|
2028
|
-
name: string | null
|
|
2029
|
-
slug: string | null
|
|
2030
|
-
is_active: boolean
|
|
2031
|
-
parent_id: number
|
|
2032
|
-
description: string | null
|
|
2033
|
-
image_url: string | null
|
|
2034
|
-
created_by: number | null
|
|
2035
|
-
created_at: Date
|
|
2036
|
-
updated_by: number | null
|
|
2037
|
-
updated_at: Date
|
|
2038
|
-
is_deleted: boolean
|
|
2039
|
-
deleted_by: number | null
|
|
2040
|
-
deleted_at: Date | null
|
|
2041
|
-
}, ExtArgs["result"]["category"]>
|
|
2042
|
-
composites: {}
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
export type CategoryGetPayload<S extends boolean | null | undefined | CategoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CategoryPayload, S>
|
|
2046
|
-
|
|
2047
|
-
export type CategoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
2048
|
-
Omit<CategoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2049
|
-
select?: CategoryCountAggregateInputType | true
|
|
2050
|
-
}
|
|
2051
|
-
|
|
2052
|
-
export interface CategoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2053
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Category'], meta: { name: 'Category' } }
|
|
2054
|
-
/**
|
|
2055
|
-
* Find zero or one Category that matches the filter.
|
|
2056
|
-
* @param {CategoryFindUniqueArgs} args - Arguments to find a Category
|
|
2057
|
-
* @example
|
|
2058
|
-
* // Get one Category
|
|
2059
|
-
* const category = await prisma.category.findUnique({
|
|
2060
|
-
* where: {
|
|
2061
|
-
* // ... provide filter here
|
|
2062
|
-
* }
|
|
2063
|
-
* })
|
|
2064
|
-
*/
|
|
2065
|
-
findUnique<T extends CategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, CategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2066
|
-
|
|
2067
|
-
/**
|
|
2068
|
-
* Find one Category that matches the filter or throw an error with `error.code='P2025'`
|
|
2069
|
-
* if no matches were found.
|
|
2070
|
-
* @param {CategoryFindUniqueOrThrowArgs} args - Arguments to find a Category
|
|
2071
|
-
* @example
|
|
2072
|
-
* // Get one Category
|
|
2073
|
-
* const category = await prisma.category.findUniqueOrThrow({
|
|
2074
|
-
* where: {
|
|
2075
|
-
* // ... provide filter here
|
|
2076
|
-
* }
|
|
2077
|
-
* })
|
|
2078
|
-
*/
|
|
2079
|
-
findUniqueOrThrow<T extends CategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2080
|
-
|
|
2081
|
-
/**
|
|
2082
|
-
* Find the first Category that matches the filter.
|
|
2083
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2084
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2085
|
-
* @param {CategoryFindFirstArgs} args - Arguments to find a Category
|
|
2086
|
-
* @example
|
|
2087
|
-
* // Get one Category
|
|
2088
|
-
* const category = await prisma.category.findFirst({
|
|
2089
|
-
* where: {
|
|
2090
|
-
* // ... provide filter here
|
|
2091
|
-
* }
|
|
2092
|
-
* })
|
|
2093
|
-
*/
|
|
2094
|
-
findFirst<T extends CategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, CategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2095
|
-
|
|
2096
|
-
/**
|
|
2097
|
-
* Find the first Category that matches the filter or
|
|
2098
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2099
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2100
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2101
|
-
* @param {CategoryFindFirstOrThrowArgs} args - Arguments to find a Category
|
|
2102
|
-
* @example
|
|
2103
|
-
* // Get one Category
|
|
2104
|
-
* const category = await prisma.category.findFirstOrThrow({
|
|
2105
|
-
* where: {
|
|
2106
|
-
* // ... provide filter here
|
|
2107
|
-
* }
|
|
2108
|
-
* })
|
|
2109
|
-
*/
|
|
2110
|
-
findFirstOrThrow<T extends CategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2111
|
-
|
|
2112
|
-
/**
|
|
2113
|
-
* Find zero or more Categories that matches the filter.
|
|
2114
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2115
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2116
|
-
* @param {CategoryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2117
|
-
* @example
|
|
2118
|
-
* // Get all Categories
|
|
2119
|
-
* const categories = await prisma.category.findMany()
|
|
2120
|
-
*
|
|
2121
|
-
* // Get first 10 Categories
|
|
2122
|
-
* const categories = await prisma.category.findMany({ take: 10 })
|
|
2123
|
-
*
|
|
2124
|
-
* // Only select the `id`
|
|
2125
|
-
* const categoryWithIdOnly = await prisma.category.findMany({ select: { id: true } })
|
|
2126
|
-
*
|
|
2127
|
-
*/
|
|
2128
|
-
findMany<T extends CategoryFindManyArgs>(args?: Prisma.SelectSubset<T, CategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2129
|
-
|
|
2130
|
-
/**
|
|
2131
|
-
* Create a Category.
|
|
2132
|
-
* @param {CategoryCreateArgs} args - Arguments to create a Category.
|
|
2133
|
-
* @example
|
|
2134
|
-
* // Create one Category
|
|
2135
|
-
* const Category = await prisma.category.create({
|
|
2136
|
-
* data: {
|
|
2137
|
-
* // ... data to create a Category
|
|
2138
|
-
* }
|
|
2139
|
-
* })
|
|
2140
|
-
*
|
|
2141
|
-
*/
|
|
2142
|
-
create<T extends CategoryCreateArgs>(args: Prisma.SelectSubset<T, CategoryCreateArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2143
|
-
|
|
2144
|
-
/**
|
|
2145
|
-
* Create many Categories.
|
|
2146
|
-
* @param {CategoryCreateManyArgs} args - Arguments to create many Categories.
|
|
2147
|
-
* @example
|
|
2148
|
-
* // Create many Categories
|
|
2149
|
-
* const category = await prisma.category.createMany({
|
|
2150
|
-
* data: [
|
|
2151
|
-
* // ... provide data here
|
|
2152
|
-
* ]
|
|
2153
|
-
* })
|
|
2154
|
-
*
|
|
2155
|
-
*/
|
|
2156
|
-
createMany<T extends CategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, CategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2157
|
-
|
|
2158
|
-
/**
|
|
2159
|
-
* Create many Categories and returns the data saved in the database.
|
|
2160
|
-
* @param {CategoryCreateManyAndReturnArgs} args - Arguments to create many Categories.
|
|
2161
|
-
* @example
|
|
2162
|
-
* // Create many Categories
|
|
2163
|
-
* const category = await prisma.category.createManyAndReturn({
|
|
2164
|
-
* data: [
|
|
2165
|
-
* // ... provide data here
|
|
2166
|
-
* ]
|
|
2167
|
-
* })
|
|
2168
|
-
*
|
|
2169
|
-
* // Create many Categories and only return the `id`
|
|
2170
|
-
* const categoryWithIdOnly = await prisma.category.createManyAndReturn({
|
|
2171
|
-
* select: { id: true },
|
|
2172
|
-
* data: [
|
|
2173
|
-
* // ... provide data here
|
|
2174
|
-
* ]
|
|
2175
|
-
* })
|
|
2176
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2177
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2178
|
-
*
|
|
2179
|
-
*/
|
|
2180
|
-
createManyAndReturn<T extends CategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2181
|
-
|
|
2182
|
-
/**
|
|
2183
|
-
* Delete a Category.
|
|
2184
|
-
* @param {CategoryDeleteArgs} args - Arguments to delete one Category.
|
|
2185
|
-
* @example
|
|
2186
|
-
* // Delete one Category
|
|
2187
|
-
* const Category = await prisma.category.delete({
|
|
2188
|
-
* where: {
|
|
2189
|
-
* // ... filter to delete one Category
|
|
2190
|
-
* }
|
|
2191
|
-
* })
|
|
2192
|
-
*
|
|
2193
|
-
*/
|
|
2194
|
-
delete<T extends CategoryDeleteArgs>(args: Prisma.SelectSubset<T, CategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2195
|
-
|
|
2196
|
-
/**
|
|
2197
|
-
* Update one Category.
|
|
2198
|
-
* @param {CategoryUpdateArgs} args - Arguments to update one Category.
|
|
2199
|
-
* @example
|
|
2200
|
-
* // Update one Category
|
|
2201
|
-
* const category = await prisma.category.update({
|
|
2202
|
-
* where: {
|
|
2203
|
-
* // ... provide filter here
|
|
2204
|
-
* },
|
|
2205
|
-
* data: {
|
|
2206
|
-
* // ... provide data here
|
|
2207
|
-
* }
|
|
2208
|
-
* })
|
|
2209
|
-
*
|
|
2210
|
-
*/
|
|
2211
|
-
update<T extends CategoryUpdateArgs>(args: Prisma.SelectSubset<T, CategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2212
|
-
|
|
2213
|
-
/**
|
|
2214
|
-
* Delete zero or more Categories.
|
|
2215
|
-
* @param {CategoryDeleteManyArgs} args - Arguments to filter Categories to delete.
|
|
2216
|
-
* @example
|
|
2217
|
-
* // Delete a few Categories
|
|
2218
|
-
* const { count } = await prisma.category.deleteMany({
|
|
2219
|
-
* where: {
|
|
2220
|
-
* // ... provide filter here
|
|
2221
|
-
* }
|
|
2222
|
-
* })
|
|
2223
|
-
*
|
|
2224
|
-
*/
|
|
2225
|
-
deleteMany<T extends CategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, CategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* Update zero or more Categories.
|
|
2229
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2230
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2231
|
-
* @param {CategoryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2232
|
-
* @example
|
|
2233
|
-
* // Update many Categories
|
|
2234
|
-
* const category = await prisma.category.updateMany({
|
|
2235
|
-
* where: {
|
|
2236
|
-
* // ... provide filter here
|
|
2237
|
-
* },
|
|
2238
|
-
* data: {
|
|
2239
|
-
* // ... provide data here
|
|
2240
|
-
* }
|
|
2241
|
-
* })
|
|
2242
|
-
*
|
|
2243
|
-
*/
|
|
2244
|
-
updateMany<T extends CategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, CategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2245
|
-
|
|
2246
|
-
/**
|
|
2247
|
-
* Update zero or more Categories and returns the data updated in the database.
|
|
2248
|
-
* @param {CategoryUpdateManyAndReturnArgs} args - Arguments to update many Categories.
|
|
2249
|
-
* @example
|
|
2250
|
-
* // Update many Categories
|
|
2251
|
-
* const category = await prisma.category.updateManyAndReturn({
|
|
2252
|
-
* where: {
|
|
2253
|
-
* // ... provide filter here
|
|
2254
|
-
* },
|
|
2255
|
-
* data: [
|
|
2256
|
-
* // ... provide data here
|
|
2257
|
-
* ]
|
|
2258
|
-
* })
|
|
2259
|
-
*
|
|
2260
|
-
* // Update zero or more Categories and only return the `id`
|
|
2261
|
-
* const categoryWithIdOnly = await prisma.category.updateManyAndReturn({
|
|
2262
|
-
* select: { id: true },
|
|
2263
|
-
* where: {
|
|
2264
|
-
* // ... provide filter here
|
|
2265
|
-
* },
|
|
2266
|
-
* data: [
|
|
2267
|
-
* // ... provide data here
|
|
2268
|
-
* ]
|
|
2269
|
-
* })
|
|
2270
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2271
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2272
|
-
*
|
|
2273
|
-
*/
|
|
2274
|
-
updateManyAndReturn<T extends CategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2275
|
-
|
|
2276
|
-
/**
|
|
2277
|
-
* Create or update one Category.
|
|
2278
|
-
* @param {CategoryUpsertArgs} args - Arguments to update or create a Category.
|
|
2279
|
-
* @example
|
|
2280
|
-
* // Update or create a Category
|
|
2281
|
-
* const category = await prisma.category.upsert({
|
|
2282
|
-
* create: {
|
|
2283
|
-
* // ... data to create a Category
|
|
2284
|
-
* },
|
|
2285
|
-
* update: {
|
|
2286
|
-
* // ... in case it already exists, update
|
|
2287
|
-
* },
|
|
2288
|
-
* where: {
|
|
2289
|
-
* // ... the filter for the Category we want to update
|
|
2290
|
-
* }
|
|
2291
|
-
* })
|
|
2292
|
-
*/
|
|
2293
|
-
upsert<T extends CategoryUpsertArgs>(args: Prisma.SelectSubset<T, CategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
/**
|
|
2297
|
-
* Count the number of Categories.
|
|
2298
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2299
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2300
|
-
* @param {CategoryCountArgs} args - Arguments to filter Categories to count.
|
|
2301
|
-
* @example
|
|
2302
|
-
* // Count the number of Categories
|
|
2303
|
-
* const count = await prisma.category.count({
|
|
2304
|
-
* where: {
|
|
2305
|
-
* // ... the filter for the Categories we want to count
|
|
2306
|
-
* }
|
|
2307
|
-
* })
|
|
2308
|
-
**/
|
|
2309
|
-
count<T extends CategoryCountArgs>(
|
|
2310
|
-
args?: Prisma.Subset<T, CategoryCountArgs>,
|
|
2311
|
-
): Prisma.PrismaPromise<
|
|
2312
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
2313
|
-
? T['select'] extends true
|
|
2314
|
-
? number
|
|
2315
|
-
: Prisma.GetScalarType<T['select'], CategoryCountAggregateOutputType>
|
|
2316
|
-
: number
|
|
2317
|
-
>
|
|
2318
|
-
|
|
2319
|
-
/**
|
|
2320
|
-
* Allows you to perform aggregations operations on a Category.
|
|
2321
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2322
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2323
|
-
* @param {CategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2324
|
-
* @example
|
|
2325
|
-
* // Ordered by age ascending
|
|
2326
|
-
* // Where email contains prisma.io
|
|
2327
|
-
* // Limited to the 10 users
|
|
2328
|
-
* const aggregations = await prisma.user.aggregate({
|
|
2329
|
-
* _avg: {
|
|
2330
|
-
* age: true,
|
|
2331
|
-
* },
|
|
2332
|
-
* where: {
|
|
2333
|
-
* email: {
|
|
2334
|
-
* contains: "prisma.io",
|
|
2335
|
-
* },
|
|
2336
|
-
* },
|
|
2337
|
-
* orderBy: {
|
|
2338
|
-
* age: "asc",
|
|
2339
|
-
* },
|
|
2340
|
-
* take: 10,
|
|
2341
|
-
* })
|
|
2342
|
-
**/
|
|
2343
|
-
aggregate<T extends CategoryAggregateArgs>(args: Prisma.Subset<T, CategoryAggregateArgs>): Prisma.PrismaPromise<GetCategoryAggregateType<T>>
|
|
2344
|
-
|
|
2345
|
-
/**
|
|
2346
|
-
* Group by Category.
|
|
2347
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2348
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2349
|
-
* @param {CategoryGroupByArgs} args - Group by arguments.
|
|
2350
|
-
* @example
|
|
2351
|
-
* // Group by city, order by createdAt, get count
|
|
2352
|
-
* const result = await prisma.user.groupBy({
|
|
2353
|
-
* by: ['city', 'createdAt'],
|
|
2354
|
-
* orderBy: {
|
|
2355
|
-
* createdAt: true
|
|
2356
|
-
* },
|
|
2357
|
-
* _count: {
|
|
2358
|
-
* _all: true
|
|
2359
|
-
* },
|
|
2360
|
-
* })
|
|
2361
|
-
*
|
|
2362
|
-
**/
|
|
2363
|
-
groupBy<
|
|
2364
|
-
T extends CategoryGroupByArgs,
|
|
2365
|
-
HasSelectOrTake extends Prisma.Or<
|
|
2366
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2367
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2368
|
-
>,
|
|
2369
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2370
|
-
? { orderBy: CategoryGroupByArgs['orderBy'] }
|
|
2371
|
-
: { orderBy?: CategoryGroupByArgs['orderBy'] },
|
|
2372
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2373
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2374
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2375
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2376
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2377
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2378
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
2379
|
-
? `Error: "by" must not be empty.`
|
|
2380
|
-
: HavingValid extends Prisma.False
|
|
2381
|
-
? {
|
|
2382
|
-
[P in HavingFields]: P extends ByFields
|
|
2383
|
-
? never
|
|
2384
|
-
: P extends string
|
|
2385
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2386
|
-
: [
|
|
2387
|
-
Error,
|
|
2388
|
-
'Field ',
|
|
2389
|
-
P,
|
|
2390
|
-
` in "having" needs to be provided in "by"`,
|
|
2391
|
-
]
|
|
2392
|
-
}[HavingFields]
|
|
2393
|
-
: 'take' extends Prisma.Keys<T>
|
|
2394
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
2395
|
-
? ByValid extends Prisma.True
|
|
2396
|
-
? {}
|
|
2397
|
-
: {
|
|
2398
|
-
[P in OrderFields]: P extends ByFields
|
|
2399
|
-
? never
|
|
2400
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2401
|
-
}[OrderFields]
|
|
2402
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2403
|
-
: 'skip' extends Prisma.Keys<T>
|
|
2404
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
2405
|
-
? ByValid extends Prisma.True
|
|
2406
|
-
? {}
|
|
2407
|
-
: {
|
|
2408
|
-
[P in OrderFields]: P extends ByFields
|
|
2409
|
-
? never
|
|
2410
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2411
|
-
}[OrderFields]
|
|
2412
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2413
|
-
: ByValid extends Prisma.True
|
|
2414
|
-
? {}
|
|
2415
|
-
: {
|
|
2416
|
-
[P in OrderFields]: P extends ByFields
|
|
2417
|
-
? never
|
|
2418
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2419
|
-
}[OrderFields]
|
|
2420
|
-
>(args: Prisma.SubsetIntersection<T, CategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2421
|
-
/**
|
|
2422
|
-
* Fields of the Category model
|
|
2423
|
-
*/
|
|
2424
|
-
readonly fields: CategoryFieldRefs;
|
|
2425
|
-
}
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* The delegate class that acts as a "Promise-like" for Category.
|
|
2429
|
-
* Why is this prefixed with `Prisma__`?
|
|
2430
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
2431
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2432
|
-
*/
|
|
2433
|
-
export interface Prisma__CategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2434
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2435
|
-
industry<T extends Prisma.Category$industryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$industryArgs<ExtArgs>>): Prisma.Prisma__IndustryClient<runtime.Types.Result.GetResult<Prisma.$IndustryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2436
|
-
attributes<T extends Prisma.Category$attributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$attributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2437
|
-
category_uom<T extends Prisma.Category$category_uomArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$category_uomArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UomCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2438
|
-
category_budget<T extends Prisma.Category$category_budgetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$category_budgetArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CategoryBudgetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2439
|
-
item_category<T extends Prisma.Category$item_categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$item_categoryArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2440
|
-
item_sub_category<T extends Prisma.Category$item_sub_categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$item_sub_categoryArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2441
|
-
boq_event_items_as_category<T extends Prisma.Category$boq_event_items_as_categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$boq_event_items_as_categoryArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BoqEventItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2442
|
-
boq_event_items_as_sub_category<T extends Prisma.Category$boq_event_items_as_sub_categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Category$boq_event_items_as_sub_categoryArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BoqEventItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2443
|
-
/**
|
|
2444
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2445
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2446
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2447
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
2448
|
-
*/
|
|
2449
|
-
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>
|
|
2450
|
-
/**
|
|
2451
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
2452
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2453
|
-
* @returns A Promise for the completion of the callback.
|
|
2454
|
-
*/
|
|
2455
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2456
|
-
/**
|
|
2457
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2458
|
-
* resolved value cannot be modified from the callback.
|
|
2459
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2460
|
-
* @returns A Promise for the completion of the callback.
|
|
2461
|
-
*/
|
|
2462
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
/**
|
|
2469
|
-
* Fields of the Category model
|
|
2470
|
-
*/
|
|
2471
|
-
export interface CategoryFieldRefs {
|
|
2472
|
-
readonly id: Prisma.FieldRef<"Category", 'Int'>
|
|
2473
|
-
readonly uuid: Prisma.FieldRef<"Category", 'String'>
|
|
2474
|
-
readonly industry_id: Prisma.FieldRef<"Category", 'Int'>
|
|
2475
|
-
readonly name: Prisma.FieldRef<"Category", 'String'>
|
|
2476
|
-
readonly slug: Prisma.FieldRef<"Category", 'String'>
|
|
2477
|
-
readonly is_active: Prisma.FieldRef<"Category", 'Boolean'>
|
|
2478
|
-
readonly parent_id: Prisma.FieldRef<"Category", 'Int'>
|
|
2479
|
-
readonly description: Prisma.FieldRef<"Category", 'String'>
|
|
2480
|
-
readonly image_url: Prisma.FieldRef<"Category", 'String'>
|
|
2481
|
-
readonly created_by: Prisma.FieldRef<"Category", 'Int'>
|
|
2482
|
-
readonly created_at: Prisma.FieldRef<"Category", 'DateTime'>
|
|
2483
|
-
readonly updated_by: Prisma.FieldRef<"Category", 'Int'>
|
|
2484
|
-
readonly updated_at: Prisma.FieldRef<"Category", 'DateTime'>
|
|
2485
|
-
readonly is_deleted: Prisma.FieldRef<"Category", 'Boolean'>
|
|
2486
|
-
readonly deleted_by: Prisma.FieldRef<"Category", 'Int'>
|
|
2487
|
-
readonly deleted_at: Prisma.FieldRef<"Category", 'DateTime'>
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
// Custom InputTypes
|
|
2492
|
-
/**
|
|
2493
|
-
* Category findUnique
|
|
2494
|
-
*/
|
|
2495
|
-
export type CategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2496
|
-
/**
|
|
2497
|
-
* Select specific fields to fetch from the Category
|
|
2498
|
-
*/
|
|
2499
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2500
|
-
/**
|
|
2501
|
-
* Omit specific fields from the Category
|
|
2502
|
-
*/
|
|
2503
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2504
|
-
/**
|
|
2505
|
-
* Choose, which related nodes to fetch as well
|
|
2506
|
-
*/
|
|
2507
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2508
|
-
/**
|
|
2509
|
-
* Filter, which Category to fetch.
|
|
2510
|
-
*/
|
|
2511
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
2512
|
-
}
|
|
2513
|
-
|
|
2514
|
-
/**
|
|
2515
|
-
* Category findUniqueOrThrow
|
|
2516
|
-
*/
|
|
2517
|
-
export type CategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2518
|
-
/**
|
|
2519
|
-
* Select specific fields to fetch from the Category
|
|
2520
|
-
*/
|
|
2521
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2522
|
-
/**
|
|
2523
|
-
* Omit specific fields from the Category
|
|
2524
|
-
*/
|
|
2525
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2526
|
-
/**
|
|
2527
|
-
* Choose, which related nodes to fetch as well
|
|
2528
|
-
*/
|
|
2529
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2530
|
-
/**
|
|
2531
|
-
* Filter, which Category to fetch.
|
|
2532
|
-
*/
|
|
2533
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
/**
|
|
2537
|
-
* Category findFirst
|
|
2538
|
-
*/
|
|
2539
|
-
export type CategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2540
|
-
/**
|
|
2541
|
-
* Select specific fields to fetch from the Category
|
|
2542
|
-
*/
|
|
2543
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2544
|
-
/**
|
|
2545
|
-
* Omit specific fields from the Category
|
|
2546
|
-
*/
|
|
2547
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2548
|
-
/**
|
|
2549
|
-
* Choose, which related nodes to fetch as well
|
|
2550
|
-
*/
|
|
2551
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2552
|
-
/**
|
|
2553
|
-
* Filter, which Category to fetch.
|
|
2554
|
-
*/
|
|
2555
|
-
where?: Prisma.CategoryWhereInput
|
|
2556
|
-
/**
|
|
2557
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2558
|
-
*
|
|
2559
|
-
* Determine the order of Categories to fetch.
|
|
2560
|
-
*/
|
|
2561
|
-
orderBy?: Prisma.CategoryOrderByWithRelationInput | Prisma.CategoryOrderByWithRelationInput[]
|
|
2562
|
-
/**
|
|
2563
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2564
|
-
*
|
|
2565
|
-
* Sets the position for searching for Categories.
|
|
2566
|
-
*/
|
|
2567
|
-
cursor?: Prisma.CategoryWhereUniqueInput
|
|
2568
|
-
/**
|
|
2569
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2570
|
-
*
|
|
2571
|
-
* Take `±n` Categories from the position of the cursor.
|
|
2572
|
-
*/
|
|
2573
|
-
take?: number
|
|
2574
|
-
/**
|
|
2575
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2576
|
-
*
|
|
2577
|
-
* Skip the first `n` Categories.
|
|
2578
|
-
*/
|
|
2579
|
-
skip?: number
|
|
2580
|
-
/**
|
|
2581
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2582
|
-
*
|
|
2583
|
-
* Filter by unique combinations of Categories.
|
|
2584
|
-
*/
|
|
2585
|
-
distinct?: Prisma.CategoryScalarFieldEnum | Prisma.CategoryScalarFieldEnum[]
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
/**
|
|
2589
|
-
* Category findFirstOrThrow
|
|
2590
|
-
*/
|
|
2591
|
-
export type CategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2592
|
-
/**
|
|
2593
|
-
* Select specific fields to fetch from the Category
|
|
2594
|
-
*/
|
|
2595
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2596
|
-
/**
|
|
2597
|
-
* Omit specific fields from the Category
|
|
2598
|
-
*/
|
|
2599
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2600
|
-
/**
|
|
2601
|
-
* Choose, which related nodes to fetch as well
|
|
2602
|
-
*/
|
|
2603
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2604
|
-
/**
|
|
2605
|
-
* Filter, which Category to fetch.
|
|
2606
|
-
*/
|
|
2607
|
-
where?: Prisma.CategoryWhereInput
|
|
2608
|
-
/**
|
|
2609
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2610
|
-
*
|
|
2611
|
-
* Determine the order of Categories to fetch.
|
|
2612
|
-
*/
|
|
2613
|
-
orderBy?: Prisma.CategoryOrderByWithRelationInput | Prisma.CategoryOrderByWithRelationInput[]
|
|
2614
|
-
/**
|
|
2615
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2616
|
-
*
|
|
2617
|
-
* Sets the position for searching for Categories.
|
|
2618
|
-
*/
|
|
2619
|
-
cursor?: Prisma.CategoryWhereUniqueInput
|
|
2620
|
-
/**
|
|
2621
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2622
|
-
*
|
|
2623
|
-
* Take `±n` Categories from the position of the cursor.
|
|
2624
|
-
*/
|
|
2625
|
-
take?: number
|
|
2626
|
-
/**
|
|
2627
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2628
|
-
*
|
|
2629
|
-
* Skip the first `n` Categories.
|
|
2630
|
-
*/
|
|
2631
|
-
skip?: number
|
|
2632
|
-
/**
|
|
2633
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2634
|
-
*
|
|
2635
|
-
* Filter by unique combinations of Categories.
|
|
2636
|
-
*/
|
|
2637
|
-
distinct?: Prisma.CategoryScalarFieldEnum | Prisma.CategoryScalarFieldEnum[]
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
/**
|
|
2641
|
-
* Category findMany
|
|
2642
|
-
*/
|
|
2643
|
-
export type CategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2644
|
-
/**
|
|
2645
|
-
* Select specific fields to fetch from the Category
|
|
2646
|
-
*/
|
|
2647
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2648
|
-
/**
|
|
2649
|
-
* Omit specific fields from the Category
|
|
2650
|
-
*/
|
|
2651
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2652
|
-
/**
|
|
2653
|
-
* Choose, which related nodes to fetch as well
|
|
2654
|
-
*/
|
|
2655
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2656
|
-
/**
|
|
2657
|
-
* Filter, which Categories to fetch.
|
|
2658
|
-
*/
|
|
2659
|
-
where?: Prisma.CategoryWhereInput
|
|
2660
|
-
/**
|
|
2661
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2662
|
-
*
|
|
2663
|
-
* Determine the order of Categories to fetch.
|
|
2664
|
-
*/
|
|
2665
|
-
orderBy?: Prisma.CategoryOrderByWithRelationInput | Prisma.CategoryOrderByWithRelationInput[]
|
|
2666
|
-
/**
|
|
2667
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2668
|
-
*
|
|
2669
|
-
* Sets the position for listing Categories.
|
|
2670
|
-
*/
|
|
2671
|
-
cursor?: Prisma.CategoryWhereUniqueInput
|
|
2672
|
-
/**
|
|
2673
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2674
|
-
*
|
|
2675
|
-
* Take `±n` Categories from the position of the cursor.
|
|
2676
|
-
*/
|
|
2677
|
-
take?: number
|
|
2678
|
-
/**
|
|
2679
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2680
|
-
*
|
|
2681
|
-
* Skip the first `n` Categories.
|
|
2682
|
-
*/
|
|
2683
|
-
skip?: number
|
|
2684
|
-
/**
|
|
2685
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2686
|
-
*
|
|
2687
|
-
* Filter by unique combinations of Categories.
|
|
2688
|
-
*/
|
|
2689
|
-
distinct?: Prisma.CategoryScalarFieldEnum | Prisma.CategoryScalarFieldEnum[]
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
/**
|
|
2693
|
-
* Category create
|
|
2694
|
-
*/
|
|
2695
|
-
export type CategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2696
|
-
/**
|
|
2697
|
-
* Select specific fields to fetch from the Category
|
|
2698
|
-
*/
|
|
2699
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2700
|
-
/**
|
|
2701
|
-
* Omit specific fields from the Category
|
|
2702
|
-
*/
|
|
2703
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2704
|
-
/**
|
|
2705
|
-
* Choose, which related nodes to fetch as well
|
|
2706
|
-
*/
|
|
2707
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2708
|
-
/**
|
|
2709
|
-
* The data needed to create a Category.
|
|
2710
|
-
*/
|
|
2711
|
-
data: Prisma.XOR<Prisma.CategoryCreateInput, Prisma.CategoryUncheckedCreateInput>
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
/**
|
|
2715
|
-
* Category createMany
|
|
2716
|
-
*/
|
|
2717
|
-
export type CategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2718
|
-
/**
|
|
2719
|
-
* The data used to create many Categories.
|
|
2720
|
-
*/
|
|
2721
|
-
data: Prisma.CategoryCreateManyInput | Prisma.CategoryCreateManyInput[]
|
|
2722
|
-
skipDuplicates?: boolean
|
|
2723
|
-
}
|
|
2724
|
-
|
|
2725
|
-
/**
|
|
2726
|
-
* Category createManyAndReturn
|
|
2727
|
-
*/
|
|
2728
|
-
export type CategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2729
|
-
/**
|
|
2730
|
-
* Select specific fields to fetch from the Category
|
|
2731
|
-
*/
|
|
2732
|
-
select?: Prisma.CategorySelectCreateManyAndReturn<ExtArgs> | null
|
|
2733
|
-
/**
|
|
2734
|
-
* Omit specific fields from the Category
|
|
2735
|
-
*/
|
|
2736
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2737
|
-
/**
|
|
2738
|
-
* The data used to create many Categories.
|
|
2739
|
-
*/
|
|
2740
|
-
data: Prisma.CategoryCreateManyInput | Prisma.CategoryCreateManyInput[]
|
|
2741
|
-
skipDuplicates?: boolean
|
|
2742
|
-
/**
|
|
2743
|
-
* Choose, which related nodes to fetch as well
|
|
2744
|
-
*/
|
|
2745
|
-
include?: Prisma.CategoryIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* Category update
|
|
2750
|
-
*/
|
|
2751
|
-
export type CategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2752
|
-
/**
|
|
2753
|
-
* Select specific fields to fetch from the Category
|
|
2754
|
-
*/
|
|
2755
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2756
|
-
/**
|
|
2757
|
-
* Omit specific fields from the Category
|
|
2758
|
-
*/
|
|
2759
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2760
|
-
/**
|
|
2761
|
-
* Choose, which related nodes to fetch as well
|
|
2762
|
-
*/
|
|
2763
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2764
|
-
/**
|
|
2765
|
-
* The data needed to update a Category.
|
|
2766
|
-
*/
|
|
2767
|
-
data: Prisma.XOR<Prisma.CategoryUpdateInput, Prisma.CategoryUncheckedUpdateInput>
|
|
2768
|
-
/**
|
|
2769
|
-
* Choose, which Category to update.
|
|
2770
|
-
*/
|
|
2771
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
2772
|
-
}
|
|
2773
|
-
|
|
2774
|
-
/**
|
|
2775
|
-
* Category updateMany
|
|
2776
|
-
*/
|
|
2777
|
-
export type CategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2778
|
-
/**
|
|
2779
|
-
* The data used to update Categories.
|
|
2780
|
-
*/
|
|
2781
|
-
data: Prisma.XOR<Prisma.CategoryUpdateManyMutationInput, Prisma.CategoryUncheckedUpdateManyInput>
|
|
2782
|
-
/**
|
|
2783
|
-
* Filter which Categories to update
|
|
2784
|
-
*/
|
|
2785
|
-
where?: Prisma.CategoryWhereInput
|
|
2786
|
-
/**
|
|
2787
|
-
* Limit how many Categories to update.
|
|
2788
|
-
*/
|
|
2789
|
-
limit?: number
|
|
2790
|
-
}
|
|
2791
|
-
|
|
2792
|
-
/**
|
|
2793
|
-
* Category updateManyAndReturn
|
|
2794
|
-
*/
|
|
2795
|
-
export type CategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2796
|
-
/**
|
|
2797
|
-
* Select specific fields to fetch from the Category
|
|
2798
|
-
*/
|
|
2799
|
-
select?: Prisma.CategorySelectUpdateManyAndReturn<ExtArgs> | null
|
|
2800
|
-
/**
|
|
2801
|
-
* Omit specific fields from the Category
|
|
2802
|
-
*/
|
|
2803
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2804
|
-
/**
|
|
2805
|
-
* The data used to update Categories.
|
|
2806
|
-
*/
|
|
2807
|
-
data: Prisma.XOR<Prisma.CategoryUpdateManyMutationInput, Prisma.CategoryUncheckedUpdateManyInput>
|
|
2808
|
-
/**
|
|
2809
|
-
* Filter which Categories to update
|
|
2810
|
-
*/
|
|
2811
|
-
where?: Prisma.CategoryWhereInput
|
|
2812
|
-
/**
|
|
2813
|
-
* Limit how many Categories to update.
|
|
2814
|
-
*/
|
|
2815
|
-
limit?: number
|
|
2816
|
-
/**
|
|
2817
|
-
* Choose, which related nodes to fetch as well
|
|
2818
|
-
*/
|
|
2819
|
-
include?: Prisma.CategoryIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
/**
|
|
2823
|
-
* Category upsert
|
|
2824
|
-
*/
|
|
2825
|
-
export type CategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2826
|
-
/**
|
|
2827
|
-
* Select specific fields to fetch from the Category
|
|
2828
|
-
*/
|
|
2829
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2830
|
-
/**
|
|
2831
|
-
* Omit specific fields from the Category
|
|
2832
|
-
*/
|
|
2833
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2834
|
-
/**
|
|
2835
|
-
* Choose, which related nodes to fetch as well
|
|
2836
|
-
*/
|
|
2837
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2838
|
-
/**
|
|
2839
|
-
* The filter to search for the Category to update in case it exists.
|
|
2840
|
-
*/
|
|
2841
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
2842
|
-
/**
|
|
2843
|
-
* In case the Category found by the `where` argument doesn't exist, create a new Category with this data.
|
|
2844
|
-
*/
|
|
2845
|
-
create: Prisma.XOR<Prisma.CategoryCreateInput, Prisma.CategoryUncheckedCreateInput>
|
|
2846
|
-
/**
|
|
2847
|
-
* In case the Category was found with the provided `where` argument, update it with this data.
|
|
2848
|
-
*/
|
|
2849
|
-
update: Prisma.XOR<Prisma.CategoryUpdateInput, Prisma.CategoryUncheckedUpdateInput>
|
|
2850
|
-
}
|
|
2851
|
-
|
|
2852
|
-
/**
|
|
2853
|
-
* Category delete
|
|
2854
|
-
*/
|
|
2855
|
-
export type CategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2856
|
-
/**
|
|
2857
|
-
* Select specific fields to fetch from the Category
|
|
2858
|
-
*/
|
|
2859
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2860
|
-
/**
|
|
2861
|
-
* Omit specific fields from the Category
|
|
2862
|
-
*/
|
|
2863
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2864
|
-
/**
|
|
2865
|
-
* Choose, which related nodes to fetch as well
|
|
2866
|
-
*/
|
|
2867
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2868
|
-
/**
|
|
2869
|
-
* Filter which Category to delete.
|
|
2870
|
-
*/
|
|
2871
|
-
where: Prisma.CategoryWhereUniqueInput
|
|
2872
|
-
}
|
|
2873
|
-
|
|
2874
|
-
/**
|
|
2875
|
-
* Category deleteMany
|
|
2876
|
-
*/
|
|
2877
|
-
export type CategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2878
|
-
/**
|
|
2879
|
-
* Filter which Categories to delete
|
|
2880
|
-
*/
|
|
2881
|
-
where?: Prisma.CategoryWhereInput
|
|
2882
|
-
/**
|
|
2883
|
-
* Limit how many Categories to delete.
|
|
2884
|
-
*/
|
|
2885
|
-
limit?: number
|
|
2886
|
-
}
|
|
2887
|
-
|
|
2888
|
-
/**
|
|
2889
|
-
* Category.industry
|
|
2890
|
-
*/
|
|
2891
|
-
export type Category$industryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2892
|
-
/**
|
|
2893
|
-
* Select specific fields to fetch from the Industry
|
|
2894
|
-
*/
|
|
2895
|
-
select?: Prisma.IndustrySelect<ExtArgs> | null
|
|
2896
|
-
/**
|
|
2897
|
-
* Omit specific fields from the Industry
|
|
2898
|
-
*/
|
|
2899
|
-
omit?: Prisma.IndustryOmit<ExtArgs> | null
|
|
2900
|
-
/**
|
|
2901
|
-
* Choose, which related nodes to fetch as well
|
|
2902
|
-
*/
|
|
2903
|
-
include?: Prisma.IndustryInclude<ExtArgs> | null
|
|
2904
|
-
where?: Prisma.IndustryWhereInput
|
|
2905
|
-
}
|
|
2906
|
-
|
|
2907
|
-
/**
|
|
2908
|
-
* Category.attributes
|
|
2909
|
-
*/
|
|
2910
|
-
export type Category$attributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2911
|
-
/**
|
|
2912
|
-
* Select specific fields to fetch from the Attribute
|
|
2913
|
-
*/
|
|
2914
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
2915
|
-
/**
|
|
2916
|
-
* Omit specific fields from the Attribute
|
|
2917
|
-
*/
|
|
2918
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
2919
|
-
/**
|
|
2920
|
-
* Choose, which related nodes to fetch as well
|
|
2921
|
-
*/
|
|
2922
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
2923
|
-
where?: Prisma.AttributeWhereInput
|
|
2924
|
-
orderBy?: Prisma.AttributeOrderByWithRelationInput | Prisma.AttributeOrderByWithRelationInput[]
|
|
2925
|
-
cursor?: Prisma.AttributeWhereUniqueInput
|
|
2926
|
-
take?: number
|
|
2927
|
-
skip?: number
|
|
2928
|
-
distinct?: Prisma.AttributeScalarFieldEnum | Prisma.AttributeScalarFieldEnum[]
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
|
-
/**
|
|
2932
|
-
* Category.category_uom
|
|
2933
|
-
*/
|
|
2934
|
-
export type Category$category_uomArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2935
|
-
/**
|
|
2936
|
-
* Select specific fields to fetch from the UomCategory
|
|
2937
|
-
*/
|
|
2938
|
-
select?: Prisma.UomCategorySelect<ExtArgs> | null
|
|
2939
|
-
/**
|
|
2940
|
-
* Omit specific fields from the UomCategory
|
|
2941
|
-
*/
|
|
2942
|
-
omit?: Prisma.UomCategoryOmit<ExtArgs> | null
|
|
2943
|
-
/**
|
|
2944
|
-
* Choose, which related nodes to fetch as well
|
|
2945
|
-
*/
|
|
2946
|
-
include?: Prisma.UomCategoryInclude<ExtArgs> | null
|
|
2947
|
-
where?: Prisma.UomCategoryWhereInput
|
|
2948
|
-
orderBy?: Prisma.UomCategoryOrderByWithRelationInput | Prisma.UomCategoryOrderByWithRelationInput[]
|
|
2949
|
-
cursor?: Prisma.UomCategoryWhereUniqueInput
|
|
2950
|
-
take?: number
|
|
2951
|
-
skip?: number
|
|
2952
|
-
distinct?: Prisma.UomCategoryScalarFieldEnum | Prisma.UomCategoryScalarFieldEnum[]
|
|
2953
|
-
}
|
|
2954
|
-
|
|
2955
|
-
/**
|
|
2956
|
-
* Category.category_budget
|
|
2957
|
-
*/
|
|
2958
|
-
export type Category$category_budgetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2959
|
-
/**
|
|
2960
|
-
* Select specific fields to fetch from the CategoryBudget
|
|
2961
|
-
*/
|
|
2962
|
-
select?: Prisma.CategoryBudgetSelect<ExtArgs> | null
|
|
2963
|
-
/**
|
|
2964
|
-
* Omit specific fields from the CategoryBudget
|
|
2965
|
-
*/
|
|
2966
|
-
omit?: Prisma.CategoryBudgetOmit<ExtArgs> | null
|
|
2967
|
-
/**
|
|
2968
|
-
* Choose, which related nodes to fetch as well
|
|
2969
|
-
*/
|
|
2970
|
-
include?: Prisma.CategoryBudgetInclude<ExtArgs> | null
|
|
2971
|
-
where?: Prisma.CategoryBudgetWhereInput
|
|
2972
|
-
orderBy?: Prisma.CategoryBudgetOrderByWithRelationInput | Prisma.CategoryBudgetOrderByWithRelationInput[]
|
|
2973
|
-
cursor?: Prisma.CategoryBudgetWhereUniqueInput
|
|
2974
|
-
take?: number
|
|
2975
|
-
skip?: number
|
|
2976
|
-
distinct?: Prisma.CategoryBudgetScalarFieldEnum | Prisma.CategoryBudgetScalarFieldEnum[]
|
|
2977
|
-
}
|
|
2978
|
-
|
|
2979
|
-
/**
|
|
2980
|
-
* Category.item_category
|
|
2981
|
-
*/
|
|
2982
|
-
export type Category$item_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2983
|
-
/**
|
|
2984
|
-
* Select specific fields to fetch from the Item
|
|
2985
|
-
*/
|
|
2986
|
-
select?: Prisma.ItemSelect<ExtArgs> | null
|
|
2987
|
-
/**
|
|
2988
|
-
* Omit specific fields from the Item
|
|
2989
|
-
*/
|
|
2990
|
-
omit?: Prisma.ItemOmit<ExtArgs> | null
|
|
2991
|
-
/**
|
|
2992
|
-
* Choose, which related nodes to fetch as well
|
|
2993
|
-
*/
|
|
2994
|
-
include?: Prisma.ItemInclude<ExtArgs> | null
|
|
2995
|
-
where?: Prisma.ItemWhereInput
|
|
2996
|
-
orderBy?: Prisma.ItemOrderByWithRelationInput | Prisma.ItemOrderByWithRelationInput[]
|
|
2997
|
-
cursor?: Prisma.ItemWhereUniqueInput
|
|
2998
|
-
take?: number
|
|
2999
|
-
skip?: number
|
|
3000
|
-
distinct?: Prisma.ItemScalarFieldEnum | Prisma.ItemScalarFieldEnum[]
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* Category.item_sub_category
|
|
3005
|
-
*/
|
|
3006
|
-
export type Category$item_sub_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3007
|
-
/**
|
|
3008
|
-
* Select specific fields to fetch from the Item
|
|
3009
|
-
*/
|
|
3010
|
-
select?: Prisma.ItemSelect<ExtArgs> | null
|
|
3011
|
-
/**
|
|
3012
|
-
* Omit specific fields from the Item
|
|
3013
|
-
*/
|
|
3014
|
-
omit?: Prisma.ItemOmit<ExtArgs> | null
|
|
3015
|
-
/**
|
|
3016
|
-
* Choose, which related nodes to fetch as well
|
|
3017
|
-
*/
|
|
3018
|
-
include?: Prisma.ItemInclude<ExtArgs> | null
|
|
3019
|
-
where?: Prisma.ItemWhereInput
|
|
3020
|
-
orderBy?: Prisma.ItemOrderByWithRelationInput | Prisma.ItemOrderByWithRelationInput[]
|
|
3021
|
-
cursor?: Prisma.ItemWhereUniqueInput
|
|
3022
|
-
take?: number
|
|
3023
|
-
skip?: number
|
|
3024
|
-
distinct?: Prisma.ItemScalarFieldEnum | Prisma.ItemScalarFieldEnum[]
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
/**
|
|
3028
|
-
* Category.boq_event_items_as_category
|
|
3029
|
-
*/
|
|
3030
|
-
export type Category$boq_event_items_as_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3031
|
-
/**
|
|
3032
|
-
* Select specific fields to fetch from the BoqEventItem
|
|
3033
|
-
*/
|
|
3034
|
-
select?: Prisma.BoqEventItemSelect<ExtArgs> | null
|
|
3035
|
-
/**
|
|
3036
|
-
* Omit specific fields from the BoqEventItem
|
|
3037
|
-
*/
|
|
3038
|
-
omit?: Prisma.BoqEventItemOmit<ExtArgs> | null
|
|
3039
|
-
/**
|
|
3040
|
-
* Choose, which related nodes to fetch as well
|
|
3041
|
-
*/
|
|
3042
|
-
include?: Prisma.BoqEventItemInclude<ExtArgs> | null
|
|
3043
|
-
where?: Prisma.BoqEventItemWhereInput
|
|
3044
|
-
orderBy?: Prisma.BoqEventItemOrderByWithRelationInput | Prisma.BoqEventItemOrderByWithRelationInput[]
|
|
3045
|
-
cursor?: Prisma.BoqEventItemWhereUniqueInput
|
|
3046
|
-
take?: number
|
|
3047
|
-
skip?: number
|
|
3048
|
-
distinct?: Prisma.BoqEventItemScalarFieldEnum | Prisma.BoqEventItemScalarFieldEnum[]
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
|
-
/**
|
|
3052
|
-
* Category.boq_event_items_as_sub_category
|
|
3053
|
-
*/
|
|
3054
|
-
export type Category$boq_event_items_as_sub_categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3055
|
-
/**
|
|
3056
|
-
* Select specific fields to fetch from the BoqEventItem
|
|
3057
|
-
*/
|
|
3058
|
-
select?: Prisma.BoqEventItemSelect<ExtArgs> | null
|
|
3059
|
-
/**
|
|
3060
|
-
* Omit specific fields from the BoqEventItem
|
|
3061
|
-
*/
|
|
3062
|
-
omit?: Prisma.BoqEventItemOmit<ExtArgs> | null
|
|
3063
|
-
/**
|
|
3064
|
-
* Choose, which related nodes to fetch as well
|
|
3065
|
-
*/
|
|
3066
|
-
include?: Prisma.BoqEventItemInclude<ExtArgs> | null
|
|
3067
|
-
where?: Prisma.BoqEventItemWhereInput
|
|
3068
|
-
orderBy?: Prisma.BoqEventItemOrderByWithRelationInput | Prisma.BoqEventItemOrderByWithRelationInput[]
|
|
3069
|
-
cursor?: Prisma.BoqEventItemWhereUniqueInput
|
|
3070
|
-
take?: number
|
|
3071
|
-
skip?: number
|
|
3072
|
-
distinct?: Prisma.BoqEventItemScalarFieldEnum | Prisma.BoqEventItemScalarFieldEnum[]
|
|
3073
|
-
}
|
|
3074
|
-
|
|
3075
|
-
/**
|
|
3076
|
-
* Category without action
|
|
3077
|
-
*/
|
|
3078
|
-
export type CategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3079
|
-
/**
|
|
3080
|
-
* Select specific fields to fetch from the Category
|
|
3081
|
-
*/
|
|
3082
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
3083
|
-
/**
|
|
3084
|
-
* Omit specific fields from the Category
|
|
3085
|
-
*/
|
|
3086
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
3087
|
-
/**
|
|
3088
|
-
* Choose, which related nodes to fetch as well
|
|
3089
|
-
*/
|
|
3090
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
3091
|
-
}
|