efiber-prisma-schema 1.16.2 → 2.0.1
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 +12 -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/schema.prisma +2 -2
- 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 `TeamMaterialMovementLog` 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 TeamMaterialMovementLog
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TeamMaterialMovementLogModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamMaterialMovementLogPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTeamMaterialMovementLog = {
|
|
22
|
+
_count: TeamMaterialMovementLogCountAggregateOutputType | null
|
|
23
|
+
_avg: TeamMaterialMovementLogAvgAggregateOutputType | null
|
|
24
|
+
_sum: TeamMaterialMovementLogSumAggregateOutputType | null
|
|
25
|
+
_min: TeamMaterialMovementLogMinAggregateOutputType | null
|
|
26
|
+
_max: TeamMaterialMovementLogMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type TeamMaterialMovementLogAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type TeamMaterialMovementLogSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type TeamMaterialMovementLogMinAggregateOutputType = {
|
|
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 TeamMaterialMovementLogMaxAggregateOutputType = {
|
|
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 TeamMaterialMovementLogCountAggregateOutputType = {
|
|
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 TeamMaterialMovementLogAvgAggregateInputType = {
|
|
92
|
+
no?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type TeamMaterialMovementLogSumAggregateInputType = {
|
|
96
|
+
no?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type TeamMaterialMovementLogMinAggregateInputType = {
|
|
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 TeamMaterialMovementLogMaxAggregateInputType = {
|
|
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 TeamMaterialMovementLogCountAggregateInputType = {
|
|
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 TeamMaterialMovementLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
/**
|
|
154
|
+
* Filter which TeamMaterialMovementLog to aggregate.
|
|
155
|
+
*/
|
|
156
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
159
|
+
*
|
|
160
|
+
* Determine the order of TeamMaterialMovementLogs to fetch.
|
|
161
|
+
*/
|
|
162
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithRelationInput | Prisma.TeamMaterialMovementLogOrderByWithRelationInput[]
|
|
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.TeamMaterialMovementLogWhereUniqueInput
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
171
|
+
*
|
|
172
|
+
* Take `±n` TeamMaterialMovementLogs 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` TeamMaterialMovementLogs.
|
|
179
|
+
*/
|
|
180
|
+
skip?: number
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
+
*
|
|
184
|
+
* Count returned TeamMaterialMovementLogs
|
|
185
|
+
**/
|
|
186
|
+
_count?: true | TeamMaterialMovementLogCountAggregateInputType
|
|
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?: TeamMaterialMovementLogAvgAggregateInputType
|
|
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?: TeamMaterialMovementLogSumAggregateInputType
|
|
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?: TeamMaterialMovementLogMinAggregateInputType
|
|
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?: TeamMaterialMovementLogMaxAggregateInputType
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type GetTeamMaterialMovementLogAggregateType<T extends TeamMaterialMovementLogAggregateArgs> = {
|
|
214
|
+
[P in keyof T & keyof AggregateTeamMaterialMovementLog]: P extends '_count' | 'count'
|
|
215
|
+
? T[P] extends true
|
|
216
|
+
? number
|
|
217
|
+
: Prisma.GetScalarType<T[P], AggregateTeamMaterialMovementLog[P]>
|
|
218
|
+
: Prisma.GetScalarType<T[P], AggregateTeamMaterialMovementLog[P]>
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
export type TeamMaterialMovementLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
225
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
226
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithAggregationInput | Prisma.TeamMaterialMovementLogOrderByWithAggregationInput[]
|
|
227
|
+
by: Prisma.TeamMaterialMovementLogScalarFieldEnum[] | Prisma.TeamMaterialMovementLogScalarFieldEnum
|
|
228
|
+
having?: Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput
|
|
229
|
+
take?: number
|
|
230
|
+
skip?: number
|
|
231
|
+
_count?: TeamMaterialMovementLogCountAggregateInputType | true
|
|
232
|
+
_avg?: TeamMaterialMovementLogAvgAggregateInputType
|
|
233
|
+
_sum?: TeamMaterialMovementLogSumAggregateInputType
|
|
234
|
+
_min?: TeamMaterialMovementLogMinAggregateInputType
|
|
235
|
+
_max?: TeamMaterialMovementLogMaxAggregateInputType
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type TeamMaterialMovementLogGroupByOutputType = {
|
|
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: TeamMaterialMovementLogCountAggregateOutputType | null
|
|
255
|
+
_avg: TeamMaterialMovementLogAvgAggregateOutputType | null
|
|
256
|
+
_sum: TeamMaterialMovementLogSumAggregateOutputType | null
|
|
257
|
+
_min: TeamMaterialMovementLogMinAggregateOutputType | null
|
|
258
|
+
_max: TeamMaterialMovementLogMaxAggregateOutputType | null
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
type GetTeamMaterialMovementLogGroupByPayload<T extends TeamMaterialMovementLogGroupByArgs> = Prisma.PrismaPromise<
|
|
262
|
+
Array<
|
|
263
|
+
Prisma.PickEnumerable<TeamMaterialMovementLogGroupByOutputType, T['by']> &
|
|
264
|
+
{
|
|
265
|
+
[P in ((keyof T) & (keyof TeamMaterialMovementLogGroupByOutputType))]: P extends '_count'
|
|
266
|
+
? T[P] extends boolean
|
|
267
|
+
? number
|
|
268
|
+
: Prisma.GetScalarType<T[P], TeamMaterialMovementLogGroupByOutputType[P]>
|
|
269
|
+
: Prisma.GetScalarType<T[P], TeamMaterialMovementLogGroupByOutputType[P]>
|
|
270
|
+
}
|
|
271
|
+
>
|
|
272
|
+
>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
export type TeamMaterialMovementLogWhereInput = {
|
|
277
|
+
AND?: Prisma.TeamMaterialMovementLogWhereInput | Prisma.TeamMaterialMovementLogWhereInput[]
|
|
278
|
+
OR?: Prisma.TeamMaterialMovementLogWhereInput[]
|
|
279
|
+
NOT?: Prisma.TeamMaterialMovementLogWhereInput | Prisma.TeamMaterialMovementLogWhereInput[]
|
|
280
|
+
id?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
281
|
+
no?: Prisma.IntFilter<"TeamMaterialMovementLog"> | number
|
|
282
|
+
movementType?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
283
|
+
movementFrom?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
284
|
+
movementFromName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
285
|
+
movementFromId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
286
|
+
movementTo?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
287
|
+
movementToName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
288
|
+
movementToId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
289
|
+
quantity?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
290
|
+
materialMoved?: Prisma.JsonNullableFilter<"TeamMaterialMovementLog">
|
|
291
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
292
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
293
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
294
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterialMovementLog"> | Date | string | null
|
|
295
|
+
material?: Prisma.TeamMaterialListRelationFilter
|
|
296
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type TeamMaterialMovementLogOrderByWithRelationInput = {
|
|
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.TeamMaterialOrderByRelationAggregateInput
|
|
316
|
+
dispatchProject?: Prisma.DispatchProjectOrderByWithRelationInput
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export type TeamMaterialMovementLogWhereUniqueInput = Prisma.AtLeast<{
|
|
320
|
+
id?: string
|
|
321
|
+
AND?: Prisma.TeamMaterialMovementLogWhereInput | Prisma.TeamMaterialMovementLogWhereInput[]
|
|
322
|
+
OR?: Prisma.TeamMaterialMovementLogWhereInput[]
|
|
323
|
+
NOT?: Prisma.TeamMaterialMovementLogWhereInput | Prisma.TeamMaterialMovementLogWhereInput[]
|
|
324
|
+
no?: Prisma.IntFilter<"TeamMaterialMovementLog"> | number
|
|
325
|
+
movementType?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
326
|
+
movementFrom?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
327
|
+
movementFromName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
328
|
+
movementFromId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
329
|
+
movementTo?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
330
|
+
movementToName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
331
|
+
movementToId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
332
|
+
quantity?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
333
|
+
materialMoved?: Prisma.JsonNullableFilter<"TeamMaterialMovementLog">
|
|
334
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
335
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
336
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
337
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterialMovementLog"> | Date | string | null
|
|
338
|
+
material?: Prisma.TeamMaterialListRelationFilter
|
|
339
|
+
dispatchProject?: Prisma.XOR<Prisma.DispatchProjectNullableScalarRelationFilter, Prisma.DispatchProjectWhereInput> | null
|
|
340
|
+
}, "id" | "id">
|
|
341
|
+
|
|
342
|
+
export type TeamMaterialMovementLogOrderByWithAggregationInput = {
|
|
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.TeamMaterialMovementLogCountOrderByAggregateInput
|
|
359
|
+
_avg?: Prisma.TeamMaterialMovementLogAvgOrderByAggregateInput
|
|
360
|
+
_max?: Prisma.TeamMaterialMovementLogMaxOrderByAggregateInput
|
|
361
|
+
_min?: Prisma.TeamMaterialMovementLogMinOrderByAggregateInput
|
|
362
|
+
_sum?: Prisma.TeamMaterialMovementLogSumOrderByAggregateInput
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type TeamMaterialMovementLogScalarWhereWithAggregatesInput = {
|
|
366
|
+
AND?: Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput | Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
367
|
+
OR?: Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
368
|
+
NOT?: Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput | Prisma.TeamMaterialMovementLogScalarWhereWithAggregatesInput[]
|
|
369
|
+
id?: Prisma.StringWithAggregatesFilter<"TeamMaterialMovementLog"> | string
|
|
370
|
+
no?: Prisma.IntWithAggregatesFilter<"TeamMaterialMovementLog"> | number
|
|
371
|
+
movementType?: Prisma.StringWithAggregatesFilter<"TeamMaterialMovementLog"> | string
|
|
372
|
+
movementFrom?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
373
|
+
movementFromName?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
374
|
+
movementFromId?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
375
|
+
movementTo?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
376
|
+
movementToName?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
377
|
+
movementToId?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
378
|
+
quantity?: Prisma.StringWithAggregatesFilter<"TeamMaterialMovementLog"> | string
|
|
379
|
+
materialMoved?: Prisma.JsonNullableWithAggregatesFilter<"TeamMaterialMovementLog">
|
|
380
|
+
dispatchProjectId?: Prisma.StringNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | string | null
|
|
381
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TeamMaterialMovementLog"> | Date | string
|
|
382
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TeamMaterialMovementLog"> | Date | string
|
|
383
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TeamMaterialMovementLog"> | Date | string | null
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export type TeamMaterialMovementLogCreateInput = {
|
|
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.TeamMaterialCreateNestedManyWithoutTeamMaterialMovementLogInput
|
|
402
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedOneWithoutTeamMaterialMovementLogInput
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export type TeamMaterialMovementLogUncheckedCreateInput = {
|
|
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.TeamMaterialUncheckedCreateNestedManyWithoutTeamMaterialMovementLogInput
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type TeamMaterialMovementLogUpdateInput = {
|
|
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.TeamMaterialUpdateManyWithoutTeamMaterialMovementLogNestedInput
|
|
440
|
+
dispatchProject?: Prisma.DispatchProjectUpdateOneWithoutTeamMaterialMovementLogNestedInput
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type TeamMaterialMovementLogUncheckedUpdateInput = {
|
|
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.TeamMaterialUncheckedUpdateManyWithoutTeamMaterialMovementLogNestedInput
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type TeamMaterialMovementLogCreateManyInput = {
|
|
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 TeamMaterialMovementLogUpdateManyMutationInput = {
|
|
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 TeamMaterialMovementLogUncheckedUpdateManyInput = {
|
|
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 TeamMaterialMovementLogListRelationFilter = {
|
|
516
|
+
every?: Prisma.TeamMaterialMovementLogWhereInput
|
|
517
|
+
some?: Prisma.TeamMaterialMovementLogWhereInput
|
|
518
|
+
none?: Prisma.TeamMaterialMovementLogWhereInput
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
export type TeamMaterialMovementLogOrderByRelationAggregateInput = {
|
|
522
|
+
_count?: Prisma.SortOrder
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type TeamMaterialMovementLogCountOrderByAggregateInput = {
|
|
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 TeamMaterialMovementLogAvgOrderByAggregateInput = {
|
|
544
|
+
no?: Prisma.SortOrder
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type TeamMaterialMovementLogMaxOrderByAggregateInput = {
|
|
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 TeamMaterialMovementLogMinOrderByAggregateInput = {
|
|
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 TeamMaterialMovementLogSumOrderByAggregateInput = {
|
|
582
|
+
no?: Prisma.SortOrder
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export type TeamMaterialMovementLogCreateNestedManyWithoutDispatchProjectInput = {
|
|
586
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
587
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
588
|
+
createMany?: Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
589
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
export type TeamMaterialMovementLogUncheckedCreateNestedManyWithoutDispatchProjectInput = {
|
|
593
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
594
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
595
|
+
createMany?: Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
596
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type TeamMaterialMovementLogUpdateManyWithoutDispatchProjectNestedInput = {
|
|
600
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
601
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
602
|
+
upsert?: Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
603
|
+
createMany?: Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
604
|
+
set?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
605
|
+
disconnect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
606
|
+
delete?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
607
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
608
|
+
update?: Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
609
|
+
updateMany?: Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
610
|
+
deleteMany?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export type TeamMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectNestedInput = {
|
|
614
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput[]
|
|
615
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput[]
|
|
616
|
+
upsert?: Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
617
|
+
createMany?: Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInputEnvelope
|
|
618
|
+
set?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
619
|
+
disconnect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
620
|
+
delete?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
621
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
622
|
+
update?: Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
623
|
+
updateMany?: Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
624
|
+
deleteMany?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export type TeamMaterialMovementLogCreateNestedManyWithoutMaterialInput = {
|
|
628
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
629
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
630
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
export type TeamMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput = {
|
|
634
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
635
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
636
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
export type TeamMaterialMovementLogUpdateManyWithoutMaterialNestedInput = {
|
|
640
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
641
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
642
|
+
upsert?: Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
643
|
+
set?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
644
|
+
disconnect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
645
|
+
delete?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
646
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
647
|
+
update?: Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
648
|
+
updateMany?: Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput[]
|
|
649
|
+
deleteMany?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
export type TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput = {
|
|
653
|
+
create?: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput[] | Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput[]
|
|
654
|
+
connectOrCreate?: Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput[]
|
|
655
|
+
upsert?: Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
656
|
+
set?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
657
|
+
disconnect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
658
|
+
delete?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
659
|
+
connect?: Prisma.TeamMaterialMovementLogWhereUniqueInput | Prisma.TeamMaterialMovementLogWhereUniqueInput[]
|
|
660
|
+
update?: Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
661
|
+
updateMany?: Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput | Prisma.TeamMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput[]
|
|
662
|
+
deleteMany?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export type TeamMaterialMovementLogCreateWithoutDispatchProjectInput = {
|
|
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.TeamMaterialCreateNestedManyWithoutTeamMaterialMovementLogInput
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export type TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput = {
|
|
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.TeamMaterialUncheckedCreateNestedManyWithoutTeamMaterialMovementLogInput
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export type TeamMaterialMovementLogCreateOrConnectWithoutDispatchProjectInput = {
|
|
702
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
703
|
+
create: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput>
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export type TeamMaterialMovementLogCreateManyDispatchProjectInputEnvelope = {
|
|
707
|
+
data: Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInput | Prisma.TeamMaterialMovementLogCreateManyDispatchProjectInput[]
|
|
708
|
+
skipDuplicates?: boolean
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export type TeamMaterialMovementLogUpsertWithWhereUniqueWithoutDispatchProjectInput = {
|
|
712
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
713
|
+
update: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput>
|
|
714
|
+
create: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutDispatchProjectInput>
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export type TeamMaterialMovementLogUpdateWithWhereUniqueWithoutDispatchProjectInput = {
|
|
718
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
719
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateWithoutDispatchProjectInput, Prisma.TeamMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput>
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
export type TeamMaterialMovementLogUpdateManyWithWhereWithoutDispatchProjectInput = {
|
|
723
|
+
where: Prisma.TeamMaterialMovementLogScalarWhereInput
|
|
724
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateManyMutationInput, Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectInput>
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export type TeamMaterialMovementLogScalarWhereInput = {
|
|
728
|
+
AND?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
729
|
+
OR?: Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
730
|
+
NOT?: Prisma.TeamMaterialMovementLogScalarWhereInput | Prisma.TeamMaterialMovementLogScalarWhereInput[]
|
|
731
|
+
id?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
732
|
+
no?: Prisma.IntFilter<"TeamMaterialMovementLog"> | number
|
|
733
|
+
movementType?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
734
|
+
movementFrom?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
735
|
+
movementFromName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
736
|
+
movementFromId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
737
|
+
movementTo?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
738
|
+
movementToName?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
739
|
+
movementToId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
740
|
+
quantity?: Prisma.StringFilter<"TeamMaterialMovementLog"> | string
|
|
741
|
+
materialMoved?: Prisma.JsonNullableFilter<"TeamMaterialMovementLog">
|
|
742
|
+
dispatchProjectId?: Prisma.StringNullableFilter<"TeamMaterialMovementLog"> | string | null
|
|
743
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
744
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterialMovementLog"> | Date | string
|
|
745
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterialMovementLog"> | Date | string | null
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export type TeamMaterialMovementLogCreateWithoutMaterialInput = {
|
|
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.DispatchProjectCreateNestedOneWithoutTeamMaterialMovementLogInput
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export type TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput = {
|
|
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 TeamMaterialMovementLogCreateOrConnectWithoutMaterialInput = {
|
|
785
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
786
|
+
create: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput>
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type TeamMaterialMovementLogUpsertWithWhereUniqueWithoutMaterialInput = {
|
|
790
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
791
|
+
update: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedUpdateWithoutMaterialInput>
|
|
792
|
+
create: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedCreateWithoutMaterialInput>
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type TeamMaterialMovementLogUpdateWithWhereUniqueWithoutMaterialInput = {
|
|
796
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
797
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateWithoutMaterialInput, Prisma.TeamMaterialMovementLogUncheckedUpdateWithoutMaterialInput>
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type TeamMaterialMovementLogUpdateManyWithWhereWithoutMaterialInput = {
|
|
801
|
+
where: Prisma.TeamMaterialMovementLogScalarWhereInput
|
|
802
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateManyMutationInput, Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialInput>
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type TeamMaterialMovementLogCreateManyDispatchProjectInput = {
|
|
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 TeamMaterialMovementLogUpdateWithoutDispatchProjectInput = {
|
|
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.TeamMaterialUpdateManyWithoutTeamMaterialMovementLogNestedInput
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export type TeamMaterialMovementLogUncheckedUpdateWithoutDispatchProjectInput = {
|
|
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.TeamMaterialUncheckedUpdateManyWithoutTeamMaterialMovementLogNestedInput
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export type TeamMaterialMovementLogUncheckedUpdateManyWithoutDispatchProjectInput = {
|
|
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 TeamMaterialMovementLogUpdateWithoutMaterialInput = {
|
|
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.DispatchProjectUpdateOneWithoutTeamMaterialMovementLogNestedInput
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export type TeamMaterialMovementLogUncheckedUpdateWithoutMaterialInput = {
|
|
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 TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialInput = {
|
|
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 TeamMaterialMovementLogCountOutputType
|
|
932
|
+
*/
|
|
933
|
+
|
|
934
|
+
export type TeamMaterialMovementLogCountOutputType = {
|
|
935
|
+
material: number
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export type TeamMaterialMovementLogCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
939
|
+
material?: boolean | TeamMaterialMovementLogCountOutputTypeCountMaterialArgs
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* TeamMaterialMovementLogCountOutputType without action
|
|
944
|
+
*/
|
|
945
|
+
export type TeamMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
946
|
+
/**
|
|
947
|
+
* Select specific fields to fetch from the TeamMaterialMovementLogCountOutputType
|
|
948
|
+
*/
|
|
949
|
+
select?: Prisma.TeamMaterialMovementLogCountOutputTypeSelect<ExtArgs> | null
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* TeamMaterialMovementLogCountOutputType without action
|
|
954
|
+
*/
|
|
955
|
+
export type TeamMaterialMovementLogCountOutputTypeCountMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
956
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
export type TeamMaterialMovementLogSelect<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.TeamMaterialMovementLog$materialArgs<ExtArgs>
|
|
977
|
+
dispatchProject?: boolean | Prisma.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
978
|
+
_count?: boolean | Prisma.TeamMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs>
|
|
979
|
+
}, ExtArgs["result"]["teamMaterialMovementLog"]>
|
|
980
|
+
|
|
981
|
+
export type TeamMaterialMovementLogSelectCreateManyAndReturn<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.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
998
|
+
}, ExtArgs["result"]["teamMaterialMovementLog"]>
|
|
999
|
+
|
|
1000
|
+
export type TeamMaterialMovementLogSelectUpdateManyAndReturn<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.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1017
|
+
}, ExtArgs["result"]["teamMaterialMovementLog"]>
|
|
1018
|
+
|
|
1019
|
+
export type TeamMaterialMovementLogSelectScalar = {
|
|
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 TeamMaterialMovementLogOmit<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"]["teamMaterialMovementLog"]>
|
|
1038
|
+
export type TeamMaterialMovementLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
material?: boolean | Prisma.TeamMaterialMovementLog$materialArgs<ExtArgs>
|
|
1040
|
+
dispatchProject?: boolean | Prisma.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1041
|
+
_count?: boolean | Prisma.TeamMaterialMovementLogCountOutputTypeDefaultArgs<ExtArgs>
|
|
1042
|
+
}
|
|
1043
|
+
export type TeamMaterialMovementLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
dispatchProject?: boolean | Prisma.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1045
|
+
}
|
|
1046
|
+
export type TeamMaterialMovementLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
+
dispatchProject?: boolean | Prisma.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs>
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export type $TeamMaterialMovementLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
name: "TeamMaterialMovementLog"
|
|
1052
|
+
objects: {
|
|
1053
|
+
material: Prisma.$TeamMaterialPayload<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"]["teamMaterialMovementLog"]>
|
|
1073
|
+
composites: {}
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export type TeamMaterialMovementLogGetPayload<S extends boolean | null | undefined | TeamMaterialMovementLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload, S>
|
|
1077
|
+
|
|
1078
|
+
export type TeamMaterialMovementLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1079
|
+
Omit<TeamMaterialMovementLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1080
|
+
select?: TeamMaterialMovementLogCountAggregateInputType | true
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export interface TeamMaterialMovementLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1084
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TeamMaterialMovementLog'], meta: { name: 'TeamMaterialMovementLog' } }
|
|
1085
|
+
/**
|
|
1086
|
+
* Find zero or one TeamMaterialMovementLog that matches the filter.
|
|
1087
|
+
* @param {TeamMaterialMovementLogFindUniqueArgs} args - Arguments to find a TeamMaterialMovementLog
|
|
1088
|
+
* @example
|
|
1089
|
+
* // Get one TeamMaterialMovementLog
|
|
1090
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.findUnique({
|
|
1091
|
+
* where: {
|
|
1092
|
+
* // ... provide filter here
|
|
1093
|
+
* }
|
|
1094
|
+
* })
|
|
1095
|
+
*/
|
|
1096
|
+
findUnique<T extends TeamMaterialMovementLogFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Find one TeamMaterialMovementLog that matches the filter or throw an error with `error.code='P2025'`
|
|
1100
|
+
* if no matches were found.
|
|
1101
|
+
* @param {TeamMaterialMovementLogFindUniqueOrThrowArgs} args - Arguments to find a TeamMaterialMovementLog
|
|
1102
|
+
* @example
|
|
1103
|
+
* // Get one TeamMaterialMovementLog
|
|
1104
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.findUniqueOrThrow({
|
|
1105
|
+
* where: {
|
|
1106
|
+
* // ... provide filter here
|
|
1107
|
+
* }
|
|
1108
|
+
* })
|
|
1109
|
+
*/
|
|
1110
|
+
findUniqueOrThrow<T extends TeamMaterialMovementLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1111
|
+
|
|
1112
|
+
/**
|
|
1113
|
+
* Find the first TeamMaterialMovementLog 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 {TeamMaterialMovementLogFindFirstArgs} args - Arguments to find a TeamMaterialMovementLog
|
|
1117
|
+
* @example
|
|
1118
|
+
* // Get one TeamMaterialMovementLog
|
|
1119
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.findFirst({
|
|
1120
|
+
* where: {
|
|
1121
|
+
* // ... provide filter here
|
|
1122
|
+
* }
|
|
1123
|
+
* })
|
|
1124
|
+
*/
|
|
1125
|
+
findFirst<T extends TeamMaterialMovementLogFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Find the first TeamMaterialMovementLog 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 {TeamMaterialMovementLogFindFirstOrThrowArgs} args - Arguments to find a TeamMaterialMovementLog
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Get one TeamMaterialMovementLog
|
|
1135
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.findFirstOrThrow({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... provide filter here
|
|
1138
|
+
* }
|
|
1139
|
+
* })
|
|
1140
|
+
*/
|
|
1141
|
+
findFirstOrThrow<T extends TeamMaterialMovementLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* Find zero or more TeamMaterialMovementLogs 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 {TeamMaterialMovementLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1148
|
+
* @example
|
|
1149
|
+
* // Get all TeamMaterialMovementLogs
|
|
1150
|
+
* const teamMaterialMovementLogs = await prisma.teamMaterialMovementLog.findMany()
|
|
1151
|
+
*
|
|
1152
|
+
* // Get first 10 TeamMaterialMovementLogs
|
|
1153
|
+
* const teamMaterialMovementLogs = await prisma.teamMaterialMovementLog.findMany({ take: 10 })
|
|
1154
|
+
*
|
|
1155
|
+
* // Only select the `id`
|
|
1156
|
+
* const teamMaterialMovementLogWithIdOnly = await prisma.teamMaterialMovementLog.findMany({ select: { id: true } })
|
|
1157
|
+
*
|
|
1158
|
+
*/
|
|
1159
|
+
findMany<T extends TeamMaterialMovementLogFindManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* Create a TeamMaterialMovementLog.
|
|
1163
|
+
* @param {TeamMaterialMovementLogCreateArgs} args - Arguments to create a TeamMaterialMovementLog.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Create one TeamMaterialMovementLog
|
|
1166
|
+
* const TeamMaterialMovementLog = await prisma.teamMaterialMovementLog.create({
|
|
1167
|
+
* data: {
|
|
1168
|
+
* // ... data to create a TeamMaterialMovementLog
|
|
1169
|
+
* }
|
|
1170
|
+
* })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
create<T extends TeamMaterialMovementLogCreateArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogCreateArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* Create many TeamMaterialMovementLogs.
|
|
1177
|
+
* @param {TeamMaterialMovementLogCreateManyArgs} args - Arguments to create many TeamMaterialMovementLogs.
|
|
1178
|
+
* @example
|
|
1179
|
+
* // Create many TeamMaterialMovementLogs
|
|
1180
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.createMany({
|
|
1181
|
+
* data: [
|
|
1182
|
+
* // ... provide data here
|
|
1183
|
+
* ]
|
|
1184
|
+
* })
|
|
1185
|
+
*
|
|
1186
|
+
*/
|
|
1187
|
+
createMany<T extends TeamMaterialMovementLogCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Create many TeamMaterialMovementLogs and returns the data saved in the database.
|
|
1191
|
+
* @param {TeamMaterialMovementLogCreateManyAndReturnArgs} args - Arguments to create many TeamMaterialMovementLogs.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Create many TeamMaterialMovementLogs
|
|
1194
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.createManyAndReturn({
|
|
1195
|
+
* data: [
|
|
1196
|
+
* // ... provide data here
|
|
1197
|
+
* ]
|
|
1198
|
+
* })
|
|
1199
|
+
*
|
|
1200
|
+
* // Create many TeamMaterialMovementLogs and only return the `id`
|
|
1201
|
+
* const teamMaterialMovementLogWithIdOnly = await prisma.teamMaterialMovementLog.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 TeamMaterialMovementLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Delete a TeamMaterialMovementLog.
|
|
1215
|
+
* @param {TeamMaterialMovementLogDeleteArgs} args - Arguments to delete one TeamMaterialMovementLog.
|
|
1216
|
+
* @example
|
|
1217
|
+
* // Delete one TeamMaterialMovementLog
|
|
1218
|
+
* const TeamMaterialMovementLog = await prisma.teamMaterialMovementLog.delete({
|
|
1219
|
+
* where: {
|
|
1220
|
+
* // ... filter to delete one TeamMaterialMovementLog
|
|
1221
|
+
* }
|
|
1222
|
+
* })
|
|
1223
|
+
*
|
|
1224
|
+
*/
|
|
1225
|
+
delete<T extends TeamMaterialMovementLogDeleteArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Update one TeamMaterialMovementLog.
|
|
1229
|
+
* @param {TeamMaterialMovementLogUpdateArgs} args - Arguments to update one TeamMaterialMovementLog.
|
|
1230
|
+
* @example
|
|
1231
|
+
* // Update one TeamMaterialMovementLog
|
|
1232
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.update({
|
|
1233
|
+
* where: {
|
|
1234
|
+
* // ... provide filter here
|
|
1235
|
+
* },
|
|
1236
|
+
* data: {
|
|
1237
|
+
* // ... provide data here
|
|
1238
|
+
* }
|
|
1239
|
+
* })
|
|
1240
|
+
*
|
|
1241
|
+
*/
|
|
1242
|
+
update<T extends TeamMaterialMovementLogUpdateArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Delete zero or more TeamMaterialMovementLogs.
|
|
1246
|
+
* @param {TeamMaterialMovementLogDeleteManyArgs} args - Arguments to filter TeamMaterialMovementLogs to delete.
|
|
1247
|
+
* @example
|
|
1248
|
+
* // Delete a few TeamMaterialMovementLogs
|
|
1249
|
+
* const { count } = await prisma.teamMaterialMovementLog.deleteMany({
|
|
1250
|
+
* where: {
|
|
1251
|
+
* // ... provide filter here
|
|
1252
|
+
* }
|
|
1253
|
+
* })
|
|
1254
|
+
*
|
|
1255
|
+
*/
|
|
1256
|
+
deleteMany<T extends TeamMaterialMovementLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialMovementLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Update zero or more TeamMaterialMovementLogs.
|
|
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 {TeamMaterialMovementLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1263
|
+
* @example
|
|
1264
|
+
* // Update many TeamMaterialMovementLogs
|
|
1265
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.updateMany({
|
|
1266
|
+
* where: {
|
|
1267
|
+
* // ... provide filter here
|
|
1268
|
+
* },
|
|
1269
|
+
* data: {
|
|
1270
|
+
* // ... provide data here
|
|
1271
|
+
* }
|
|
1272
|
+
* })
|
|
1273
|
+
*
|
|
1274
|
+
*/
|
|
1275
|
+
updateMany<T extends TeamMaterialMovementLogUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Update zero or more TeamMaterialMovementLogs and returns the data updated in the database.
|
|
1279
|
+
* @param {TeamMaterialMovementLogUpdateManyAndReturnArgs} args - Arguments to update many TeamMaterialMovementLogs.
|
|
1280
|
+
* @example
|
|
1281
|
+
* // Update many TeamMaterialMovementLogs
|
|
1282
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.updateManyAndReturn({
|
|
1283
|
+
* where: {
|
|
1284
|
+
* // ... provide filter here
|
|
1285
|
+
* },
|
|
1286
|
+
* data: [
|
|
1287
|
+
* // ... provide data here
|
|
1288
|
+
* ]
|
|
1289
|
+
* })
|
|
1290
|
+
*
|
|
1291
|
+
* // Update zero or more TeamMaterialMovementLogs and only return the `id`
|
|
1292
|
+
* const teamMaterialMovementLogWithIdOnly = await prisma.teamMaterialMovementLog.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 TeamMaterialMovementLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Create or update one TeamMaterialMovementLog.
|
|
1309
|
+
* @param {TeamMaterialMovementLogUpsertArgs} args - Arguments to update or create a TeamMaterialMovementLog.
|
|
1310
|
+
* @example
|
|
1311
|
+
* // Update or create a TeamMaterialMovementLog
|
|
1312
|
+
* const teamMaterialMovementLog = await prisma.teamMaterialMovementLog.upsert({
|
|
1313
|
+
* create: {
|
|
1314
|
+
* // ... data to create a TeamMaterialMovementLog
|
|
1315
|
+
* },
|
|
1316
|
+
* update: {
|
|
1317
|
+
* // ... in case it already exists, update
|
|
1318
|
+
* },
|
|
1319
|
+
* where: {
|
|
1320
|
+
* // ... the filter for the TeamMaterialMovementLog we want to update
|
|
1321
|
+
* }
|
|
1322
|
+
* })
|
|
1323
|
+
*/
|
|
1324
|
+
upsert<T extends TeamMaterialMovementLogUpsertArgs>(args: Prisma.SelectSubset<T, TeamMaterialMovementLogUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialMovementLogClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* Count the number of TeamMaterialMovementLogs.
|
|
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 {TeamMaterialMovementLogCountArgs} args - Arguments to filter TeamMaterialMovementLogs to count.
|
|
1332
|
+
* @example
|
|
1333
|
+
* // Count the number of TeamMaterialMovementLogs
|
|
1334
|
+
* const count = await prisma.teamMaterialMovementLog.count({
|
|
1335
|
+
* where: {
|
|
1336
|
+
* // ... the filter for the TeamMaterialMovementLogs we want to count
|
|
1337
|
+
* }
|
|
1338
|
+
* })
|
|
1339
|
+
**/
|
|
1340
|
+
count<T extends TeamMaterialMovementLogCountArgs>(
|
|
1341
|
+
args?: Prisma.Subset<T, TeamMaterialMovementLogCountArgs>,
|
|
1342
|
+
): Prisma.PrismaPromise<
|
|
1343
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1344
|
+
? T['select'] extends true
|
|
1345
|
+
? number
|
|
1346
|
+
: Prisma.GetScalarType<T['select'], TeamMaterialMovementLogCountAggregateOutputType>
|
|
1347
|
+
: number
|
|
1348
|
+
>
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Allows you to perform aggregations operations on a TeamMaterialMovementLog.
|
|
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 {TeamMaterialMovementLogAggregateArgs} 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 TeamMaterialMovementLogAggregateArgs>(args: Prisma.Subset<T, TeamMaterialMovementLogAggregateArgs>): Prisma.PrismaPromise<GetTeamMaterialMovementLogAggregateType<T>>
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Group by TeamMaterialMovementLog.
|
|
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 {TeamMaterialMovementLogGroupByArgs} 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 TeamMaterialMovementLogGroupByArgs,
|
|
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: TeamMaterialMovementLogGroupByArgs['orderBy'] }
|
|
1402
|
+
: { orderBy?: TeamMaterialMovementLogGroupByArgs['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, TeamMaterialMovementLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamMaterialMovementLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1452
|
+
/**
|
|
1453
|
+
* Fields of the TeamMaterialMovementLog model
|
|
1454
|
+
*/
|
|
1455
|
+
readonly fields: TeamMaterialMovementLogFieldRefs;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* The delegate class that acts as a "Promise-like" for TeamMaterialMovementLog.
|
|
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__TeamMaterialMovementLogClient<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.TeamMaterialMovementLog$materialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamMaterialMovementLog$materialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1467
|
+
dispatchProject<T extends Prisma.TeamMaterialMovementLog$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamMaterialMovementLog$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 TeamMaterialMovementLog model
|
|
1495
|
+
*/
|
|
1496
|
+
export interface TeamMaterialMovementLogFieldRefs {
|
|
1497
|
+
readonly id: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1498
|
+
readonly no: Prisma.FieldRef<"TeamMaterialMovementLog", 'Int'>
|
|
1499
|
+
readonly movementType: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1500
|
+
readonly movementFrom: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1501
|
+
readonly movementFromName: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1502
|
+
readonly movementFromId: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1503
|
+
readonly movementTo: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1504
|
+
readonly movementToName: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1505
|
+
readonly movementToId: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1506
|
+
readonly quantity: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1507
|
+
readonly materialMoved: Prisma.FieldRef<"TeamMaterialMovementLog", 'Json'>
|
|
1508
|
+
readonly dispatchProjectId: Prisma.FieldRef<"TeamMaterialMovementLog", 'String'>
|
|
1509
|
+
readonly createdAt: Prisma.FieldRef<"TeamMaterialMovementLog", 'DateTime'>
|
|
1510
|
+
readonly updatedAt: Prisma.FieldRef<"TeamMaterialMovementLog", 'DateTime'>
|
|
1511
|
+
readonly deletedAt: Prisma.FieldRef<"TeamMaterialMovementLog", 'DateTime'>
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
// Custom InputTypes
|
|
1516
|
+
/**
|
|
1517
|
+
* TeamMaterialMovementLog findUnique
|
|
1518
|
+
*/
|
|
1519
|
+
export type TeamMaterialMovementLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1522
|
+
*/
|
|
1523
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1526
|
+
*/
|
|
1527
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Choose, which related nodes to fetch as well
|
|
1530
|
+
*/
|
|
1531
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1532
|
+
/**
|
|
1533
|
+
* Filter, which TeamMaterialMovementLog to fetch.
|
|
1534
|
+
*/
|
|
1535
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* TeamMaterialMovementLog findUniqueOrThrow
|
|
1540
|
+
*/
|
|
1541
|
+
export type TeamMaterialMovementLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1544
|
+
*/
|
|
1545
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1546
|
+
/**
|
|
1547
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1548
|
+
*/
|
|
1549
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1550
|
+
/**
|
|
1551
|
+
* Choose, which related nodes to fetch as well
|
|
1552
|
+
*/
|
|
1553
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1554
|
+
/**
|
|
1555
|
+
* Filter, which TeamMaterialMovementLog to fetch.
|
|
1556
|
+
*/
|
|
1557
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* TeamMaterialMovementLog findFirst
|
|
1562
|
+
*/
|
|
1563
|
+
export type TeamMaterialMovementLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1566
|
+
*/
|
|
1567
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1568
|
+
/**
|
|
1569
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1570
|
+
*/
|
|
1571
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Choose, which related nodes to fetch as well
|
|
1574
|
+
*/
|
|
1575
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* Filter, which TeamMaterialMovementLog to fetch.
|
|
1578
|
+
*/
|
|
1579
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1580
|
+
/**
|
|
1581
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1582
|
+
*
|
|
1583
|
+
* Determine the order of TeamMaterialMovementLogs to fetch.
|
|
1584
|
+
*/
|
|
1585
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithRelationInput | Prisma.TeamMaterialMovementLogOrderByWithRelationInput[]
|
|
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 TeamMaterialMovementLogs.
|
|
1590
|
+
*/
|
|
1591
|
+
cursor?: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1592
|
+
/**
|
|
1593
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1594
|
+
*
|
|
1595
|
+
* Take `±n` TeamMaterialMovementLogs 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` TeamMaterialMovementLogs.
|
|
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 TeamMaterialMovementLogs.
|
|
1608
|
+
*/
|
|
1609
|
+
distinct?: Prisma.TeamMaterialMovementLogScalarFieldEnum | Prisma.TeamMaterialMovementLogScalarFieldEnum[]
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* TeamMaterialMovementLog findFirstOrThrow
|
|
1614
|
+
*/
|
|
1615
|
+
export type TeamMaterialMovementLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1618
|
+
*/
|
|
1619
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1620
|
+
/**
|
|
1621
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1622
|
+
*/
|
|
1623
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1624
|
+
/**
|
|
1625
|
+
* Choose, which related nodes to fetch as well
|
|
1626
|
+
*/
|
|
1627
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1628
|
+
/**
|
|
1629
|
+
* Filter, which TeamMaterialMovementLog to fetch.
|
|
1630
|
+
*/
|
|
1631
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1632
|
+
/**
|
|
1633
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1634
|
+
*
|
|
1635
|
+
* Determine the order of TeamMaterialMovementLogs to fetch.
|
|
1636
|
+
*/
|
|
1637
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithRelationInput | Prisma.TeamMaterialMovementLogOrderByWithRelationInput[]
|
|
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 TeamMaterialMovementLogs.
|
|
1642
|
+
*/
|
|
1643
|
+
cursor?: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1644
|
+
/**
|
|
1645
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1646
|
+
*
|
|
1647
|
+
* Take `±n` TeamMaterialMovementLogs 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` TeamMaterialMovementLogs.
|
|
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 TeamMaterialMovementLogs.
|
|
1660
|
+
*/
|
|
1661
|
+
distinct?: Prisma.TeamMaterialMovementLogScalarFieldEnum | Prisma.TeamMaterialMovementLogScalarFieldEnum[]
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* TeamMaterialMovementLog findMany
|
|
1666
|
+
*/
|
|
1667
|
+
export type TeamMaterialMovementLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1668
|
+
/**
|
|
1669
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1670
|
+
*/
|
|
1671
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1672
|
+
/**
|
|
1673
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1674
|
+
*/
|
|
1675
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1676
|
+
/**
|
|
1677
|
+
* Choose, which related nodes to fetch as well
|
|
1678
|
+
*/
|
|
1679
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1680
|
+
/**
|
|
1681
|
+
* Filter, which TeamMaterialMovementLogs to fetch.
|
|
1682
|
+
*/
|
|
1683
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1684
|
+
/**
|
|
1685
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1686
|
+
*
|
|
1687
|
+
* Determine the order of TeamMaterialMovementLogs to fetch.
|
|
1688
|
+
*/
|
|
1689
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithRelationInput | Prisma.TeamMaterialMovementLogOrderByWithRelationInput[]
|
|
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 TeamMaterialMovementLogs.
|
|
1694
|
+
*/
|
|
1695
|
+
cursor?: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1696
|
+
/**
|
|
1697
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1698
|
+
*
|
|
1699
|
+
* Take `±n` TeamMaterialMovementLogs 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` TeamMaterialMovementLogs.
|
|
1706
|
+
*/
|
|
1707
|
+
skip?: number
|
|
1708
|
+
distinct?: Prisma.TeamMaterialMovementLogScalarFieldEnum | Prisma.TeamMaterialMovementLogScalarFieldEnum[]
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* TeamMaterialMovementLog create
|
|
1713
|
+
*/
|
|
1714
|
+
export type TeamMaterialMovementLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1715
|
+
/**
|
|
1716
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1717
|
+
*/
|
|
1718
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1719
|
+
/**
|
|
1720
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1721
|
+
*/
|
|
1722
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1723
|
+
/**
|
|
1724
|
+
* Choose, which related nodes to fetch as well
|
|
1725
|
+
*/
|
|
1726
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1727
|
+
/**
|
|
1728
|
+
* The data needed to create a TeamMaterialMovementLog.
|
|
1729
|
+
*/
|
|
1730
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateInput, Prisma.TeamMaterialMovementLogUncheckedCreateInput>
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* TeamMaterialMovementLog createMany
|
|
1735
|
+
*/
|
|
1736
|
+
export type TeamMaterialMovementLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1737
|
+
/**
|
|
1738
|
+
* The data used to create many TeamMaterialMovementLogs.
|
|
1739
|
+
*/
|
|
1740
|
+
data: Prisma.TeamMaterialMovementLogCreateManyInput | Prisma.TeamMaterialMovementLogCreateManyInput[]
|
|
1741
|
+
skipDuplicates?: boolean
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* TeamMaterialMovementLog createManyAndReturn
|
|
1746
|
+
*/
|
|
1747
|
+
export type TeamMaterialMovementLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1750
|
+
*/
|
|
1751
|
+
select?: Prisma.TeamMaterialMovementLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
1752
|
+
/**
|
|
1753
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1754
|
+
*/
|
|
1755
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1756
|
+
/**
|
|
1757
|
+
* The data used to create many TeamMaterialMovementLogs.
|
|
1758
|
+
*/
|
|
1759
|
+
data: Prisma.TeamMaterialMovementLogCreateManyInput | Prisma.TeamMaterialMovementLogCreateManyInput[]
|
|
1760
|
+
skipDuplicates?: boolean
|
|
1761
|
+
/**
|
|
1762
|
+
* Choose, which related nodes to fetch as well
|
|
1763
|
+
*/
|
|
1764
|
+
include?: Prisma.TeamMaterialMovementLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* TeamMaterialMovementLog update
|
|
1769
|
+
*/
|
|
1770
|
+
export type TeamMaterialMovementLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1771
|
+
/**
|
|
1772
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1773
|
+
*/
|
|
1774
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1775
|
+
/**
|
|
1776
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1777
|
+
*/
|
|
1778
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1779
|
+
/**
|
|
1780
|
+
* Choose, which related nodes to fetch as well
|
|
1781
|
+
*/
|
|
1782
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1783
|
+
/**
|
|
1784
|
+
* The data needed to update a TeamMaterialMovementLog.
|
|
1785
|
+
*/
|
|
1786
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateInput, Prisma.TeamMaterialMovementLogUncheckedUpdateInput>
|
|
1787
|
+
/**
|
|
1788
|
+
* Choose, which TeamMaterialMovementLog to update.
|
|
1789
|
+
*/
|
|
1790
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* TeamMaterialMovementLog updateMany
|
|
1795
|
+
*/
|
|
1796
|
+
export type TeamMaterialMovementLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1797
|
+
/**
|
|
1798
|
+
* The data used to update TeamMaterialMovementLogs.
|
|
1799
|
+
*/
|
|
1800
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateManyMutationInput, Prisma.TeamMaterialMovementLogUncheckedUpdateManyInput>
|
|
1801
|
+
/**
|
|
1802
|
+
* Filter which TeamMaterialMovementLogs to update
|
|
1803
|
+
*/
|
|
1804
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1805
|
+
/**
|
|
1806
|
+
* Limit how many TeamMaterialMovementLogs to update.
|
|
1807
|
+
*/
|
|
1808
|
+
limit?: number
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* TeamMaterialMovementLog updateManyAndReturn
|
|
1813
|
+
*/
|
|
1814
|
+
export type TeamMaterialMovementLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1815
|
+
/**
|
|
1816
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1817
|
+
*/
|
|
1818
|
+
select?: Prisma.TeamMaterialMovementLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1819
|
+
/**
|
|
1820
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1821
|
+
*/
|
|
1822
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1823
|
+
/**
|
|
1824
|
+
* The data used to update TeamMaterialMovementLogs.
|
|
1825
|
+
*/
|
|
1826
|
+
data: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateManyMutationInput, Prisma.TeamMaterialMovementLogUncheckedUpdateManyInput>
|
|
1827
|
+
/**
|
|
1828
|
+
* Filter which TeamMaterialMovementLogs to update
|
|
1829
|
+
*/
|
|
1830
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1831
|
+
/**
|
|
1832
|
+
* Limit how many TeamMaterialMovementLogs to update.
|
|
1833
|
+
*/
|
|
1834
|
+
limit?: number
|
|
1835
|
+
/**
|
|
1836
|
+
* Choose, which related nodes to fetch as well
|
|
1837
|
+
*/
|
|
1838
|
+
include?: Prisma.TeamMaterialMovementLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* TeamMaterialMovementLog upsert
|
|
1843
|
+
*/
|
|
1844
|
+
export type TeamMaterialMovementLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1845
|
+
/**
|
|
1846
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1847
|
+
*/
|
|
1848
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1849
|
+
/**
|
|
1850
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1851
|
+
*/
|
|
1852
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1853
|
+
/**
|
|
1854
|
+
* Choose, which related nodes to fetch as well
|
|
1855
|
+
*/
|
|
1856
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1857
|
+
/**
|
|
1858
|
+
* The filter to search for the TeamMaterialMovementLog to update in case it exists.
|
|
1859
|
+
*/
|
|
1860
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1861
|
+
/**
|
|
1862
|
+
* In case the TeamMaterialMovementLog found by the `where` argument doesn't exist, create a new TeamMaterialMovementLog with this data.
|
|
1863
|
+
*/
|
|
1864
|
+
create: Prisma.XOR<Prisma.TeamMaterialMovementLogCreateInput, Prisma.TeamMaterialMovementLogUncheckedCreateInput>
|
|
1865
|
+
/**
|
|
1866
|
+
* In case the TeamMaterialMovementLog was found with the provided `where` argument, update it with this data.
|
|
1867
|
+
*/
|
|
1868
|
+
update: Prisma.XOR<Prisma.TeamMaterialMovementLogUpdateInput, Prisma.TeamMaterialMovementLogUncheckedUpdateInput>
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* TeamMaterialMovementLog delete
|
|
1873
|
+
*/
|
|
1874
|
+
export type TeamMaterialMovementLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1877
|
+
*/
|
|
1878
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1879
|
+
/**
|
|
1880
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1881
|
+
*/
|
|
1882
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1883
|
+
/**
|
|
1884
|
+
* Choose, which related nodes to fetch as well
|
|
1885
|
+
*/
|
|
1886
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1887
|
+
/**
|
|
1888
|
+
* Filter which TeamMaterialMovementLog to delete.
|
|
1889
|
+
*/
|
|
1890
|
+
where: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* TeamMaterialMovementLog deleteMany
|
|
1895
|
+
*/
|
|
1896
|
+
export type TeamMaterialMovementLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1897
|
+
/**
|
|
1898
|
+
* Filter which TeamMaterialMovementLogs to delete
|
|
1899
|
+
*/
|
|
1900
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1901
|
+
/**
|
|
1902
|
+
* Limit how many TeamMaterialMovementLogs to delete.
|
|
1903
|
+
*/
|
|
1904
|
+
limit?: number
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* TeamMaterialMovementLog.material
|
|
1909
|
+
*/
|
|
1910
|
+
export type TeamMaterialMovementLog$materialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1911
|
+
/**
|
|
1912
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1913
|
+
*/
|
|
1914
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1915
|
+
/**
|
|
1916
|
+
* Omit specific fields from the TeamMaterial
|
|
1917
|
+
*/
|
|
1918
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1919
|
+
/**
|
|
1920
|
+
* Choose, which related nodes to fetch as well
|
|
1921
|
+
*/
|
|
1922
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1923
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1924
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
1925
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
1926
|
+
take?: number
|
|
1927
|
+
skip?: number
|
|
1928
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* TeamMaterialMovementLog.dispatchProject
|
|
1933
|
+
*/
|
|
1934
|
+
export type TeamMaterialMovementLog$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
|
+
* TeamMaterialMovementLog without action
|
|
1952
|
+
*/
|
|
1953
|
+
export type TeamMaterialMovementLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1954
|
+
/**
|
|
1955
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
1956
|
+
*/
|
|
1957
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
1958
|
+
/**
|
|
1959
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
1960
|
+
*/
|
|
1961
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
1962
|
+
/**
|
|
1963
|
+
* Choose, which related nodes to fetch as well
|
|
1964
|
+
*/
|
|
1965
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
1966
|
+
}
|