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