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