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,1254 +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 `SerialNumberConfiguration` 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 SerialNumberConfiguration
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type SerialNumberConfigurationModel = runtime.Types.Result.DefaultSelection<Prisma.$SerialNumberConfigurationPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateSerialNumberConfiguration = {
|
|
22
|
-
_count: SerialNumberConfigurationCountAggregateOutputType | null
|
|
23
|
-
_avg: SerialNumberConfigurationAvgAggregateOutputType | null
|
|
24
|
-
_sum: SerialNumberConfigurationSumAggregateOutputType | null
|
|
25
|
-
_min: SerialNumberConfigurationMinAggregateOutputType | null
|
|
26
|
-
_max: SerialNumberConfigurationMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type SerialNumberConfigurationAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
initial_number: number | null
|
|
32
|
-
current_number: number | null
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type SerialNumberConfigurationSumAggregateOutputType = {
|
|
36
|
-
id: number | null
|
|
37
|
-
initial_number: number | null
|
|
38
|
-
current_number: number | null
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type SerialNumberConfigurationMinAggregateOutputType = {
|
|
42
|
-
id: number | null
|
|
43
|
-
module: string | null
|
|
44
|
-
alias: string | null
|
|
45
|
-
initial_number: number | null
|
|
46
|
-
current_number: number | null
|
|
47
|
-
created_at: Date | null
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type SerialNumberConfigurationMaxAggregateOutputType = {
|
|
51
|
-
id: number | null
|
|
52
|
-
module: string | null
|
|
53
|
-
alias: string | null
|
|
54
|
-
initial_number: number | null
|
|
55
|
-
current_number: number | null
|
|
56
|
-
created_at: Date | null
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type SerialNumberConfigurationCountAggregateOutputType = {
|
|
60
|
-
id: number
|
|
61
|
-
module: number
|
|
62
|
-
alias: number
|
|
63
|
-
initial_number: number
|
|
64
|
-
current_number: number
|
|
65
|
-
created_at: number
|
|
66
|
-
_all: number
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
export type SerialNumberConfigurationAvgAggregateInputType = {
|
|
71
|
-
id?: true
|
|
72
|
-
initial_number?: true
|
|
73
|
-
current_number?: true
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export type SerialNumberConfigurationSumAggregateInputType = {
|
|
77
|
-
id?: true
|
|
78
|
-
initial_number?: true
|
|
79
|
-
current_number?: true
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type SerialNumberConfigurationMinAggregateInputType = {
|
|
83
|
-
id?: true
|
|
84
|
-
module?: true
|
|
85
|
-
alias?: true
|
|
86
|
-
initial_number?: true
|
|
87
|
-
current_number?: true
|
|
88
|
-
created_at?: true
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export type SerialNumberConfigurationMaxAggregateInputType = {
|
|
92
|
-
id?: true
|
|
93
|
-
module?: true
|
|
94
|
-
alias?: true
|
|
95
|
-
initial_number?: true
|
|
96
|
-
current_number?: true
|
|
97
|
-
created_at?: true
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export type SerialNumberConfigurationCountAggregateInputType = {
|
|
101
|
-
id?: true
|
|
102
|
-
module?: true
|
|
103
|
-
alias?: true
|
|
104
|
-
initial_number?: true
|
|
105
|
-
current_number?: true
|
|
106
|
-
created_at?: true
|
|
107
|
-
_all?: true
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export type SerialNumberConfigurationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
-
/**
|
|
112
|
-
* Filter which SerialNumberConfiguration to aggregate.
|
|
113
|
-
*/
|
|
114
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
115
|
-
/**
|
|
116
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
117
|
-
*
|
|
118
|
-
* Determine the order of SerialNumberConfigurations to fetch.
|
|
119
|
-
*/
|
|
120
|
-
orderBy?: Prisma.SerialNumberConfigurationOrderByWithRelationInput | Prisma.SerialNumberConfigurationOrderByWithRelationInput[]
|
|
121
|
-
/**
|
|
122
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
123
|
-
*
|
|
124
|
-
* Sets the start position
|
|
125
|
-
*/
|
|
126
|
-
cursor?: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
127
|
-
/**
|
|
128
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
-
*
|
|
130
|
-
* Take `±n` SerialNumberConfigurations from the position of the cursor.
|
|
131
|
-
*/
|
|
132
|
-
take?: number
|
|
133
|
-
/**
|
|
134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
-
*
|
|
136
|
-
* Skip the first `n` SerialNumberConfigurations.
|
|
137
|
-
*/
|
|
138
|
-
skip?: number
|
|
139
|
-
/**
|
|
140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
-
*
|
|
142
|
-
* Count returned SerialNumberConfigurations
|
|
143
|
-
**/
|
|
144
|
-
_count?: true | SerialNumberConfigurationCountAggregateInputType
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
-
*
|
|
148
|
-
* Select which fields to average
|
|
149
|
-
**/
|
|
150
|
-
_avg?: SerialNumberConfigurationAvgAggregateInputType
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
-
*
|
|
154
|
-
* Select which fields to sum
|
|
155
|
-
**/
|
|
156
|
-
_sum?: SerialNumberConfigurationSumAggregateInputType
|
|
157
|
-
/**
|
|
158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
-
*
|
|
160
|
-
* Select which fields to find the minimum value
|
|
161
|
-
**/
|
|
162
|
-
_min?: SerialNumberConfigurationMinAggregateInputType
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
-
*
|
|
166
|
-
* Select which fields to find the maximum value
|
|
167
|
-
**/
|
|
168
|
-
_max?: SerialNumberConfigurationMaxAggregateInputType
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
export type GetSerialNumberConfigurationAggregateType<T extends SerialNumberConfigurationAggregateArgs> = {
|
|
172
|
-
[P in keyof T & keyof AggregateSerialNumberConfiguration]: P extends '_count' | 'count'
|
|
173
|
-
? T[P] extends true
|
|
174
|
-
? number
|
|
175
|
-
: Prisma.GetScalarType<T[P], AggregateSerialNumberConfiguration[P]>
|
|
176
|
-
: Prisma.GetScalarType<T[P], AggregateSerialNumberConfiguration[P]>
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export type SerialNumberConfigurationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
183
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
184
|
-
orderBy?: Prisma.SerialNumberConfigurationOrderByWithAggregationInput | Prisma.SerialNumberConfigurationOrderByWithAggregationInput[]
|
|
185
|
-
by: Prisma.SerialNumberConfigurationScalarFieldEnum[] | Prisma.SerialNumberConfigurationScalarFieldEnum
|
|
186
|
-
having?: Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput
|
|
187
|
-
take?: number
|
|
188
|
-
skip?: number
|
|
189
|
-
_count?: SerialNumberConfigurationCountAggregateInputType | true
|
|
190
|
-
_avg?: SerialNumberConfigurationAvgAggregateInputType
|
|
191
|
-
_sum?: SerialNumberConfigurationSumAggregateInputType
|
|
192
|
-
_min?: SerialNumberConfigurationMinAggregateInputType
|
|
193
|
-
_max?: SerialNumberConfigurationMaxAggregateInputType
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export type SerialNumberConfigurationGroupByOutputType = {
|
|
197
|
-
id: number
|
|
198
|
-
module: string | null
|
|
199
|
-
alias: string | null
|
|
200
|
-
initial_number: number | null
|
|
201
|
-
current_number: number | null
|
|
202
|
-
created_at: Date | null
|
|
203
|
-
_count: SerialNumberConfigurationCountAggregateOutputType | null
|
|
204
|
-
_avg: SerialNumberConfigurationAvgAggregateOutputType | null
|
|
205
|
-
_sum: SerialNumberConfigurationSumAggregateOutputType | null
|
|
206
|
-
_min: SerialNumberConfigurationMinAggregateOutputType | null
|
|
207
|
-
_max: SerialNumberConfigurationMaxAggregateOutputType | null
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type GetSerialNumberConfigurationGroupByPayload<T extends SerialNumberConfigurationGroupByArgs> = Prisma.PrismaPromise<
|
|
211
|
-
Array<
|
|
212
|
-
Prisma.PickEnumerable<SerialNumberConfigurationGroupByOutputType, T['by']> &
|
|
213
|
-
{
|
|
214
|
-
[P in ((keyof T) & (keyof SerialNumberConfigurationGroupByOutputType))]: P extends '_count'
|
|
215
|
-
? T[P] extends boolean
|
|
216
|
-
? number
|
|
217
|
-
: Prisma.GetScalarType<T[P], SerialNumberConfigurationGroupByOutputType[P]>
|
|
218
|
-
: Prisma.GetScalarType<T[P], SerialNumberConfigurationGroupByOutputType[P]>
|
|
219
|
-
}
|
|
220
|
-
>
|
|
221
|
-
>
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
export type SerialNumberConfigurationWhereInput = {
|
|
226
|
-
AND?: Prisma.SerialNumberConfigurationWhereInput | Prisma.SerialNumberConfigurationWhereInput[]
|
|
227
|
-
OR?: Prisma.SerialNumberConfigurationWhereInput[]
|
|
228
|
-
NOT?: Prisma.SerialNumberConfigurationWhereInput | Prisma.SerialNumberConfigurationWhereInput[]
|
|
229
|
-
id?: Prisma.IntFilter<"SerialNumberConfiguration"> | number
|
|
230
|
-
module?: Prisma.StringNullableFilter<"SerialNumberConfiguration"> | string | null
|
|
231
|
-
alias?: Prisma.StringNullableFilter<"SerialNumberConfiguration"> | string | null
|
|
232
|
-
initial_number?: Prisma.IntNullableFilter<"SerialNumberConfiguration"> | number | null
|
|
233
|
-
current_number?: Prisma.IntNullableFilter<"SerialNumberConfiguration"> | number | null
|
|
234
|
-
created_at?: Prisma.DateTimeNullableFilter<"SerialNumberConfiguration"> | Date | string | null
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
export type SerialNumberConfigurationOrderByWithRelationInput = {
|
|
238
|
-
id?: Prisma.SortOrder
|
|
239
|
-
module?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
240
|
-
alias?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
241
|
-
initial_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
242
|
-
current_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
243
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export type SerialNumberConfigurationWhereUniqueInput = Prisma.AtLeast<{
|
|
247
|
-
id?: number
|
|
248
|
-
module?: string
|
|
249
|
-
AND?: Prisma.SerialNumberConfigurationWhereInput | Prisma.SerialNumberConfigurationWhereInput[]
|
|
250
|
-
OR?: Prisma.SerialNumberConfigurationWhereInput[]
|
|
251
|
-
NOT?: Prisma.SerialNumberConfigurationWhereInput | Prisma.SerialNumberConfigurationWhereInput[]
|
|
252
|
-
alias?: Prisma.StringNullableFilter<"SerialNumberConfiguration"> | string | null
|
|
253
|
-
initial_number?: Prisma.IntNullableFilter<"SerialNumberConfiguration"> | number | null
|
|
254
|
-
current_number?: Prisma.IntNullableFilter<"SerialNumberConfiguration"> | number | null
|
|
255
|
-
created_at?: Prisma.DateTimeNullableFilter<"SerialNumberConfiguration"> | Date | string | null
|
|
256
|
-
}, "id" | "module">
|
|
257
|
-
|
|
258
|
-
export type SerialNumberConfigurationOrderByWithAggregationInput = {
|
|
259
|
-
id?: Prisma.SortOrder
|
|
260
|
-
module?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
261
|
-
alias?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
262
|
-
initial_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
263
|
-
current_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
264
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
|
-
_count?: Prisma.SerialNumberConfigurationCountOrderByAggregateInput
|
|
266
|
-
_avg?: Prisma.SerialNumberConfigurationAvgOrderByAggregateInput
|
|
267
|
-
_max?: Prisma.SerialNumberConfigurationMaxOrderByAggregateInput
|
|
268
|
-
_min?: Prisma.SerialNumberConfigurationMinOrderByAggregateInput
|
|
269
|
-
_sum?: Prisma.SerialNumberConfigurationSumOrderByAggregateInput
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export type SerialNumberConfigurationScalarWhereWithAggregatesInput = {
|
|
273
|
-
AND?: Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput | Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput[]
|
|
274
|
-
OR?: Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput[]
|
|
275
|
-
NOT?: Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput | Prisma.SerialNumberConfigurationScalarWhereWithAggregatesInput[]
|
|
276
|
-
id?: Prisma.IntWithAggregatesFilter<"SerialNumberConfiguration"> | number
|
|
277
|
-
module?: Prisma.StringNullableWithAggregatesFilter<"SerialNumberConfiguration"> | string | null
|
|
278
|
-
alias?: Prisma.StringNullableWithAggregatesFilter<"SerialNumberConfiguration"> | string | null
|
|
279
|
-
initial_number?: Prisma.IntNullableWithAggregatesFilter<"SerialNumberConfiguration"> | number | null
|
|
280
|
-
current_number?: Prisma.IntNullableWithAggregatesFilter<"SerialNumberConfiguration"> | number | null
|
|
281
|
-
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"SerialNumberConfiguration"> | Date | string | null
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export type SerialNumberConfigurationCreateInput = {
|
|
285
|
-
module?: string | null
|
|
286
|
-
alias?: string | null
|
|
287
|
-
initial_number?: number | null
|
|
288
|
-
current_number?: number | null
|
|
289
|
-
created_at?: Date | string | null
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export type SerialNumberConfigurationUncheckedCreateInput = {
|
|
293
|
-
id?: number
|
|
294
|
-
module?: string | null
|
|
295
|
-
alias?: string | null
|
|
296
|
-
initial_number?: number | null
|
|
297
|
-
current_number?: number | null
|
|
298
|
-
created_at?: Date | string | null
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export type SerialNumberConfigurationUpdateInput = {
|
|
302
|
-
module?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
303
|
-
alias?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
304
|
-
initial_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
305
|
-
current_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
306
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export type SerialNumberConfigurationUncheckedUpdateInput = {
|
|
310
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
311
|
-
module?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
312
|
-
alias?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
313
|
-
initial_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
314
|
-
current_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
315
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export type SerialNumberConfigurationCreateManyInput = {
|
|
319
|
-
id?: number
|
|
320
|
-
module?: string | null
|
|
321
|
-
alias?: string | null
|
|
322
|
-
initial_number?: number | null
|
|
323
|
-
current_number?: number | null
|
|
324
|
-
created_at?: Date | string | null
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
export type SerialNumberConfigurationUpdateManyMutationInput = {
|
|
328
|
-
module?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
329
|
-
alias?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
330
|
-
initial_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
331
|
-
current_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
332
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
export type SerialNumberConfigurationUncheckedUpdateManyInput = {
|
|
336
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
337
|
-
module?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
338
|
-
alias?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
339
|
-
initial_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
340
|
-
current_number?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
341
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export type SerialNumberConfigurationCountOrderByAggregateInput = {
|
|
345
|
-
id?: Prisma.SortOrder
|
|
346
|
-
module?: Prisma.SortOrder
|
|
347
|
-
alias?: Prisma.SortOrder
|
|
348
|
-
initial_number?: Prisma.SortOrder
|
|
349
|
-
current_number?: Prisma.SortOrder
|
|
350
|
-
created_at?: Prisma.SortOrder
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
export type SerialNumberConfigurationAvgOrderByAggregateInput = {
|
|
354
|
-
id?: Prisma.SortOrder
|
|
355
|
-
initial_number?: Prisma.SortOrder
|
|
356
|
-
current_number?: Prisma.SortOrder
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
export type SerialNumberConfigurationMaxOrderByAggregateInput = {
|
|
360
|
-
id?: Prisma.SortOrder
|
|
361
|
-
module?: Prisma.SortOrder
|
|
362
|
-
alias?: Prisma.SortOrder
|
|
363
|
-
initial_number?: Prisma.SortOrder
|
|
364
|
-
current_number?: Prisma.SortOrder
|
|
365
|
-
created_at?: Prisma.SortOrder
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
export type SerialNumberConfigurationMinOrderByAggregateInput = {
|
|
369
|
-
id?: Prisma.SortOrder
|
|
370
|
-
module?: Prisma.SortOrder
|
|
371
|
-
alias?: Prisma.SortOrder
|
|
372
|
-
initial_number?: Prisma.SortOrder
|
|
373
|
-
current_number?: Prisma.SortOrder
|
|
374
|
-
created_at?: Prisma.SortOrder
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
export type SerialNumberConfigurationSumOrderByAggregateInput = {
|
|
378
|
-
id?: Prisma.SortOrder
|
|
379
|
-
initial_number?: Prisma.SortOrder
|
|
380
|
-
current_number?: Prisma.SortOrder
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
export type NullableStringFieldUpdateOperationsInput = {
|
|
384
|
-
set?: string | null
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
export type NullableIntFieldUpdateOperationsInput = {
|
|
388
|
-
set?: number | null
|
|
389
|
-
increment?: number
|
|
390
|
-
decrement?: number
|
|
391
|
-
multiply?: number
|
|
392
|
-
divide?: number
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
396
|
-
set?: Date | string | null
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
export type IntFieldUpdateOperationsInput = {
|
|
400
|
-
set?: number
|
|
401
|
-
increment?: number
|
|
402
|
-
decrement?: number
|
|
403
|
-
multiply?: number
|
|
404
|
-
divide?: number
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
export type SerialNumberConfigurationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
410
|
-
id?: boolean
|
|
411
|
-
module?: boolean
|
|
412
|
-
alias?: boolean
|
|
413
|
-
initial_number?: boolean
|
|
414
|
-
current_number?: boolean
|
|
415
|
-
created_at?: boolean
|
|
416
|
-
}, ExtArgs["result"]["serialNumberConfiguration"]>
|
|
417
|
-
|
|
418
|
-
export type SerialNumberConfigurationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
419
|
-
id?: boolean
|
|
420
|
-
module?: boolean
|
|
421
|
-
alias?: boolean
|
|
422
|
-
initial_number?: boolean
|
|
423
|
-
current_number?: boolean
|
|
424
|
-
created_at?: boolean
|
|
425
|
-
}, ExtArgs["result"]["serialNumberConfiguration"]>
|
|
426
|
-
|
|
427
|
-
export type SerialNumberConfigurationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
428
|
-
id?: boolean
|
|
429
|
-
module?: boolean
|
|
430
|
-
alias?: boolean
|
|
431
|
-
initial_number?: boolean
|
|
432
|
-
current_number?: boolean
|
|
433
|
-
created_at?: boolean
|
|
434
|
-
}, ExtArgs["result"]["serialNumberConfiguration"]>
|
|
435
|
-
|
|
436
|
-
export type SerialNumberConfigurationSelectScalar = {
|
|
437
|
-
id?: boolean
|
|
438
|
-
module?: boolean
|
|
439
|
-
alias?: boolean
|
|
440
|
-
initial_number?: boolean
|
|
441
|
-
current_number?: boolean
|
|
442
|
-
created_at?: boolean
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
export type SerialNumberConfigurationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "module" | "alias" | "initial_number" | "current_number" | "created_at", ExtArgs["result"]["serialNumberConfiguration"]>
|
|
446
|
-
|
|
447
|
-
export type $SerialNumberConfigurationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
448
|
-
name: "SerialNumberConfiguration"
|
|
449
|
-
objects: {}
|
|
450
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
451
|
-
id: number
|
|
452
|
-
module: string | null
|
|
453
|
-
alias: string | null
|
|
454
|
-
initial_number: number | null
|
|
455
|
-
current_number: number | null
|
|
456
|
-
created_at: Date | null
|
|
457
|
-
}, ExtArgs["result"]["serialNumberConfiguration"]>
|
|
458
|
-
composites: {}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
export type SerialNumberConfigurationGetPayload<S extends boolean | null | undefined | SerialNumberConfigurationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload, S>
|
|
462
|
-
|
|
463
|
-
export type SerialNumberConfigurationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
464
|
-
Omit<SerialNumberConfigurationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
465
|
-
select?: SerialNumberConfigurationCountAggregateInputType | true
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
export interface SerialNumberConfigurationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
469
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SerialNumberConfiguration'], meta: { name: 'SerialNumberConfiguration' } }
|
|
470
|
-
/**
|
|
471
|
-
* Find zero or one SerialNumberConfiguration that matches the filter.
|
|
472
|
-
* @param {SerialNumberConfigurationFindUniqueArgs} args - Arguments to find a SerialNumberConfiguration
|
|
473
|
-
* @example
|
|
474
|
-
* // Get one SerialNumberConfiguration
|
|
475
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.findUnique({
|
|
476
|
-
* where: {
|
|
477
|
-
* // ... provide filter here
|
|
478
|
-
* }
|
|
479
|
-
* })
|
|
480
|
-
*/
|
|
481
|
-
findUnique<T extends SerialNumberConfigurationFindUniqueArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Find one SerialNumberConfiguration that matches the filter or throw an error with `error.code='P2025'`
|
|
485
|
-
* if no matches were found.
|
|
486
|
-
* @param {SerialNumberConfigurationFindUniqueOrThrowArgs} args - Arguments to find a SerialNumberConfiguration
|
|
487
|
-
* @example
|
|
488
|
-
* // Get one SerialNumberConfiguration
|
|
489
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.findUniqueOrThrow({
|
|
490
|
-
* where: {
|
|
491
|
-
* // ... provide filter here
|
|
492
|
-
* }
|
|
493
|
-
* })
|
|
494
|
-
*/
|
|
495
|
-
findUniqueOrThrow<T extends SerialNumberConfigurationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Find the first SerialNumberConfiguration that matches the filter.
|
|
499
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
500
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
501
|
-
* @param {SerialNumberConfigurationFindFirstArgs} args - Arguments to find a SerialNumberConfiguration
|
|
502
|
-
* @example
|
|
503
|
-
* // Get one SerialNumberConfiguration
|
|
504
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.findFirst({
|
|
505
|
-
* where: {
|
|
506
|
-
* // ... provide filter here
|
|
507
|
-
* }
|
|
508
|
-
* })
|
|
509
|
-
*/
|
|
510
|
-
findFirst<T extends SerialNumberConfigurationFindFirstArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationFindFirstArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Find the first SerialNumberConfiguration that matches the filter or
|
|
514
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
515
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
516
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
517
|
-
* @param {SerialNumberConfigurationFindFirstOrThrowArgs} args - Arguments to find a SerialNumberConfiguration
|
|
518
|
-
* @example
|
|
519
|
-
* // Get one SerialNumberConfiguration
|
|
520
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.findFirstOrThrow({
|
|
521
|
-
* where: {
|
|
522
|
-
* // ... provide filter here
|
|
523
|
-
* }
|
|
524
|
-
* })
|
|
525
|
-
*/
|
|
526
|
-
findFirstOrThrow<T extends SerialNumberConfigurationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* Find zero or more SerialNumberConfigurations that matches the filter.
|
|
530
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
531
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
532
|
-
* @param {SerialNumberConfigurationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
533
|
-
* @example
|
|
534
|
-
* // Get all SerialNumberConfigurations
|
|
535
|
-
* const serialNumberConfigurations = await prisma.serialNumberConfiguration.findMany()
|
|
536
|
-
*
|
|
537
|
-
* // Get first 10 SerialNumberConfigurations
|
|
538
|
-
* const serialNumberConfigurations = await prisma.serialNumberConfiguration.findMany({ take: 10 })
|
|
539
|
-
*
|
|
540
|
-
* // Only select the `id`
|
|
541
|
-
* const serialNumberConfigurationWithIdOnly = await prisma.serialNumberConfiguration.findMany({ select: { id: true } })
|
|
542
|
-
*
|
|
543
|
-
*/
|
|
544
|
-
findMany<T extends SerialNumberConfigurationFindManyArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* Create a SerialNumberConfiguration.
|
|
548
|
-
* @param {SerialNumberConfigurationCreateArgs} args - Arguments to create a SerialNumberConfiguration.
|
|
549
|
-
* @example
|
|
550
|
-
* // Create one SerialNumberConfiguration
|
|
551
|
-
* const SerialNumberConfiguration = await prisma.serialNumberConfiguration.create({
|
|
552
|
-
* data: {
|
|
553
|
-
* // ... data to create a SerialNumberConfiguration
|
|
554
|
-
* }
|
|
555
|
-
* })
|
|
556
|
-
*
|
|
557
|
-
*/
|
|
558
|
-
create<T extends SerialNumberConfigurationCreateArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationCreateArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* Create many SerialNumberConfigurations.
|
|
562
|
-
* @param {SerialNumberConfigurationCreateManyArgs} args - Arguments to create many SerialNumberConfigurations.
|
|
563
|
-
* @example
|
|
564
|
-
* // Create many SerialNumberConfigurations
|
|
565
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.createMany({
|
|
566
|
-
* data: [
|
|
567
|
-
* // ... provide data here
|
|
568
|
-
* ]
|
|
569
|
-
* })
|
|
570
|
-
*
|
|
571
|
-
*/
|
|
572
|
-
createMany<T extends SerialNumberConfigurationCreateManyArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* Create many SerialNumberConfigurations and returns the data saved in the database.
|
|
576
|
-
* @param {SerialNumberConfigurationCreateManyAndReturnArgs} args - Arguments to create many SerialNumberConfigurations.
|
|
577
|
-
* @example
|
|
578
|
-
* // Create many SerialNumberConfigurations
|
|
579
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.createManyAndReturn({
|
|
580
|
-
* data: [
|
|
581
|
-
* // ... provide data here
|
|
582
|
-
* ]
|
|
583
|
-
* })
|
|
584
|
-
*
|
|
585
|
-
* // Create many SerialNumberConfigurations and only return the `id`
|
|
586
|
-
* const serialNumberConfigurationWithIdOnly = await prisma.serialNumberConfiguration.createManyAndReturn({
|
|
587
|
-
* select: { id: true },
|
|
588
|
-
* data: [
|
|
589
|
-
* // ... provide data here
|
|
590
|
-
* ]
|
|
591
|
-
* })
|
|
592
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
593
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
594
|
-
*
|
|
595
|
-
*/
|
|
596
|
-
createManyAndReturn<T extends SerialNumberConfigurationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* Delete a SerialNumberConfiguration.
|
|
600
|
-
* @param {SerialNumberConfigurationDeleteArgs} args - Arguments to delete one SerialNumberConfiguration.
|
|
601
|
-
* @example
|
|
602
|
-
* // Delete one SerialNumberConfiguration
|
|
603
|
-
* const SerialNumberConfiguration = await prisma.serialNumberConfiguration.delete({
|
|
604
|
-
* where: {
|
|
605
|
-
* // ... filter to delete one SerialNumberConfiguration
|
|
606
|
-
* }
|
|
607
|
-
* })
|
|
608
|
-
*
|
|
609
|
-
*/
|
|
610
|
-
delete<T extends SerialNumberConfigurationDeleteArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationDeleteArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* Update one SerialNumberConfiguration.
|
|
614
|
-
* @param {SerialNumberConfigurationUpdateArgs} args - Arguments to update one SerialNumberConfiguration.
|
|
615
|
-
* @example
|
|
616
|
-
* // Update one SerialNumberConfiguration
|
|
617
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.update({
|
|
618
|
-
* where: {
|
|
619
|
-
* // ... provide filter here
|
|
620
|
-
* },
|
|
621
|
-
* data: {
|
|
622
|
-
* // ... provide data here
|
|
623
|
-
* }
|
|
624
|
-
* })
|
|
625
|
-
*
|
|
626
|
-
*/
|
|
627
|
-
update<T extends SerialNumberConfigurationUpdateArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationUpdateArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Delete zero or more SerialNumberConfigurations.
|
|
631
|
-
* @param {SerialNumberConfigurationDeleteManyArgs} args - Arguments to filter SerialNumberConfigurations to delete.
|
|
632
|
-
* @example
|
|
633
|
-
* // Delete a few SerialNumberConfigurations
|
|
634
|
-
* const { count } = await prisma.serialNumberConfiguration.deleteMany({
|
|
635
|
-
* where: {
|
|
636
|
-
* // ... provide filter here
|
|
637
|
-
* }
|
|
638
|
-
* })
|
|
639
|
-
*
|
|
640
|
-
*/
|
|
641
|
-
deleteMany<T extends SerialNumberConfigurationDeleteManyArgs>(args?: Prisma.SelectSubset<T, SerialNumberConfigurationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
642
|
-
|
|
643
|
-
/**
|
|
644
|
-
* Update zero or more SerialNumberConfigurations.
|
|
645
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
646
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
647
|
-
* @param {SerialNumberConfigurationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
648
|
-
* @example
|
|
649
|
-
* // Update many SerialNumberConfigurations
|
|
650
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.updateMany({
|
|
651
|
-
* where: {
|
|
652
|
-
* // ... provide filter here
|
|
653
|
-
* },
|
|
654
|
-
* data: {
|
|
655
|
-
* // ... provide data here
|
|
656
|
-
* }
|
|
657
|
-
* })
|
|
658
|
-
*
|
|
659
|
-
*/
|
|
660
|
-
updateMany<T extends SerialNumberConfigurationUpdateManyArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
661
|
-
|
|
662
|
-
/**
|
|
663
|
-
* Update zero or more SerialNumberConfigurations and returns the data updated in the database.
|
|
664
|
-
* @param {SerialNumberConfigurationUpdateManyAndReturnArgs} args - Arguments to update many SerialNumberConfigurations.
|
|
665
|
-
* @example
|
|
666
|
-
* // Update many SerialNumberConfigurations
|
|
667
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.updateManyAndReturn({
|
|
668
|
-
* where: {
|
|
669
|
-
* // ... provide filter here
|
|
670
|
-
* },
|
|
671
|
-
* data: [
|
|
672
|
-
* // ... provide data here
|
|
673
|
-
* ]
|
|
674
|
-
* })
|
|
675
|
-
*
|
|
676
|
-
* // Update zero or more SerialNumberConfigurations and only return the `id`
|
|
677
|
-
* const serialNumberConfigurationWithIdOnly = await prisma.serialNumberConfiguration.updateManyAndReturn({
|
|
678
|
-
* select: { id: true },
|
|
679
|
-
* where: {
|
|
680
|
-
* // ... provide filter here
|
|
681
|
-
* },
|
|
682
|
-
* data: [
|
|
683
|
-
* // ... provide data here
|
|
684
|
-
* ]
|
|
685
|
-
* })
|
|
686
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
-
*
|
|
689
|
-
*/
|
|
690
|
-
updateManyAndReturn<T extends SerialNumberConfigurationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* Create or update one SerialNumberConfiguration.
|
|
694
|
-
* @param {SerialNumberConfigurationUpsertArgs} args - Arguments to update or create a SerialNumberConfiguration.
|
|
695
|
-
* @example
|
|
696
|
-
* // Update or create a SerialNumberConfiguration
|
|
697
|
-
* const serialNumberConfiguration = await prisma.serialNumberConfiguration.upsert({
|
|
698
|
-
* create: {
|
|
699
|
-
* // ... data to create a SerialNumberConfiguration
|
|
700
|
-
* },
|
|
701
|
-
* update: {
|
|
702
|
-
* // ... in case it already exists, update
|
|
703
|
-
* },
|
|
704
|
-
* where: {
|
|
705
|
-
* // ... the filter for the SerialNumberConfiguration we want to update
|
|
706
|
-
* }
|
|
707
|
-
* })
|
|
708
|
-
*/
|
|
709
|
-
upsert<T extends SerialNumberConfigurationUpsertArgs>(args: Prisma.SelectSubset<T, SerialNumberConfigurationUpsertArgs<ExtArgs>>): Prisma.Prisma__SerialNumberConfigurationClient<runtime.Types.Result.GetResult<Prisma.$SerialNumberConfigurationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Count the number of SerialNumberConfigurations.
|
|
714
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
-
* @param {SerialNumberConfigurationCountArgs} args - Arguments to filter SerialNumberConfigurations to count.
|
|
717
|
-
* @example
|
|
718
|
-
* // Count the number of SerialNumberConfigurations
|
|
719
|
-
* const count = await prisma.serialNumberConfiguration.count({
|
|
720
|
-
* where: {
|
|
721
|
-
* // ... the filter for the SerialNumberConfigurations we want to count
|
|
722
|
-
* }
|
|
723
|
-
* })
|
|
724
|
-
**/
|
|
725
|
-
count<T extends SerialNumberConfigurationCountArgs>(
|
|
726
|
-
args?: Prisma.Subset<T, SerialNumberConfigurationCountArgs>,
|
|
727
|
-
): Prisma.PrismaPromise<
|
|
728
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
729
|
-
? T['select'] extends true
|
|
730
|
-
? number
|
|
731
|
-
: Prisma.GetScalarType<T['select'], SerialNumberConfigurationCountAggregateOutputType>
|
|
732
|
-
: number
|
|
733
|
-
>
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* Allows you to perform aggregations operations on a SerialNumberConfiguration.
|
|
737
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
738
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
739
|
-
* @param {SerialNumberConfigurationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
740
|
-
* @example
|
|
741
|
-
* // Ordered by age ascending
|
|
742
|
-
* // Where email contains prisma.io
|
|
743
|
-
* // Limited to the 10 users
|
|
744
|
-
* const aggregations = await prisma.user.aggregate({
|
|
745
|
-
* _avg: {
|
|
746
|
-
* age: true,
|
|
747
|
-
* },
|
|
748
|
-
* where: {
|
|
749
|
-
* email: {
|
|
750
|
-
* contains: "prisma.io",
|
|
751
|
-
* },
|
|
752
|
-
* },
|
|
753
|
-
* orderBy: {
|
|
754
|
-
* age: "asc",
|
|
755
|
-
* },
|
|
756
|
-
* take: 10,
|
|
757
|
-
* })
|
|
758
|
-
**/
|
|
759
|
-
aggregate<T extends SerialNumberConfigurationAggregateArgs>(args: Prisma.Subset<T, SerialNumberConfigurationAggregateArgs>): Prisma.PrismaPromise<GetSerialNumberConfigurationAggregateType<T>>
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* Group by SerialNumberConfiguration.
|
|
763
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
764
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
765
|
-
* @param {SerialNumberConfigurationGroupByArgs} args - Group by arguments.
|
|
766
|
-
* @example
|
|
767
|
-
* // Group by city, order by createdAt, get count
|
|
768
|
-
* const result = await prisma.user.groupBy({
|
|
769
|
-
* by: ['city', 'createdAt'],
|
|
770
|
-
* orderBy: {
|
|
771
|
-
* createdAt: true
|
|
772
|
-
* },
|
|
773
|
-
* _count: {
|
|
774
|
-
* _all: true
|
|
775
|
-
* },
|
|
776
|
-
* })
|
|
777
|
-
*
|
|
778
|
-
**/
|
|
779
|
-
groupBy<
|
|
780
|
-
T extends SerialNumberConfigurationGroupByArgs,
|
|
781
|
-
HasSelectOrTake extends Prisma.Or<
|
|
782
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
783
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
784
|
-
>,
|
|
785
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
786
|
-
? { orderBy: SerialNumberConfigurationGroupByArgs['orderBy'] }
|
|
787
|
-
: { orderBy?: SerialNumberConfigurationGroupByArgs['orderBy'] },
|
|
788
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
789
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
790
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
791
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
792
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
793
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
794
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
795
|
-
? `Error: "by" must not be empty.`
|
|
796
|
-
: HavingValid extends Prisma.False
|
|
797
|
-
? {
|
|
798
|
-
[P in HavingFields]: P extends ByFields
|
|
799
|
-
? never
|
|
800
|
-
: P extends string
|
|
801
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
802
|
-
: [
|
|
803
|
-
Error,
|
|
804
|
-
'Field ',
|
|
805
|
-
P,
|
|
806
|
-
` in "having" needs to be provided in "by"`,
|
|
807
|
-
]
|
|
808
|
-
}[HavingFields]
|
|
809
|
-
: 'take' extends Prisma.Keys<T>
|
|
810
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
811
|
-
? ByValid extends Prisma.True
|
|
812
|
-
? {}
|
|
813
|
-
: {
|
|
814
|
-
[P in OrderFields]: P extends ByFields
|
|
815
|
-
? never
|
|
816
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
817
|
-
}[OrderFields]
|
|
818
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
819
|
-
: 'skip' extends Prisma.Keys<T>
|
|
820
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
821
|
-
? ByValid extends Prisma.True
|
|
822
|
-
? {}
|
|
823
|
-
: {
|
|
824
|
-
[P in OrderFields]: P extends ByFields
|
|
825
|
-
? never
|
|
826
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
827
|
-
}[OrderFields]
|
|
828
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
829
|
-
: ByValid extends Prisma.True
|
|
830
|
-
? {}
|
|
831
|
-
: {
|
|
832
|
-
[P in OrderFields]: P extends ByFields
|
|
833
|
-
? never
|
|
834
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
835
|
-
}[OrderFields]
|
|
836
|
-
>(args: Prisma.SubsetIntersection<T, SerialNumberConfigurationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSerialNumberConfigurationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
837
|
-
/**
|
|
838
|
-
* Fields of the SerialNumberConfiguration model
|
|
839
|
-
*/
|
|
840
|
-
readonly fields: SerialNumberConfigurationFieldRefs;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* The delegate class that acts as a "Promise-like" for SerialNumberConfiguration.
|
|
845
|
-
* Why is this prefixed with `Prisma__`?
|
|
846
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
847
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
848
|
-
*/
|
|
849
|
-
export interface Prisma__SerialNumberConfigurationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
850
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
851
|
-
/**
|
|
852
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
853
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
854
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
855
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
856
|
-
*/
|
|
857
|
-
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>
|
|
858
|
-
/**
|
|
859
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
860
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
861
|
-
* @returns A Promise for the completion of the callback.
|
|
862
|
-
*/
|
|
863
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
864
|
-
/**
|
|
865
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
866
|
-
* resolved value cannot be modified from the callback.
|
|
867
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
868
|
-
* @returns A Promise for the completion of the callback.
|
|
869
|
-
*/
|
|
870
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
/**
|
|
877
|
-
* Fields of the SerialNumberConfiguration model
|
|
878
|
-
*/
|
|
879
|
-
export interface SerialNumberConfigurationFieldRefs {
|
|
880
|
-
readonly id: Prisma.FieldRef<"SerialNumberConfiguration", 'Int'>
|
|
881
|
-
readonly module: Prisma.FieldRef<"SerialNumberConfiguration", 'String'>
|
|
882
|
-
readonly alias: Prisma.FieldRef<"SerialNumberConfiguration", 'String'>
|
|
883
|
-
readonly initial_number: Prisma.FieldRef<"SerialNumberConfiguration", 'Int'>
|
|
884
|
-
readonly current_number: Prisma.FieldRef<"SerialNumberConfiguration", 'Int'>
|
|
885
|
-
readonly created_at: Prisma.FieldRef<"SerialNumberConfiguration", 'DateTime'>
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
// Custom InputTypes
|
|
890
|
-
/**
|
|
891
|
-
* SerialNumberConfiguration findUnique
|
|
892
|
-
*/
|
|
893
|
-
export type SerialNumberConfigurationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
894
|
-
/**
|
|
895
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
896
|
-
*/
|
|
897
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
898
|
-
/**
|
|
899
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
900
|
-
*/
|
|
901
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
902
|
-
/**
|
|
903
|
-
* Filter, which SerialNumberConfiguration to fetch.
|
|
904
|
-
*/
|
|
905
|
-
where: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* SerialNumberConfiguration findUniqueOrThrow
|
|
910
|
-
*/
|
|
911
|
-
export type SerialNumberConfigurationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
912
|
-
/**
|
|
913
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
914
|
-
*/
|
|
915
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
916
|
-
/**
|
|
917
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
918
|
-
*/
|
|
919
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
920
|
-
/**
|
|
921
|
-
* Filter, which SerialNumberConfiguration to fetch.
|
|
922
|
-
*/
|
|
923
|
-
where: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* SerialNumberConfiguration findFirst
|
|
928
|
-
*/
|
|
929
|
-
export type SerialNumberConfigurationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
930
|
-
/**
|
|
931
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
932
|
-
*/
|
|
933
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
934
|
-
/**
|
|
935
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
936
|
-
*/
|
|
937
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
938
|
-
/**
|
|
939
|
-
* Filter, which SerialNumberConfiguration to fetch.
|
|
940
|
-
*/
|
|
941
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
942
|
-
/**
|
|
943
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
944
|
-
*
|
|
945
|
-
* Determine the order of SerialNumberConfigurations to fetch.
|
|
946
|
-
*/
|
|
947
|
-
orderBy?: Prisma.SerialNumberConfigurationOrderByWithRelationInput | Prisma.SerialNumberConfigurationOrderByWithRelationInput[]
|
|
948
|
-
/**
|
|
949
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
950
|
-
*
|
|
951
|
-
* Sets the position for searching for SerialNumberConfigurations.
|
|
952
|
-
*/
|
|
953
|
-
cursor?: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
954
|
-
/**
|
|
955
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
956
|
-
*
|
|
957
|
-
* Take `±n` SerialNumberConfigurations from the position of the cursor.
|
|
958
|
-
*/
|
|
959
|
-
take?: number
|
|
960
|
-
/**
|
|
961
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
962
|
-
*
|
|
963
|
-
* Skip the first `n` SerialNumberConfigurations.
|
|
964
|
-
*/
|
|
965
|
-
skip?: number
|
|
966
|
-
/**
|
|
967
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
968
|
-
*
|
|
969
|
-
* Filter by unique combinations of SerialNumberConfigurations.
|
|
970
|
-
*/
|
|
971
|
-
distinct?: Prisma.SerialNumberConfigurationScalarFieldEnum | Prisma.SerialNumberConfigurationScalarFieldEnum[]
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* SerialNumberConfiguration findFirstOrThrow
|
|
976
|
-
*/
|
|
977
|
-
export type SerialNumberConfigurationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
978
|
-
/**
|
|
979
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
980
|
-
*/
|
|
981
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
982
|
-
/**
|
|
983
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
984
|
-
*/
|
|
985
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
986
|
-
/**
|
|
987
|
-
* Filter, which SerialNumberConfiguration to fetch.
|
|
988
|
-
*/
|
|
989
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
990
|
-
/**
|
|
991
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
992
|
-
*
|
|
993
|
-
* Determine the order of SerialNumberConfigurations to fetch.
|
|
994
|
-
*/
|
|
995
|
-
orderBy?: Prisma.SerialNumberConfigurationOrderByWithRelationInput | Prisma.SerialNumberConfigurationOrderByWithRelationInput[]
|
|
996
|
-
/**
|
|
997
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
998
|
-
*
|
|
999
|
-
* Sets the position for searching for SerialNumberConfigurations.
|
|
1000
|
-
*/
|
|
1001
|
-
cursor?: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
1002
|
-
/**
|
|
1003
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
-
*
|
|
1005
|
-
* Take `±n` SerialNumberConfigurations from the position of the cursor.
|
|
1006
|
-
*/
|
|
1007
|
-
take?: number
|
|
1008
|
-
/**
|
|
1009
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1010
|
-
*
|
|
1011
|
-
* Skip the first `n` SerialNumberConfigurations.
|
|
1012
|
-
*/
|
|
1013
|
-
skip?: number
|
|
1014
|
-
/**
|
|
1015
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1016
|
-
*
|
|
1017
|
-
* Filter by unique combinations of SerialNumberConfigurations.
|
|
1018
|
-
*/
|
|
1019
|
-
distinct?: Prisma.SerialNumberConfigurationScalarFieldEnum | Prisma.SerialNumberConfigurationScalarFieldEnum[]
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* SerialNumberConfiguration findMany
|
|
1024
|
-
*/
|
|
1025
|
-
export type SerialNumberConfigurationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1026
|
-
/**
|
|
1027
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1028
|
-
*/
|
|
1029
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1030
|
-
/**
|
|
1031
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1032
|
-
*/
|
|
1033
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1034
|
-
/**
|
|
1035
|
-
* Filter, which SerialNumberConfigurations to fetch.
|
|
1036
|
-
*/
|
|
1037
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
1038
|
-
/**
|
|
1039
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1040
|
-
*
|
|
1041
|
-
* Determine the order of SerialNumberConfigurations to fetch.
|
|
1042
|
-
*/
|
|
1043
|
-
orderBy?: Prisma.SerialNumberConfigurationOrderByWithRelationInput | Prisma.SerialNumberConfigurationOrderByWithRelationInput[]
|
|
1044
|
-
/**
|
|
1045
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1046
|
-
*
|
|
1047
|
-
* Sets the position for listing SerialNumberConfigurations.
|
|
1048
|
-
*/
|
|
1049
|
-
cursor?: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
1050
|
-
/**
|
|
1051
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1052
|
-
*
|
|
1053
|
-
* Take `±n` SerialNumberConfigurations from the position of the cursor.
|
|
1054
|
-
*/
|
|
1055
|
-
take?: number
|
|
1056
|
-
/**
|
|
1057
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1058
|
-
*
|
|
1059
|
-
* Skip the first `n` SerialNumberConfigurations.
|
|
1060
|
-
*/
|
|
1061
|
-
skip?: number
|
|
1062
|
-
/**
|
|
1063
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1064
|
-
*
|
|
1065
|
-
* Filter by unique combinations of SerialNumberConfigurations.
|
|
1066
|
-
*/
|
|
1067
|
-
distinct?: Prisma.SerialNumberConfigurationScalarFieldEnum | Prisma.SerialNumberConfigurationScalarFieldEnum[]
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* SerialNumberConfiguration create
|
|
1072
|
-
*/
|
|
1073
|
-
export type SerialNumberConfigurationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1074
|
-
/**
|
|
1075
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1076
|
-
*/
|
|
1077
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1078
|
-
/**
|
|
1079
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1080
|
-
*/
|
|
1081
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1082
|
-
/**
|
|
1083
|
-
* The data needed to create a SerialNumberConfiguration.
|
|
1084
|
-
*/
|
|
1085
|
-
data?: Prisma.XOR<Prisma.SerialNumberConfigurationCreateInput, Prisma.SerialNumberConfigurationUncheckedCreateInput>
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* SerialNumberConfiguration createMany
|
|
1090
|
-
*/
|
|
1091
|
-
export type SerialNumberConfigurationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1092
|
-
/**
|
|
1093
|
-
* The data used to create many SerialNumberConfigurations.
|
|
1094
|
-
*/
|
|
1095
|
-
data: Prisma.SerialNumberConfigurationCreateManyInput | Prisma.SerialNumberConfigurationCreateManyInput[]
|
|
1096
|
-
skipDuplicates?: boolean
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* SerialNumberConfiguration createManyAndReturn
|
|
1101
|
-
*/
|
|
1102
|
-
export type SerialNumberConfigurationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1103
|
-
/**
|
|
1104
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1105
|
-
*/
|
|
1106
|
-
select?: Prisma.SerialNumberConfigurationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1107
|
-
/**
|
|
1108
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1109
|
-
*/
|
|
1110
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1111
|
-
/**
|
|
1112
|
-
* The data used to create many SerialNumberConfigurations.
|
|
1113
|
-
*/
|
|
1114
|
-
data: Prisma.SerialNumberConfigurationCreateManyInput | Prisma.SerialNumberConfigurationCreateManyInput[]
|
|
1115
|
-
skipDuplicates?: boolean
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* SerialNumberConfiguration update
|
|
1120
|
-
*/
|
|
1121
|
-
export type SerialNumberConfigurationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
-
/**
|
|
1123
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1124
|
-
*/
|
|
1125
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1126
|
-
/**
|
|
1127
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1128
|
-
*/
|
|
1129
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1130
|
-
/**
|
|
1131
|
-
* The data needed to update a SerialNumberConfiguration.
|
|
1132
|
-
*/
|
|
1133
|
-
data: Prisma.XOR<Prisma.SerialNumberConfigurationUpdateInput, Prisma.SerialNumberConfigurationUncheckedUpdateInput>
|
|
1134
|
-
/**
|
|
1135
|
-
* Choose, which SerialNumberConfiguration to update.
|
|
1136
|
-
*/
|
|
1137
|
-
where: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
/**
|
|
1141
|
-
* SerialNumberConfiguration updateMany
|
|
1142
|
-
*/
|
|
1143
|
-
export type SerialNumberConfigurationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1144
|
-
/**
|
|
1145
|
-
* The data used to update SerialNumberConfigurations.
|
|
1146
|
-
*/
|
|
1147
|
-
data: Prisma.XOR<Prisma.SerialNumberConfigurationUpdateManyMutationInput, Prisma.SerialNumberConfigurationUncheckedUpdateManyInput>
|
|
1148
|
-
/**
|
|
1149
|
-
* Filter which SerialNumberConfigurations to update
|
|
1150
|
-
*/
|
|
1151
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
1152
|
-
/**
|
|
1153
|
-
* Limit how many SerialNumberConfigurations to update.
|
|
1154
|
-
*/
|
|
1155
|
-
limit?: number
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* SerialNumberConfiguration updateManyAndReturn
|
|
1160
|
-
*/
|
|
1161
|
-
export type SerialNumberConfigurationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1162
|
-
/**
|
|
1163
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1164
|
-
*/
|
|
1165
|
-
select?: Prisma.SerialNumberConfigurationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1166
|
-
/**
|
|
1167
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1168
|
-
*/
|
|
1169
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1170
|
-
/**
|
|
1171
|
-
* The data used to update SerialNumberConfigurations.
|
|
1172
|
-
*/
|
|
1173
|
-
data: Prisma.XOR<Prisma.SerialNumberConfigurationUpdateManyMutationInput, Prisma.SerialNumberConfigurationUncheckedUpdateManyInput>
|
|
1174
|
-
/**
|
|
1175
|
-
* Filter which SerialNumberConfigurations to update
|
|
1176
|
-
*/
|
|
1177
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
1178
|
-
/**
|
|
1179
|
-
* Limit how many SerialNumberConfigurations to update.
|
|
1180
|
-
*/
|
|
1181
|
-
limit?: number
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* SerialNumberConfiguration upsert
|
|
1186
|
-
*/
|
|
1187
|
-
export type SerialNumberConfigurationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1188
|
-
/**
|
|
1189
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1190
|
-
*/
|
|
1191
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1192
|
-
/**
|
|
1193
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1194
|
-
*/
|
|
1195
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1196
|
-
/**
|
|
1197
|
-
* The filter to search for the SerialNumberConfiguration to update in case it exists.
|
|
1198
|
-
*/
|
|
1199
|
-
where: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
1200
|
-
/**
|
|
1201
|
-
* In case the SerialNumberConfiguration found by the `where` argument doesn't exist, create a new SerialNumberConfiguration with this data.
|
|
1202
|
-
*/
|
|
1203
|
-
create: Prisma.XOR<Prisma.SerialNumberConfigurationCreateInput, Prisma.SerialNumberConfigurationUncheckedCreateInput>
|
|
1204
|
-
/**
|
|
1205
|
-
* In case the SerialNumberConfiguration was found with the provided `where` argument, update it with this data.
|
|
1206
|
-
*/
|
|
1207
|
-
update: Prisma.XOR<Prisma.SerialNumberConfigurationUpdateInput, Prisma.SerialNumberConfigurationUncheckedUpdateInput>
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* SerialNumberConfiguration delete
|
|
1212
|
-
*/
|
|
1213
|
-
export type SerialNumberConfigurationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
-
/**
|
|
1215
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1216
|
-
*/
|
|
1217
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1218
|
-
/**
|
|
1219
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1220
|
-
*/
|
|
1221
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1222
|
-
/**
|
|
1223
|
-
* Filter which SerialNumberConfiguration to delete.
|
|
1224
|
-
*/
|
|
1225
|
-
where: Prisma.SerialNumberConfigurationWhereUniqueInput
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
/**
|
|
1229
|
-
* SerialNumberConfiguration deleteMany
|
|
1230
|
-
*/
|
|
1231
|
-
export type SerialNumberConfigurationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1232
|
-
/**
|
|
1233
|
-
* Filter which SerialNumberConfigurations to delete
|
|
1234
|
-
*/
|
|
1235
|
-
where?: Prisma.SerialNumberConfigurationWhereInput
|
|
1236
|
-
/**
|
|
1237
|
-
* Limit how many SerialNumberConfigurations to delete.
|
|
1238
|
-
*/
|
|
1239
|
-
limit?: number
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
/**
|
|
1243
|
-
* SerialNumberConfiguration without action
|
|
1244
|
-
*/
|
|
1245
|
-
export type SerialNumberConfigurationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1246
|
-
/**
|
|
1247
|
-
* Select specific fields to fetch from the SerialNumberConfiguration
|
|
1248
|
-
*/
|
|
1249
|
-
select?: Prisma.SerialNumberConfigurationSelect<ExtArgs> | null
|
|
1250
|
-
/**
|
|
1251
|
-
* Omit specific fields from the SerialNumberConfiguration
|
|
1252
|
-
*/
|
|
1253
|
-
omit?: Prisma.SerialNumberConfigurationOmit<ExtArgs> | null
|
|
1254
|
-
}
|