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,1966 @@
|
|
|
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 `clientMaterialMovementLog` 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 clientMaterialMovementLog
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type clientMaterialMovementLogModel = runtime.Types.Result.DefaultSelection<Prisma.$clientMaterialMovementLogPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateClientMaterialMovementLog = {
|
|
22
|
+
_count: ClientMaterialMovementLogCountAggregateOutputType | null
|
|
23
|
+
_avg: ClientMaterialMovementLogAvgAggregateOutputType | null
|
|
24
|
+
_sum: ClientMaterialMovementLogSumAggregateOutputType | null
|
|
25
|
+
_min: ClientMaterialMovementLogMinAggregateOutputType | null
|
|
26
|
+
_max: ClientMaterialMovementLogMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ClientMaterialMovementLogAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ClientMaterialMovementLogSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type ClientMaterialMovementLogMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
movementType: string | null
|
|
41
|
+
movementFrom: string | null
|
|
42
|
+
movementFromName: string | null
|
|
43
|
+
movementFromId: string | null
|
|
44
|
+
movementTo: string | null
|
|
45
|
+
movementToName: string | null
|
|
46
|
+
movementToId: string | null
|
|
47
|
+
quantity: string | null
|
|
48
|
+
dispatchProjectId: string | null
|
|
49
|
+
createdAt: Date | null
|
|
50
|
+
updatedAt: Date | null
|
|
51
|
+
deletedAt: Date | null
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type ClientMaterialMovementLogMaxAggregateOutputType = {
|
|
55
|
+
id: string | null
|
|
56
|
+
no: number | null
|
|
57
|
+
movementType: string | null
|
|
58
|
+
movementFrom: string | null
|
|
59
|
+
movementFromName: string | null
|
|
60
|
+
movementFromId: string | null
|
|
61
|
+
movementTo: string | null
|
|
62
|
+
movementToName: string | null
|
|
63
|
+
movementToId: string | null
|
|
64
|
+
quantity: string | null
|
|
65
|
+
dispatchProjectId: string | null
|
|
66
|
+
createdAt: Date | null
|
|
67
|
+
updatedAt: Date | null
|
|
68
|
+
deletedAt: Date | null
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type ClientMaterialMovementLogCountAggregateOutputType = {
|
|
72
|
+
id: number
|
|
73
|
+
no: number
|
|
74
|
+
movementType: number
|
|
75
|
+
movementFrom: number
|
|
76
|
+
movementFromName: number
|
|
77
|
+
movementFromId: number
|
|
78
|
+
movementTo: number
|
|
79
|
+
movementToName: number
|
|
80
|
+
movementToId: number
|
|
81
|
+
quantity: number
|
|
82
|
+
materialMoved: number
|
|
83
|
+
dispatchProjectId: number
|
|
84
|
+
createdAt: number
|
|
85
|
+
updatedAt: number
|
|
86
|
+
deletedAt: number
|
|
87
|
+
_all: number
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
export type ClientMaterialMovementLogAvgAggregateInputType = {
|
|
92
|
+
no?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type ClientMaterialMovementLogSumAggregateInputType = {
|
|
96
|
+
no?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type ClientMaterialMovementLogMinAggregateInputType = {
|
|
100
|
+
id?: true
|
|
101
|
+
no?: true
|
|
102
|
+
movementType?: true
|
|
103
|
+
movementFrom?: true
|
|
104
|
+
movementFromName?: true
|
|
105
|
+
movementFromId?: true
|
|
106
|
+
movementTo?: true
|
|
107
|
+
movementToName?: true
|
|
108
|
+
movementToId?: true
|
|
109
|
+
quantity?: true
|
|
110
|
+
dispatchProjectId?: true
|
|
111
|
+
createdAt?: true
|
|
112
|
+
updatedAt?: true
|
|
113
|
+
deletedAt?: true
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type ClientMaterialMovementLogMaxAggregateInputType = {
|
|
117
|
+
id?: true
|
|
118
|
+
no?: true
|
|
119
|
+
movementType?: true
|
|
120
|
+
movementFrom?: true
|
|
121
|
+
movementFromName?: true
|
|
122
|
+
movementFromId?: true
|
|
123
|
+
movementTo?: true
|
|
124
|
+
movementToName?: true
|
|
125
|
+
movementToId?: true
|
|
126
|
+
quantity?: true
|
|
127
|
+
dispatchProjectId?: true
|
|
128
|
+
createdAt?: true
|
|
129
|
+
updatedAt?: true
|
|
130
|
+
deletedAt?: true
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type ClientMaterialMovementLogCountAggregateInputType = {
|
|
134
|
+
id?: true
|
|
135
|
+
no?: true
|
|
136
|
+
movementType?: true
|
|
137
|
+
movementFrom?: true
|
|
138
|
+
movementFromName?: true
|
|
139
|
+
movementFromId?: true
|
|
140
|
+
movementTo?: true
|
|
141
|
+
movementToName?: true
|
|
142
|
+
movementToId?: true
|
|
143
|
+
quantity?: true
|
|
144
|
+
materialMoved?: true
|
|
145
|
+
dispatchProjectId?: true
|
|
146
|
+
createdAt?: true
|
|
147
|
+
updatedAt?: true
|
|
148
|
+
deletedAt?: true
|
|
149
|
+
_all?: true
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export type ClientMaterialMovementLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
/**
|
|
154
|
+
* Filter which clientMaterialMovementLog to aggregate.
|
|
155
|
+
*/
|
|
156
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
159
|
+
*
|
|
160
|
+
* Determine the order of clientMaterialMovementLogs to fetch.
|
|
161
|
+
*/
|
|
162
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithRelationInput | Prisma.clientMaterialMovementLogOrderByWithRelationInput[]
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
165
|
+
*
|
|
166
|
+
* Sets the start position
|
|
167
|
+
*/
|
|
168
|
+
cursor?: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
171
|
+
*
|
|
172
|
+
* Take `±n` clientMaterialMovementLogs from the position of the cursor.
|
|
173
|
+
*/
|
|
174
|
+
take?: number
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
177
|
+
*
|
|
178
|
+
* Skip the first `n` clientMaterialMovementLogs.
|
|
179
|
+
*/
|
|
180
|
+
skip?: number
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
+
*
|
|
184
|
+
* Count returned clientMaterialMovementLogs
|
|
185
|
+
**/
|
|
186
|
+
_count?: true | ClientMaterialMovementLogCountAggregateInputType
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
189
|
+
*
|
|
190
|
+
* Select which fields to average
|
|
191
|
+
**/
|
|
192
|
+
_avg?: ClientMaterialMovementLogAvgAggregateInputType
|
|
193
|
+
/**
|
|
194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
195
|
+
*
|
|
196
|
+
* Select which fields to sum
|
|
197
|
+
**/
|
|
198
|
+
_sum?: ClientMaterialMovementLogSumAggregateInputType
|
|
199
|
+
/**
|
|
200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
201
|
+
*
|
|
202
|
+
* Select which fields to find the minimum value
|
|
203
|
+
**/
|
|
204
|
+
_min?: ClientMaterialMovementLogMinAggregateInputType
|
|
205
|
+
/**
|
|
206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
207
|
+
*
|
|
208
|
+
* Select which fields to find the maximum value
|
|
209
|
+
**/
|
|
210
|
+
_max?: ClientMaterialMovementLogMaxAggregateInputType
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type GetClientMaterialMovementLogAggregateType<T extends ClientMaterialMovementLogAggregateArgs> = {
|
|
214
|
+
[P in keyof T & keyof AggregateClientMaterialMovementLog]: P extends '_count' | 'count'
|
|
215
|
+
? T[P] extends true
|
|
216
|
+
? number
|
|
217
|
+
: Prisma.GetScalarType<T[P], AggregateClientMaterialMovementLog[P]>
|
|
218
|
+
: Prisma.GetScalarType<T[P], AggregateClientMaterialMovementLog[P]>
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type clientMaterialMovementLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
225
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
226
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithAggregationInput | Prisma.clientMaterialMovementLogOrderByWithAggregationInput[]
|
|
227
|
+
by: Prisma.ClientMaterialMovementLogScalarFieldEnum[] | Prisma.ClientMaterialMovementLogScalarFieldEnum
|
|
228
|
+
having?: Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput
|
|
229
|
+
take?: number
|
|
230
|
+
skip?: number
|
|
231
|
+
_count?: ClientMaterialMovementLogCountAggregateInputType | true
|
|
232
|
+
_avg?: ClientMaterialMovementLogAvgAggregateInputType
|
|
233
|
+
_sum?: ClientMaterialMovementLogSumAggregateInputType
|
|
234
|
+
_min?: ClientMaterialMovementLogMinAggregateInputType
|
|
235
|
+
_max?: ClientMaterialMovementLogMaxAggregateInputType
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type ClientMaterialMovementLogGroupByOutputType = {
|
|
239
|
+
id: string
|
|
240
|
+
no: number
|
|
241
|
+
movementType: string
|
|
242
|
+
movementFrom: string | null
|
|
243
|
+
movementFromName: string | null
|
|
244
|
+
movementFromId: string | null
|
|
245
|
+
movementTo: string | null
|
|
246
|
+
movementToName: string | null
|
|
247
|
+
movementToId: string | null
|
|
248
|
+
quantity: string
|
|
249
|
+
materialMoved: runtime.JsonValue | null
|
|
250
|
+
dispatchProjectId: string | null
|
|
251
|
+
createdAt: Date
|
|
252
|
+
updatedAt: Date
|
|
253
|
+
deletedAt: Date | null
|
|
254
|
+
_count: ClientMaterialMovementLogCountAggregateOutputType | null
|
|
255
|
+
_avg: ClientMaterialMovementLogAvgAggregateOutputType | null
|
|
256
|
+
_sum: ClientMaterialMovementLogSumAggregateOutputType | null
|
|
257
|
+
_min: ClientMaterialMovementLogMinAggregateOutputType | null
|
|
258
|
+
_max: ClientMaterialMovementLogMaxAggregateOutputType | null
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
type GetClientMaterialMovementLogGroupByPayload<T extends clientMaterialMovementLogGroupByArgs> = Prisma.PrismaPromise<
|
|
262
|
+
Array<
|
|
263
|
+
Prisma.PickEnumerable<ClientMaterialMovementLogGroupByOutputType, T['by']> &
|
|
264
|
+
{
|
|
265
|
+
[P in ((keyof T) & (keyof ClientMaterialMovementLogGroupByOutputType))]: P extends '_count'
|
|
266
|
+
? T[P] extends boolean
|
|
267
|
+
? number
|
|
268
|
+
: Prisma.GetScalarType<T[P], ClientMaterialMovementLogGroupByOutputType[P]>
|
|
269
|
+
: Prisma.GetScalarType<T[P], ClientMaterialMovementLogGroupByOutputType[P]>
|
|
270
|
+
}
|
|
271
|
+
>
|
|
272
|
+
>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
export type clientMaterialMovementLogWhereInput = {
|
|
277
|
+
AND?: Prisma.clientMaterialMovementLogWhereInput | Prisma.clientMaterialMovementLogWhereInput[]
|
|
278
|
+
OR?: Prisma.clientMaterialMovementLogWhereInput[]
|
|
279
|
+
NOT?: Prisma.clientMaterialMovementLogWhereInput | Prisma.clientMaterialMovementLogWhereInput[]
|
|
280
|
+
id?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
281
|
+
no?: Prisma.IntFilter<"clientMaterialMovementLog"> | number
|
|
282
|
+
movementType?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
283
|
+
movementFrom?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
284
|
+
movementFromName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
285
|
+
movementFromId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
286
|
+
movementTo?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
287
|
+
movementToName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
288
|
+
movementToId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
289
|
+
quantity?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
290
|
+
materialMoved?: Prisma.JsonNullableFilter<"clientMaterialMovementLog">
|
|
291
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
292
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
293
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
294
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterialMovementLog"> | Date | string | null
|
|
295
|
+
material?: Prisma.ClientMaterialListRelationFilter
|
|
296
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type clientMaterialMovementLogOrderByWithRelationInput = {
|
|
300
|
+
id?: Prisma.SortOrder
|
|
301
|
+
no?: Prisma.SortOrder
|
|
302
|
+
movementType?: Prisma.SortOrder
|
|
303
|
+
movementFrom?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
304
|
+
movementFromName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
305
|
+
movementFromId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
306
|
+
movementTo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
307
|
+
movementToName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
308
|
+
movementToId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
309
|
+
quantity?: Prisma.SortOrder
|
|
310
|
+
materialMoved?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
311
|
+
dispatchProjectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
312
|
+
createdAt?: Prisma.SortOrder
|
|
313
|
+
updatedAt?: Prisma.SortOrder
|
|
314
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
315
|
+
material?: Prisma.clientMaterialOrderByRelationAggregateInput
|
|
316
|
+
dispatchProject?: Prisma.DispatchProjectOrderByWithRelationInput
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type clientMaterialMovementLogWhereUniqueInput = Prisma.AtLeast<{
|
|
320
|
+
id?: string
|
|
321
|
+
AND?: Prisma.clientMaterialMovementLogWhereInput | Prisma.clientMaterialMovementLogWhereInput[]
|
|
322
|
+
OR?: Prisma.clientMaterialMovementLogWhereInput[]
|
|
323
|
+
NOT?: Prisma.clientMaterialMovementLogWhereInput | Prisma.clientMaterialMovementLogWhereInput[]
|
|
324
|
+
no?: Prisma.IntFilter<"clientMaterialMovementLog"> | number
|
|
325
|
+
movementType?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
326
|
+
movementFrom?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
327
|
+
movementFromName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
328
|
+
movementFromId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
329
|
+
movementTo?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
330
|
+
movementToName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
331
|
+
movementToId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
332
|
+
quantity?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
333
|
+
materialMoved?: Prisma.JsonNullableFilter<"clientMaterialMovementLog">
|
|
334
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
335
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
336
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
337
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterialMovementLog"> | Date | string | null
|
|
338
|
+
material?: Prisma.ClientMaterialListRelationFilter
|
|
339
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
340
|
+
}, "id" | "id">
|
|
341
|
+
|
|
342
|
+
export type clientMaterialMovementLogOrderByWithAggregationInput = {
|
|
343
|
+
id?: Prisma.SortOrder
|
|
344
|
+
no?: Prisma.SortOrder
|
|
345
|
+
movementType?: Prisma.SortOrder
|
|
346
|
+
movementFrom?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
+
movementFromName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
+
movementFromId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
+
movementTo?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
+
movementToName?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
351
|
+
movementToId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
352
|
+
quantity?: Prisma.SortOrder
|
|
353
|
+
materialMoved?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
354
|
+
dispatchProjectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
355
|
+
createdAt?: Prisma.SortOrder
|
|
356
|
+
updatedAt?: Prisma.SortOrder
|
|
357
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
358
|
+
_count?: Prisma.clientMaterialMovementLogCountOrderByAggregateInput
|
|
359
|
+
_avg?: Prisma.clientMaterialMovementLogAvgOrderByAggregateInput
|
|
360
|
+
_max?: Prisma.clientMaterialMovementLogMaxOrderByAggregateInput
|
|
361
|
+
_min?: Prisma.clientMaterialMovementLogMinOrderByAggregateInput
|
|
362
|
+
_sum?: Prisma.clientMaterialMovementLogSumOrderByAggregateInput
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type clientMaterialMovementLogScalarWhereWithAggregatesInput = {
|
|
366
|
+
AND?: Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput | Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
367
|
+
OR?: Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
368
|
+
NOT?: Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput | Prisma.clientMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
369
|
+
id?: Prisma.StringWithAggregatesFilter<"clientMaterialMovementLog"> | string
|
|
370
|
+
no?: Prisma.IntWithAggregatesFilter<"clientMaterialMovementLog"> | number
|
|
371
|
+
movementType?: Prisma.StringWithAggregatesFilter<"clientMaterialMovementLog"> | string
|
|
372
|
+
movementFrom?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
373
|
+
movementFromName?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
374
|
+
movementFromId?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
375
|
+
movementTo?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
376
|
+
movementToName?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
377
|
+
movementToId?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
378
|
+
quantity?: Prisma.StringWithAggregatesFilter<"clientMaterialMovementLog"> | string
|
|
379
|
+
materialMoved?: Prisma.JsonNullableWithAggregatesFilter<"clientMaterialMovementLog">
|
|
380
|
+
dispatchProjectId?: Prisma.StringNullableWithAggregatesFilter<"clientMaterialMovementLog"> | string | null
|
|
381
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"clientMaterialMovementLog"> | Date | string
|
|
382
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"clientMaterialMovementLog"> | Date | string
|
|
383
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"clientMaterialMovementLog"> | Date | string | null
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export type clientMaterialMovementLogCreateInput = {
|
|
387
|
+
id?: string
|
|
388
|
+
no?: number
|
|
389
|
+
movementType: string
|
|
390
|
+
movementFrom?: string | null
|
|
391
|
+
movementFromName?: string | null
|
|
392
|
+
movementFromId?: string | null
|
|
393
|
+
movementTo?: string | null
|
|
394
|
+
movementToName?: string | null
|
|
395
|
+
movementToId?: string | null
|
|
396
|
+
quantity: string
|
|
397
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
398
|
+
createdAt?: Date | string
|
|
399
|
+
updatedAt?: Date | string
|
|
400
|
+
deletedAt?: Date | string | null
|
|
401
|
+
material?: Prisma.clientMaterialCreateNestedManyWithoutClientMaterialMovementLogInput
|
|
402
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutClientMaterialMovementLogInput
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export type clientMaterialMovementLogUncheckedCreateInput = {
|
|
406
|
+
id?: string
|
|
407
|
+
no?: number
|
|
408
|
+
movementType: string
|
|
409
|
+
movementFrom?: string | null
|
|
410
|
+
movementFromName?: string | null
|
|
411
|
+
movementFromId?: string | null
|
|
412
|
+
movementTo?: string | null
|
|
413
|
+
movementToName?: string | null
|
|
414
|
+
movementToId?: string | null
|
|
415
|
+
quantity: string
|
|
416
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
417
|
+
dispatchProjectId?: string | null
|
|
418
|
+
createdAt?: Date | string
|
|
419
|
+
updatedAt?: Date | string
|
|
420
|
+
deletedAt?: Date | string | null
|
|
421
|
+
material?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutClientMaterialMovementLogInput
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type clientMaterialMovementLogUpdateInput = {
|
|
425
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
426
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
427
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
429
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
430
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
431
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
435
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
436
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
437
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
438
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
439
|
+
material?: Prisma.clientMaterialUpdateManyWithoutClientMaterialMovementLogNestedInput
|
|
440
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutClientMaterialMovementLogNestedInput
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type clientMaterialMovementLogUncheckedUpdateInput = {
|
|
444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
446
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
447
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
448
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
449
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
450
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
451
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
452
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
453
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
454
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
455
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
456
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
457
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
458
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
459
|
+
material?: Prisma.clientMaterialUncheckedUpdateManyWithoutClientMaterialMovementLogNestedInput
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type clientMaterialMovementLogCreateManyInput = {
|
|
463
|
+
id?: string
|
|
464
|
+
no?: number
|
|
465
|
+
movementType: string
|
|
466
|
+
movementFrom?: string | null
|
|
467
|
+
movementFromName?: string | null
|
|
468
|
+
movementFromId?: string | null
|
|
469
|
+
movementTo?: string | null
|
|
470
|
+
movementToName?: string | null
|
|
471
|
+
movementToId?: string | null
|
|
472
|
+
quantity: string
|
|
473
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
474
|
+
dispatchProjectId?: string | null
|
|
475
|
+
createdAt?: Date | string
|
|
476
|
+
updatedAt?: Date | string
|
|
477
|
+
deletedAt?: Date | string | null
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type clientMaterialMovementLogUpdateManyMutationInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
483
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
485
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
486
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
487
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
488
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
489
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
490
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
492
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
493
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
494
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type clientMaterialMovementLogUncheckedUpdateManyInput = {
|
|
498
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
499
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
500
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
501
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
502
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
503
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
504
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
505
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
506
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
509
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
510
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
511
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
512
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type ClientMaterialMovementLogListRelationFilter = {
|
|
516
|
+
every?: Prisma.clientMaterialMovementLogWhereInput
|
|
517
|
+
some?: Prisma.clientMaterialMovementLogWhereInput
|
|
518
|
+
none?: Prisma.clientMaterialMovementLogWhereInput
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export type clientMaterialMovementLogOrderByRelationAggregateInput = {
|
|
522
|
+
_count?: Prisma.SortOrder
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type clientMaterialMovementLogCountOrderByAggregateInput = {
|
|
526
|
+
id?: Prisma.SortOrder
|
|
527
|
+
no?: Prisma.SortOrder
|
|
528
|
+
movementType?: Prisma.SortOrder
|
|
529
|
+
movementFrom?: Prisma.SortOrder
|
|
530
|
+
movementFromName?: Prisma.SortOrder
|
|
531
|
+
movementFromId?: Prisma.SortOrder
|
|
532
|
+
movementTo?: Prisma.SortOrder
|
|
533
|
+
movementToName?: Prisma.SortOrder
|
|
534
|
+
movementToId?: Prisma.SortOrder
|
|
535
|
+
quantity?: Prisma.SortOrder
|
|
536
|
+
materialMoved?: Prisma.SortOrder
|
|
537
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
538
|
+
createdAt?: Prisma.SortOrder
|
|
539
|
+
updatedAt?: Prisma.SortOrder
|
|
540
|
+
deletedAt?: Prisma.SortOrder
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type clientMaterialMovementLogAvgOrderByAggregateInput = {
|
|
544
|
+
no?: Prisma.SortOrder
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type clientMaterialMovementLogMaxOrderByAggregateInput = {
|
|
548
|
+
id?: Prisma.SortOrder
|
|
549
|
+
no?: Prisma.SortOrder
|
|
550
|
+
movementType?: Prisma.SortOrder
|
|
551
|
+
movementFrom?: Prisma.SortOrder
|
|
552
|
+
movementFromName?: Prisma.SortOrder
|
|
553
|
+
movementFromId?: Prisma.SortOrder
|
|
554
|
+
movementTo?: Prisma.SortOrder
|
|
555
|
+
movementToName?: Prisma.SortOrder
|
|
556
|
+
movementToId?: Prisma.SortOrder
|
|
557
|
+
quantity?: Prisma.SortOrder
|
|
558
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
559
|
+
createdAt?: Prisma.SortOrder
|
|
560
|
+
updatedAt?: Prisma.SortOrder
|
|
561
|
+
deletedAt?: Prisma.SortOrder
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export type clientMaterialMovementLogMinOrderByAggregateInput = {
|
|
565
|
+
id?: Prisma.SortOrder
|
|
566
|
+
no?: Prisma.SortOrder
|
|
567
|
+
movementType?: Prisma.SortOrder
|
|
568
|
+
movementFrom?: Prisma.SortOrder
|
|
569
|
+
movementFromName?: Prisma.SortOrder
|
|
570
|
+
movementFromId?: Prisma.SortOrder
|
|
571
|
+
movementTo?: Prisma.SortOrder
|
|
572
|
+
movementToName?: Prisma.SortOrder
|
|
573
|
+
movementToId?: Prisma.SortOrder
|
|
574
|
+
quantity?: Prisma.SortOrder
|
|
575
|
+
dispatchProjectId?: Prisma.SortOrder
|
|
576
|
+
createdAt?: Prisma.SortOrder
|
|
577
|
+
updatedAt?: Prisma.SortOrder
|
|
578
|
+
deletedAt?: Prisma.SortOrder
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
export type clientMaterialMovementLogSumOrderByAggregateInput = {
|
|
582
|
+
no?: Prisma.SortOrder
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export type clientMaterialMovementLogCreateNestedManyWithoutDispatchProjectInput = {
|
|
586
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
587
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
588
|
+
createMany?: Prisma.clientMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
589
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type clientMaterialMovementLogUncheckedCreateNestedManyWithoutDispatchProjectInput = {
|
|
593
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
594
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
595
|
+
createMany?: Prisma.clientMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
596
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type clientMaterialMovementLogUpdateManyWithoutDispatchProjectNestedInput = {
|
|
600
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
601
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
602
|
+
upsert?: Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
603
|
+
createMany?: Prisma.clientMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
604
|
+
set?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
605
|
+
disconnect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
606
|
+
delete?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
607
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
608
|
+
update?: Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
609
|
+
updateMany?: Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
610
|
+
deleteMany?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export type clientMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectNestedInput = {
|
|
614
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
615
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
616
|
+
upsert?: Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
617
|
+
createMany?: Prisma.clientMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
618
|
+
set?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
619
|
+
disconnect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
620
|
+
delete?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
621
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
622
|
+
update?: Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
623
|
+
updateMany?: Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
624
|
+
deleteMany?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export type clientMaterialMovementLogCreateNestedManyWithoutMaterialInput = {
|
|
628
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
629
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
630
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type clientMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput = {
|
|
634
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
635
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
636
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
export type clientMaterialMovementLogUpdateManyWithoutMaterialNestedInput = {
|
|
640
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
641
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
642
|
+
upsert?: Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
643
|
+
set?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
644
|
+
disconnect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
645
|
+
delete?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
646
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
647
|
+
update?: Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
648
|
+
updateMany?: Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput | Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput[]
|
|
649
|
+
deleteMany?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export type clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput = {
|
|
653
|
+
create?: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.clientMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
654
|
+
connectOrCreate?: Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.clientMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
655
|
+
upsert?: Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
656
|
+
set?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
657
|
+
disconnect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
658
|
+
delete?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
659
|
+
connect?: Prisma.clientMaterialMovementLogWhereUniqueInput | Prisma.clientMaterialMovementLogWhereUniqueInput[]
|
|
660
|
+
update?: Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput | Prisma.clientMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
661
|
+
updateMany?: Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput | Prisma.clientMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput[]
|
|
662
|
+
deleteMany?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export type clientMaterialMovementLogCreateWithoutDispatchProjectInput = {
|
|
666
|
+
id?: string
|
|
667
|
+
no?: number
|
|
668
|
+
movementType: string
|
|
669
|
+
movementFrom?: string | null
|
|
670
|
+
movementFromName?: string | null
|
|
671
|
+
movementFromId?: string | null
|
|
672
|
+
movementTo?: string | null
|
|
673
|
+
movementToName?: string | null
|
|
674
|
+
movementToId?: string | null
|
|
675
|
+
quantity: string
|
|
676
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
677
|
+
createdAt?: Date | string
|
|
678
|
+
updatedAt?: Date | string
|
|
679
|
+
deletedAt?: Date | string | null
|
|
680
|
+
material?: Prisma.clientMaterialCreateNestedManyWithoutClientMaterialMovementLogInput
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export type clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput = {
|
|
684
|
+
id?: string
|
|
685
|
+
no?: number
|
|
686
|
+
movementType: string
|
|
687
|
+
movementFrom?: string | null
|
|
688
|
+
movementFromName?: string | null
|
|
689
|
+
movementFromId?: string | null
|
|
690
|
+
movementTo?: string | null
|
|
691
|
+
movementToName?: string | null
|
|
692
|
+
movementToId?: string | null
|
|
693
|
+
quantity: string
|
|
694
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
695
|
+
createdAt?: Date | string
|
|
696
|
+
updatedAt?: Date | string
|
|
697
|
+
deletedAt?: Date | string | null
|
|
698
|
+
material?: Prisma.clientMaterialUncheckedCreateNestedManyWithoutClientMaterialMovementLogInput
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export type clientMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput = {
|
|
702
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
703
|
+
create: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput>
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export type clientMaterialMovementLogCreateManyDispatchProjectInputEnvelope = {
|
|
707
|
+
data: Prisma.clientMaterialMovementLogCreateManyDispatchProjectInput | Prisma.clientMaterialMovementLogCreateManyDispatchProjectInput[]
|
|
708
|
+
skipDuplicates?: boolean
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export type clientMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput = {
|
|
712
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
713
|
+
update: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput>
|
|
714
|
+
create: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput>
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export type clientMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput = {
|
|
718
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
719
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateWithoutDispatchProjectInput, Prisma.clientMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput>
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
export type clientMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput = {
|
|
723
|
+
where: Prisma.clientMaterialMovementLogScalarWhereInput
|
|
724
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateManyMutationInput, Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectInput>
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export type clientMaterialMovementLogScalarWhereInput = {
|
|
728
|
+
AND?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
729
|
+
OR?: Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
730
|
+
NOT?: Prisma.clientMaterialMovementLogScalarWhereInput | Prisma.clientMaterialMovementLogScalarWhereInput[]
|
|
731
|
+
id?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
732
|
+
no?: Prisma.IntFilter<"clientMaterialMovementLog"> | number
|
|
733
|
+
movementType?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
734
|
+
movementFrom?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
735
|
+
movementFromName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
736
|
+
movementFromId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
737
|
+
movementTo?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
738
|
+
movementToName?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
739
|
+
movementToId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
740
|
+
quantity?: Prisma.StringFilter<"clientMaterialMovementLog"> | string
|
|
741
|
+
materialMoved?: Prisma.JsonNullableFilter<"clientMaterialMovementLog">
|
|
742
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"clientMaterialMovementLog"> | string | null
|
|
743
|
+
createdAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
744
|
+
updatedAt?: Prisma.DateTimeFilter<"clientMaterialMovementLog"> | Date | string
|
|
745
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"clientMaterialMovementLog"> | Date | string | null
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type clientMaterialMovementLogCreateWithoutMaterialInput = {
|
|
749
|
+
id?: string
|
|
750
|
+
no?: number
|
|
751
|
+
movementType: string
|
|
752
|
+
movementFrom?: string | null
|
|
753
|
+
movementFromName?: string | null
|
|
754
|
+
movementFromId?: string | null
|
|
755
|
+
movementTo?: string | null
|
|
756
|
+
movementToName?: string | null
|
|
757
|
+
movementToId?: string | null
|
|
758
|
+
quantity: string
|
|
759
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
760
|
+
createdAt?: Date | string
|
|
761
|
+
updatedAt?: Date | string
|
|
762
|
+
deletedAt?: Date | string | null
|
|
763
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutClientMaterialMovementLogInput
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export type clientMaterialMovementLogUncheckedCreateWithoutMaterialInput = {
|
|
767
|
+
id?: string
|
|
768
|
+
no?: number
|
|
769
|
+
movementType: string
|
|
770
|
+
movementFrom?: string | null
|
|
771
|
+
movementFromName?: string | null
|
|
772
|
+
movementFromId?: string | null
|
|
773
|
+
movementTo?: string | null
|
|
774
|
+
movementToName?: string | null
|
|
775
|
+
movementToId?: string | null
|
|
776
|
+
quantity: string
|
|
777
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
778
|
+
dispatchProjectId?: string | null
|
|
779
|
+
createdAt?: Date | string
|
|
780
|
+
updatedAt?: Date | string
|
|
781
|
+
deletedAt?: Date | string | null
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export type clientMaterialMovementLogCreateOrConnectWithoutMaterialInput = {
|
|
785
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
786
|
+
create: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput>
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type clientMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput = {
|
|
790
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
791
|
+
update: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedUpdateWithoutMaterialInput>
|
|
792
|
+
create: Prisma.XOR<Prisma.clientMaterialMovementLogCreateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedCreateWithoutMaterialInput>
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type clientMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput = {
|
|
796
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
797
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateWithoutMaterialInput, Prisma.clientMaterialMovementLogUncheckedUpdateWithoutMaterialInput>
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type clientMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput = {
|
|
801
|
+
where: Prisma.clientMaterialMovementLogScalarWhereInput
|
|
802
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateManyMutationInput, Prisma.clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialInput>
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type clientMaterialMovementLogCreateManyDispatchProjectInput = {
|
|
806
|
+
id?: string
|
|
807
|
+
no?: number
|
|
808
|
+
movementType: string
|
|
809
|
+
movementFrom?: string | null
|
|
810
|
+
movementFromName?: string | null
|
|
811
|
+
movementFromId?: string | null
|
|
812
|
+
movementTo?: string | null
|
|
813
|
+
movementToName?: string | null
|
|
814
|
+
movementToId?: string | null
|
|
815
|
+
quantity: string
|
|
816
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
817
|
+
createdAt?: Date | string
|
|
818
|
+
updatedAt?: Date | string
|
|
819
|
+
deletedAt?: Date | string | null
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
export type clientMaterialMovementLogUpdateWithoutDispatchProjectInput = {
|
|
823
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
824
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
825
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
826
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
827
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
828
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
829
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
830
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
831
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
832
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
833
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
834
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
835
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
836
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
837
|
+
material?: Prisma.clientMaterialUpdateManyWithoutClientMaterialMovementLogNestedInput
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export type clientMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput = {
|
|
841
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
842
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
843
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
844
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
845
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
846
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
847
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
848
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
849
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
850
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
851
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
852
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
853
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
854
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
855
|
+
material?: Prisma.clientMaterialUncheckedUpdateManyWithoutClientMaterialMovementLogNestedInput
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export type clientMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectInput = {
|
|
859
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
860
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
861
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
862
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
863
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
864
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
865
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
866
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
867
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
868
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
869
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
870
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
871
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
872
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export type clientMaterialMovementLogUpdateWithoutMaterialInput = {
|
|
876
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
877
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
878
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
879
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
880
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
881
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
882
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
883
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
884
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
885
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
886
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
887
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
888
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
889
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
890
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutClientMaterialMovementLogNestedInput
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export type clientMaterialMovementLogUncheckedUpdateWithoutMaterialInput = {
|
|
894
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
895
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
896
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
897
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
898
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
899
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
900
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
901
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
902
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
903
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
904
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
905
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
906
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
907
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
908
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
export type clientMaterialMovementLogUncheckedUpdateManyWithoutMaterialInput = {
|
|
912
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
913
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
914
|
+
movementType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
915
|
+
movementFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
916
|
+
movementFromName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
917
|
+
movementFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
918
|
+
movementTo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
919
|
+
movementToName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
920
|
+
movementToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
921
|
+
quantity?: Prisma.StringFieldUpdateOperationsInput | string
|
|
922
|
+
materialMoved?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
923
|
+
dispatchProjectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
924
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
925
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
926
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Count Type ClientMaterialMovementLogCountOutputType
|
|
932
|
+
*/
|
|
933
|
+
|
|
934
|
+
export type ClientMaterialMovementLogCountOutputType = {
|
|
935
|
+
material: number
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export type ClientMaterialMovementLogCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
939
|
+
material?: boolean | ClientMaterialMovementLogCountOutputTypeCountMaterialArgs
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* ClientMaterialMovementLogCountOutputType without action
|
|
944
|
+
*/
|
|
945
|
+
export type ClientMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
946
|
+
/**
|
|
947
|
+
* Select specific fields to fetch from the ClientMaterialMovementLogCountOutputType
|
|
948
|
+
*/
|
|
949
|
+
select?: Prisma.ClientMaterialMovementLogCountOutputTypeSelect<ExtArgs> | null
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* ClientMaterialMovementLogCountOutputType without action
|
|
954
|
+
*/
|
|
955
|
+
export type ClientMaterialMovementLogCountOutputTypeCountMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
956
|
+
where?: Prisma.clientMaterialWhereInput
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
export type clientMaterialMovementLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
961
|
+
id?: boolean
|
|
962
|
+
no?: boolean
|
|
963
|
+
movementType?: boolean
|
|
964
|
+
movementFrom?: boolean
|
|
965
|
+
movementFromName?: boolean
|
|
966
|
+
movementFromId?: boolean
|
|
967
|
+
movementTo?: boolean
|
|
968
|
+
movementToName?: boolean
|
|
969
|
+
movementToId?: boolean
|
|
970
|
+
quantity?: boolean
|
|
971
|
+
materialMoved?: boolean
|
|
972
|
+
dispatchProjectId?: boolean
|
|
973
|
+
createdAt?: boolean
|
|
974
|
+
updatedAt?: boolean
|
|
975
|
+
deletedAt?: boolean
|
|
976
|
+
material?: boolean | Prisma.clientMaterialMovementLog$materialArgs<ExtArgs>
|
|
977
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
978
|
+
_count?: boolean | Prisma.ClientMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs>
|
|
979
|
+
}, ExtArgs["result"]["clientMaterialMovementLog"]>
|
|
980
|
+
|
|
981
|
+
export type clientMaterialMovementLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
982
|
+
id?: boolean
|
|
983
|
+
no?: boolean
|
|
984
|
+
movementType?: boolean
|
|
985
|
+
movementFrom?: boolean
|
|
986
|
+
movementFromName?: boolean
|
|
987
|
+
movementFromId?: boolean
|
|
988
|
+
movementTo?: boolean
|
|
989
|
+
movementToName?: boolean
|
|
990
|
+
movementToId?: boolean
|
|
991
|
+
quantity?: boolean
|
|
992
|
+
materialMoved?: boolean
|
|
993
|
+
dispatchProjectId?: boolean
|
|
994
|
+
createdAt?: boolean
|
|
995
|
+
updatedAt?: boolean
|
|
996
|
+
deletedAt?: boolean
|
|
997
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
998
|
+
}, ExtArgs["result"]["clientMaterialMovementLog"]>
|
|
999
|
+
|
|
1000
|
+
export type clientMaterialMovementLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1001
|
+
id?: boolean
|
|
1002
|
+
no?: boolean
|
|
1003
|
+
movementType?: boolean
|
|
1004
|
+
movementFrom?: boolean
|
|
1005
|
+
movementFromName?: boolean
|
|
1006
|
+
movementFromId?: boolean
|
|
1007
|
+
movementTo?: boolean
|
|
1008
|
+
movementToName?: boolean
|
|
1009
|
+
movementToId?: boolean
|
|
1010
|
+
quantity?: boolean
|
|
1011
|
+
materialMoved?: boolean
|
|
1012
|
+
dispatchProjectId?: boolean
|
|
1013
|
+
createdAt?: boolean
|
|
1014
|
+
updatedAt?: boolean
|
|
1015
|
+
deletedAt?: boolean
|
|
1016
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1017
|
+
}, ExtArgs["result"]["clientMaterialMovementLog"]>
|
|
1018
|
+
|
|
1019
|
+
export type clientMaterialMovementLogSelectScalar = {
|
|
1020
|
+
id?: boolean
|
|
1021
|
+
no?: boolean
|
|
1022
|
+
movementType?: boolean
|
|
1023
|
+
movementFrom?: boolean
|
|
1024
|
+
movementFromName?: boolean
|
|
1025
|
+
movementFromId?: boolean
|
|
1026
|
+
movementTo?: boolean
|
|
1027
|
+
movementToName?: boolean
|
|
1028
|
+
movementToId?: boolean
|
|
1029
|
+
quantity?: boolean
|
|
1030
|
+
materialMoved?: boolean
|
|
1031
|
+
dispatchProjectId?: boolean
|
|
1032
|
+
createdAt?: boolean
|
|
1033
|
+
updatedAt?: boolean
|
|
1034
|
+
deletedAt?: boolean
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
export type clientMaterialMovementLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "movementType" | "movementFrom" | "movementFromName" | "movementFromId" | "movementTo" | "movementToName" | "movementToId" | "quantity" | "materialMoved" | "dispatchProjectId" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["clientMaterialMovementLog"]>
|
|
1038
|
+
export type clientMaterialMovementLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
material?: boolean | Prisma.clientMaterialMovementLog$materialArgs<ExtArgs>
|
|
1040
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1041
|
+
_count?: boolean | Prisma.ClientMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs>
|
|
1042
|
+
}
|
|
1043
|
+
export type clientMaterialMovementLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1045
|
+
}
|
|
1046
|
+
export type clientMaterialMovementLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
+
dispatchProject?: boolean | Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export type $clientMaterialMovementLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
name: "clientMaterialMovementLog"
|
|
1052
|
+
objects: {
|
|
1053
|
+
material: Prisma.$clientMaterialPayload<ExtArgs>[]
|
|
1054
|
+
dispatchProject: Prisma.$DispatchProjectPayload<ExtArgs> | null
|
|
1055
|
+
}
|
|
1056
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1057
|
+
id: string
|
|
1058
|
+
no: number
|
|
1059
|
+
movementType: string
|
|
1060
|
+
movementFrom: string | null
|
|
1061
|
+
movementFromName: string | null
|
|
1062
|
+
movementFromId: string | null
|
|
1063
|
+
movementTo: string | null
|
|
1064
|
+
movementToName: string | null
|
|
1065
|
+
movementToId: string | null
|
|
1066
|
+
quantity: string
|
|
1067
|
+
materialMoved: runtime.JsonValue | null
|
|
1068
|
+
dispatchProjectId: string | null
|
|
1069
|
+
createdAt: Date
|
|
1070
|
+
updatedAt: Date
|
|
1071
|
+
deletedAt: Date | null
|
|
1072
|
+
}, ExtArgs["result"]["clientMaterialMovementLog"]>
|
|
1073
|
+
composites: {}
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export type clientMaterialMovementLogGetPayload<S extends boolean | null | undefined | clientMaterialMovementLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload, S>
|
|
1077
|
+
|
|
1078
|
+
export type clientMaterialMovementLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1079
|
+
Omit<clientMaterialMovementLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1080
|
+
select?: ClientMaterialMovementLogCountAggregateInputType | true
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export interface clientMaterialMovementLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1084
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['clientMaterialMovementLog'], meta: { name: 'clientMaterialMovementLog' } }
|
|
1085
|
+
/**
|
|
1086
|
+
* Find zero or one ClientMaterialMovementLog that matches the filter.
|
|
1087
|
+
* @param {clientMaterialMovementLogFindUniqueArgs} args - Arguments to find a ClientMaterialMovementLog
|
|
1088
|
+
* @example
|
|
1089
|
+
* // Get one ClientMaterialMovementLog
|
|
1090
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.findUnique({
|
|
1091
|
+
* where: {
|
|
1092
|
+
* // ... provide filter here
|
|
1093
|
+
* }
|
|
1094
|
+
* })
|
|
1095
|
+
*/
|
|
1096
|
+
findUnique<T extends clientMaterialMovementLogFindUniqueArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Find one ClientMaterialMovementLog that matches the filter or throw an error with `error.code='P2025'`
|
|
1100
|
+
* if no matches were found.
|
|
1101
|
+
* @param {clientMaterialMovementLogFindUniqueOrThrowArgs} args - Arguments to find a ClientMaterialMovementLog
|
|
1102
|
+
* @example
|
|
1103
|
+
* // Get one ClientMaterialMovementLog
|
|
1104
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.findUniqueOrThrow({
|
|
1105
|
+
* where: {
|
|
1106
|
+
* // ... provide filter here
|
|
1107
|
+
* }
|
|
1108
|
+
* })
|
|
1109
|
+
*/
|
|
1110
|
+
findUniqueOrThrow<T extends clientMaterialMovementLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Find the first ClientMaterialMovementLog that matches the filter.
|
|
1114
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1115
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1116
|
+
* @param {clientMaterialMovementLogFindFirstArgs} args - Arguments to find a ClientMaterialMovementLog
|
|
1117
|
+
* @example
|
|
1118
|
+
* // Get one ClientMaterialMovementLog
|
|
1119
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.findFirst({
|
|
1120
|
+
* where: {
|
|
1121
|
+
* // ... provide filter here
|
|
1122
|
+
* }
|
|
1123
|
+
* })
|
|
1124
|
+
*/
|
|
1125
|
+
findFirst<T extends clientMaterialMovementLogFindFirstArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Find the first ClientMaterialMovementLog that matches the filter or
|
|
1129
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1130
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1131
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1132
|
+
* @param {clientMaterialMovementLogFindFirstOrThrowArgs} args - Arguments to find a ClientMaterialMovementLog
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Get one ClientMaterialMovementLog
|
|
1135
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.findFirstOrThrow({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... provide filter here
|
|
1138
|
+
* }
|
|
1139
|
+
* })
|
|
1140
|
+
*/
|
|
1141
|
+
findFirstOrThrow<T extends clientMaterialMovementLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Find zero or more ClientMaterialMovementLogs that matches the filter.
|
|
1145
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1146
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1147
|
+
* @param {clientMaterialMovementLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1148
|
+
* @example
|
|
1149
|
+
* // Get all ClientMaterialMovementLogs
|
|
1150
|
+
* const clientMaterialMovementLogs = await prisma.clientMaterialMovementLog.findMany()
|
|
1151
|
+
*
|
|
1152
|
+
* // Get first 10 ClientMaterialMovementLogs
|
|
1153
|
+
* const clientMaterialMovementLogs = await prisma.clientMaterialMovementLog.findMany({ take: 10 })
|
|
1154
|
+
*
|
|
1155
|
+
* // Only select the `id`
|
|
1156
|
+
* const clientMaterialMovementLogWithIdOnly = await prisma.clientMaterialMovementLog.findMany({ select: { id: true } })
|
|
1157
|
+
*
|
|
1158
|
+
*/
|
|
1159
|
+
findMany<T extends clientMaterialMovementLogFindManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Create a ClientMaterialMovementLog.
|
|
1163
|
+
* @param {clientMaterialMovementLogCreateArgs} args - Arguments to create a ClientMaterialMovementLog.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Create one ClientMaterialMovementLog
|
|
1166
|
+
* const ClientMaterialMovementLog = await prisma.clientMaterialMovementLog.create({
|
|
1167
|
+
* data: {
|
|
1168
|
+
* // ... data to create a ClientMaterialMovementLog
|
|
1169
|
+
* }
|
|
1170
|
+
* })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
create<T extends clientMaterialMovementLogCreateArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogCreateArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Create many ClientMaterialMovementLogs.
|
|
1177
|
+
* @param {clientMaterialMovementLogCreateManyArgs} args - Arguments to create many ClientMaterialMovementLogs.
|
|
1178
|
+
* @example
|
|
1179
|
+
* // Create many ClientMaterialMovementLogs
|
|
1180
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.createMany({
|
|
1181
|
+
* data: [
|
|
1182
|
+
* // ... provide data here
|
|
1183
|
+
* ]
|
|
1184
|
+
* })
|
|
1185
|
+
*
|
|
1186
|
+
*/
|
|
1187
|
+
createMany<T extends clientMaterialMovementLogCreateManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Create many ClientMaterialMovementLogs and returns the data saved in the database.
|
|
1191
|
+
* @param {clientMaterialMovementLogCreateManyAndReturnArgs} args - Arguments to create many ClientMaterialMovementLogs.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Create many ClientMaterialMovementLogs
|
|
1194
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.createManyAndReturn({
|
|
1195
|
+
* data: [
|
|
1196
|
+
* // ... provide data here
|
|
1197
|
+
* ]
|
|
1198
|
+
* })
|
|
1199
|
+
*
|
|
1200
|
+
* // Create many ClientMaterialMovementLogs and only return the `id`
|
|
1201
|
+
* const clientMaterialMovementLogWithIdOnly = await prisma.clientMaterialMovementLog.createManyAndReturn({
|
|
1202
|
+
* select: { id: true },
|
|
1203
|
+
* data: [
|
|
1204
|
+
* // ... provide data here
|
|
1205
|
+
* ]
|
|
1206
|
+
* })
|
|
1207
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1208
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1209
|
+
*
|
|
1210
|
+
*/
|
|
1211
|
+
createManyAndReturn<T extends clientMaterialMovementLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Delete a ClientMaterialMovementLog.
|
|
1215
|
+
* @param {clientMaterialMovementLogDeleteArgs} args - Arguments to delete one ClientMaterialMovementLog.
|
|
1216
|
+
* @example
|
|
1217
|
+
* // Delete one ClientMaterialMovementLog
|
|
1218
|
+
* const ClientMaterialMovementLog = await prisma.clientMaterialMovementLog.delete({
|
|
1219
|
+
* where: {
|
|
1220
|
+
* // ... filter to delete one ClientMaterialMovementLog
|
|
1221
|
+
* }
|
|
1222
|
+
* })
|
|
1223
|
+
*
|
|
1224
|
+
*/
|
|
1225
|
+
delete<T extends clientMaterialMovementLogDeleteArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogDeleteArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Update one ClientMaterialMovementLog.
|
|
1229
|
+
* @param {clientMaterialMovementLogUpdateArgs} args - Arguments to update one ClientMaterialMovementLog.
|
|
1230
|
+
* @example
|
|
1231
|
+
* // Update one ClientMaterialMovementLog
|
|
1232
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.update({
|
|
1233
|
+
* where: {
|
|
1234
|
+
* // ... provide filter here
|
|
1235
|
+
* },
|
|
1236
|
+
* data: {
|
|
1237
|
+
* // ... provide data here
|
|
1238
|
+
* }
|
|
1239
|
+
* })
|
|
1240
|
+
*
|
|
1241
|
+
*/
|
|
1242
|
+
update<T extends clientMaterialMovementLogUpdateArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogUpdateArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Delete zero or more ClientMaterialMovementLogs.
|
|
1246
|
+
* @param {clientMaterialMovementLogDeleteManyArgs} args - Arguments to filter ClientMaterialMovementLogs to delete.
|
|
1247
|
+
* @example
|
|
1248
|
+
* // Delete a few ClientMaterialMovementLogs
|
|
1249
|
+
* const { count } = await prisma.clientMaterialMovementLog.deleteMany({
|
|
1250
|
+
* where: {
|
|
1251
|
+
* // ... provide filter here
|
|
1252
|
+
* }
|
|
1253
|
+
* })
|
|
1254
|
+
*
|
|
1255
|
+
*/
|
|
1256
|
+
deleteMany<T extends clientMaterialMovementLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, clientMaterialMovementLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Update zero or more ClientMaterialMovementLogs.
|
|
1260
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1261
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1262
|
+
* @param {clientMaterialMovementLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1263
|
+
* @example
|
|
1264
|
+
* // Update many ClientMaterialMovementLogs
|
|
1265
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.updateMany({
|
|
1266
|
+
* where: {
|
|
1267
|
+
* // ... provide filter here
|
|
1268
|
+
* },
|
|
1269
|
+
* data: {
|
|
1270
|
+
* // ... provide data here
|
|
1271
|
+
* }
|
|
1272
|
+
* })
|
|
1273
|
+
*
|
|
1274
|
+
*/
|
|
1275
|
+
updateMany<T extends clientMaterialMovementLogUpdateManyArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Update zero or more ClientMaterialMovementLogs and returns the data updated in the database.
|
|
1279
|
+
* @param {clientMaterialMovementLogUpdateManyAndReturnArgs} args - Arguments to update many ClientMaterialMovementLogs.
|
|
1280
|
+
* @example
|
|
1281
|
+
* // Update many ClientMaterialMovementLogs
|
|
1282
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.updateManyAndReturn({
|
|
1283
|
+
* where: {
|
|
1284
|
+
* // ... provide filter here
|
|
1285
|
+
* },
|
|
1286
|
+
* data: [
|
|
1287
|
+
* // ... provide data here
|
|
1288
|
+
* ]
|
|
1289
|
+
* })
|
|
1290
|
+
*
|
|
1291
|
+
* // Update zero or more ClientMaterialMovementLogs and only return the `id`
|
|
1292
|
+
* const clientMaterialMovementLogWithIdOnly = await prisma.clientMaterialMovementLog.updateManyAndReturn({
|
|
1293
|
+
* select: { id: true },
|
|
1294
|
+
* where: {
|
|
1295
|
+
* // ... provide filter here
|
|
1296
|
+
* },
|
|
1297
|
+
* data: [
|
|
1298
|
+
* // ... provide data here
|
|
1299
|
+
* ]
|
|
1300
|
+
* })
|
|
1301
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1302
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1303
|
+
*
|
|
1304
|
+
*/
|
|
1305
|
+
updateManyAndReturn<T extends clientMaterialMovementLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Create or update one ClientMaterialMovementLog.
|
|
1309
|
+
* @param {clientMaterialMovementLogUpsertArgs} args - Arguments to update or create a ClientMaterialMovementLog.
|
|
1310
|
+
* @example
|
|
1311
|
+
* // Update or create a ClientMaterialMovementLog
|
|
1312
|
+
* const clientMaterialMovementLog = await prisma.clientMaterialMovementLog.upsert({
|
|
1313
|
+
* create: {
|
|
1314
|
+
* // ... data to create a ClientMaterialMovementLog
|
|
1315
|
+
* },
|
|
1316
|
+
* update: {
|
|
1317
|
+
* // ... in case it already exists, update
|
|
1318
|
+
* },
|
|
1319
|
+
* where: {
|
|
1320
|
+
* // ... the filter for the ClientMaterialMovementLog we want to update
|
|
1321
|
+
* }
|
|
1322
|
+
* })
|
|
1323
|
+
*/
|
|
1324
|
+
upsert<T extends clientMaterialMovementLogUpsertArgs>(args: Prisma.SelectSubset<T, clientMaterialMovementLogUpsertArgs<ExtArgs>>): Prisma.Prisma__clientMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$clientMaterialMovementLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Count the number of ClientMaterialMovementLogs.
|
|
1329
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1330
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1331
|
+
* @param {clientMaterialMovementLogCountArgs} args - Arguments to filter ClientMaterialMovementLogs to count.
|
|
1332
|
+
* @example
|
|
1333
|
+
* // Count the number of ClientMaterialMovementLogs
|
|
1334
|
+
* const count = await prisma.clientMaterialMovementLog.count({
|
|
1335
|
+
* where: {
|
|
1336
|
+
* // ... the filter for the ClientMaterialMovementLogs we want to count
|
|
1337
|
+
* }
|
|
1338
|
+
* })
|
|
1339
|
+
**/
|
|
1340
|
+
count<T extends clientMaterialMovementLogCountArgs>(
|
|
1341
|
+
args?: Prisma.Subset<T, clientMaterialMovementLogCountArgs>,
|
|
1342
|
+
): Prisma.PrismaPromise<
|
|
1343
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1344
|
+
? T['select'] extends true
|
|
1345
|
+
? number
|
|
1346
|
+
: Prisma.GetScalarType<T['select'], ClientMaterialMovementLogCountAggregateOutputType>
|
|
1347
|
+
: number
|
|
1348
|
+
>
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Allows you to perform aggregations operations on a ClientMaterialMovementLog.
|
|
1352
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1353
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1354
|
+
* @param {ClientMaterialMovementLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1355
|
+
* @example
|
|
1356
|
+
* // Ordered by age ascending
|
|
1357
|
+
* // Where email contains prisma.io
|
|
1358
|
+
* // Limited to the 10 users
|
|
1359
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1360
|
+
* _avg: {
|
|
1361
|
+
* age: true,
|
|
1362
|
+
* },
|
|
1363
|
+
* where: {
|
|
1364
|
+
* email: {
|
|
1365
|
+
* contains: "prisma.io",
|
|
1366
|
+
* },
|
|
1367
|
+
* },
|
|
1368
|
+
* orderBy: {
|
|
1369
|
+
* age: "asc",
|
|
1370
|
+
* },
|
|
1371
|
+
* take: 10,
|
|
1372
|
+
* })
|
|
1373
|
+
**/
|
|
1374
|
+
aggregate<T extends ClientMaterialMovementLogAggregateArgs>(args: Prisma.Subset<T, ClientMaterialMovementLogAggregateArgs>): Prisma.PrismaPromise<GetClientMaterialMovementLogAggregateType<T>>
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Group by ClientMaterialMovementLog.
|
|
1378
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1379
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1380
|
+
* @param {clientMaterialMovementLogGroupByArgs} args - Group by arguments.
|
|
1381
|
+
* @example
|
|
1382
|
+
* // Group by city, order by createdAt, get count
|
|
1383
|
+
* const result = await prisma.user.groupBy({
|
|
1384
|
+
* by: ['city', 'createdAt'],
|
|
1385
|
+
* orderBy: {
|
|
1386
|
+
* createdAt: true
|
|
1387
|
+
* },
|
|
1388
|
+
* _count: {
|
|
1389
|
+
* _all: true
|
|
1390
|
+
* },
|
|
1391
|
+
* })
|
|
1392
|
+
*
|
|
1393
|
+
**/
|
|
1394
|
+
groupBy<
|
|
1395
|
+
T extends clientMaterialMovementLogGroupByArgs,
|
|
1396
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1397
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1398
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1399
|
+
>,
|
|
1400
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1401
|
+
? { orderBy: clientMaterialMovementLogGroupByArgs['orderBy'] }
|
|
1402
|
+
: { orderBy?: clientMaterialMovementLogGroupByArgs['orderBy'] },
|
|
1403
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1404
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1405
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1406
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1407
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1408
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1409
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1410
|
+
? `Error: "by" must not be empty.`
|
|
1411
|
+
: HavingValid extends Prisma.False
|
|
1412
|
+
? {
|
|
1413
|
+
[P in HavingFields]: P extends ByFields
|
|
1414
|
+
? never
|
|
1415
|
+
: P extends string
|
|
1416
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1417
|
+
: [
|
|
1418
|
+
Error,
|
|
1419
|
+
'Field ',
|
|
1420
|
+
P,
|
|
1421
|
+
` in "having" needs to be provided in "by"`,
|
|
1422
|
+
]
|
|
1423
|
+
}[HavingFields]
|
|
1424
|
+
: 'take' extends Prisma.Keys<T>
|
|
1425
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1426
|
+
? ByValid extends Prisma.True
|
|
1427
|
+
? {}
|
|
1428
|
+
: {
|
|
1429
|
+
[P in OrderFields]: P extends ByFields
|
|
1430
|
+
? never
|
|
1431
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1432
|
+
}[OrderFields]
|
|
1433
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1434
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1435
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1436
|
+
? ByValid extends Prisma.True
|
|
1437
|
+
? {}
|
|
1438
|
+
: {
|
|
1439
|
+
[P in OrderFields]: P extends ByFields
|
|
1440
|
+
? never
|
|
1441
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1442
|
+
}[OrderFields]
|
|
1443
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1444
|
+
: ByValid extends Prisma.True
|
|
1445
|
+
? {}
|
|
1446
|
+
: {
|
|
1447
|
+
[P in OrderFields]: P extends ByFields
|
|
1448
|
+
? never
|
|
1449
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1450
|
+
}[OrderFields]
|
|
1451
|
+
>(args: Prisma.SubsetIntersection<T, clientMaterialMovementLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClientMaterialMovementLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1452
|
+
/**
|
|
1453
|
+
* Fields of the clientMaterialMovementLog model
|
|
1454
|
+
*/
|
|
1455
|
+
readonly fields: clientMaterialMovementLogFieldRefs;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* The delegate class that acts as a "Promise-like" for clientMaterialMovementLog.
|
|
1460
|
+
* Why is this prefixed with `Prisma__`?
|
|
1461
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1462
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1463
|
+
*/
|
|
1464
|
+
export interface Prisma__clientMaterialMovementLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1465
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1466
|
+
material<T extends Prisma.clientMaterialMovementLog$materialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.clientMaterialMovementLog$materialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$clientMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1467
|
+
dispatchProject<T extends Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.clientMaterialMovementLog$dispatchProjectArgs<ExtArgs>>): Prisma.Prisma__DispatchProjectClient<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1468
|
+
/**
|
|
1469
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1470
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1471
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1472
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1473
|
+
*/
|
|
1474
|
+
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>
|
|
1475
|
+
/**
|
|
1476
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1477
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1478
|
+
* @returns A Promise for the completion of the callback.
|
|
1479
|
+
*/
|
|
1480
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1481
|
+
/**
|
|
1482
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1483
|
+
* resolved value cannot be modified from the callback.
|
|
1484
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1485
|
+
* @returns A Promise for the completion of the callback.
|
|
1486
|
+
*/
|
|
1487
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Fields of the clientMaterialMovementLog model
|
|
1495
|
+
*/
|
|
1496
|
+
export interface clientMaterialMovementLogFieldRefs {
|
|
1497
|
+
readonly id: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1498
|
+
readonly no: Prisma.FieldRef<"clientMaterialMovementLog", 'Int'>
|
|
1499
|
+
readonly movementType: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1500
|
+
readonly movementFrom: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1501
|
+
readonly movementFromName: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1502
|
+
readonly movementFromId: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1503
|
+
readonly movementTo: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1504
|
+
readonly movementToName: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1505
|
+
readonly movementToId: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1506
|
+
readonly quantity: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1507
|
+
readonly materialMoved: Prisma.FieldRef<"clientMaterialMovementLog", 'Json'>
|
|
1508
|
+
readonly dispatchProjectId: Prisma.FieldRef<"clientMaterialMovementLog", 'String'>
|
|
1509
|
+
readonly createdAt: Prisma.FieldRef<"clientMaterialMovementLog", 'DateTime'>
|
|
1510
|
+
readonly updatedAt: Prisma.FieldRef<"clientMaterialMovementLog", 'DateTime'>
|
|
1511
|
+
readonly deletedAt: Prisma.FieldRef<"clientMaterialMovementLog", 'DateTime'>
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
// Custom InputTypes
|
|
1516
|
+
/**
|
|
1517
|
+
* clientMaterialMovementLog findUnique
|
|
1518
|
+
*/
|
|
1519
|
+
export type clientMaterialMovementLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1522
|
+
*/
|
|
1523
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1526
|
+
*/
|
|
1527
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Choose, which related nodes to fetch as well
|
|
1530
|
+
*/
|
|
1531
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1532
|
+
/**
|
|
1533
|
+
* Filter, which clientMaterialMovementLog to fetch.
|
|
1534
|
+
*/
|
|
1535
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* clientMaterialMovementLog findUniqueOrThrow
|
|
1540
|
+
*/
|
|
1541
|
+
export type clientMaterialMovementLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1544
|
+
*/
|
|
1545
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1553
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter, which clientMaterialMovementLog to fetch.
|
|
1556
|
+
*/
|
|
1557
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* clientMaterialMovementLog findFirst
|
|
1562
|
+
*/
|
|
1563
|
+
export type clientMaterialMovementLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1566
|
+
*/
|
|
1567
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1568
|
+
/**
|
|
1569
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1570
|
+
*/
|
|
1571
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Choose, which related nodes to fetch as well
|
|
1574
|
+
*/
|
|
1575
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* Filter, which clientMaterialMovementLog to fetch.
|
|
1578
|
+
*/
|
|
1579
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1580
|
+
/**
|
|
1581
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1582
|
+
*
|
|
1583
|
+
* Determine the order of clientMaterialMovementLogs to fetch.
|
|
1584
|
+
*/
|
|
1585
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithRelationInput | Prisma.clientMaterialMovementLogOrderByWithRelationInput[]
|
|
1586
|
+
/**
|
|
1587
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1588
|
+
*
|
|
1589
|
+
* Sets the position for searching for clientMaterialMovementLogs.
|
|
1590
|
+
*/
|
|
1591
|
+
cursor?: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1592
|
+
/**
|
|
1593
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1594
|
+
*
|
|
1595
|
+
* Take `±n` clientMaterialMovementLogs from the position of the cursor.
|
|
1596
|
+
*/
|
|
1597
|
+
take?: number
|
|
1598
|
+
/**
|
|
1599
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1600
|
+
*
|
|
1601
|
+
* Skip the first `n` clientMaterialMovementLogs.
|
|
1602
|
+
*/
|
|
1603
|
+
skip?: number
|
|
1604
|
+
/**
|
|
1605
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1606
|
+
*
|
|
1607
|
+
* Filter by unique combinations of clientMaterialMovementLogs.
|
|
1608
|
+
*/
|
|
1609
|
+
distinct?: Prisma.ClientMaterialMovementLogScalarFieldEnum | Prisma.ClientMaterialMovementLogScalarFieldEnum[]
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* clientMaterialMovementLog findFirstOrThrow
|
|
1614
|
+
*/
|
|
1615
|
+
export type clientMaterialMovementLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1618
|
+
*/
|
|
1619
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1620
|
+
/**
|
|
1621
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1622
|
+
*/
|
|
1623
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1624
|
+
/**
|
|
1625
|
+
* Choose, which related nodes to fetch as well
|
|
1626
|
+
*/
|
|
1627
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1628
|
+
/**
|
|
1629
|
+
* Filter, which clientMaterialMovementLog to fetch.
|
|
1630
|
+
*/
|
|
1631
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1632
|
+
/**
|
|
1633
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1634
|
+
*
|
|
1635
|
+
* Determine the order of clientMaterialMovementLogs to fetch.
|
|
1636
|
+
*/
|
|
1637
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithRelationInput | Prisma.clientMaterialMovementLogOrderByWithRelationInput[]
|
|
1638
|
+
/**
|
|
1639
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1640
|
+
*
|
|
1641
|
+
* Sets the position for searching for clientMaterialMovementLogs.
|
|
1642
|
+
*/
|
|
1643
|
+
cursor?: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1644
|
+
/**
|
|
1645
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1646
|
+
*
|
|
1647
|
+
* Take `±n` clientMaterialMovementLogs from the position of the cursor.
|
|
1648
|
+
*/
|
|
1649
|
+
take?: number
|
|
1650
|
+
/**
|
|
1651
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1652
|
+
*
|
|
1653
|
+
* Skip the first `n` clientMaterialMovementLogs.
|
|
1654
|
+
*/
|
|
1655
|
+
skip?: number
|
|
1656
|
+
/**
|
|
1657
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1658
|
+
*
|
|
1659
|
+
* Filter by unique combinations of clientMaterialMovementLogs.
|
|
1660
|
+
*/
|
|
1661
|
+
distinct?: Prisma.ClientMaterialMovementLogScalarFieldEnum | Prisma.ClientMaterialMovementLogScalarFieldEnum[]
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* clientMaterialMovementLog findMany
|
|
1666
|
+
*/
|
|
1667
|
+
export type clientMaterialMovementLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1668
|
+
/**
|
|
1669
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1670
|
+
*/
|
|
1671
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1672
|
+
/**
|
|
1673
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1674
|
+
*/
|
|
1675
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1676
|
+
/**
|
|
1677
|
+
* Choose, which related nodes to fetch as well
|
|
1678
|
+
*/
|
|
1679
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1680
|
+
/**
|
|
1681
|
+
* Filter, which clientMaterialMovementLogs to fetch.
|
|
1682
|
+
*/
|
|
1683
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1684
|
+
/**
|
|
1685
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1686
|
+
*
|
|
1687
|
+
* Determine the order of clientMaterialMovementLogs to fetch.
|
|
1688
|
+
*/
|
|
1689
|
+
orderBy?: Prisma.clientMaterialMovementLogOrderByWithRelationInput | Prisma.clientMaterialMovementLogOrderByWithRelationInput[]
|
|
1690
|
+
/**
|
|
1691
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1692
|
+
*
|
|
1693
|
+
* Sets the position for listing clientMaterialMovementLogs.
|
|
1694
|
+
*/
|
|
1695
|
+
cursor?: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1696
|
+
/**
|
|
1697
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1698
|
+
*
|
|
1699
|
+
* Take `±n` clientMaterialMovementLogs from the position of the cursor.
|
|
1700
|
+
*/
|
|
1701
|
+
take?: number
|
|
1702
|
+
/**
|
|
1703
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1704
|
+
*
|
|
1705
|
+
* Skip the first `n` clientMaterialMovementLogs.
|
|
1706
|
+
*/
|
|
1707
|
+
skip?: number
|
|
1708
|
+
distinct?: Prisma.ClientMaterialMovementLogScalarFieldEnum | Prisma.ClientMaterialMovementLogScalarFieldEnum[]
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* clientMaterialMovementLog create
|
|
1713
|
+
*/
|
|
1714
|
+
export type clientMaterialMovementLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1715
|
+
/**
|
|
1716
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1717
|
+
*/
|
|
1718
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1719
|
+
/**
|
|
1720
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1721
|
+
*/
|
|
1722
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1723
|
+
/**
|
|
1724
|
+
* Choose, which related nodes to fetch as well
|
|
1725
|
+
*/
|
|
1726
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1727
|
+
/**
|
|
1728
|
+
* The data needed to create a clientMaterialMovementLog.
|
|
1729
|
+
*/
|
|
1730
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogCreateInput, Prisma.clientMaterialMovementLogUncheckedCreateInput>
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* clientMaterialMovementLog createMany
|
|
1735
|
+
*/
|
|
1736
|
+
export type clientMaterialMovementLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1737
|
+
/**
|
|
1738
|
+
* The data used to create many clientMaterialMovementLogs.
|
|
1739
|
+
*/
|
|
1740
|
+
data: Prisma.clientMaterialMovementLogCreateManyInput | Prisma.clientMaterialMovementLogCreateManyInput[]
|
|
1741
|
+
skipDuplicates?: boolean
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* clientMaterialMovementLog createManyAndReturn
|
|
1746
|
+
*/
|
|
1747
|
+
export type clientMaterialMovementLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1750
|
+
*/
|
|
1751
|
+
select?: Prisma.clientMaterialMovementLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1752
|
+
/**
|
|
1753
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1754
|
+
*/
|
|
1755
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1756
|
+
/**
|
|
1757
|
+
* The data used to create many clientMaterialMovementLogs.
|
|
1758
|
+
*/
|
|
1759
|
+
data: Prisma.clientMaterialMovementLogCreateManyInput | Prisma.clientMaterialMovementLogCreateManyInput[]
|
|
1760
|
+
skipDuplicates?: boolean
|
|
1761
|
+
/**
|
|
1762
|
+
* Choose, which related nodes to fetch as well
|
|
1763
|
+
*/
|
|
1764
|
+
include?: Prisma.clientMaterialMovementLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* clientMaterialMovementLog update
|
|
1769
|
+
*/
|
|
1770
|
+
export type clientMaterialMovementLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1771
|
+
/**
|
|
1772
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1773
|
+
*/
|
|
1774
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1775
|
+
/**
|
|
1776
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1777
|
+
*/
|
|
1778
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1779
|
+
/**
|
|
1780
|
+
* Choose, which related nodes to fetch as well
|
|
1781
|
+
*/
|
|
1782
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1783
|
+
/**
|
|
1784
|
+
* The data needed to update a clientMaterialMovementLog.
|
|
1785
|
+
*/
|
|
1786
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateInput, Prisma.clientMaterialMovementLogUncheckedUpdateInput>
|
|
1787
|
+
/**
|
|
1788
|
+
* Choose, which clientMaterialMovementLog to update.
|
|
1789
|
+
*/
|
|
1790
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* clientMaterialMovementLog updateMany
|
|
1795
|
+
*/
|
|
1796
|
+
export type clientMaterialMovementLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1797
|
+
/**
|
|
1798
|
+
* The data used to update clientMaterialMovementLogs.
|
|
1799
|
+
*/
|
|
1800
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateManyMutationInput, Prisma.clientMaterialMovementLogUncheckedUpdateManyInput>
|
|
1801
|
+
/**
|
|
1802
|
+
* Filter which clientMaterialMovementLogs to update
|
|
1803
|
+
*/
|
|
1804
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1805
|
+
/**
|
|
1806
|
+
* Limit how many clientMaterialMovementLogs to update.
|
|
1807
|
+
*/
|
|
1808
|
+
limit?: number
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* clientMaterialMovementLog updateManyAndReturn
|
|
1813
|
+
*/
|
|
1814
|
+
export type clientMaterialMovementLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1815
|
+
/**
|
|
1816
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1817
|
+
*/
|
|
1818
|
+
select?: Prisma.clientMaterialMovementLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1819
|
+
/**
|
|
1820
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1821
|
+
*/
|
|
1822
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1823
|
+
/**
|
|
1824
|
+
* The data used to update clientMaterialMovementLogs.
|
|
1825
|
+
*/
|
|
1826
|
+
data: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateManyMutationInput, Prisma.clientMaterialMovementLogUncheckedUpdateManyInput>
|
|
1827
|
+
/**
|
|
1828
|
+
* Filter which clientMaterialMovementLogs to update
|
|
1829
|
+
*/
|
|
1830
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1831
|
+
/**
|
|
1832
|
+
* Limit how many clientMaterialMovementLogs to update.
|
|
1833
|
+
*/
|
|
1834
|
+
limit?: number
|
|
1835
|
+
/**
|
|
1836
|
+
* Choose, which related nodes to fetch as well
|
|
1837
|
+
*/
|
|
1838
|
+
include?: Prisma.clientMaterialMovementLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* clientMaterialMovementLog upsert
|
|
1843
|
+
*/
|
|
1844
|
+
export type clientMaterialMovementLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1845
|
+
/**
|
|
1846
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1847
|
+
*/
|
|
1848
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1849
|
+
/**
|
|
1850
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1851
|
+
*/
|
|
1852
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1853
|
+
/**
|
|
1854
|
+
* Choose, which related nodes to fetch as well
|
|
1855
|
+
*/
|
|
1856
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1857
|
+
/**
|
|
1858
|
+
* The filter to search for the clientMaterialMovementLog to update in case it exists.
|
|
1859
|
+
*/
|
|
1860
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1861
|
+
/**
|
|
1862
|
+
* In case the clientMaterialMovementLog found by the `where` argument doesn't exist, create a new clientMaterialMovementLog with this data.
|
|
1863
|
+
*/
|
|
1864
|
+
create: Prisma.XOR<Prisma.clientMaterialMovementLogCreateInput, Prisma.clientMaterialMovementLogUncheckedCreateInput>
|
|
1865
|
+
/**
|
|
1866
|
+
* In case the clientMaterialMovementLog was found with the provided `where` argument, update it with this data.
|
|
1867
|
+
*/
|
|
1868
|
+
update: Prisma.XOR<Prisma.clientMaterialMovementLogUpdateInput, Prisma.clientMaterialMovementLogUncheckedUpdateInput>
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* clientMaterialMovementLog delete
|
|
1873
|
+
*/
|
|
1874
|
+
export type clientMaterialMovementLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1877
|
+
*/
|
|
1878
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1879
|
+
/**
|
|
1880
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1881
|
+
*/
|
|
1882
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1883
|
+
/**
|
|
1884
|
+
* Choose, which related nodes to fetch as well
|
|
1885
|
+
*/
|
|
1886
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1887
|
+
/**
|
|
1888
|
+
* Filter which clientMaterialMovementLog to delete.
|
|
1889
|
+
*/
|
|
1890
|
+
where: Prisma.clientMaterialMovementLogWhereUniqueInput
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* clientMaterialMovementLog deleteMany
|
|
1895
|
+
*/
|
|
1896
|
+
export type clientMaterialMovementLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1897
|
+
/**
|
|
1898
|
+
* Filter which clientMaterialMovementLogs to delete
|
|
1899
|
+
*/
|
|
1900
|
+
where?: Prisma.clientMaterialMovementLogWhereInput
|
|
1901
|
+
/**
|
|
1902
|
+
* Limit how many clientMaterialMovementLogs to delete.
|
|
1903
|
+
*/
|
|
1904
|
+
limit?: number
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* clientMaterialMovementLog.material
|
|
1909
|
+
*/
|
|
1910
|
+
export type clientMaterialMovementLog$materialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1911
|
+
/**
|
|
1912
|
+
* Select specific fields to fetch from the clientMaterial
|
|
1913
|
+
*/
|
|
1914
|
+
select?: Prisma.clientMaterialSelect<ExtArgs> | null
|
|
1915
|
+
/**
|
|
1916
|
+
* Omit specific fields from the clientMaterial
|
|
1917
|
+
*/
|
|
1918
|
+
omit?: Prisma.clientMaterialOmit<ExtArgs> | null
|
|
1919
|
+
/**
|
|
1920
|
+
* Choose, which related nodes to fetch as well
|
|
1921
|
+
*/
|
|
1922
|
+
include?: Prisma.clientMaterialInclude<ExtArgs> | null
|
|
1923
|
+
where?: Prisma.clientMaterialWhereInput
|
|
1924
|
+
orderBy?: Prisma.clientMaterialOrderByWithRelationInput | Prisma.clientMaterialOrderByWithRelationInput[]
|
|
1925
|
+
cursor?: Prisma.clientMaterialWhereUniqueInput
|
|
1926
|
+
take?: number
|
|
1927
|
+
skip?: number
|
|
1928
|
+
distinct?: Prisma.ClientMaterialScalarFieldEnum | Prisma.ClientMaterialScalarFieldEnum[]
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* clientMaterialMovementLog.dispatchProject
|
|
1933
|
+
*/
|
|
1934
|
+
export type clientMaterialMovementLog$dispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1935
|
+
/**
|
|
1936
|
+
* Select specific fields to fetch from the DispatchProject
|
|
1937
|
+
*/
|
|
1938
|
+
select?: Prisma.DispatchProjectSelect<ExtArgs> | null
|
|
1939
|
+
/**
|
|
1940
|
+
* Omit specific fields from the DispatchProject
|
|
1941
|
+
*/
|
|
1942
|
+
omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
|
|
1943
|
+
/**
|
|
1944
|
+
* Choose, which related nodes to fetch as well
|
|
1945
|
+
*/
|
|
1946
|
+
include?: Prisma.DispatchProjectInclude<ExtArgs> | null
|
|
1947
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* clientMaterialMovementLog without action
|
|
1952
|
+
*/
|
|
1953
|
+
export type clientMaterialMovementLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1954
|
+
/**
|
|
1955
|
+
* Select specific fields to fetch from the clientMaterialMovementLog
|
|
1956
|
+
*/
|
|
1957
|
+
select?: Prisma.clientMaterialMovementLogSelect<ExtArgs> | null
|
|
1958
|
+
/**
|
|
1959
|
+
* Omit specific fields from the clientMaterialMovementLog
|
|
1960
|
+
*/
|
|
1961
|
+
omit?: Prisma.clientMaterialMovementLogOmit<ExtArgs> | null
|
|
1962
|
+
/**
|
|
1963
|
+
* Choose, which related nodes to fetch as well
|
|
1964
|
+
*/
|
|
1965
|
+
include?: Prisma.clientMaterialMovementLogInclude<ExtArgs> | null
|
|
1966
|
+
}
|