efiber-prisma-schema 1.16.1 → 2.0.0
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/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
- package/prisma/schema.prisma +3 -3
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,2193 @@
|
|
|
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 `clientMaterial` 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.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model clientMaterial
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type clientMaterialModel = runtime.Types.Result.DefaultSelection<Prisma.$clientMaterialPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateClientMaterial = {
|
|
22
|
+
_count: ClientMaterialCountAggregateOutputType | null
|
|
23
|
+
_avg: ClientMaterialAvgAggregateOutputType | null
|
|
24
|
+
_sum: ClientMaterialSumAggregateOutputType | null
|
|
25
|
+
_min: ClientMaterialMinAggregateOutputType | null
|
|
26
|
+
_max: ClientMaterialMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ClientMaterialAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ClientMaterialSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ClientMaterialMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
materialId: string | null
|
|
41
|
+
clientId: string | null
|
|
42
|
+
quantityAdded: string | null
|
|
43
|
+
quantityUsed: string | null
|
|
44
|
+
quantityRemaining: string | null
|
|
45
|
+
status: string | null
|
|
46
|
+
type: string | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
deletedAt: Date | null
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type ClientMaterialMaxAggregateOutputType = {
|
|
53
|
+
id: string | null
|
|
54
|
+
no: number | null
|
|
55
|
+
materialId: string | null
|
|
56
|
+
clientId: string | null
|
|
57
|
+
quantityAdded: string | null
|
|
58
|
+
quantityUsed: string | null
|
|
59
|
+
quantityRemaining: string | null
|
|
60
|
+
status: string | null
|
|
61
|
+
type: string | null
|
|
62
|
+
createdAt: Date | null
|
|
63
|
+
updatedAt: Date | null
|
|
64
|
+
deletedAt: Date | null
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type ClientMaterialCountAggregateOutputType = {
|
|
68
|
+
id: number
|
|
69
|
+
no: number
|
|
70
|
+
materialId: number
|
|
71
|
+
clientId: number
|
|
72
|
+
quantityAdded: number
|
|
73
|
+
quantityUsed: number
|
|
74
|
+
quantityRemaining: number
|
|
75
|
+
status: number
|
|
76
|
+
type: number
|
|
77
|
+
createdAt: number
|
|
78
|
+
updatedAt: number
|
|
79
|
+
deletedAt: number
|
|
80
|
+
_all: number
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
export type ClientMaterialAvgAggregateInputType = {
|
|
85
|
+
no?: true
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type ClientMaterialSumAggregateInputType = {
|
|
89
|
+
no?: true
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type ClientMaterialMinAggregateInputType = {
|
|
93
|
+
id?: true
|
|
94
|
+
no?: true
|
|
95
|
+
materialId?: true
|
|
96
|
+
clientId?: true
|
|
97
|
+
quantityAdded?: true
|
|
98
|
+
quantityUsed?: true
|
|
99
|
+
quantityRemaining?: true
|
|
100
|
+
status?: true
|
|
101
|
+
type?: true
|
|
102
|
+
createdAt?: true
|
|
103
|
+
updatedAt?: true
|
|
104
|
+
deletedAt?: true
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type ClientMaterialMaxAggregateInputType = {
|
|
108
|
+
id?: true
|
|
109
|
+
no?: true
|
|
110
|
+
materialId?: true
|
|
111
|
+
clientId?: true
|
|
112
|
+
quantityAdded?: true
|
|
113
|
+
quantityUsed?: true
|
|
114
|
+
quantityRemaining?: true
|
|
115
|
+
status?: true
|
|
116
|
+
type?: true
|
|
117
|
+
createdAt?: true
|
|
118
|
+
updatedAt?: true
|
|
119
|
+
deletedAt?: true
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type ClientMaterialCountAggregateInputType = {
|
|
123
|
+
id?: true
|
|
124
|
+
no?: true
|
|
125
|
+
materialId?: true
|
|
126
|
+
clientId?: true
|
|
127
|
+
quantityAdded?: true
|
|
128
|
+
quantityUsed?: true
|
|
129
|
+
quantityRemaining?: true
|
|
130
|
+
status?: true
|
|
131
|
+
type?: true
|
|
132
|
+
createdAt?: true
|
|
133
|
+
updatedAt?: true
|
|
134
|
+
deletedAt?: true
|
|
135
|
+
_all?: true
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type ClientMaterialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
/**
|
|
140
|
+
* Filter which clientMaterial to aggregate.
|
|
141
|
+
*/
|
|
142
|
+
where?: Prisma.clientMaterialWhereInput
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
145
|
+
*
|
|
146
|
+
* Determine the order of clientMaterials to fetch.
|
|
147
|
+
*/
|
|
148
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
151
|
+
*
|
|
152
|
+
* Sets the start position
|
|
153
|
+
*/
|
|
154
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Take `±n` clientMaterials from the position of the cursor.
|
|
159
|
+
*/
|
|
160
|
+
take?: number
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Skip the first `n` clientMaterials.
|
|
165
|
+
*/
|
|
166
|
+
skip?: number
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Count returned clientMaterials
|
|
171
|
+
**/
|
|
172
|
+
_count?: true | ClientMaterialCountAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to average
|
|
177
|
+
**/
|
|
178
|
+
_avg?: ClientMaterialAvgAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to sum
|
|
183
|
+
**/
|
|
184
|
+
_sum?: ClientMaterialSumAggregateInputType
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Select which fields to find the minimum value
|
|
189
|
+
**/
|
|
190
|
+
_min?: ClientMaterialMinAggregateInputType
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to find the maximum value
|
|
195
|
+
**/
|
|
196
|
+
_max?: ClientMaterialMaxAggregateInputType
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type GetClientMaterialAggregateType<T extends ClientMaterialAggregateArgs> = {
|
|
200
|
+
[P in keyof T & keyof AggregateClientMaterial]: P extends '_count' | 'count'
|
|
201
|
+
? T[P] extends true
|
|
202
|
+
? number
|
|
203
|
+
: Prisma.GetScalarType<T[P], AggregateClientMaterial[P]>
|
|
204
|
+
: Prisma.GetScalarType<T[P], AggregateClientMaterial[P]>
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
export type clientMaterialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
211
|
+
where?: Prisma.clientMaterialWhereInput
|
|
212
|
+
orderBy?: Prisma.clientMaterialOrderByWithAggregationInput | Prisma.clientMaterialOrderByWithAggregationInput[]
|
|
213
|
+
by: Prisma.ClientMaterialScalarFieldEnum[] | Prisma.ClientMaterialScalarFieldEnum
|
|
214
|
+
having?: Prisma.clientMaterialScalarWhereWithAggregatesInput
|
|
215
|
+
take?: number
|
|
216
|
+
skip?: number
|
|
217
|
+
_count?: ClientMaterialCountAggregateInputType | true
|
|
218
|
+
_avg?: ClientMaterialAvgAggregateInputType
|
|
219
|
+
_sum?: ClientMaterialSumAggregateInputType
|
|
220
|
+
_min?: ClientMaterialMinAggregateInputType
|
|
221
|
+
_max?: ClientMaterialMaxAggregateInputType
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type ClientMaterialGroupByOutputType = {
|
|
225
|
+
id: string
|
|
226
|
+
no: number
|
|
227
|
+
materialId: string
|
|
228
|
+
clientId: string
|
|
229
|
+
quantityAdded: string
|
|
230
|
+
quantityUsed: string
|
|
231
|
+
quantityRemaining: string
|
|
232
|
+
status: string
|
|
233
|
+
type: string
|
|
234
|
+
createdAt: Date
|
|
235
|
+
updatedAt: Date
|
|
236
|
+
deletedAt: Date | null
|
|
237
|
+
_count: ClientMaterialCountAggregateOutputType | null
|
|
238
|
+
_avg: ClientMaterialAvgAggregateOutputType | null
|
|
239
|
+
_sum: ClientMaterialSumAggregateOutputType | null
|
|
240
|
+
_min: ClientMaterialMinAggregateOutputType | null
|
|
241
|
+
_max: ClientMaterialMaxAggregateOutputType | null
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type GetClientMaterialGroupByPayload<T extends clientMaterialGroupByArgs> = Prisma.PrismaPromise<
|
|
245
|
+
Array<
|
|
246
|
+
Prisma.PickEnumerable<ClientMaterialGroupByOutputType, T['by']> &
|
|
247
|
+
{
|
|
248
|
+
[P in ((keyof T) & (keyof ClientMaterialGroupByOutputType))]: P extends '_count'
|
|
249
|
+
? T[P] extends boolean
|
|
250
|
+
? number
|
|
251
|
+
: Prisma.GetScalarType<T[P], ClientMaterialGroupByOutputType[P]>
|
|
252
|
+
: Prisma.GetScalarType<T[P], ClientMaterialGroupByOutputType[P]>
|
|
253
|
+
}
|
|
254
|
+
>
|
|
255
|
+
>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
export type clientMaterialWhereInput = {
|
|
260
|
+
AND?: Prisma.clientMaterialWhereInput | Prisma.clientMaterialWhereInput[]
|
|
261
|
+
OR?: Prisma.clientMaterialWhereInput[]
|
|
262
|
+
NOT?: Prisma.clientMaterialWhereInput | Prisma.clientMaterialWhereInput[]
|
|
263
|
+
id?: Prisma.StringFilter<"clientMaterial"> | string
|
|
264
|
+
no?: Prisma.IntFilter<"clientMaterial"> | number
|
|
265
|
+
materialId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
266
|
+
clientId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
267
|
+
quantityAdded?: Prisma.StringFilter<"clientMaterial"> | string
|
|
268
|
+
quantityUsed?: Prisma.StringFilter<"clientMaterial"> | string
|
|
269
|
+
quantityRemaining?: Prisma.StringFilter<"clientMaterial"> | string
|
|
270
|
+
status?: Prisma.StringFilter<"clientMaterial"> | string
|
|
271
|
+
type?: Prisma.StringFilter<"clientMaterial"> | string
|
|
272
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
273
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
274
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterial"> | Date | string | null
|
|
275
|
+
material?: Prisma.XOR<Prisma.DispatchMaterialScalarRelationFilter, Prisma.DispatchMaterialWhereInput>
|
|
276
|
+
client?: Prisma.XOR<Prisma.CamusatClientScalarRelationFilter, Prisma.CamusatClientWhereInput>
|
|
277
|
+
clientMaterialMovementLog?: Prisma.ClientMaterialMovementLogListRelationFilter
|
|
278
|
+
dispatchProject?: Prisma.DispatchProjectListRelationFilter
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export type clientMaterialOrderByWithRelationInput = {
|
|
282
|
+
id?: Prisma.SortOrder
|
|
283
|
+
no?: Prisma.SortOrder
|
|
284
|
+
materialId?: Prisma.SortOrder
|
|
285
|
+
clientId?: Prisma.SortOrder
|
|
286
|
+
quantityAdded?: Prisma.SortOrder
|
|
287
|
+
quantityUsed?: Prisma.SortOrder
|
|
288
|
+
quantityRemaining?: Prisma.SortOrder
|
|
289
|
+
status?: Prisma.SortOrder
|
|
290
|
+
type?: Prisma.SortOrder
|
|
291
|
+
createdAt?: Prisma.SortOrder
|
|
292
|
+
updatedAt?: Prisma.SortOrder
|
|
293
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
294
|
+
material?: Prisma.DispatchMaterialOrderByWithRelationInput
|
|
295
|
+
client?: Prisma.CamusatClientOrderByWithRelationInput
|
|
296
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogOrderByRelationAggregateInput
|
|
297
|
+
dispatchProject?: Prisma.DispatchProjectOrderByRelationAggregateInput
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type clientMaterialWhereUniqueInput = Prisma.AtLeast<{
|
|
301
|
+
id?: string
|
|
302
|
+
AND?: Prisma.clientMaterialWhereInput | Prisma.clientMaterialWhereInput[]
|
|
303
|
+
OR?: Prisma.clientMaterialWhereInput[]
|
|
304
|
+
NOT?: Prisma.clientMaterialWhereInput | Prisma.clientMaterialWhereInput[]
|
|
305
|
+
no?: Prisma.IntFilter<"clientMaterial"> | number
|
|
306
|
+
materialId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
307
|
+
clientId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
308
|
+
quantityAdded?: Prisma.StringFilter<"clientMaterial"> | string
|
|
309
|
+
quantityUsed?: Prisma.StringFilter<"clientMaterial"> | string
|
|
310
|
+
quantityRemaining?: Prisma.StringFilter<"clientMaterial"> | string
|
|
311
|
+
status?: Prisma.StringFilter<"clientMaterial"> | string
|
|
312
|
+
type?: Prisma.StringFilter<"clientMaterial"> | string
|
|
313
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
314
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
315
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterial"> | Date | string | null
|
|
316
|
+
material?: Prisma.XOR<Prisma.DispatchMaterialScalarRelationFilter, Prisma.DispatchMaterialWhereInput>
|
|
317
|
+
client?: Prisma.XOR<Prisma.CamusatClientScalarRelationFilter, Prisma.CamusatClientWhereInput>
|
|
318
|
+
clientMaterialMovementLog?: Prisma.ClientMaterialMovementLogListRelationFilter
|
|
319
|
+
dispatchProject?: Prisma.DispatchProjectListRelationFilter
|
|
320
|
+
}, "id" | "id">
|
|
321
|
+
|
|
322
|
+
export type clientMaterialOrderByWithAggregationInput = {
|
|
323
|
+
id?: Prisma.SortOrder
|
|
324
|
+
no?: Prisma.SortOrder
|
|
325
|
+
materialId?: Prisma.SortOrder
|
|
326
|
+
clientId?: Prisma.SortOrder
|
|
327
|
+
quantityAdded?: Prisma.SortOrder
|
|
328
|
+
quantityUsed?: Prisma.SortOrder
|
|
329
|
+
quantityRemaining?: Prisma.SortOrder
|
|
330
|
+
status?: Prisma.SortOrder
|
|
331
|
+
type?: Prisma.SortOrder
|
|
332
|
+
createdAt?: Prisma.SortOrder
|
|
333
|
+
updatedAt?: Prisma.SortOrder
|
|
334
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
335
|
+
_count?: Prisma.clientMaterialCountOrderByAggregateInput
|
|
336
|
+
_avg?: Prisma.clientMaterialAvgOrderByAggregateInput
|
|
337
|
+
_max?: Prisma.clientMaterialMaxOrderByAggregateInput
|
|
338
|
+
_min?: Prisma.clientMaterialMinOrderByAggregateInput
|
|
339
|
+
_sum?: Prisma.clientMaterialSumOrderByAggregateInput
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type clientMaterialScalarWhereWithAggregatesInput = {
|
|
343
|
+
AND?: Prisma.clientMaterialScalarWhereWithAggregatesInput | Prisma.clientMaterialScalarWhereWithAggregatesInput[]
|
|
344
|
+
OR?: Prisma.clientMaterialScalarWhereWithAggregatesInput[]
|
|
345
|
+
NOT?: Prisma.clientMaterialScalarWhereWithAggregatesInput | Prisma.clientMaterialScalarWhereWithAggregatesInput[]
|
|
346
|
+
id?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
347
|
+
no?: Prisma.IntWithAggregatesFilter<"clientMaterial"> | number
|
|
348
|
+
materialId?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
349
|
+
clientId?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
350
|
+
quantityAdded?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
351
|
+
quantityUsed?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
352
|
+
quantityRemaining?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
353
|
+
status?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
354
|
+
type?: Prisma.StringWithAggregatesFilter<"clientMaterial"> | string
|
|
355
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"clientMaterial"> | Date | string
|
|
356
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"clientMaterial"> | Date | string
|
|
357
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"clientMaterial"> | Date | string | null
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type clientMaterialCreateInput = {
|
|
361
|
+
id?: string
|
|
362
|
+
no?: number
|
|
363
|
+
quantityAdded?: string
|
|
364
|
+
quantityUsed?: string
|
|
365
|
+
quantityRemaining?: string
|
|
366
|
+
status?: string
|
|
367
|
+
type?: string
|
|
368
|
+
createdAt?: Date | string
|
|
369
|
+
updatedAt?: Date | string
|
|
370
|
+
deletedAt?: Date | string | null
|
|
371
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutClientMaterialInput
|
|
372
|
+
client: Prisma.CamusatClientCreateNestedOneWithoutClientMaterialInput
|
|
373
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
374
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutClientMaterialInput
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type clientMaterialUncheckedCreateInput = {
|
|
378
|
+
id?: string
|
|
379
|
+
no?: number
|
|
380
|
+
materialId: string
|
|
381
|
+
clientId: string
|
|
382
|
+
quantityAdded?: string
|
|
383
|
+
quantityUsed?: string
|
|
384
|
+
quantityRemaining?: string
|
|
385
|
+
status?: string
|
|
386
|
+
type?: string
|
|
387
|
+
createdAt?: Date | string
|
|
388
|
+
updatedAt?: Date | string
|
|
389
|
+
deletedAt?: Date | string | null
|
|
390
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
391
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutClientMaterialInput
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type clientMaterialUpdateInput = {
|
|
395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
396
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
397
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
399
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
400
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
401
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
402
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
404
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
405
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
406
|
+
client?: Prisma.CamusatClientUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
407
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
408
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutClientMaterialNestedInput
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type clientMaterialUncheckedUpdateInput = {
|
|
412
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
414
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
415
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
416
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
417
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
418
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
419
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
420
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
421
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
422
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
423
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
424
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
425
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutClientMaterialNestedInput
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type clientMaterialCreateManyInput = {
|
|
429
|
+
id?: string
|
|
430
|
+
no?: number
|
|
431
|
+
materialId: string
|
|
432
|
+
clientId: string
|
|
433
|
+
quantityAdded?: string
|
|
434
|
+
quantityUsed?: string
|
|
435
|
+
quantityRemaining?: string
|
|
436
|
+
status?: string
|
|
437
|
+
type?: string
|
|
438
|
+
createdAt?: Date | string
|
|
439
|
+
updatedAt?: Date | string
|
|
440
|
+
deletedAt?: Date | string | null
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type clientMaterialUpdateManyMutationInput = {
|
|
444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
446
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
447
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
449
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
450
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
451
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
452
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
453
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type clientMaterialUncheckedUpdateManyInput = {
|
|
457
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
458
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
459
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
460
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
461
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
462
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
463
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
466
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type ClientMaterialListRelationFilter = {
|
|
472
|
+
every?: Prisma.clientMaterialWhereInput
|
|
473
|
+
some?: Prisma.clientMaterialWhereInput
|
|
474
|
+
none?: Prisma.clientMaterialWhereInput
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type clientMaterialOrderByRelationAggregateInput = {
|
|
478
|
+
_count?: Prisma.SortOrder
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type clientMaterialCountOrderByAggregateInput = {
|
|
482
|
+
id?: Prisma.SortOrder
|
|
483
|
+
no?: Prisma.SortOrder
|
|
484
|
+
materialId?: Prisma.SortOrder
|
|
485
|
+
clientId?: Prisma.SortOrder
|
|
486
|
+
quantityAdded?: Prisma.SortOrder
|
|
487
|
+
quantityUsed?: Prisma.SortOrder
|
|
488
|
+
quantityRemaining?: Prisma.SortOrder
|
|
489
|
+
status?: Prisma.SortOrder
|
|
490
|
+
type?: Prisma.SortOrder
|
|
491
|
+
createdAt?: Prisma.SortOrder
|
|
492
|
+
updatedAt?: Prisma.SortOrder
|
|
493
|
+
deletedAt?: Prisma.SortOrder
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export type clientMaterialAvgOrderByAggregateInput = {
|
|
497
|
+
no?: Prisma.SortOrder
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type clientMaterialMaxOrderByAggregateInput = {
|
|
501
|
+
id?: Prisma.SortOrder
|
|
502
|
+
no?: Prisma.SortOrder
|
|
503
|
+
materialId?: Prisma.SortOrder
|
|
504
|
+
clientId?: Prisma.SortOrder
|
|
505
|
+
quantityAdded?: Prisma.SortOrder
|
|
506
|
+
quantityUsed?: Prisma.SortOrder
|
|
507
|
+
quantityRemaining?: Prisma.SortOrder
|
|
508
|
+
status?: Prisma.SortOrder
|
|
509
|
+
type?: Prisma.SortOrder
|
|
510
|
+
createdAt?: Prisma.SortOrder
|
|
511
|
+
updatedAt?: Prisma.SortOrder
|
|
512
|
+
deletedAt?: Prisma.SortOrder
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type clientMaterialMinOrderByAggregateInput = {
|
|
516
|
+
id?: Prisma.SortOrder
|
|
517
|
+
no?: Prisma.SortOrder
|
|
518
|
+
materialId?: Prisma.SortOrder
|
|
519
|
+
clientId?: Prisma.SortOrder
|
|
520
|
+
quantityAdded?: Prisma.SortOrder
|
|
521
|
+
quantityUsed?: Prisma.SortOrder
|
|
522
|
+
quantityRemaining?: Prisma.SortOrder
|
|
523
|
+
status?: Prisma.SortOrder
|
|
524
|
+
type?: Prisma.SortOrder
|
|
525
|
+
createdAt?: Prisma.SortOrder
|
|
526
|
+
updatedAt?: Prisma.SortOrder
|
|
527
|
+
deletedAt?: Prisma.SortOrder
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export type clientMaterialSumOrderByAggregateInput = {
|
|
531
|
+
no?: Prisma.SortOrder
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type clientMaterialCreateNestedManyWithoutClientInput = {
|
|
535
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput> | Prisma.clientMaterialCreateWithoutClientInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientInput[]
|
|
536
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientInput | Prisma.clientMaterialCreateOrConnectWithoutClientInput[]
|
|
537
|
+
createMany?: Prisma.clientMaterialCreateManyClientInputEnvelope
|
|
538
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export type clientMaterialUncheckedCreateNestedManyWithoutClientInput = {
|
|
542
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput> | Prisma.clientMaterialCreateWithoutClientInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientInput[]
|
|
543
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientInput | Prisma.clientMaterialCreateOrConnectWithoutClientInput[]
|
|
544
|
+
createMany?: Prisma.clientMaterialCreateManyClientInputEnvelope
|
|
545
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type clientMaterialUpdateManyWithoutClientNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput> | Prisma.clientMaterialCreateWithoutClientInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientInput[]
|
|
550
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientInput | Prisma.clientMaterialCreateOrConnectWithoutClientInput[]
|
|
551
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientInput[]
|
|
552
|
+
createMany?: Prisma.clientMaterialCreateManyClientInputEnvelope
|
|
553
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
554
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
555
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
556
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
557
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientInput[]
|
|
558
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutClientInput | Prisma.clientMaterialUpdateManyWithWhereWithoutClientInput[]
|
|
559
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type clientMaterialUncheckedUpdateManyWithoutClientNestedInput = {
|
|
563
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput> | Prisma.clientMaterialCreateWithoutClientInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientInput[]
|
|
564
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientInput | Prisma.clientMaterialCreateOrConnectWithoutClientInput[]
|
|
565
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientInput[]
|
|
566
|
+
createMany?: Prisma.clientMaterialCreateManyClientInputEnvelope
|
|
567
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
568
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
569
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
570
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
571
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientInput[]
|
|
572
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutClientInput | Prisma.clientMaterialUpdateManyWithWhereWithoutClientInput[]
|
|
573
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type clientMaterialCreateNestedManyWithoutDispatchProjectInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
578
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
579
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type clientMaterialUncheckedCreateNestedManyWithoutDispatchProjectInput = {
|
|
583
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
584
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
585
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type clientMaterialUpdateManyWithoutDispatchProjectNestedInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
590
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
591
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
592
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
593
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
594
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
595
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
596
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
597
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.clientMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
598
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type clientMaterialUncheckedUpdateManyWithoutDispatchProjectNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
603
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
604
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
605
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
606
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
607
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
608
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
609
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
610
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.clientMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
611
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type clientMaterialCreateNestedManyWithoutMaterialInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialCreateWithoutMaterialInput[] | Prisma.clientMaterialUncheckedCreateWithoutMaterialInput[]
|
|
616
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialCreateOrConnectWithoutMaterialInput[]
|
|
617
|
+
createMany?: Prisma.clientMaterialCreateManyMaterialInputEnvelope
|
|
618
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export type clientMaterialUncheckedCreateNestedManyWithoutMaterialInput = {
|
|
622
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialCreateWithoutMaterialInput[] | Prisma.clientMaterialUncheckedCreateWithoutMaterialInput[]
|
|
623
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialCreateOrConnectWithoutMaterialInput[]
|
|
624
|
+
createMany?: Prisma.clientMaterialCreateManyMaterialInputEnvelope
|
|
625
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type clientMaterialUpdateManyWithoutMaterialNestedInput = {
|
|
629
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialCreateWithoutMaterialInput[] | Prisma.clientMaterialUncheckedCreateWithoutMaterialInput[]
|
|
630
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialCreateOrConnectWithoutMaterialInput[]
|
|
631
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
632
|
+
createMany?: Prisma.clientMaterialCreateManyMaterialInputEnvelope
|
|
633
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
634
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
635
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
636
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
637
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
638
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.clientMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
639
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export type clientMaterialUncheckedUpdateManyWithoutMaterialNestedInput = {
|
|
643
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialCreateWithoutMaterialInput[] | Prisma.clientMaterialUncheckedCreateWithoutMaterialInput[]
|
|
644
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialCreateOrConnectWithoutMaterialInput[]
|
|
645
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
646
|
+
createMany?: Prisma.clientMaterialCreateManyMaterialInputEnvelope
|
|
647
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
648
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
649
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
650
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
651
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
652
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.clientMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
653
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export type clientMaterialCreateNestedManyWithoutClientMaterialMovementLogInput = {
|
|
657
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput> | Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput[]
|
|
658
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput | Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput[]
|
|
659
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export type clientMaterialUncheckedCreateNestedManyWithoutClientMaterialMovementLogInput = {
|
|
663
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput> | Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput[]
|
|
664
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput | Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput[]
|
|
665
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export type clientMaterialUpdateManyWithoutClientMaterialMovementLogNestedInput = {
|
|
669
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput> | Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput[]
|
|
670
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput | Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput[]
|
|
671
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientMaterialMovementLogInput[]
|
|
672
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
673
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
674
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
675
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
676
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientMaterialMovementLogInput[]
|
|
677
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpdateManyWithWhereWithoutClientMaterialMovementLogInput[]
|
|
678
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export type clientMaterialUncheckedUpdateManyWithoutClientMaterialMovementLogNestedInput = {
|
|
682
|
+
create?: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput> | Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput[] | Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput[]
|
|
683
|
+
connectOrCreate?: Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput | Prisma.clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput[]
|
|
684
|
+
upsert?: Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpsertWithWhereUniqueWithoutClientMaterialMovementLogInput[]
|
|
685
|
+
set?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
686
|
+
disconnect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
687
|
+
delete?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
688
|
+
connect?: Prisma.clientMaterialWhereUniqueInput | Prisma.clientMaterialWhereUniqueInput[]
|
|
689
|
+
update?: Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpdateWithWhereUniqueWithoutClientMaterialMovementLogInput[]
|
|
690
|
+
updateMany?: Prisma.clientMaterialUpdateManyWithWhereWithoutClientMaterialMovementLogInput | Prisma.clientMaterialUpdateManyWithWhereWithoutClientMaterialMovementLogInput[]
|
|
691
|
+
deleteMany?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type clientMaterialCreateWithoutClientInput = {
|
|
695
|
+
id?: string
|
|
696
|
+
no?: number
|
|
697
|
+
quantityAdded?: string
|
|
698
|
+
quantityUsed?: string
|
|
699
|
+
quantityRemaining?: string
|
|
700
|
+
status?: string
|
|
701
|
+
type?: string
|
|
702
|
+
createdAt?: Date | string
|
|
703
|
+
updatedAt?: Date | string
|
|
704
|
+
deletedAt?: Date | string | null
|
|
705
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutClientMaterialInput
|
|
706
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
707
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutClientMaterialInput
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export type clientMaterialUncheckedCreateWithoutClientInput = {
|
|
711
|
+
id?: string
|
|
712
|
+
no?: number
|
|
713
|
+
materialId: string
|
|
714
|
+
quantityAdded?: string
|
|
715
|
+
quantityUsed?: string
|
|
716
|
+
quantityRemaining?: string
|
|
717
|
+
status?: string
|
|
718
|
+
type?: string
|
|
719
|
+
createdAt?: Date | string
|
|
720
|
+
updatedAt?: Date | string
|
|
721
|
+
deletedAt?: Date | string | null
|
|
722
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
723
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutClientMaterialInput
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export type clientMaterialCreateOrConnectWithoutClientInput = {
|
|
727
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
728
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput>
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type clientMaterialCreateManyClientInputEnvelope = {
|
|
732
|
+
data: Prisma.clientMaterialCreateManyClientInput | Prisma.clientMaterialCreateManyClientInput[]
|
|
733
|
+
skipDuplicates?: boolean
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type clientMaterialUpsertWithWhereUniqueWithoutClientInput = {
|
|
737
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
738
|
+
update: Prisma.XOR<Prisma.clientMaterialUpdateWithoutClientInput, Prisma.clientMaterialUncheckedUpdateWithoutClientInput>
|
|
739
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientInput, Prisma.clientMaterialUncheckedCreateWithoutClientInput>
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type clientMaterialUpdateWithWhereUniqueWithoutClientInput = {
|
|
743
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
744
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateWithoutClientInput, Prisma.clientMaterialUncheckedUpdateWithoutClientInput>
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export type clientMaterialUpdateManyWithWhereWithoutClientInput = {
|
|
748
|
+
where: Prisma.clientMaterialScalarWhereInput
|
|
749
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyWithoutClientInput>
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type clientMaterialScalarWhereInput = {
|
|
753
|
+
AND?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
754
|
+
OR?: Prisma.clientMaterialScalarWhereInput[]
|
|
755
|
+
NOT?: Prisma.clientMaterialScalarWhereInput | Prisma.clientMaterialScalarWhereInput[]
|
|
756
|
+
id?: Prisma.StringFilter<"clientMaterial"> | string
|
|
757
|
+
no?: Prisma.IntFilter<"clientMaterial"> | number
|
|
758
|
+
materialId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
759
|
+
clientId?: Prisma.StringFilter<"clientMaterial"> | string
|
|
760
|
+
quantityAdded?: Prisma.StringFilter<"clientMaterial"> | string
|
|
761
|
+
quantityUsed?: Prisma.StringFilter<"clientMaterial"> | string
|
|
762
|
+
quantityRemaining?: Prisma.StringFilter<"clientMaterial"> | string
|
|
763
|
+
status?: Prisma.StringFilter<"clientMaterial"> | string
|
|
764
|
+
type?: Prisma.StringFilter<"clientMaterial"> | string
|
|
765
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
766
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterial"> | Date | string
|
|
767
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterial"> | Date | string | null
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type clientMaterialCreateWithoutDispatchProjectInput = {
|
|
771
|
+
id?: string
|
|
772
|
+
no?: number
|
|
773
|
+
quantityAdded?: string
|
|
774
|
+
quantityUsed?: string
|
|
775
|
+
quantityRemaining?: string
|
|
776
|
+
status?: string
|
|
777
|
+
type?: string
|
|
778
|
+
createdAt?: Date | string
|
|
779
|
+
updatedAt?: Date | string
|
|
780
|
+
deletedAt?: Date | string | null
|
|
781
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutClientMaterialInput
|
|
782
|
+
client: Prisma.CamusatClientCreateNestedOneWithoutClientMaterialInput
|
|
783
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export type clientMaterialUncheckedCreateWithoutDispatchProjectInput = {
|
|
787
|
+
id?: string
|
|
788
|
+
no?: number
|
|
789
|
+
materialId: string
|
|
790
|
+
clientId: string
|
|
791
|
+
quantityAdded?: string
|
|
792
|
+
quantityUsed?: string
|
|
793
|
+
quantityRemaining?: string
|
|
794
|
+
status?: string
|
|
795
|
+
type?: string
|
|
796
|
+
createdAt?: Date | string
|
|
797
|
+
updatedAt?: Date | string
|
|
798
|
+
deletedAt?: Date | string | null
|
|
799
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export type clientMaterialCreateOrConnectWithoutDispatchProjectInput = {
|
|
803
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
804
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export type clientMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput = {
|
|
808
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
809
|
+
update: Prisma.XOR<Prisma.clientMaterialUpdateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
810
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export type clientMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput = {
|
|
814
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
815
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateWithoutDispatchProjectInput, Prisma.clientMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export type clientMaterialUpdateManyWithWhereWithoutDispatchProjectInput = {
|
|
819
|
+
where: Prisma.clientMaterialScalarWhereInput
|
|
820
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyWithoutDispatchProjectInput>
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
export type clientMaterialCreateWithoutMaterialInput = {
|
|
824
|
+
id?: string
|
|
825
|
+
no?: number
|
|
826
|
+
quantityAdded?: string
|
|
827
|
+
quantityUsed?: string
|
|
828
|
+
quantityRemaining?: string
|
|
829
|
+
status?: string
|
|
830
|
+
type?: string
|
|
831
|
+
createdAt?: Date | string
|
|
832
|
+
updatedAt?: Date | string
|
|
833
|
+
deletedAt?: Date | string | null
|
|
834
|
+
client: Prisma.CamusatClientCreateNestedOneWithoutClientMaterialInput
|
|
835
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
836
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutClientMaterialInput
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export type clientMaterialUncheckedCreateWithoutMaterialInput = {
|
|
840
|
+
id?: string
|
|
841
|
+
no?: number
|
|
842
|
+
clientId: string
|
|
843
|
+
quantityAdded?: string
|
|
844
|
+
quantityUsed?: string
|
|
845
|
+
quantityRemaining?: string
|
|
846
|
+
status?: string
|
|
847
|
+
type?: string
|
|
848
|
+
createdAt?: Date | string
|
|
849
|
+
updatedAt?: Date | string
|
|
850
|
+
deletedAt?: Date | string | null
|
|
851
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
852
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutClientMaterialInput
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type clientMaterialCreateOrConnectWithoutMaterialInput = {
|
|
856
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
857
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput>
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export type clientMaterialCreateManyMaterialInputEnvelope = {
|
|
861
|
+
data: Prisma.clientMaterialCreateManyMaterialInput | Prisma.clientMaterialCreateManyMaterialInput[]
|
|
862
|
+
skipDuplicates?: boolean
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export type clientMaterialUpsertWithWhereUniqueWithoutMaterialInput = {
|
|
866
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
867
|
+
update: Prisma.XOR<Prisma.clientMaterialUpdateWithoutMaterialInput, Prisma.clientMaterialUncheckedUpdateWithoutMaterialInput>
|
|
868
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutMaterialInput, Prisma.clientMaterialUncheckedCreateWithoutMaterialInput>
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export type clientMaterialUpdateWithWhereUniqueWithoutMaterialInput = {
|
|
872
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
873
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateWithoutMaterialInput, Prisma.clientMaterialUncheckedUpdateWithoutMaterialInput>
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export type clientMaterialUpdateManyWithWhereWithoutMaterialInput = {
|
|
877
|
+
where: Prisma.clientMaterialScalarWhereInput
|
|
878
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyWithoutMaterialInput>
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export type clientMaterialCreateWithoutClientMaterialMovementLogInput = {
|
|
882
|
+
id?: string
|
|
883
|
+
no?: number
|
|
884
|
+
quantityAdded?: string
|
|
885
|
+
quantityUsed?: string
|
|
886
|
+
quantityRemaining?: string
|
|
887
|
+
status?: string
|
|
888
|
+
type?: string
|
|
889
|
+
createdAt?: Date | string
|
|
890
|
+
updatedAt?: Date | string
|
|
891
|
+
deletedAt?: Date | string | null
|
|
892
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutClientMaterialInput
|
|
893
|
+
client: Prisma.CamusatClientCreateNestedOneWithoutClientMaterialInput
|
|
894
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutClientMaterialInput
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export type clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput = {
|
|
898
|
+
id?: string
|
|
899
|
+
no?: number
|
|
900
|
+
materialId: string
|
|
901
|
+
clientId: string
|
|
902
|
+
quantityAdded?: string
|
|
903
|
+
quantityUsed?: string
|
|
904
|
+
quantityRemaining?: string
|
|
905
|
+
status?: string
|
|
906
|
+
type?: string
|
|
907
|
+
createdAt?: Date | string
|
|
908
|
+
updatedAt?: Date | string
|
|
909
|
+
deletedAt?: Date | string | null
|
|
910
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutClientMaterialInput
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export type clientMaterialCreateOrConnectWithoutClientMaterialMovementLogInput = {
|
|
914
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
915
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput>
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export type clientMaterialUpsertWithWhereUniqueWithoutClientMaterialMovementLogInput = {
|
|
919
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
920
|
+
update: Prisma.XOR<Prisma.clientMaterialUpdateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedUpdateWithoutClientMaterialMovementLogInput>
|
|
921
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedCreateWithoutClientMaterialMovementLogInput>
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export type clientMaterialUpdateWithWhereUniqueWithoutClientMaterialMovementLogInput = {
|
|
925
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
926
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateWithoutClientMaterialMovementLogInput, Prisma.clientMaterialUncheckedUpdateWithoutClientMaterialMovementLogInput>
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export type clientMaterialUpdateManyWithWhereWithoutClientMaterialMovementLogInput = {
|
|
930
|
+
where: Prisma.clientMaterialScalarWhereInput
|
|
931
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyWithoutClientMaterialMovementLogInput>
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export type clientMaterialCreateManyClientInput = {
|
|
935
|
+
id?: string
|
|
936
|
+
no?: number
|
|
937
|
+
materialId: string
|
|
938
|
+
quantityAdded?: string
|
|
939
|
+
quantityUsed?: string
|
|
940
|
+
quantityRemaining?: string
|
|
941
|
+
status?: string
|
|
942
|
+
type?: string
|
|
943
|
+
createdAt?: Date | string
|
|
944
|
+
updatedAt?: Date | string
|
|
945
|
+
deletedAt?: Date | string | null
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export type clientMaterialUpdateWithoutClientInput = {
|
|
949
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
950
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
951
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
952
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
953
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
954
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
955
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
956
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
957
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
958
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
959
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
960
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
961
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutClientMaterialNestedInput
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export type clientMaterialUncheckedUpdateWithoutClientInput = {
|
|
965
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
966
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
967
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
968
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
969
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
970
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
971
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
972
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
973
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
974
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
975
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
976
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
977
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutClientMaterialNestedInput
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type clientMaterialUncheckedUpdateManyWithoutClientInput = {
|
|
981
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
982
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
983
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
984
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
985
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
986
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
987
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
988
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
989
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
990
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
991
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export type clientMaterialUpdateWithoutDispatchProjectInput = {
|
|
995
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
996
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
997
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
998
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
999
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1000
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1001
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1002
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1003
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1004
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1005
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
1006
|
+
client?: Prisma.CamusatClientUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
1007
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
export type clientMaterialUncheckedUpdateWithoutDispatchProjectInput = {
|
|
1011
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1012
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1013
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1014
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1015
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1016
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1017
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1018
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1019
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1020
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1021
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1022
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1023
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export type clientMaterialUncheckedUpdateManyWithoutDispatchProjectInput = {
|
|
1027
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1028
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1029
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1030
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1031
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1032
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1033
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1034
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1035
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1036
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1037
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1038
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export type clientMaterialCreateManyMaterialInput = {
|
|
1042
|
+
id?: string
|
|
1043
|
+
no?: number
|
|
1044
|
+
clientId: string
|
|
1045
|
+
quantityAdded?: string
|
|
1046
|
+
quantityUsed?: string
|
|
1047
|
+
quantityRemaining?: string
|
|
1048
|
+
status?: string
|
|
1049
|
+
type?: string
|
|
1050
|
+
createdAt?: Date | string
|
|
1051
|
+
updatedAt?: Date | string
|
|
1052
|
+
deletedAt?: Date | string | null
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export type clientMaterialUpdateWithoutMaterialInput = {
|
|
1056
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1057
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1058
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1059
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1060
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1061
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1062
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1063
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1064
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1065
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1066
|
+
client?: Prisma.CamusatClientUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
1067
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
1068
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutClientMaterialNestedInput
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export type clientMaterialUncheckedUpdateWithoutMaterialInput = {
|
|
1072
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1073
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1074
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1075
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1076
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1077
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1078
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1079
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1080
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1081
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1082
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1083
|
+
clientMaterialMovementLog?: Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1084
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutClientMaterialNestedInput
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export type clientMaterialUncheckedUpdateManyWithoutMaterialInput = {
|
|
1088
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1089
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1090
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1091
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1092
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1093
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1094
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1095
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1096
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1097
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1098
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export type clientMaterialUpdateWithoutClientMaterialMovementLogInput = {
|
|
1102
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1103
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1104
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1105
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1106
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1107
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1108
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1109
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1110
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1111
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1112
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
1113
|
+
client?: Prisma.CamusatClientUpdateOneRequiredWithoutClientMaterialNestedInput
|
|
1114
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutClientMaterialNestedInput
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
export type clientMaterialUncheckedUpdateWithoutClientMaterialMovementLogInput = {
|
|
1118
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1119
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1120
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1121
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1122
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1123
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1124
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1125
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1126
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1128
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1129
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1130
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutClientMaterialNestedInput
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export type clientMaterialUncheckedUpdateManyWithoutClientMaterialMovementLogInput = {
|
|
1134
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1135
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1136
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1137
|
+
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1138
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1139
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1140
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1141
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1142
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1143
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1144
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1145
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Count Type ClientMaterialCountOutputType
|
|
1151
|
+
*/
|
|
1152
|
+
|
|
1153
|
+
export type ClientMaterialCountOutputType = {
|
|
1154
|
+
clientMaterialMovementLog: number
|
|
1155
|
+
dispatchProject: number
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
export type ClientMaterialCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
clientMaterialMovementLog?: boolean | ClientMaterialCountOutputTypeCountClientMaterialMovementLogArgs
|
|
1160
|
+
dispatchProject?: boolean | ClientMaterialCountOutputTypeCountDispatchProjectArgs
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* ClientMaterialCountOutputType without action
|
|
1165
|
+
*/
|
|
1166
|
+
export type ClientMaterialCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the ClientMaterialCountOutputType
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.ClientMaterialCountOutputTypeSelect<ExtArgs> | null
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* ClientMaterialCountOutputType without action
|
|
1175
|
+
*/
|
|
1176
|
+
export type ClientMaterialCountOutputTypeCountClientMaterialMovementLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1177
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* ClientMaterialCountOutputType without action
|
|
1182
|
+
*/
|
|
1183
|
+
export type ClientMaterialCountOutputTypeCountDispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1184
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
export type clientMaterialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1189
|
+
id?: boolean
|
|
1190
|
+
no?: boolean
|
|
1191
|
+
materialId?: boolean
|
|
1192
|
+
clientId?: boolean
|
|
1193
|
+
quantityAdded?: boolean
|
|
1194
|
+
quantityUsed?: boolean
|
|
1195
|
+
quantityRemaining?: boolean
|
|
1196
|
+
status?: boolean
|
|
1197
|
+
type?: boolean
|
|
1198
|
+
createdAt?: boolean
|
|
1199
|
+
updatedAt?: boolean
|
|
1200
|
+
deletedAt?: boolean
|
|
1201
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1202
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1203
|
+
clientMaterialMovementLog?: boolean | Prisma.clientMaterial$clientMaterialMovementLogArgs<ExtArgs>
|
|
1204
|
+
dispatchProject?: boolean | Prisma.clientMaterial$dispatchProjectArgs<ExtArgs>
|
|
1205
|
+
_count?: boolean | Prisma.ClientMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1206
|
+
}, ExtArgs["result"]["clientMaterial"]>
|
|
1207
|
+
|
|
1208
|
+
export type clientMaterialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1209
|
+
id?: boolean
|
|
1210
|
+
no?: boolean
|
|
1211
|
+
materialId?: boolean
|
|
1212
|
+
clientId?: boolean
|
|
1213
|
+
quantityAdded?: boolean
|
|
1214
|
+
quantityUsed?: boolean
|
|
1215
|
+
quantityRemaining?: boolean
|
|
1216
|
+
status?: boolean
|
|
1217
|
+
type?: boolean
|
|
1218
|
+
createdAt?: boolean
|
|
1219
|
+
updatedAt?: boolean
|
|
1220
|
+
deletedAt?: boolean
|
|
1221
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1222
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1223
|
+
}, ExtArgs["result"]["clientMaterial"]>
|
|
1224
|
+
|
|
1225
|
+
export type clientMaterialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1226
|
+
id?: boolean
|
|
1227
|
+
no?: boolean
|
|
1228
|
+
materialId?: boolean
|
|
1229
|
+
clientId?: boolean
|
|
1230
|
+
quantityAdded?: boolean
|
|
1231
|
+
quantityUsed?: boolean
|
|
1232
|
+
quantityRemaining?: boolean
|
|
1233
|
+
status?: boolean
|
|
1234
|
+
type?: boolean
|
|
1235
|
+
createdAt?: boolean
|
|
1236
|
+
updatedAt?: boolean
|
|
1237
|
+
deletedAt?: boolean
|
|
1238
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1239
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1240
|
+
}, ExtArgs["result"]["clientMaterial"]>
|
|
1241
|
+
|
|
1242
|
+
export type clientMaterialSelectScalar = {
|
|
1243
|
+
id?: boolean
|
|
1244
|
+
no?: boolean
|
|
1245
|
+
materialId?: boolean
|
|
1246
|
+
clientId?: boolean
|
|
1247
|
+
quantityAdded?: boolean
|
|
1248
|
+
quantityUsed?: boolean
|
|
1249
|
+
quantityRemaining?: boolean
|
|
1250
|
+
status?: boolean
|
|
1251
|
+
type?: boolean
|
|
1252
|
+
createdAt?: boolean
|
|
1253
|
+
updatedAt?: boolean
|
|
1254
|
+
deletedAt?: boolean
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export type clientMaterialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "materialId" | "clientId" | "quantityAdded" | "quantityUsed" | "quantityRemaining" | "status" | "type" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["clientMaterial"]>
|
|
1258
|
+
export type clientMaterialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1259
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1260
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1261
|
+
clientMaterialMovementLog?: boolean | Prisma.clientMaterial$clientMaterialMovementLogArgs<ExtArgs>
|
|
1262
|
+
dispatchProject?: boolean | Prisma.clientMaterial$dispatchProjectArgs<ExtArgs>
|
|
1263
|
+
_count?: boolean | Prisma.ClientMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1264
|
+
}
|
|
1265
|
+
export type clientMaterialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1267
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1268
|
+
}
|
|
1269
|
+
export type clientMaterialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1271
|
+
client?: boolean | Prisma.CamusatClientDefaultArgs<ExtArgs>
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export type $clientMaterialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
name: "clientMaterial"
|
|
1276
|
+
objects: {
|
|
1277
|
+
material: Prisma.$DispatchMaterialPayload<ExtArgs>
|
|
1278
|
+
client: Prisma.$CamusatClientPayload<ExtArgs>
|
|
1279
|
+
clientMaterialMovementLog: Prisma.$clientMaterialMovementLogPayload<ExtArgs>[]
|
|
1280
|
+
dispatchProject: Prisma.$DispatchProjectPayload<ExtArgs>[]
|
|
1281
|
+
}
|
|
1282
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1283
|
+
id: string
|
|
1284
|
+
no: number
|
|
1285
|
+
materialId: string
|
|
1286
|
+
clientId: string
|
|
1287
|
+
quantityAdded: string
|
|
1288
|
+
quantityUsed: string
|
|
1289
|
+
quantityRemaining: string
|
|
1290
|
+
status: string
|
|
1291
|
+
type: string
|
|
1292
|
+
createdAt: Date
|
|
1293
|
+
updatedAt: Date
|
|
1294
|
+
deletedAt: Date | null
|
|
1295
|
+
}, ExtArgs["result"]["clientMaterial"]>
|
|
1296
|
+
composites: {}
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export type clientMaterialGetPayload<S extends boolean | null | undefined | clientMaterialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload, S>
|
|
1300
|
+
|
|
1301
|
+
export type clientMaterialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1302
|
+
Omit<clientMaterialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1303
|
+
select?: ClientMaterialCountAggregateInputType | true
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface clientMaterialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1307
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['clientMaterial'], meta: { name: 'clientMaterial' } }
|
|
1308
|
+
/**
|
|
1309
|
+
* Find zero or one ClientMaterial that matches the filter.
|
|
1310
|
+
* @param {clientMaterialFindUniqueArgs} args - Arguments to find a ClientMaterial
|
|
1311
|
+
* @example
|
|
1312
|
+
* // Get one ClientMaterial
|
|
1313
|
+
* const clientMaterial = await prisma.clientMaterial.findUnique({
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* }
|
|
1317
|
+
* })
|
|
1318
|
+
*/
|
|
1319
|
+
findUnique<T extends clientMaterialFindUniqueArgs>(args: Prisma.SelectSubset<T, clientMaterialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Find one ClientMaterial that matches the filter or throw an error with `error.code='P2025'`
|
|
1323
|
+
* if no matches were found.
|
|
1324
|
+
* @param {clientMaterialFindUniqueOrThrowArgs} args - Arguments to find a ClientMaterial
|
|
1325
|
+
* @example
|
|
1326
|
+
* // Get one ClientMaterial
|
|
1327
|
+
* const clientMaterial = await prisma.clientMaterial.findUniqueOrThrow({
|
|
1328
|
+
* where: {
|
|
1329
|
+
* // ... provide filter here
|
|
1330
|
+
* }
|
|
1331
|
+
* })
|
|
1332
|
+
*/
|
|
1333
|
+
findUniqueOrThrow<T extends clientMaterialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, clientMaterialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Find the first ClientMaterial that matches the filter.
|
|
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 {clientMaterialFindFirstArgs} args - Arguments to find a ClientMaterial
|
|
1340
|
+
* @example
|
|
1341
|
+
* // Get one ClientMaterial
|
|
1342
|
+
* const clientMaterial = await prisma.clientMaterial.findFirst({
|
|
1343
|
+
* where: {
|
|
1344
|
+
* // ... provide filter here
|
|
1345
|
+
* }
|
|
1346
|
+
* })
|
|
1347
|
+
*/
|
|
1348
|
+
findFirst<T extends clientMaterialFindFirstArgs>(args?: Prisma.SelectSubset<T, clientMaterialFindFirstArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Find the first ClientMaterial that matches the filter or
|
|
1352
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1353
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1354
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1355
|
+
* @param {clientMaterialFindFirstOrThrowArgs} args - Arguments to find a ClientMaterial
|
|
1356
|
+
* @example
|
|
1357
|
+
* // Get one ClientMaterial
|
|
1358
|
+
* const clientMaterial = await prisma.clientMaterial.findFirstOrThrow({
|
|
1359
|
+
* where: {
|
|
1360
|
+
* // ... provide filter here
|
|
1361
|
+
* }
|
|
1362
|
+
* })
|
|
1363
|
+
*/
|
|
1364
|
+
findFirstOrThrow<T extends clientMaterialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, clientMaterialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Find zero or more ClientMaterials that matches the filter.
|
|
1368
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1369
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1370
|
+
* @param {clientMaterialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1371
|
+
* @example
|
|
1372
|
+
* // Get all ClientMaterials
|
|
1373
|
+
* const clientMaterials = await prisma.clientMaterial.findMany()
|
|
1374
|
+
*
|
|
1375
|
+
* // Get first 10 ClientMaterials
|
|
1376
|
+
* const clientMaterials = await prisma.clientMaterial.findMany({ take: 10 })
|
|
1377
|
+
*
|
|
1378
|
+
* // Only select the `id`
|
|
1379
|
+
* const clientMaterialWithIdOnly = await prisma.clientMaterial.findMany({ select: { id: true } })
|
|
1380
|
+
*
|
|
1381
|
+
*/
|
|
1382
|
+
findMany<T extends clientMaterialFindManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Create a ClientMaterial.
|
|
1386
|
+
* @param {clientMaterialCreateArgs} args - Arguments to create a ClientMaterial.
|
|
1387
|
+
* @example
|
|
1388
|
+
* // Create one ClientMaterial
|
|
1389
|
+
* const ClientMaterial = await prisma.clientMaterial.create({
|
|
1390
|
+
* data: {
|
|
1391
|
+
* // ... data to create a ClientMaterial
|
|
1392
|
+
* }
|
|
1393
|
+
* })
|
|
1394
|
+
*
|
|
1395
|
+
*/
|
|
1396
|
+
create<T extends clientMaterialCreateArgs>(args: Prisma.SelectSubset<T, clientMaterialCreateArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Create many ClientMaterials.
|
|
1400
|
+
* @param {clientMaterialCreateManyArgs} args - Arguments to create many ClientMaterials.
|
|
1401
|
+
* @example
|
|
1402
|
+
* // Create many ClientMaterials
|
|
1403
|
+
* const clientMaterial = await prisma.clientMaterial.createMany({
|
|
1404
|
+
* data: [
|
|
1405
|
+
* // ... provide data here
|
|
1406
|
+
* ]
|
|
1407
|
+
* })
|
|
1408
|
+
*
|
|
1409
|
+
*/
|
|
1410
|
+
createMany<T extends clientMaterialCreateManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Create many ClientMaterials and returns the data saved in the database.
|
|
1414
|
+
* @param {clientMaterialCreateManyAndReturnArgs} args - Arguments to create many ClientMaterials.
|
|
1415
|
+
* @example
|
|
1416
|
+
* // Create many ClientMaterials
|
|
1417
|
+
* const clientMaterial = await prisma.clientMaterial.createManyAndReturn({
|
|
1418
|
+
* data: [
|
|
1419
|
+
* // ... provide data here
|
|
1420
|
+
* ]
|
|
1421
|
+
* })
|
|
1422
|
+
*
|
|
1423
|
+
* // Create many ClientMaterials and only return the `id`
|
|
1424
|
+
* const clientMaterialWithIdOnly = await prisma.clientMaterial.createManyAndReturn({
|
|
1425
|
+
* select: { id: true },
|
|
1426
|
+
* data: [
|
|
1427
|
+
* // ... provide data here
|
|
1428
|
+
* ]
|
|
1429
|
+
* })
|
|
1430
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1431
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1432
|
+
*
|
|
1433
|
+
*/
|
|
1434
|
+
createManyAndReturn<T extends clientMaterialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, clientMaterialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Delete a ClientMaterial.
|
|
1438
|
+
* @param {clientMaterialDeleteArgs} args - Arguments to delete one ClientMaterial.
|
|
1439
|
+
* @example
|
|
1440
|
+
* // Delete one ClientMaterial
|
|
1441
|
+
* const ClientMaterial = await prisma.clientMaterial.delete({
|
|
1442
|
+
* where: {
|
|
1443
|
+
* // ... filter to delete one ClientMaterial
|
|
1444
|
+
* }
|
|
1445
|
+
* })
|
|
1446
|
+
*
|
|
1447
|
+
*/
|
|
1448
|
+
delete<T extends clientMaterialDeleteArgs>(args: Prisma.SelectSubset<T, clientMaterialDeleteArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* Update one ClientMaterial.
|
|
1452
|
+
* @param {clientMaterialUpdateArgs} args - Arguments to update one ClientMaterial.
|
|
1453
|
+
* @example
|
|
1454
|
+
* // Update one ClientMaterial
|
|
1455
|
+
* const clientMaterial = await prisma.clientMaterial.update({
|
|
1456
|
+
* where: {
|
|
1457
|
+
* // ... provide filter here
|
|
1458
|
+
* },
|
|
1459
|
+
* data: {
|
|
1460
|
+
* // ... provide data here
|
|
1461
|
+
* }
|
|
1462
|
+
* })
|
|
1463
|
+
*
|
|
1464
|
+
*/
|
|
1465
|
+
update<T extends clientMaterialUpdateArgs>(args: Prisma.SelectSubset<T, clientMaterialUpdateArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Delete zero or more ClientMaterials.
|
|
1469
|
+
* @param {clientMaterialDeleteManyArgs} args - Arguments to filter ClientMaterials to delete.
|
|
1470
|
+
* @example
|
|
1471
|
+
* // Delete a few ClientMaterials
|
|
1472
|
+
* const { count } = await prisma.clientMaterial.deleteMany({
|
|
1473
|
+
* where: {
|
|
1474
|
+
* // ... provide filter here
|
|
1475
|
+
* }
|
|
1476
|
+
* })
|
|
1477
|
+
*
|
|
1478
|
+
*/
|
|
1479
|
+
deleteMany<T extends clientMaterialDeleteManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Update zero or more ClientMaterials.
|
|
1483
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1484
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1485
|
+
* @param {clientMaterialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1486
|
+
* @example
|
|
1487
|
+
* // Update many ClientMaterials
|
|
1488
|
+
* const clientMaterial = await prisma.clientMaterial.updateMany({
|
|
1489
|
+
* where: {
|
|
1490
|
+
* // ... provide filter here
|
|
1491
|
+
* },
|
|
1492
|
+
* data: {
|
|
1493
|
+
* // ... provide data here
|
|
1494
|
+
* }
|
|
1495
|
+
* })
|
|
1496
|
+
*
|
|
1497
|
+
*/
|
|
1498
|
+
updateMany<T extends clientMaterialUpdateManyArgs>(args: Prisma.SelectSubset<T, clientMaterialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Update zero or more ClientMaterials and returns the data updated in the database.
|
|
1502
|
+
* @param {clientMaterialUpdateManyAndReturnArgs} args - Arguments to update many ClientMaterials.
|
|
1503
|
+
* @example
|
|
1504
|
+
* // Update many ClientMaterials
|
|
1505
|
+
* const clientMaterial = await prisma.clientMaterial.updateManyAndReturn({
|
|
1506
|
+
* where: {
|
|
1507
|
+
* // ... provide filter here
|
|
1508
|
+
* },
|
|
1509
|
+
* data: [
|
|
1510
|
+
* // ... provide data here
|
|
1511
|
+
* ]
|
|
1512
|
+
* })
|
|
1513
|
+
*
|
|
1514
|
+
* // Update zero or more ClientMaterials and only return the `id`
|
|
1515
|
+
* const clientMaterialWithIdOnly = await prisma.clientMaterial.updateManyAndReturn({
|
|
1516
|
+
* select: { id: true },
|
|
1517
|
+
* where: {
|
|
1518
|
+
* // ... provide filter here
|
|
1519
|
+
* },
|
|
1520
|
+
* data: [
|
|
1521
|
+
* // ... provide data here
|
|
1522
|
+
* ]
|
|
1523
|
+
* })
|
|
1524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1526
|
+
*
|
|
1527
|
+
*/
|
|
1528
|
+
updateManyAndReturn<T extends clientMaterialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, clientMaterialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Create or update one ClientMaterial.
|
|
1532
|
+
* @param {clientMaterialUpsertArgs} args - Arguments to update or create a ClientMaterial.
|
|
1533
|
+
* @example
|
|
1534
|
+
* // Update or create a ClientMaterial
|
|
1535
|
+
* const clientMaterial = await prisma.clientMaterial.upsert({
|
|
1536
|
+
* create: {
|
|
1537
|
+
* // ... data to create a ClientMaterial
|
|
1538
|
+
* },
|
|
1539
|
+
* update: {
|
|
1540
|
+
* // ... in case it already exists, update
|
|
1541
|
+
* },
|
|
1542
|
+
* where: {
|
|
1543
|
+
* // ... the filter for the ClientMaterial we want to update
|
|
1544
|
+
* }
|
|
1545
|
+
* })
|
|
1546
|
+
*/
|
|
1547
|
+
upsert<T extends clientMaterialUpsertArgs>(args: Prisma.SelectSubset<T, clientMaterialUpsertArgs<ExtArgs>>): Prisma.Prisma__clientMaterialClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Count the number of ClientMaterials.
|
|
1552
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1553
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1554
|
+
* @param {clientMaterialCountArgs} args - Arguments to filter ClientMaterials to count.
|
|
1555
|
+
* @example
|
|
1556
|
+
* // Count the number of ClientMaterials
|
|
1557
|
+
* const count = await prisma.clientMaterial.count({
|
|
1558
|
+
* where: {
|
|
1559
|
+
* // ... the filter for the ClientMaterials we want to count
|
|
1560
|
+
* }
|
|
1561
|
+
* })
|
|
1562
|
+
**/
|
|
1563
|
+
count<T extends clientMaterialCountArgs>(
|
|
1564
|
+
args?: Prisma.Subset<T, clientMaterialCountArgs>,
|
|
1565
|
+
): Prisma.PrismaPromise<
|
|
1566
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1567
|
+
? T['select'] extends true
|
|
1568
|
+
? number
|
|
1569
|
+
: Prisma.GetScalarType<T['select'], ClientMaterialCountAggregateOutputType>
|
|
1570
|
+
: number
|
|
1571
|
+
>
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Allows you to perform aggregations operations on a ClientMaterial.
|
|
1575
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1576
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1577
|
+
* @param {ClientMaterialAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1578
|
+
* @example
|
|
1579
|
+
* // Ordered by age ascending
|
|
1580
|
+
* // Where email contains prisma.io
|
|
1581
|
+
* // Limited to the 10 users
|
|
1582
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1583
|
+
* _avg: {
|
|
1584
|
+
* age: true,
|
|
1585
|
+
* },
|
|
1586
|
+
* where: {
|
|
1587
|
+
* email: {
|
|
1588
|
+
* contains: "prisma.io",
|
|
1589
|
+
* },
|
|
1590
|
+
* },
|
|
1591
|
+
* orderBy: {
|
|
1592
|
+
* age: "asc",
|
|
1593
|
+
* },
|
|
1594
|
+
* take: 10,
|
|
1595
|
+
* })
|
|
1596
|
+
**/
|
|
1597
|
+
aggregate<T extends ClientMaterialAggregateArgs>(args: Prisma.Subset<T, ClientMaterialAggregateArgs>): Prisma.PrismaPromise<GetClientMaterialAggregateType<T>>
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Group by ClientMaterial.
|
|
1601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1603
|
+
* @param {clientMaterialGroupByArgs} args - Group by arguments.
|
|
1604
|
+
* @example
|
|
1605
|
+
* // Group by city, order by createdAt, get count
|
|
1606
|
+
* const result = await prisma.user.groupBy({
|
|
1607
|
+
* by: ['city', 'createdAt'],
|
|
1608
|
+
* orderBy: {
|
|
1609
|
+
* createdAt: true
|
|
1610
|
+
* },
|
|
1611
|
+
* _count: {
|
|
1612
|
+
* _all: true
|
|
1613
|
+
* },
|
|
1614
|
+
* })
|
|
1615
|
+
*
|
|
1616
|
+
**/
|
|
1617
|
+
groupBy<
|
|
1618
|
+
T extends clientMaterialGroupByArgs,
|
|
1619
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1620
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1621
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1622
|
+
>,
|
|
1623
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1624
|
+
? { orderBy: clientMaterialGroupByArgs['orderBy'] }
|
|
1625
|
+
: { orderBy?: clientMaterialGroupByArgs['orderBy'] },
|
|
1626
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1627
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1628
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1629
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1630
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1631
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1632
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1633
|
+
? `Error: "by" must not be empty.`
|
|
1634
|
+
: HavingValid extends Prisma.False
|
|
1635
|
+
? {
|
|
1636
|
+
[P in HavingFields]: P extends ByFields
|
|
1637
|
+
? never
|
|
1638
|
+
: P extends string
|
|
1639
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1640
|
+
: [
|
|
1641
|
+
Error,
|
|
1642
|
+
'Field ',
|
|
1643
|
+
P,
|
|
1644
|
+
` in "having" needs to be provided in "by"`,
|
|
1645
|
+
]
|
|
1646
|
+
}[HavingFields]
|
|
1647
|
+
: 'take' extends Prisma.Keys<T>
|
|
1648
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1649
|
+
? ByValid extends Prisma.True
|
|
1650
|
+
? {}
|
|
1651
|
+
: {
|
|
1652
|
+
[P in OrderFields]: P extends ByFields
|
|
1653
|
+
? never
|
|
1654
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1655
|
+
}[OrderFields]
|
|
1656
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1657
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1658
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1659
|
+
? ByValid extends Prisma.True
|
|
1660
|
+
? {}
|
|
1661
|
+
: {
|
|
1662
|
+
[P in OrderFields]: P extends ByFields
|
|
1663
|
+
? never
|
|
1664
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1665
|
+
}[OrderFields]
|
|
1666
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1667
|
+
: ByValid extends Prisma.True
|
|
1668
|
+
? {}
|
|
1669
|
+
: {
|
|
1670
|
+
[P in OrderFields]: P extends ByFields
|
|
1671
|
+
? never
|
|
1672
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1673
|
+
}[OrderFields]
|
|
1674
|
+
>(args: Prisma.SubsetIntersection<T, clientMaterialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClientMaterialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1675
|
+
/**
|
|
1676
|
+
* Fields of the clientMaterial model
|
|
1677
|
+
*/
|
|
1678
|
+
readonly fields: clientMaterialFieldRefs;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* The delegate class that acts as a "Promise-like" for clientMaterial.
|
|
1683
|
+
* Why is this prefixed with `Prisma__`?
|
|
1684
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1685
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1686
|
+
*/
|
|
1687
|
+
export interface Prisma__clientMaterialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1688
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1689
|
+
material<T extends Prisma.DispatchMaterialDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterialDefaultArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1690
|
+
client<T extends Prisma.CamusatClientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CamusatClientDefaultArgs<ExtArgs>>): Prisma.Prisma__CamusatClientClient<runtime.Types.Result.GetResult<Prisma.$CamusatClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1691
|
+
clientMaterialMovementLog<T extends Prisma.clientMaterial$clientMaterialMovementLogArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.clientMaterial$clientMaterialMovementLogArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1692
|
+
dispatchProject<T extends Prisma.clientMaterial$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.clientMaterial$dispatchProjectArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1693
|
+
/**
|
|
1694
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1695
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1696
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1697
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1698
|
+
*/
|
|
1699
|
+
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>
|
|
1700
|
+
/**
|
|
1701
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1702
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1703
|
+
* @returns A Promise for the completion of the callback.
|
|
1704
|
+
*/
|
|
1705
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1706
|
+
/**
|
|
1707
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1708
|
+
* resolved value cannot be modified from the callback.
|
|
1709
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1710
|
+
* @returns A Promise for the completion of the callback.
|
|
1711
|
+
*/
|
|
1712
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* Fields of the clientMaterial model
|
|
1720
|
+
*/
|
|
1721
|
+
export interface clientMaterialFieldRefs {
|
|
1722
|
+
readonly id: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1723
|
+
readonly no: Prisma.FieldRef<"clientMaterial", 'Int'>
|
|
1724
|
+
readonly materialId: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1725
|
+
readonly clientId: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1726
|
+
readonly quantityAdded: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1727
|
+
readonly quantityUsed: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1728
|
+
readonly quantityRemaining: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1729
|
+
readonly status: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1730
|
+
readonly type: Prisma.FieldRef<"clientMaterial", 'String'>
|
|
1731
|
+
readonly createdAt: Prisma.FieldRef<"clientMaterial", 'DateTime'>
|
|
1732
|
+
readonly updatedAt: Prisma.FieldRef<"clientMaterial", 'DateTime'>
|
|
1733
|
+
readonly deletedAt: Prisma.FieldRef<"clientMaterial", 'DateTime'>
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
// Custom InputTypes
|
|
1738
|
+
/**
|
|
1739
|
+
* clientMaterial findUnique
|
|
1740
|
+
*/
|
|
1741
|
+
export type clientMaterialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1742
|
+
/**
|
|
1743
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1744
|
+
*/
|
|
1745
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1746
|
+
/**
|
|
1747
|
+
* Omit specific fields from the clientMaterial
|
|
1748
|
+
*/
|
|
1749
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1750
|
+
/**
|
|
1751
|
+
* Choose, which related nodes to fetch as well
|
|
1752
|
+
*/
|
|
1753
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1754
|
+
/**
|
|
1755
|
+
* Filter, which clientMaterial to fetch.
|
|
1756
|
+
*/
|
|
1757
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* clientMaterial findUniqueOrThrow
|
|
1762
|
+
*/
|
|
1763
|
+
export type clientMaterialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1764
|
+
/**
|
|
1765
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1766
|
+
*/
|
|
1767
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1768
|
+
/**
|
|
1769
|
+
* Omit specific fields from the clientMaterial
|
|
1770
|
+
*/
|
|
1771
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1772
|
+
/**
|
|
1773
|
+
* Choose, which related nodes to fetch as well
|
|
1774
|
+
*/
|
|
1775
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1776
|
+
/**
|
|
1777
|
+
* Filter, which clientMaterial to fetch.
|
|
1778
|
+
*/
|
|
1779
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* clientMaterial findFirst
|
|
1784
|
+
*/
|
|
1785
|
+
export type clientMaterialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1786
|
+
/**
|
|
1787
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1788
|
+
*/
|
|
1789
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1790
|
+
/**
|
|
1791
|
+
* Omit specific fields from the clientMaterial
|
|
1792
|
+
*/
|
|
1793
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1794
|
+
/**
|
|
1795
|
+
* Choose, which related nodes to fetch as well
|
|
1796
|
+
*/
|
|
1797
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1798
|
+
/**
|
|
1799
|
+
* Filter, which clientMaterial to fetch.
|
|
1800
|
+
*/
|
|
1801
|
+
where?: Prisma.clientMaterialWhereInput
|
|
1802
|
+
/**
|
|
1803
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1804
|
+
*
|
|
1805
|
+
* Determine the order of clientMaterials to fetch.
|
|
1806
|
+
*/
|
|
1807
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
1808
|
+
/**
|
|
1809
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1810
|
+
*
|
|
1811
|
+
* Sets the position for searching for clientMaterials.
|
|
1812
|
+
*/
|
|
1813
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
1814
|
+
/**
|
|
1815
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1816
|
+
*
|
|
1817
|
+
* Take `±n` clientMaterials from the position of the cursor.
|
|
1818
|
+
*/
|
|
1819
|
+
take?: number
|
|
1820
|
+
/**
|
|
1821
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1822
|
+
*
|
|
1823
|
+
* Skip the first `n` clientMaterials.
|
|
1824
|
+
*/
|
|
1825
|
+
skip?: number
|
|
1826
|
+
/**
|
|
1827
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1828
|
+
*
|
|
1829
|
+
* Filter by unique combinations of clientMaterials.
|
|
1830
|
+
*/
|
|
1831
|
+
distinct?: Prisma.ClientMaterialScalarFieldEnum | Prisma.ClientMaterialScalarFieldEnum[]
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* clientMaterial findFirstOrThrow
|
|
1836
|
+
*/
|
|
1837
|
+
export type clientMaterialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1840
|
+
*/
|
|
1841
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1842
|
+
/**
|
|
1843
|
+
* Omit specific fields from the clientMaterial
|
|
1844
|
+
*/
|
|
1845
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1846
|
+
/**
|
|
1847
|
+
* Choose, which related nodes to fetch as well
|
|
1848
|
+
*/
|
|
1849
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1850
|
+
/**
|
|
1851
|
+
* Filter, which clientMaterial to fetch.
|
|
1852
|
+
*/
|
|
1853
|
+
where?: Prisma.clientMaterialWhereInput
|
|
1854
|
+
/**
|
|
1855
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1856
|
+
*
|
|
1857
|
+
* Determine the order of clientMaterials to fetch.
|
|
1858
|
+
*/
|
|
1859
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
1860
|
+
/**
|
|
1861
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1862
|
+
*
|
|
1863
|
+
* Sets the position for searching for clientMaterials.
|
|
1864
|
+
*/
|
|
1865
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
1866
|
+
/**
|
|
1867
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1868
|
+
*
|
|
1869
|
+
* Take `±n` clientMaterials from the position of the cursor.
|
|
1870
|
+
*/
|
|
1871
|
+
take?: number
|
|
1872
|
+
/**
|
|
1873
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1874
|
+
*
|
|
1875
|
+
* Skip the first `n` clientMaterials.
|
|
1876
|
+
*/
|
|
1877
|
+
skip?: number
|
|
1878
|
+
/**
|
|
1879
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1880
|
+
*
|
|
1881
|
+
* Filter by unique combinations of clientMaterials.
|
|
1882
|
+
*/
|
|
1883
|
+
distinct?: Prisma.ClientMaterialScalarFieldEnum | Prisma.ClientMaterialScalarFieldEnum[]
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* clientMaterial findMany
|
|
1888
|
+
*/
|
|
1889
|
+
export type clientMaterialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1890
|
+
/**
|
|
1891
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1892
|
+
*/
|
|
1893
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1894
|
+
/**
|
|
1895
|
+
* Omit specific fields from the clientMaterial
|
|
1896
|
+
*/
|
|
1897
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1898
|
+
/**
|
|
1899
|
+
* Choose, which related nodes to fetch as well
|
|
1900
|
+
*/
|
|
1901
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1902
|
+
/**
|
|
1903
|
+
* Filter, which clientMaterials to fetch.
|
|
1904
|
+
*/
|
|
1905
|
+
where?: Prisma.clientMaterialWhereInput
|
|
1906
|
+
/**
|
|
1907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1908
|
+
*
|
|
1909
|
+
* Determine the order of clientMaterials to fetch.
|
|
1910
|
+
*/
|
|
1911
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
1912
|
+
/**
|
|
1913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1914
|
+
*
|
|
1915
|
+
* Sets the position for listing clientMaterials.
|
|
1916
|
+
*/
|
|
1917
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
1918
|
+
/**
|
|
1919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1920
|
+
*
|
|
1921
|
+
* Take `±n` clientMaterials from the position of the cursor.
|
|
1922
|
+
*/
|
|
1923
|
+
take?: number
|
|
1924
|
+
/**
|
|
1925
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1926
|
+
*
|
|
1927
|
+
* Skip the first `n` clientMaterials.
|
|
1928
|
+
*/
|
|
1929
|
+
skip?: number
|
|
1930
|
+
distinct?: Prisma.ClientMaterialScalarFieldEnum | Prisma.ClientMaterialScalarFieldEnum[]
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* clientMaterial create
|
|
1935
|
+
*/
|
|
1936
|
+
export type clientMaterialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1937
|
+
/**
|
|
1938
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1939
|
+
*/
|
|
1940
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1941
|
+
/**
|
|
1942
|
+
* Omit specific fields from the clientMaterial
|
|
1943
|
+
*/
|
|
1944
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1945
|
+
/**
|
|
1946
|
+
* Choose, which related nodes to fetch as well
|
|
1947
|
+
*/
|
|
1948
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1949
|
+
/**
|
|
1950
|
+
* The data needed to create a clientMaterial.
|
|
1951
|
+
*/
|
|
1952
|
+
data: Prisma.XOR<Prisma.clientMaterialCreateInput, Prisma.clientMaterialUncheckedCreateInput>
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* clientMaterial createMany
|
|
1957
|
+
*/
|
|
1958
|
+
export type clientMaterialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1959
|
+
/**
|
|
1960
|
+
* The data used to create many clientMaterials.
|
|
1961
|
+
*/
|
|
1962
|
+
data: Prisma.clientMaterialCreateManyInput | Prisma.clientMaterialCreateManyInput[]
|
|
1963
|
+
skipDuplicates?: boolean
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* clientMaterial createManyAndReturn
|
|
1968
|
+
*/
|
|
1969
|
+
export type clientMaterialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1970
|
+
/**
|
|
1971
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1972
|
+
*/
|
|
1973
|
+
select?: Prisma.clientMaterialSelectCreateManyAndReturn<ExtArgs> | null
|
|
1974
|
+
/**
|
|
1975
|
+
* Omit specific fields from the clientMaterial
|
|
1976
|
+
*/
|
|
1977
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1978
|
+
/**
|
|
1979
|
+
* The data used to create many clientMaterials.
|
|
1980
|
+
*/
|
|
1981
|
+
data: Prisma.clientMaterialCreateManyInput | Prisma.clientMaterialCreateManyInput[]
|
|
1982
|
+
skipDuplicates?: boolean
|
|
1983
|
+
/**
|
|
1984
|
+
* Choose, which related nodes to fetch as well
|
|
1985
|
+
*/
|
|
1986
|
+
include?: Prisma.clientMaterialIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* clientMaterial update
|
|
1991
|
+
*/
|
|
1992
|
+
export type clientMaterialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1993
|
+
/**
|
|
1994
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1995
|
+
*/
|
|
1996
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1997
|
+
/**
|
|
1998
|
+
* Omit specific fields from the clientMaterial
|
|
1999
|
+
*/
|
|
2000
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2001
|
+
/**
|
|
2002
|
+
* Choose, which related nodes to fetch as well
|
|
2003
|
+
*/
|
|
2004
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
2005
|
+
/**
|
|
2006
|
+
* The data needed to update a clientMaterial.
|
|
2007
|
+
*/
|
|
2008
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateInput, Prisma.clientMaterialUncheckedUpdateInput>
|
|
2009
|
+
/**
|
|
2010
|
+
* Choose, which clientMaterial to update.
|
|
2011
|
+
*/
|
|
2012
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* clientMaterial updateMany
|
|
2017
|
+
*/
|
|
2018
|
+
export type clientMaterialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2019
|
+
/**
|
|
2020
|
+
* The data used to update clientMaterials.
|
|
2021
|
+
*/
|
|
2022
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyInput>
|
|
2023
|
+
/**
|
|
2024
|
+
* Filter which clientMaterials to update
|
|
2025
|
+
*/
|
|
2026
|
+
where?: Prisma.clientMaterialWhereInput
|
|
2027
|
+
/**
|
|
2028
|
+
* Limit how many clientMaterials to update.
|
|
2029
|
+
*/
|
|
2030
|
+
limit?: number
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* clientMaterial updateManyAndReturn
|
|
2035
|
+
*/
|
|
2036
|
+
export type clientMaterialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2037
|
+
/**
|
|
2038
|
+
* Select specific fields to fetch from the clientMaterial
|
|
2039
|
+
*/
|
|
2040
|
+
select?: Prisma.clientMaterialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2041
|
+
/**
|
|
2042
|
+
* Omit specific fields from the clientMaterial
|
|
2043
|
+
*/
|
|
2044
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2045
|
+
/**
|
|
2046
|
+
* The data used to update clientMaterials.
|
|
2047
|
+
*/
|
|
2048
|
+
data: Prisma.XOR<Prisma.clientMaterialUpdateManyMutationInput, Prisma.clientMaterialUncheckedUpdateManyInput>
|
|
2049
|
+
/**
|
|
2050
|
+
* Filter which clientMaterials to update
|
|
2051
|
+
*/
|
|
2052
|
+
where?: Prisma.clientMaterialWhereInput
|
|
2053
|
+
/**
|
|
2054
|
+
* Limit how many clientMaterials to update.
|
|
2055
|
+
*/
|
|
2056
|
+
limit?: number
|
|
2057
|
+
/**
|
|
2058
|
+
* Choose, which related nodes to fetch as well
|
|
2059
|
+
*/
|
|
2060
|
+
include?: Prisma.clientMaterialIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* clientMaterial upsert
|
|
2065
|
+
*/
|
|
2066
|
+
export type clientMaterialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Select specific fields to fetch from the clientMaterial
|
|
2069
|
+
*/
|
|
2070
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
2071
|
+
/**
|
|
2072
|
+
* Omit specific fields from the clientMaterial
|
|
2073
|
+
*/
|
|
2074
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2075
|
+
/**
|
|
2076
|
+
* Choose, which related nodes to fetch as well
|
|
2077
|
+
*/
|
|
2078
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
2079
|
+
/**
|
|
2080
|
+
* The filter to search for the clientMaterial to update in case it exists.
|
|
2081
|
+
*/
|
|
2082
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
2083
|
+
/**
|
|
2084
|
+
* In case the clientMaterial found by the `where` argument doesn't exist, create a new clientMaterial with this data.
|
|
2085
|
+
*/
|
|
2086
|
+
create: Prisma.XOR<Prisma.clientMaterialCreateInput, Prisma.clientMaterialUncheckedCreateInput>
|
|
2087
|
+
/**
|
|
2088
|
+
* In case the clientMaterial was found with the provided `where` argument, update it with this data.
|
|
2089
|
+
*/
|
|
2090
|
+
update: Prisma.XOR<Prisma.clientMaterialUpdateInput, Prisma.clientMaterialUncheckedUpdateInput>
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* clientMaterial delete
|
|
2095
|
+
*/
|
|
2096
|
+
export type clientMaterialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2097
|
+
/**
|
|
2098
|
+
* Select specific fields to fetch from the clientMaterial
|
|
2099
|
+
*/
|
|
2100
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
2101
|
+
/**
|
|
2102
|
+
* Omit specific fields from the clientMaterial
|
|
2103
|
+
*/
|
|
2104
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2105
|
+
/**
|
|
2106
|
+
* Choose, which related nodes to fetch as well
|
|
2107
|
+
*/
|
|
2108
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
2109
|
+
/**
|
|
2110
|
+
* Filter which clientMaterial to delete.
|
|
2111
|
+
*/
|
|
2112
|
+
where: Prisma.clientMaterialWhereUniqueInput
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* clientMaterial deleteMany
|
|
2117
|
+
*/
|
|
2118
|
+
export type clientMaterialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2119
|
+
/**
|
|
2120
|
+
* Filter which clientMaterials to delete
|
|
2121
|
+
*/
|
|
2122
|
+
where?: Prisma.clientMaterialWhereInput
|
|
2123
|
+
/**
|
|
2124
|
+
* Limit how many clientMaterials to delete.
|
|
2125
|
+
*/
|
|
2126
|
+
limit?: number
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* clientMaterial.clientMaterialMovementLog
|
|
2131
|
+
*/
|
|
2132
|
+
export type clientMaterial$clientMaterialMovementLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2133
|
+
/**
|
|
2134
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
2135
|
+
*/
|
|
2136
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
2137
|
+
/**
|
|
2138
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
2139
|
+
*/
|
|
2140
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
2141
|
+
/**
|
|
2142
|
+
* Choose, which related nodes to fetch as well
|
|
2143
|
+
*/
|
|
2144
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
2145
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
2146
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithRelationInput | Prisma.clientMaterialMovementLogOrderByWithRelationInput[]
|
|
2147
|
+
cursor?: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
2148
|
+
take?: number
|
|
2149
|
+
skip?: number
|
|
2150
|
+
distinct?: Prisma.ClientMaterialMovementLogScalarFieldEnum | Prisma.ClientMaterialMovementLogScalarFieldEnum[]
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* clientMaterial.dispatchProject
|
|
2155
|
+
*/
|
|
2156
|
+
export type clientMaterial$dispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2157
|
+
/**
|
|
2158
|
+
* Select specific fields to fetch from the DispatchProject
|
|
2159
|
+
*/
|
|
2160
|
+
select?: Prisma.DispatchProjectSelect<ExtArgs> | null
|
|
2161
|
+
/**
|
|
2162
|
+
* Omit specific fields from the DispatchProject
|
|
2163
|
+
*/
|
|
2164
|
+
omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
|
|
2165
|
+
/**
|
|
2166
|
+
* Choose, which related nodes to fetch as well
|
|
2167
|
+
*/
|
|
2168
|
+
include?: Prisma.DispatchProjectInclude<ExtArgs> | null
|
|
2169
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
2170
|
+
orderBy?: Prisma.DispatchProjectOrderByWithRelationInput | Prisma.DispatchProjectOrderByWithRelationInput[]
|
|
2171
|
+
cursor?: Prisma.DispatchProjectWhereUniqueInput
|
|
2172
|
+
take?: number
|
|
2173
|
+
skip?: number
|
|
2174
|
+
distinct?: Prisma.DispatchProjectScalarFieldEnum | Prisma.DispatchProjectScalarFieldEnum[]
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* clientMaterial without action
|
|
2179
|
+
*/
|
|
2180
|
+
export type clientMaterialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2181
|
+
/**
|
|
2182
|
+
* Select specific fields to fetch from the clientMaterial
|
|
2183
|
+
*/
|
|
2184
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
2185
|
+
/**
|
|
2186
|
+
* Omit specific fields from the clientMaterial
|
|
2187
|
+
*/
|
|
2188
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
2189
|
+
/**
|
|
2190
|
+
* Choose, which related nodes to fetch as well
|
|
2191
|
+
*/
|
|
2192
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
2193
|
+
}
|