efiber-prisma-schema 1.16.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
- package/prisma/schema.prisma +3 -3
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,3053 @@
|
|
|
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 `DispatchTeam` 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 DispatchTeam
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type DispatchTeamModel = runtime.Types.Result.DefaultSelection<Prisma.$DispatchTeamPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateDispatchTeam = {
|
|
22
|
+
_count: DispatchTeamCountAggregateOutputType | null
|
|
23
|
+
_min: DispatchTeamMinAggregateOutputType | null
|
|
24
|
+
_max: DispatchTeamMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type DispatchTeamMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
name: string | null
|
|
30
|
+
status: string | null
|
|
31
|
+
createdAt: Date | null
|
|
32
|
+
updatedAt: Date | null
|
|
33
|
+
deletedAt: Date | null
|
|
34
|
+
type: string | null
|
|
35
|
+
leadTechnicianId: string | null
|
|
36
|
+
firstTechnicianId: string | null
|
|
37
|
+
secondTechnicianId: string | null
|
|
38
|
+
otherTechnicianId: string | null
|
|
39
|
+
contractorTeamId: string | null
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type DispatchTeamMaxAggregateOutputType = {
|
|
43
|
+
id: string | null
|
|
44
|
+
name: string | null
|
|
45
|
+
status: string | null
|
|
46
|
+
createdAt: Date | null
|
|
47
|
+
updatedAt: Date | null
|
|
48
|
+
deletedAt: Date | null
|
|
49
|
+
type: string | null
|
|
50
|
+
leadTechnicianId: string | null
|
|
51
|
+
firstTechnicianId: string | null
|
|
52
|
+
secondTechnicianId: string | null
|
|
53
|
+
otherTechnicianId: string | null
|
|
54
|
+
contractorTeamId: string | null
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type DispatchTeamCountAggregateOutputType = {
|
|
58
|
+
id: number
|
|
59
|
+
name: number
|
|
60
|
+
status: number
|
|
61
|
+
createdAt: number
|
|
62
|
+
updatedAt: number
|
|
63
|
+
deletedAt: number
|
|
64
|
+
type: number
|
|
65
|
+
leadTechnicianId: number
|
|
66
|
+
firstTechnicianId: number
|
|
67
|
+
secondTechnicianId: number
|
|
68
|
+
otherTechnicianId: number
|
|
69
|
+
contractorTeamId: number
|
|
70
|
+
_all: number
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
export type DispatchTeamMinAggregateInputType = {
|
|
75
|
+
id?: true
|
|
76
|
+
name?: true
|
|
77
|
+
status?: true
|
|
78
|
+
createdAt?: true
|
|
79
|
+
updatedAt?: true
|
|
80
|
+
deletedAt?: true
|
|
81
|
+
type?: true
|
|
82
|
+
leadTechnicianId?: true
|
|
83
|
+
firstTechnicianId?: true
|
|
84
|
+
secondTechnicianId?: true
|
|
85
|
+
otherTechnicianId?: true
|
|
86
|
+
contractorTeamId?: true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type DispatchTeamMaxAggregateInputType = {
|
|
90
|
+
id?: true
|
|
91
|
+
name?: true
|
|
92
|
+
status?: true
|
|
93
|
+
createdAt?: true
|
|
94
|
+
updatedAt?: true
|
|
95
|
+
deletedAt?: true
|
|
96
|
+
type?: true
|
|
97
|
+
leadTechnicianId?: true
|
|
98
|
+
firstTechnicianId?: true
|
|
99
|
+
secondTechnicianId?: true
|
|
100
|
+
otherTechnicianId?: true
|
|
101
|
+
contractorTeamId?: true
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type DispatchTeamCountAggregateInputType = {
|
|
105
|
+
id?: true
|
|
106
|
+
name?: true
|
|
107
|
+
status?: true
|
|
108
|
+
createdAt?: true
|
|
109
|
+
updatedAt?: true
|
|
110
|
+
deletedAt?: true
|
|
111
|
+
type?: true
|
|
112
|
+
leadTechnicianId?: true
|
|
113
|
+
firstTechnicianId?: true
|
|
114
|
+
secondTechnicianId?: true
|
|
115
|
+
otherTechnicianId?: true
|
|
116
|
+
contractorTeamId?: true
|
|
117
|
+
_all?: true
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export type DispatchTeamAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
121
|
+
/**
|
|
122
|
+
* Filter which DispatchTeam to aggregate.
|
|
123
|
+
*/
|
|
124
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
127
|
+
*
|
|
128
|
+
* Determine the order of DispatchTeams to fetch.
|
|
129
|
+
*/
|
|
130
|
+
orderBy?: Prisma.DispatchTeamOrderByWithRelationInput | Prisma.DispatchTeamOrderByWithRelationInput[]
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
133
|
+
*
|
|
134
|
+
* Sets the start position
|
|
135
|
+
*/
|
|
136
|
+
cursor?: Prisma.DispatchTeamWhereUniqueInput
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
139
|
+
*
|
|
140
|
+
* Take `±n` DispatchTeams from the position of the cursor.
|
|
141
|
+
*/
|
|
142
|
+
take?: number
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
145
|
+
*
|
|
146
|
+
* Skip the first `n` DispatchTeams.
|
|
147
|
+
*/
|
|
148
|
+
skip?: number
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Count returned DispatchTeams
|
|
153
|
+
**/
|
|
154
|
+
_count?: true | DispatchTeamCountAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to find the minimum value
|
|
159
|
+
**/
|
|
160
|
+
_min?: DispatchTeamMinAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to find the maximum value
|
|
165
|
+
**/
|
|
166
|
+
_max?: DispatchTeamMaxAggregateInputType
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export type GetDispatchTeamAggregateType<T extends DispatchTeamAggregateArgs> = {
|
|
170
|
+
[P in keyof T & keyof AggregateDispatchTeam]: P extends '_count' | 'count'
|
|
171
|
+
? T[P] extends true
|
|
172
|
+
? number
|
|
173
|
+
: Prisma.GetScalarType<T[P], AggregateDispatchTeam[P]>
|
|
174
|
+
: Prisma.GetScalarType<T[P], AggregateDispatchTeam[P]>
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
export type DispatchTeamGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
181
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
182
|
+
orderBy?: Prisma.DispatchTeamOrderByWithAggregationInput | Prisma.DispatchTeamOrderByWithAggregationInput[]
|
|
183
|
+
by: Prisma.DispatchTeamScalarFieldEnum[] | Prisma.DispatchTeamScalarFieldEnum
|
|
184
|
+
having?: Prisma.DispatchTeamScalarWhereWithAggregatesInput
|
|
185
|
+
take?: number
|
|
186
|
+
skip?: number
|
|
187
|
+
_count?: DispatchTeamCountAggregateInputType | true
|
|
188
|
+
_min?: DispatchTeamMinAggregateInputType
|
|
189
|
+
_max?: DispatchTeamMaxAggregateInputType
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type DispatchTeamGroupByOutputType = {
|
|
193
|
+
id: string
|
|
194
|
+
name: string | null
|
|
195
|
+
status: string
|
|
196
|
+
createdAt: Date
|
|
197
|
+
updatedAt: Date
|
|
198
|
+
deletedAt: Date | null
|
|
199
|
+
type: string
|
|
200
|
+
leadTechnicianId: string
|
|
201
|
+
firstTechnicianId: string | null
|
|
202
|
+
secondTechnicianId: string | null
|
|
203
|
+
otherTechnicianId: string | null
|
|
204
|
+
contractorTeamId: string | null
|
|
205
|
+
_count: DispatchTeamCountAggregateOutputType | null
|
|
206
|
+
_min: DispatchTeamMinAggregateOutputType | null
|
|
207
|
+
_max: DispatchTeamMaxAggregateOutputType | null
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
type GetDispatchTeamGroupByPayload<T extends DispatchTeamGroupByArgs> = Prisma.PrismaPromise<
|
|
211
|
+
Array<
|
|
212
|
+
Prisma.PickEnumerable<DispatchTeamGroupByOutputType, T['by']> &
|
|
213
|
+
{
|
|
214
|
+
[P in ((keyof T) & (keyof DispatchTeamGroupByOutputType))]: P extends '_count'
|
|
215
|
+
? T[P] extends boolean
|
|
216
|
+
? number
|
|
217
|
+
: Prisma.GetScalarType<T[P], DispatchTeamGroupByOutputType[P]>
|
|
218
|
+
: Prisma.GetScalarType<T[P], DispatchTeamGroupByOutputType[P]>
|
|
219
|
+
}
|
|
220
|
+
>
|
|
221
|
+
>
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
export type DispatchTeamWhereInput = {
|
|
226
|
+
AND?: Prisma.DispatchTeamWhereInput | Prisma.DispatchTeamWhereInput[]
|
|
227
|
+
OR?: Prisma.DispatchTeamWhereInput[]
|
|
228
|
+
NOT?: Prisma.DispatchTeamWhereInput | Prisma.DispatchTeamWhereInput[]
|
|
229
|
+
id?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
230
|
+
name?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
231
|
+
status?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
232
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
233
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
234
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchTeam"> | Date | string | null
|
|
235
|
+
type?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
236
|
+
leadTechnicianId?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
237
|
+
firstTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
238
|
+
secondTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
239
|
+
otherTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
240
|
+
contractorTeamId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
241
|
+
LeadTechnician?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
242
|
+
FirstTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
243
|
+
SecondTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
244
|
+
OtherTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
245
|
+
contractorTeam?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null
|
|
246
|
+
TeamMaterial?: Prisma.TeamMaterialListRelationFilter
|
|
247
|
+
WorkOrders?: Prisma.WorkOrderListRelationFilter
|
|
248
|
+
dispatchProjects?: Prisma.DispatchProjectListRelationFilter
|
|
249
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogListRelationFilter
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type DispatchTeamOrderByWithRelationInput = {
|
|
253
|
+
id?: Prisma.SortOrder
|
|
254
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
255
|
+
status?: Prisma.SortOrder
|
|
256
|
+
createdAt?: Prisma.SortOrder
|
|
257
|
+
updatedAt?: Prisma.SortOrder
|
|
258
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
259
|
+
type?: Prisma.SortOrder
|
|
260
|
+
leadTechnicianId?: Prisma.SortOrder
|
|
261
|
+
firstTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
262
|
+
secondTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
263
|
+
otherTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
264
|
+
contractorTeamId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
|
+
LeadTechnician?: Prisma.UserOrderByWithRelationInput
|
|
266
|
+
FirstTechnician?: Prisma.UserOrderByWithRelationInput
|
|
267
|
+
SecondTechnician?: Prisma.UserOrderByWithRelationInput
|
|
268
|
+
OtherTechnician?: Prisma.UserOrderByWithRelationInput
|
|
269
|
+
contractorTeam?: Prisma.TeamOrderByWithRelationInput
|
|
270
|
+
TeamMaterial?: Prisma.TeamMaterialOrderByRelationAggregateInput
|
|
271
|
+
WorkOrders?: Prisma.WorkOrderOrderByRelationAggregateInput
|
|
272
|
+
dispatchProjects?: Prisma.DispatchProjectOrderByRelationAggregateInput
|
|
273
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogOrderByRelationAggregateInput
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type DispatchTeamWhereUniqueInput = Prisma.AtLeast<{
|
|
277
|
+
id?: string
|
|
278
|
+
AND?: Prisma.DispatchTeamWhereInput | Prisma.DispatchTeamWhereInput[]
|
|
279
|
+
OR?: Prisma.DispatchTeamWhereInput[]
|
|
280
|
+
NOT?: Prisma.DispatchTeamWhereInput | Prisma.DispatchTeamWhereInput[]
|
|
281
|
+
name?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
282
|
+
status?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
283
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
284
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
285
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchTeam"> | Date | string | null
|
|
286
|
+
type?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
287
|
+
leadTechnicianId?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
288
|
+
firstTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
289
|
+
secondTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
290
|
+
otherTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
291
|
+
contractorTeamId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
292
|
+
LeadTechnician?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
293
|
+
FirstTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
294
|
+
SecondTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
295
|
+
OtherTechnician?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
296
|
+
contractorTeam?: Prisma.XOR<Prisma.TeamNullableScalarRelationFilter, Prisma.TeamWhereInput> | null
|
|
297
|
+
TeamMaterial?: Prisma.TeamMaterialListRelationFilter
|
|
298
|
+
WorkOrders?: Prisma.WorkOrderListRelationFilter
|
|
299
|
+
dispatchProjects?: Prisma.DispatchProjectListRelationFilter
|
|
300
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogListRelationFilter
|
|
301
|
+
}, "id" | "id">
|
|
302
|
+
|
|
303
|
+
export type DispatchTeamOrderByWithAggregationInput = {
|
|
304
|
+
id?: Prisma.SortOrder
|
|
305
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
306
|
+
status?: Prisma.SortOrder
|
|
307
|
+
createdAt?: Prisma.SortOrder
|
|
308
|
+
updatedAt?: Prisma.SortOrder
|
|
309
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
310
|
+
type?: Prisma.SortOrder
|
|
311
|
+
leadTechnicianId?: Prisma.SortOrder
|
|
312
|
+
firstTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
+
secondTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
314
|
+
otherTechnicianId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
315
|
+
contractorTeamId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
316
|
+
_count?: Prisma.DispatchTeamCountOrderByAggregateInput
|
|
317
|
+
_max?: Prisma.DispatchTeamMaxOrderByAggregateInput
|
|
318
|
+
_min?: Prisma.DispatchTeamMinOrderByAggregateInput
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type DispatchTeamScalarWhereWithAggregatesInput = {
|
|
322
|
+
AND?: Prisma.DispatchTeamScalarWhereWithAggregatesInput | Prisma.DispatchTeamScalarWhereWithAggregatesInput[]
|
|
323
|
+
OR?: Prisma.DispatchTeamScalarWhereWithAggregatesInput[]
|
|
324
|
+
NOT?: Prisma.DispatchTeamScalarWhereWithAggregatesInput | Prisma.DispatchTeamScalarWhereWithAggregatesInput[]
|
|
325
|
+
id?: Prisma.StringWithAggregatesFilter<"DispatchTeam"> | string
|
|
326
|
+
name?: Prisma.StringNullableWithAggregatesFilter<"DispatchTeam"> | string | null
|
|
327
|
+
status?: Prisma.StringWithAggregatesFilter<"DispatchTeam"> | string
|
|
328
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DispatchTeam"> | Date | string
|
|
329
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DispatchTeam"> | Date | string
|
|
330
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DispatchTeam"> | Date | string | null
|
|
331
|
+
type?: Prisma.StringWithAggregatesFilter<"DispatchTeam"> | string
|
|
332
|
+
leadTechnicianId?: Prisma.StringWithAggregatesFilter<"DispatchTeam"> | string
|
|
333
|
+
firstTechnicianId?: Prisma.StringNullableWithAggregatesFilter<"DispatchTeam"> | string | null
|
|
334
|
+
secondTechnicianId?: Prisma.StringNullableWithAggregatesFilter<"DispatchTeam"> | string | null
|
|
335
|
+
otherTechnicianId?: Prisma.StringNullableWithAggregatesFilter<"DispatchTeam"> | string | null
|
|
336
|
+
contractorTeamId?: Prisma.StringNullableWithAggregatesFilter<"DispatchTeam"> | string | null
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type DispatchTeamCreateInput = {
|
|
340
|
+
id?: string
|
|
341
|
+
name?: string | null
|
|
342
|
+
status?: string
|
|
343
|
+
createdAt?: Date | string
|
|
344
|
+
updatedAt?: Date | string
|
|
345
|
+
deletedAt?: Date | string | null
|
|
346
|
+
type?: string
|
|
347
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
348
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
349
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
350
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
351
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
352
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
353
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
354
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
355
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type DispatchTeamUncheckedCreateInput = {
|
|
359
|
+
id?: string
|
|
360
|
+
name?: string | null
|
|
361
|
+
status?: string
|
|
362
|
+
createdAt?: Date | string
|
|
363
|
+
updatedAt?: Date | string
|
|
364
|
+
deletedAt?: Date | string | null
|
|
365
|
+
type?: string
|
|
366
|
+
leadTechnicianId: string
|
|
367
|
+
firstTechnicianId?: string | null
|
|
368
|
+
secondTechnicianId?: string | null
|
|
369
|
+
otherTechnicianId?: string | null
|
|
370
|
+
contractorTeamId?: string | null
|
|
371
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
372
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
373
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
374
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type DispatchTeamUpdateInput = {
|
|
378
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
379
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
380
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
381
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
382
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
383
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
384
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
385
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
386
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
387
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
388
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
389
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
390
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
391
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
392
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
393
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type DispatchTeamUncheckedUpdateInput = {
|
|
397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
399
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
400
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
401
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
402
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
403
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
404
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
405
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
406
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
407
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
408
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
409
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
410
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
411
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
412
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type DispatchTeamCreateManyInput = {
|
|
416
|
+
id?: string
|
|
417
|
+
name?: string | null
|
|
418
|
+
status?: string
|
|
419
|
+
createdAt?: Date | string
|
|
420
|
+
updatedAt?: Date | string
|
|
421
|
+
deletedAt?: Date | string | null
|
|
422
|
+
type?: string
|
|
423
|
+
leadTechnicianId: string
|
|
424
|
+
firstTechnicianId?: string | null
|
|
425
|
+
secondTechnicianId?: string | null
|
|
426
|
+
otherTechnicianId?: string | null
|
|
427
|
+
contractorTeamId?: string | null
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export type DispatchTeamUpdateManyMutationInput = {
|
|
431
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
432
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
434
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
436
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
437
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type DispatchTeamUncheckedUpdateManyInput = {
|
|
441
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
442
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
443
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
444
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
445
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
446
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
447
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
449
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
450
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
451
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
452
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type DispatchTeamListRelationFilter = {
|
|
456
|
+
every?: Prisma.DispatchTeamWhereInput
|
|
457
|
+
some?: Prisma.DispatchTeamWhereInput
|
|
458
|
+
none?: Prisma.DispatchTeamWhereInput
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type DispatchTeamOrderByRelationAggregateInput = {
|
|
462
|
+
_count?: Prisma.SortOrder
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type DispatchTeamCountOrderByAggregateInput = {
|
|
466
|
+
id?: Prisma.SortOrder
|
|
467
|
+
name?: Prisma.SortOrder
|
|
468
|
+
status?: Prisma.SortOrder
|
|
469
|
+
createdAt?: Prisma.SortOrder
|
|
470
|
+
updatedAt?: Prisma.SortOrder
|
|
471
|
+
deletedAt?: Prisma.SortOrder
|
|
472
|
+
type?: Prisma.SortOrder
|
|
473
|
+
leadTechnicianId?: Prisma.SortOrder
|
|
474
|
+
firstTechnicianId?: Prisma.SortOrder
|
|
475
|
+
secondTechnicianId?: Prisma.SortOrder
|
|
476
|
+
otherTechnicianId?: Prisma.SortOrder
|
|
477
|
+
contractorTeamId?: Prisma.SortOrder
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type DispatchTeamMaxOrderByAggregateInput = {
|
|
481
|
+
id?: Prisma.SortOrder
|
|
482
|
+
name?: Prisma.SortOrder
|
|
483
|
+
status?: Prisma.SortOrder
|
|
484
|
+
createdAt?: Prisma.SortOrder
|
|
485
|
+
updatedAt?: Prisma.SortOrder
|
|
486
|
+
deletedAt?: Prisma.SortOrder
|
|
487
|
+
type?: Prisma.SortOrder
|
|
488
|
+
leadTechnicianId?: Prisma.SortOrder
|
|
489
|
+
firstTechnicianId?: Prisma.SortOrder
|
|
490
|
+
secondTechnicianId?: Prisma.SortOrder
|
|
491
|
+
otherTechnicianId?: Prisma.SortOrder
|
|
492
|
+
contractorTeamId?: Prisma.SortOrder
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type DispatchTeamMinOrderByAggregateInput = {
|
|
496
|
+
id?: Prisma.SortOrder
|
|
497
|
+
name?: Prisma.SortOrder
|
|
498
|
+
status?: Prisma.SortOrder
|
|
499
|
+
createdAt?: Prisma.SortOrder
|
|
500
|
+
updatedAt?: Prisma.SortOrder
|
|
501
|
+
deletedAt?: Prisma.SortOrder
|
|
502
|
+
type?: Prisma.SortOrder
|
|
503
|
+
leadTechnicianId?: Prisma.SortOrder
|
|
504
|
+
firstTechnicianId?: Prisma.SortOrder
|
|
505
|
+
secondTechnicianId?: Prisma.SortOrder
|
|
506
|
+
otherTechnicianId?: Prisma.SortOrder
|
|
507
|
+
contractorTeamId?: Prisma.SortOrder
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export type DispatchTeamNullableScalarRelationFilter = {
|
|
511
|
+
is?: Prisma.DispatchTeamWhereInput | null
|
|
512
|
+
isNot?: Prisma.DispatchTeamWhereInput | null
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type DispatchTeamScalarRelationFilter = {
|
|
516
|
+
is?: Prisma.DispatchTeamWhereInput
|
|
517
|
+
isNot?: Prisma.DispatchTeamWhereInput
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export type DispatchTeamCreateNestedManyWithoutContractorTeamInput = {
|
|
521
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput> | Prisma.DispatchTeamCreateWithoutContractorTeamInput[] | Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput[]
|
|
522
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput | Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput[]
|
|
523
|
+
createMany?: Prisma.DispatchTeamCreateManyContractorTeamInputEnvelope
|
|
524
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutContractorTeamInput = {
|
|
528
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput> | Prisma.DispatchTeamCreateWithoutContractorTeamInput[] | Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput[]
|
|
529
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput | Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput[]
|
|
530
|
+
createMany?: Prisma.DispatchTeamCreateManyContractorTeamInputEnvelope
|
|
531
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type DispatchTeamUpdateManyWithoutContractorTeamNestedInput = {
|
|
535
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput> | Prisma.DispatchTeamCreateWithoutContractorTeamInput[] | Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput[]
|
|
536
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput | Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput[]
|
|
537
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutContractorTeamInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutContractorTeamInput[]
|
|
538
|
+
createMany?: Prisma.DispatchTeamCreateManyContractorTeamInputEnvelope
|
|
539
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
540
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
541
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
542
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
543
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutContractorTeamInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutContractorTeamInput[]
|
|
544
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutContractorTeamInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutContractorTeamInput[]
|
|
545
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type DispatchTeamUncheckedUpdateManyWithoutContractorTeamNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput> | Prisma.DispatchTeamCreateWithoutContractorTeamInput[] | Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput[]
|
|
550
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput | Prisma.DispatchTeamCreateOrConnectWithoutContractorTeamInput[]
|
|
551
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutContractorTeamInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutContractorTeamInput[]
|
|
552
|
+
createMany?: Prisma.DispatchTeamCreateManyContractorTeamInputEnvelope
|
|
553
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
554
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
555
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
556
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
557
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutContractorTeamInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutContractorTeamInput[]
|
|
558
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutContractorTeamInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutContractorTeamInput[]
|
|
559
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type DispatchTeamCreateNestedManyWithoutLeadTechnicianInput = {
|
|
563
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput> | Prisma.DispatchTeamCreateWithoutLeadTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput[]
|
|
564
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput[]
|
|
565
|
+
createMany?: Prisma.DispatchTeamCreateManyLeadTechnicianInputEnvelope
|
|
566
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export type DispatchTeamCreateNestedManyWithoutFirstTechnicianInput = {
|
|
570
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput> | Prisma.DispatchTeamCreateWithoutFirstTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput[]
|
|
571
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput[]
|
|
572
|
+
createMany?: Prisma.DispatchTeamCreateManyFirstTechnicianInputEnvelope
|
|
573
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type DispatchTeamCreateNestedManyWithoutSecondTechnicianInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput> | Prisma.DispatchTeamCreateWithoutSecondTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput[]
|
|
578
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput[]
|
|
579
|
+
createMany?: Prisma.DispatchTeamCreateManySecondTechnicianInputEnvelope
|
|
580
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export type DispatchTeamCreateNestedManyWithoutOtherTechnicianInput = {
|
|
584
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput> | Prisma.DispatchTeamCreateWithoutOtherTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput[]
|
|
585
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput[]
|
|
586
|
+
createMany?: Prisma.DispatchTeamCreateManyOtherTechnicianInputEnvelope
|
|
587
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutLeadTechnicianInput = {
|
|
591
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput> | Prisma.DispatchTeamCreateWithoutLeadTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput[]
|
|
592
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput[]
|
|
593
|
+
createMany?: Prisma.DispatchTeamCreateManyLeadTechnicianInputEnvelope
|
|
594
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutFirstTechnicianInput = {
|
|
598
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput> | Prisma.DispatchTeamCreateWithoutFirstTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput[]
|
|
599
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput[]
|
|
600
|
+
createMany?: Prisma.DispatchTeamCreateManyFirstTechnicianInputEnvelope
|
|
601
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutSecondTechnicianInput = {
|
|
605
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput> | Prisma.DispatchTeamCreateWithoutSecondTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput[]
|
|
606
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput[]
|
|
607
|
+
createMany?: Prisma.DispatchTeamCreateManySecondTechnicianInputEnvelope
|
|
608
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutOtherTechnicianInput = {
|
|
612
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput> | Prisma.DispatchTeamCreateWithoutOtherTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput[]
|
|
613
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput[]
|
|
614
|
+
createMany?: Prisma.DispatchTeamCreateManyOtherTechnicianInputEnvelope
|
|
615
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export type DispatchTeamUpdateManyWithoutLeadTechnicianNestedInput = {
|
|
619
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput> | Prisma.DispatchTeamCreateWithoutLeadTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput[]
|
|
620
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput[]
|
|
621
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutLeadTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutLeadTechnicianInput[]
|
|
622
|
+
createMany?: Prisma.DispatchTeamCreateManyLeadTechnicianInputEnvelope
|
|
623
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
624
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
625
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
626
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
627
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutLeadTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutLeadTechnicianInput[]
|
|
628
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutLeadTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutLeadTechnicianInput[]
|
|
629
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
export type DispatchTeamUpdateManyWithoutFirstTechnicianNestedInput = {
|
|
633
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput> | Prisma.DispatchTeamCreateWithoutFirstTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput[]
|
|
634
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput[]
|
|
635
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutFirstTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutFirstTechnicianInput[]
|
|
636
|
+
createMany?: Prisma.DispatchTeamCreateManyFirstTechnicianInputEnvelope
|
|
637
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
638
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
639
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
640
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
641
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutFirstTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutFirstTechnicianInput[]
|
|
642
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutFirstTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutFirstTechnicianInput[]
|
|
643
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export type DispatchTeamUpdateManyWithoutSecondTechnicianNestedInput = {
|
|
647
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput> | Prisma.DispatchTeamCreateWithoutSecondTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput[]
|
|
648
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput[]
|
|
649
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutSecondTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutSecondTechnicianInput[]
|
|
650
|
+
createMany?: Prisma.DispatchTeamCreateManySecondTechnicianInputEnvelope
|
|
651
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
652
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
653
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
654
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
655
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutSecondTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutSecondTechnicianInput[]
|
|
656
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutSecondTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutSecondTechnicianInput[]
|
|
657
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export type DispatchTeamUpdateManyWithoutOtherTechnicianNestedInput = {
|
|
661
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput> | Prisma.DispatchTeamCreateWithoutOtherTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput[]
|
|
662
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput[]
|
|
663
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutOtherTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutOtherTechnicianInput[]
|
|
664
|
+
createMany?: Prisma.DispatchTeamCreateManyOtherTechnicianInputEnvelope
|
|
665
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
666
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
667
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
668
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
669
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutOtherTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutOtherTechnicianInput[]
|
|
670
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutOtherTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutOtherTechnicianInput[]
|
|
671
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export type DispatchTeamUncheckedUpdateManyWithoutLeadTechnicianNestedInput = {
|
|
675
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput> | Prisma.DispatchTeamCreateWithoutLeadTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput[]
|
|
676
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutLeadTechnicianInput[]
|
|
677
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutLeadTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutLeadTechnicianInput[]
|
|
678
|
+
createMany?: Prisma.DispatchTeamCreateManyLeadTechnicianInputEnvelope
|
|
679
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
680
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
681
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
682
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
683
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutLeadTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutLeadTechnicianInput[]
|
|
684
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutLeadTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutLeadTechnicianInput[]
|
|
685
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type DispatchTeamUncheckedUpdateManyWithoutFirstTechnicianNestedInput = {
|
|
689
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput> | Prisma.DispatchTeamCreateWithoutFirstTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput[]
|
|
690
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutFirstTechnicianInput[]
|
|
691
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutFirstTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutFirstTechnicianInput[]
|
|
692
|
+
createMany?: Prisma.DispatchTeamCreateManyFirstTechnicianInputEnvelope
|
|
693
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
694
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
695
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
696
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
697
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutFirstTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutFirstTechnicianInput[]
|
|
698
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutFirstTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutFirstTechnicianInput[]
|
|
699
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export type DispatchTeamUncheckedUpdateManyWithoutSecondTechnicianNestedInput = {
|
|
703
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput> | Prisma.DispatchTeamCreateWithoutSecondTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput[]
|
|
704
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutSecondTechnicianInput[]
|
|
705
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutSecondTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutSecondTechnicianInput[]
|
|
706
|
+
createMany?: Prisma.DispatchTeamCreateManySecondTechnicianInputEnvelope
|
|
707
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
708
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
709
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
710
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
711
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutSecondTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutSecondTechnicianInput[]
|
|
712
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutSecondTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutSecondTechnicianInput[]
|
|
713
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export type DispatchTeamUncheckedUpdateManyWithoutOtherTechnicianNestedInput = {
|
|
717
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput> | Prisma.DispatchTeamCreateWithoutOtherTechnicianInput[] | Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput[]
|
|
718
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput | Prisma.DispatchTeamCreateOrConnectWithoutOtherTechnicianInput[]
|
|
719
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutOtherTechnicianInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutOtherTechnicianInput[]
|
|
720
|
+
createMany?: Prisma.DispatchTeamCreateManyOtherTechnicianInputEnvelope
|
|
721
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
722
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
723
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
724
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
725
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutOtherTechnicianInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutOtherTechnicianInput[]
|
|
726
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutOtherTechnicianInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutOtherTechnicianInput[]
|
|
727
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export type DispatchTeamCreateNestedManyWithoutDispatchProjectsInput = {
|
|
731
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput> | Prisma.DispatchTeamCreateWithoutDispatchProjectsInput[] | Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput[]
|
|
732
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput | Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput[]
|
|
733
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type DispatchTeamUncheckedCreateNestedManyWithoutDispatchProjectsInput = {
|
|
737
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput> | Prisma.DispatchTeamCreateWithoutDispatchProjectsInput[] | Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput[]
|
|
738
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput | Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput[]
|
|
739
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type DispatchTeamUpdateManyWithoutDispatchProjectsNestedInput = {
|
|
743
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput> | Prisma.DispatchTeamCreateWithoutDispatchProjectsInput[] | Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput[]
|
|
744
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput | Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput[]
|
|
745
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutDispatchProjectsInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutDispatchProjectsInput[]
|
|
746
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
747
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
748
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
749
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
750
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutDispatchProjectsInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutDispatchProjectsInput[]
|
|
751
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutDispatchProjectsInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutDispatchProjectsInput[]
|
|
752
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export type DispatchTeamUncheckedUpdateManyWithoutDispatchProjectsNestedInput = {
|
|
756
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput> | Prisma.DispatchTeamCreateWithoutDispatchProjectsInput[] | Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput[]
|
|
757
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput | Prisma.DispatchTeamCreateOrConnectWithoutDispatchProjectsInput[]
|
|
758
|
+
upsert?: Prisma.DispatchTeamUpsertWithWhereUniqueWithoutDispatchProjectsInput | Prisma.DispatchTeamUpsertWithWhereUniqueWithoutDispatchProjectsInput[]
|
|
759
|
+
set?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
760
|
+
disconnect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
761
|
+
delete?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
762
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput | Prisma.DispatchTeamWhereUniqueInput[]
|
|
763
|
+
update?: Prisma.DispatchTeamUpdateWithWhereUniqueWithoutDispatchProjectsInput | Prisma.DispatchTeamUpdateWithWhereUniqueWithoutDispatchProjectsInput[]
|
|
764
|
+
updateMany?: Prisma.DispatchTeamUpdateManyWithWhereWithoutDispatchProjectsInput | Prisma.DispatchTeamUpdateManyWithWhereWithoutDispatchProjectsInput[]
|
|
765
|
+
deleteMany?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
export type DispatchTeamCreateNestedOneWithoutWorkOrdersInput = {
|
|
769
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrdersInput>
|
|
770
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutWorkOrdersInput
|
|
771
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export type DispatchTeamUpdateOneWithoutWorkOrdersNestedInput = {
|
|
775
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrdersInput>
|
|
776
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutWorkOrdersInput
|
|
777
|
+
upsert?: Prisma.DispatchTeamUpsertWithoutWorkOrdersInput
|
|
778
|
+
disconnect?: Prisma.DispatchTeamWhereInput | boolean
|
|
779
|
+
delete?: Prisma.DispatchTeamWhereInput | boolean
|
|
780
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
781
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchTeamUpdateToOneWithWhereWithoutWorkOrdersInput, Prisma.DispatchTeamUpdateWithoutWorkOrdersInput>, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrdersInput>
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export type DispatchTeamCreateNestedOneWithoutWorkOrderActivityLogsInput = {
|
|
785
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrderActivityLogsInput>
|
|
786
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutWorkOrderActivityLogsInput
|
|
787
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export type DispatchTeamUpdateOneWithoutWorkOrderActivityLogsNestedInput = {
|
|
791
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrderActivityLogsInput>
|
|
792
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutWorkOrderActivityLogsInput
|
|
793
|
+
upsert?: Prisma.DispatchTeamUpsertWithoutWorkOrderActivityLogsInput
|
|
794
|
+
disconnect?: Prisma.DispatchTeamWhereInput | boolean
|
|
795
|
+
delete?: Prisma.DispatchTeamWhereInput | boolean
|
|
796
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
797
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchTeamUpdateToOneWithWhereWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUpdateWithoutWorkOrderActivityLogsInput>, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrderActivityLogsInput>
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type DispatchTeamCreateNestedOneWithoutTeamMaterialInput = {
|
|
801
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedCreateWithoutTeamMaterialInput>
|
|
802
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutTeamMaterialInput
|
|
803
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export type DispatchTeamUpdateOneRequiredWithoutTeamMaterialNestedInput = {
|
|
807
|
+
create?: Prisma.XOR<Prisma.DispatchTeamCreateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedCreateWithoutTeamMaterialInput>
|
|
808
|
+
connectOrCreate?: Prisma.DispatchTeamCreateOrConnectWithoutTeamMaterialInput
|
|
809
|
+
upsert?: Prisma.DispatchTeamUpsertWithoutTeamMaterialInput
|
|
810
|
+
connect?: Prisma.DispatchTeamWhereUniqueInput
|
|
811
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DispatchTeamUpdateToOneWithWhereWithoutTeamMaterialInput, Prisma.DispatchTeamUpdateWithoutTeamMaterialInput>, Prisma.DispatchTeamUncheckedUpdateWithoutTeamMaterialInput>
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
export type DispatchTeamCreateWithoutContractorTeamInput = {
|
|
815
|
+
id?: string
|
|
816
|
+
name?: string | null
|
|
817
|
+
status?: string
|
|
818
|
+
createdAt?: Date | string
|
|
819
|
+
updatedAt?: Date | string
|
|
820
|
+
deletedAt?: Date | string | null
|
|
821
|
+
type?: string
|
|
822
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
823
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
824
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
825
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
826
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
827
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
828
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
829
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export type DispatchTeamUncheckedCreateWithoutContractorTeamInput = {
|
|
833
|
+
id?: string
|
|
834
|
+
name?: string | null
|
|
835
|
+
status?: string
|
|
836
|
+
createdAt?: Date | string
|
|
837
|
+
updatedAt?: Date | string
|
|
838
|
+
deletedAt?: Date | string | null
|
|
839
|
+
type?: string
|
|
840
|
+
leadTechnicianId: string
|
|
841
|
+
firstTechnicianId?: string | null
|
|
842
|
+
secondTechnicianId?: string | null
|
|
843
|
+
otherTechnicianId?: string | null
|
|
844
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
845
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
846
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
847
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export type DispatchTeamCreateOrConnectWithoutContractorTeamInput = {
|
|
851
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
852
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput>
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type DispatchTeamCreateManyContractorTeamInputEnvelope = {
|
|
856
|
+
data: Prisma.DispatchTeamCreateManyContractorTeamInput | Prisma.DispatchTeamCreateManyContractorTeamInput[]
|
|
857
|
+
skipDuplicates?: boolean
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutContractorTeamInput = {
|
|
861
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
862
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedUpdateWithoutContractorTeamInput>
|
|
863
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedCreateWithoutContractorTeamInput>
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutContractorTeamInput = {
|
|
867
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
868
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutContractorTeamInput, Prisma.DispatchTeamUncheckedUpdateWithoutContractorTeamInput>
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export type DispatchTeamUpdateManyWithWhereWithoutContractorTeamInput = {
|
|
872
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
873
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutContractorTeamInput>
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export type DispatchTeamScalarWhereInput = {
|
|
877
|
+
AND?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
878
|
+
OR?: Prisma.DispatchTeamScalarWhereInput[]
|
|
879
|
+
NOT?: Prisma.DispatchTeamScalarWhereInput | Prisma.DispatchTeamScalarWhereInput[]
|
|
880
|
+
id?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
881
|
+
name?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
882
|
+
status?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
883
|
+
createdAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
884
|
+
updatedAt?: Prisma.DateTimeFilter<"DispatchTeam"> | Date | string
|
|
885
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DispatchTeam"> | Date | string | null
|
|
886
|
+
type?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
887
|
+
leadTechnicianId?: Prisma.StringFilter<"DispatchTeam"> | string
|
|
888
|
+
firstTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
889
|
+
secondTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
890
|
+
otherTechnicianId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
891
|
+
contractorTeamId?: Prisma.StringNullableFilter<"DispatchTeam"> | string | null
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export type DispatchTeamCreateWithoutLeadTechnicianInput = {
|
|
895
|
+
id?: string
|
|
896
|
+
name?: string | null
|
|
897
|
+
status?: string
|
|
898
|
+
createdAt?: Date | string
|
|
899
|
+
updatedAt?: Date | string
|
|
900
|
+
deletedAt?: Date | string | null
|
|
901
|
+
type?: string
|
|
902
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
903
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
904
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
905
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
906
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
907
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
908
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
909
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export type DispatchTeamUncheckedCreateWithoutLeadTechnicianInput = {
|
|
913
|
+
id?: string
|
|
914
|
+
name?: string | null
|
|
915
|
+
status?: string
|
|
916
|
+
createdAt?: Date | string
|
|
917
|
+
updatedAt?: Date | string
|
|
918
|
+
deletedAt?: Date | string | null
|
|
919
|
+
type?: string
|
|
920
|
+
firstTechnicianId?: string | null
|
|
921
|
+
secondTechnicianId?: string | null
|
|
922
|
+
otherTechnicianId?: string | null
|
|
923
|
+
contractorTeamId?: string | null
|
|
924
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
925
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
926
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
927
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export type DispatchTeamCreateOrConnectWithoutLeadTechnicianInput = {
|
|
931
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
932
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput>
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
export type DispatchTeamCreateManyLeadTechnicianInputEnvelope = {
|
|
936
|
+
data: Prisma.DispatchTeamCreateManyLeadTechnicianInput | Prisma.DispatchTeamCreateManyLeadTechnicianInput[]
|
|
937
|
+
skipDuplicates?: boolean
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export type DispatchTeamCreateWithoutFirstTechnicianInput = {
|
|
941
|
+
id?: string
|
|
942
|
+
name?: string | null
|
|
943
|
+
status?: string
|
|
944
|
+
createdAt?: Date | string
|
|
945
|
+
updatedAt?: Date | string
|
|
946
|
+
deletedAt?: Date | string | null
|
|
947
|
+
type?: string
|
|
948
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
949
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
950
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
951
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
952
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
953
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
954
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
955
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export type DispatchTeamUncheckedCreateWithoutFirstTechnicianInput = {
|
|
959
|
+
id?: string
|
|
960
|
+
name?: string | null
|
|
961
|
+
status?: string
|
|
962
|
+
createdAt?: Date | string
|
|
963
|
+
updatedAt?: Date | string
|
|
964
|
+
deletedAt?: Date | string | null
|
|
965
|
+
type?: string
|
|
966
|
+
leadTechnicianId: string
|
|
967
|
+
secondTechnicianId?: string | null
|
|
968
|
+
otherTechnicianId?: string | null
|
|
969
|
+
contractorTeamId?: string | null
|
|
970
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
971
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
972
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
973
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export type DispatchTeamCreateOrConnectWithoutFirstTechnicianInput = {
|
|
977
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
978
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput>
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
export type DispatchTeamCreateManyFirstTechnicianInputEnvelope = {
|
|
982
|
+
data: Prisma.DispatchTeamCreateManyFirstTechnicianInput | Prisma.DispatchTeamCreateManyFirstTechnicianInput[]
|
|
983
|
+
skipDuplicates?: boolean
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
export type DispatchTeamCreateWithoutSecondTechnicianInput = {
|
|
987
|
+
id?: string
|
|
988
|
+
name?: string | null
|
|
989
|
+
status?: string
|
|
990
|
+
createdAt?: Date | string
|
|
991
|
+
updatedAt?: Date | string
|
|
992
|
+
deletedAt?: Date | string | null
|
|
993
|
+
type?: string
|
|
994
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
995
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
996
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
997
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
998
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
999
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
1000
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
1001
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export type DispatchTeamUncheckedCreateWithoutSecondTechnicianInput = {
|
|
1005
|
+
id?: string
|
|
1006
|
+
name?: string | null
|
|
1007
|
+
status?: string
|
|
1008
|
+
createdAt?: Date | string
|
|
1009
|
+
updatedAt?: Date | string
|
|
1010
|
+
deletedAt?: Date | string | null
|
|
1011
|
+
type?: string
|
|
1012
|
+
leadTechnicianId: string
|
|
1013
|
+
firstTechnicianId?: string | null
|
|
1014
|
+
otherTechnicianId?: string | null
|
|
1015
|
+
contractorTeamId?: string | null
|
|
1016
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
1017
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
1018
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
1019
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export type DispatchTeamCreateOrConnectWithoutSecondTechnicianInput = {
|
|
1023
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1024
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput>
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
export type DispatchTeamCreateManySecondTechnicianInputEnvelope = {
|
|
1028
|
+
data: Prisma.DispatchTeamCreateManySecondTechnicianInput | Prisma.DispatchTeamCreateManySecondTechnicianInput[]
|
|
1029
|
+
skipDuplicates?: boolean
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
export type DispatchTeamCreateWithoutOtherTechnicianInput = {
|
|
1033
|
+
id?: string
|
|
1034
|
+
name?: string | null
|
|
1035
|
+
status?: string
|
|
1036
|
+
createdAt?: Date | string
|
|
1037
|
+
updatedAt?: Date | string
|
|
1038
|
+
deletedAt?: Date | string | null
|
|
1039
|
+
type?: string
|
|
1040
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
1041
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
1042
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
1043
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
1044
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
1045
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
1046
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
1047
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export type DispatchTeamUncheckedCreateWithoutOtherTechnicianInput = {
|
|
1051
|
+
id?: string
|
|
1052
|
+
name?: string | null
|
|
1053
|
+
status?: string
|
|
1054
|
+
createdAt?: Date | string
|
|
1055
|
+
updatedAt?: Date | string
|
|
1056
|
+
deletedAt?: Date | string | null
|
|
1057
|
+
type?: string
|
|
1058
|
+
leadTechnicianId: string
|
|
1059
|
+
firstTechnicianId?: string | null
|
|
1060
|
+
secondTechnicianId?: string | null
|
|
1061
|
+
contractorTeamId?: string | null
|
|
1062
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
1063
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
1064
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
1065
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export type DispatchTeamCreateOrConnectWithoutOtherTechnicianInput = {
|
|
1069
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1070
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput>
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export type DispatchTeamCreateManyOtherTechnicianInputEnvelope = {
|
|
1074
|
+
data: Prisma.DispatchTeamCreateManyOtherTechnicianInput | Prisma.DispatchTeamCreateManyOtherTechnicianInput[]
|
|
1075
|
+
skipDuplicates?: boolean
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutLeadTechnicianInput = {
|
|
1079
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1080
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutLeadTechnicianInput>
|
|
1081
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutLeadTechnicianInput>
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutLeadTechnicianInput = {
|
|
1085
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1086
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutLeadTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutLeadTechnicianInput>
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
export type DispatchTeamUpdateManyWithWhereWithoutLeadTechnicianInput = {
|
|
1090
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
1091
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutLeadTechnicianInput>
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutFirstTechnicianInput = {
|
|
1095
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1096
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutFirstTechnicianInput>
|
|
1097
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutFirstTechnicianInput>
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutFirstTechnicianInput = {
|
|
1101
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1102
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutFirstTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutFirstTechnicianInput>
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
export type DispatchTeamUpdateManyWithWhereWithoutFirstTechnicianInput = {
|
|
1106
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
1107
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutFirstTechnicianInput>
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutSecondTechnicianInput = {
|
|
1111
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1112
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutSecondTechnicianInput>
|
|
1113
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutSecondTechnicianInput>
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutSecondTechnicianInput = {
|
|
1117
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1118
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutSecondTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutSecondTechnicianInput>
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
export type DispatchTeamUpdateManyWithWhereWithoutSecondTechnicianInput = {
|
|
1122
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
1123
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutSecondTechnicianInput>
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutOtherTechnicianInput = {
|
|
1127
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1128
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutOtherTechnicianInput>
|
|
1129
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedCreateWithoutOtherTechnicianInput>
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutOtherTechnicianInput = {
|
|
1133
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1134
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutOtherTechnicianInput, Prisma.DispatchTeamUncheckedUpdateWithoutOtherTechnicianInput>
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export type DispatchTeamUpdateManyWithWhereWithoutOtherTechnicianInput = {
|
|
1138
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
1139
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutOtherTechnicianInput>
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export type DispatchTeamCreateWithoutDispatchProjectsInput = {
|
|
1143
|
+
id?: string
|
|
1144
|
+
name?: string | null
|
|
1145
|
+
status?: string
|
|
1146
|
+
createdAt?: Date | string
|
|
1147
|
+
updatedAt?: Date | string
|
|
1148
|
+
deletedAt?: Date | string | null
|
|
1149
|
+
type?: string
|
|
1150
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
1151
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
1152
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
1153
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
1154
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
1155
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
1156
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
1157
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export type DispatchTeamUncheckedCreateWithoutDispatchProjectsInput = {
|
|
1161
|
+
id?: string
|
|
1162
|
+
name?: string | null
|
|
1163
|
+
status?: string
|
|
1164
|
+
createdAt?: Date | string
|
|
1165
|
+
updatedAt?: Date | string
|
|
1166
|
+
deletedAt?: Date | string | null
|
|
1167
|
+
type?: string
|
|
1168
|
+
leadTechnicianId: string
|
|
1169
|
+
firstTechnicianId?: string | null
|
|
1170
|
+
secondTechnicianId?: string | null
|
|
1171
|
+
otherTechnicianId?: string | null
|
|
1172
|
+
contractorTeamId?: string | null
|
|
1173
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
1174
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
1175
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export type DispatchTeamCreateOrConnectWithoutDispatchProjectsInput = {
|
|
1179
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1180
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput>
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
export type DispatchTeamUpsertWithWhereUniqueWithoutDispatchProjectsInput = {
|
|
1184
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1185
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedUpdateWithoutDispatchProjectsInput>
|
|
1186
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedCreateWithoutDispatchProjectsInput>
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
export type DispatchTeamUpdateWithWhereUniqueWithoutDispatchProjectsInput = {
|
|
1190
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1191
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutDispatchProjectsInput, Prisma.DispatchTeamUncheckedUpdateWithoutDispatchProjectsInput>
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export type DispatchTeamUpdateManyWithWhereWithoutDispatchProjectsInput = {
|
|
1195
|
+
where: Prisma.DispatchTeamScalarWhereInput
|
|
1196
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyWithoutDispatchProjectsInput>
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
export type DispatchTeamCreateWithoutWorkOrdersInput = {
|
|
1200
|
+
id?: string
|
|
1201
|
+
name?: string | null
|
|
1202
|
+
status?: string
|
|
1203
|
+
createdAt?: Date | string
|
|
1204
|
+
updatedAt?: Date | string
|
|
1205
|
+
deletedAt?: Date | string | null
|
|
1206
|
+
type?: string
|
|
1207
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
1208
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
1209
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
1210
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
1211
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
1212
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
1213
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
1214
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
export type DispatchTeamUncheckedCreateWithoutWorkOrdersInput = {
|
|
1218
|
+
id?: string
|
|
1219
|
+
name?: string | null
|
|
1220
|
+
status?: string
|
|
1221
|
+
createdAt?: Date | string
|
|
1222
|
+
updatedAt?: Date | string
|
|
1223
|
+
deletedAt?: Date | string | null
|
|
1224
|
+
type?: string
|
|
1225
|
+
leadTechnicianId: string
|
|
1226
|
+
firstTechnicianId?: string | null
|
|
1227
|
+
secondTechnicianId?: string | null
|
|
1228
|
+
otherTechnicianId?: string | null
|
|
1229
|
+
contractorTeamId?: string | null
|
|
1230
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
1231
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
1232
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
export type DispatchTeamCreateOrConnectWithoutWorkOrdersInput = {
|
|
1236
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1237
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrdersInput>
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
export type DispatchTeamUpsertWithoutWorkOrdersInput = {
|
|
1241
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrdersInput>
|
|
1242
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrdersInput>
|
|
1243
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
export type DispatchTeamUpdateToOneWithWhereWithoutWorkOrdersInput = {
|
|
1247
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1248
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutWorkOrdersInput, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrdersInput>
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
export type DispatchTeamUpdateWithoutWorkOrdersInput = {
|
|
1252
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1253
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1254
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1255
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1256
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1257
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1258
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1259
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1260
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1261
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1262
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1263
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1264
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1265
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1266
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
export type DispatchTeamUncheckedUpdateWithoutWorkOrdersInput = {
|
|
1270
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1271
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1272
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1273
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1274
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1275
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1276
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1277
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1278
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1279
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1280
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1281
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1282
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1283
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1284
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export type DispatchTeamCreateWithoutWorkOrderActivityLogsInput = {
|
|
1288
|
+
id?: string
|
|
1289
|
+
name?: string | null
|
|
1290
|
+
status?: string
|
|
1291
|
+
createdAt?: Date | string
|
|
1292
|
+
updatedAt?: Date | string
|
|
1293
|
+
deletedAt?: Date | string | null
|
|
1294
|
+
type?: string
|
|
1295
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
1296
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
1297
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
1298
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
1299
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
1300
|
+
TeamMaterial?: Prisma.TeamMaterialCreateNestedManyWithoutTeamInput
|
|
1301
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
1302
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
export type DispatchTeamUncheckedCreateWithoutWorkOrderActivityLogsInput = {
|
|
1306
|
+
id?: string
|
|
1307
|
+
name?: string | null
|
|
1308
|
+
status?: string
|
|
1309
|
+
createdAt?: Date | string
|
|
1310
|
+
updatedAt?: Date | string
|
|
1311
|
+
deletedAt?: Date | string | null
|
|
1312
|
+
type?: string
|
|
1313
|
+
leadTechnicianId: string
|
|
1314
|
+
firstTechnicianId?: string | null
|
|
1315
|
+
secondTechnicianId?: string | null
|
|
1316
|
+
otherTechnicianId?: string | null
|
|
1317
|
+
contractorTeamId?: string | null
|
|
1318
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedCreateNestedManyWithoutTeamInput
|
|
1319
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
1320
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export type DispatchTeamCreateOrConnectWithoutWorkOrderActivityLogsInput = {
|
|
1324
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1325
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrderActivityLogsInput>
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
export type DispatchTeamUpsertWithoutWorkOrderActivityLogsInput = {
|
|
1329
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrderActivityLogsInput>
|
|
1330
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedCreateWithoutWorkOrderActivityLogsInput>
|
|
1331
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
export type DispatchTeamUpdateToOneWithWhereWithoutWorkOrderActivityLogsInput = {
|
|
1335
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1336
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutWorkOrderActivityLogsInput, Prisma.DispatchTeamUncheckedUpdateWithoutWorkOrderActivityLogsInput>
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
export type DispatchTeamUpdateWithoutWorkOrderActivityLogsInput = {
|
|
1340
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1341
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1342
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1343
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1344
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1345
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1346
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1347
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1348
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1349
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1350
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1351
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1352
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1353
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1354
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
export type DispatchTeamUncheckedUpdateWithoutWorkOrderActivityLogsInput = {
|
|
1358
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1359
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1360
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1361
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1362
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1363
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1364
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1365
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1366
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1367
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1368
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1369
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1370
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1371
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1372
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
export type DispatchTeamCreateWithoutTeamMaterialInput = {
|
|
1376
|
+
id?: string
|
|
1377
|
+
name?: string | null
|
|
1378
|
+
status?: string
|
|
1379
|
+
createdAt?: Date | string
|
|
1380
|
+
updatedAt?: Date | string
|
|
1381
|
+
deletedAt?: Date | string | null
|
|
1382
|
+
type?: string
|
|
1383
|
+
LeadTechnician: Prisma.UserCreateNestedOneWithoutLeadTechnicianInput
|
|
1384
|
+
FirstTechnician?: Prisma.UserCreateNestedOneWithoutFirstTechnicianInput
|
|
1385
|
+
SecondTechnician?: Prisma.UserCreateNestedOneWithoutSecondTechnicianInput
|
|
1386
|
+
OtherTechnician?: Prisma.UserCreateNestedOneWithoutOtherTechnicianInput
|
|
1387
|
+
contractorTeam?: Prisma.TeamCreateNestedOneWithoutDispatchTeamInput
|
|
1388
|
+
WorkOrders?: Prisma.WorkOrderCreateNestedManyWithoutTeamInput
|
|
1389
|
+
dispatchProjects?: Prisma.DispatchProjectCreateNestedManyWithoutTeamsInput
|
|
1390
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogCreateNestedManyWithoutTeamInput
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
export type DispatchTeamUncheckedCreateWithoutTeamMaterialInput = {
|
|
1394
|
+
id?: string
|
|
1395
|
+
name?: string | null
|
|
1396
|
+
status?: string
|
|
1397
|
+
createdAt?: Date | string
|
|
1398
|
+
updatedAt?: Date | string
|
|
1399
|
+
deletedAt?: Date | string | null
|
|
1400
|
+
type?: string
|
|
1401
|
+
leadTechnicianId: string
|
|
1402
|
+
firstTechnicianId?: string | null
|
|
1403
|
+
secondTechnicianId?: string | null
|
|
1404
|
+
otherTechnicianId?: string | null
|
|
1405
|
+
contractorTeamId?: string | null
|
|
1406
|
+
WorkOrders?: Prisma.WorkOrderUncheckedCreateNestedManyWithoutTeamInput
|
|
1407
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamsInput
|
|
1408
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedCreateNestedManyWithoutTeamInput
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
export type DispatchTeamCreateOrConnectWithoutTeamMaterialInput = {
|
|
1412
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
1413
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedCreateWithoutTeamMaterialInput>
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
export type DispatchTeamUpsertWithoutTeamMaterialInput = {
|
|
1417
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedUpdateWithoutTeamMaterialInput>
|
|
1418
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedCreateWithoutTeamMaterialInput>
|
|
1419
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
export type DispatchTeamUpdateToOneWithWhereWithoutTeamMaterialInput = {
|
|
1423
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
1424
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateWithoutTeamMaterialInput, Prisma.DispatchTeamUncheckedUpdateWithoutTeamMaterialInput>
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
export type DispatchTeamUpdateWithoutTeamMaterialInput = {
|
|
1428
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1429
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1430
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1431
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1432
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1433
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1434
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1435
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1436
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1437
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1438
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1439
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1440
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1441
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1442
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
export type DispatchTeamUncheckedUpdateWithoutTeamMaterialInput = {
|
|
1446
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1447
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1448
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1449
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1450
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1451
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1452
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1453
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1454
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1455
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1456
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1457
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1458
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1459
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1460
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
export type DispatchTeamCreateManyContractorTeamInput = {
|
|
1464
|
+
id?: string
|
|
1465
|
+
name?: string | null
|
|
1466
|
+
status?: string
|
|
1467
|
+
createdAt?: Date | string
|
|
1468
|
+
updatedAt?: Date | string
|
|
1469
|
+
deletedAt?: Date | string | null
|
|
1470
|
+
type?: string
|
|
1471
|
+
leadTechnicianId: string
|
|
1472
|
+
firstTechnicianId?: string | null
|
|
1473
|
+
secondTechnicianId?: string | null
|
|
1474
|
+
otherTechnicianId?: string | null
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export type DispatchTeamUpdateWithoutContractorTeamInput = {
|
|
1478
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1479
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1480
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1481
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1482
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1483
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1484
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1485
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1486
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1487
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1488
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1489
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1490
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1491
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1492
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export type DispatchTeamUncheckedUpdateWithoutContractorTeamInput = {
|
|
1496
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1497
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1498
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1499
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1500
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1501
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1502
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1503
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1504
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1505
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1506
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1507
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1508
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1509
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1510
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
export type DispatchTeamUncheckedUpdateManyWithoutContractorTeamInput = {
|
|
1514
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1515
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1516
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1517
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1518
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1519
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1520
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1521
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1522
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1523
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1524
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
export type DispatchTeamCreateManyLeadTechnicianInput = {
|
|
1528
|
+
id?: string
|
|
1529
|
+
name?: string | null
|
|
1530
|
+
status?: string
|
|
1531
|
+
createdAt?: Date | string
|
|
1532
|
+
updatedAt?: Date | string
|
|
1533
|
+
deletedAt?: Date | string | null
|
|
1534
|
+
type?: string
|
|
1535
|
+
firstTechnicianId?: string | null
|
|
1536
|
+
secondTechnicianId?: string | null
|
|
1537
|
+
otherTechnicianId?: string | null
|
|
1538
|
+
contractorTeamId?: string | null
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
export type DispatchTeamCreateManyFirstTechnicianInput = {
|
|
1542
|
+
id?: string
|
|
1543
|
+
name?: string | null
|
|
1544
|
+
status?: string
|
|
1545
|
+
createdAt?: Date | string
|
|
1546
|
+
updatedAt?: Date | string
|
|
1547
|
+
deletedAt?: Date | string | null
|
|
1548
|
+
type?: string
|
|
1549
|
+
leadTechnicianId: string
|
|
1550
|
+
secondTechnicianId?: string | null
|
|
1551
|
+
otherTechnicianId?: string | null
|
|
1552
|
+
contractorTeamId?: string | null
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export type DispatchTeamCreateManySecondTechnicianInput = {
|
|
1556
|
+
id?: string
|
|
1557
|
+
name?: string | null
|
|
1558
|
+
status?: string
|
|
1559
|
+
createdAt?: Date | string
|
|
1560
|
+
updatedAt?: Date | string
|
|
1561
|
+
deletedAt?: Date | string | null
|
|
1562
|
+
type?: string
|
|
1563
|
+
leadTechnicianId: string
|
|
1564
|
+
firstTechnicianId?: string | null
|
|
1565
|
+
otherTechnicianId?: string | null
|
|
1566
|
+
contractorTeamId?: string | null
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
export type DispatchTeamCreateManyOtherTechnicianInput = {
|
|
1570
|
+
id?: string
|
|
1571
|
+
name?: string | null
|
|
1572
|
+
status?: string
|
|
1573
|
+
createdAt?: Date | string
|
|
1574
|
+
updatedAt?: Date | string
|
|
1575
|
+
deletedAt?: Date | string | null
|
|
1576
|
+
type?: string
|
|
1577
|
+
leadTechnicianId: string
|
|
1578
|
+
firstTechnicianId?: string | null
|
|
1579
|
+
secondTechnicianId?: string | null
|
|
1580
|
+
contractorTeamId?: string | null
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export type DispatchTeamUpdateWithoutLeadTechnicianInput = {
|
|
1584
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1585
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1586
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1587
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1588
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1589
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1590
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1591
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1592
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1593
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1594
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1595
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1596
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1597
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1598
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
export type DispatchTeamUncheckedUpdateWithoutLeadTechnicianInput = {
|
|
1602
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1603
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1604
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1605
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1606
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1607
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1608
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1609
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1610
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1611
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1612
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1613
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1614
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1615
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1616
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
export type DispatchTeamUncheckedUpdateManyWithoutLeadTechnicianInput = {
|
|
1620
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1621
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1622
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1623
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1624
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1625
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1626
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1627
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1628
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1629
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1630
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
export type DispatchTeamUpdateWithoutFirstTechnicianInput = {
|
|
1634
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1635
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1636
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1637
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1638
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1639
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1640
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1641
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1642
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1643
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1644
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1645
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1646
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1647
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1648
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
export type DispatchTeamUncheckedUpdateWithoutFirstTechnicianInput = {
|
|
1652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1653
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1654
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1655
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1656
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1657
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1658
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1659
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1660
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1661
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1662
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1663
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1664
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1665
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1666
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
export type DispatchTeamUncheckedUpdateManyWithoutFirstTechnicianInput = {
|
|
1670
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1671
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1672
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1673
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1674
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1675
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1676
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1677
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1678
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1679
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1680
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
export type DispatchTeamUpdateWithoutSecondTechnicianInput = {
|
|
1684
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1685
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1686
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1687
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1688
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1689
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1690
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1691
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1692
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1693
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1694
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1695
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1696
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1697
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1698
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
export type DispatchTeamUncheckedUpdateWithoutSecondTechnicianInput = {
|
|
1702
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1703
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1704
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1705
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1706
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1707
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1708
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1709
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1710
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1711
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1712
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1713
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1714
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1715
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1716
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
export type DispatchTeamUncheckedUpdateManyWithoutSecondTechnicianInput = {
|
|
1720
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1721
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1722
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1723
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1724
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1725
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1726
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1727
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1728
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1729
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1730
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
export type DispatchTeamUpdateWithoutOtherTechnicianInput = {
|
|
1734
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1735
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1736
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1737
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1738
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1739
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1740
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1741
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1742
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1743
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1744
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1745
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1746
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1747
|
+
dispatchProjects?: Prisma.DispatchProjectUpdateManyWithoutTeamsNestedInput
|
|
1748
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
export type DispatchTeamUncheckedUpdateWithoutOtherTechnicianInput = {
|
|
1752
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1753
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1754
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1755
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1756
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1757
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1758
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1759
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1760
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1761
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1762
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1763
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1764
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1765
|
+
dispatchProjects?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamsNestedInput
|
|
1766
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
export type DispatchTeamUncheckedUpdateManyWithoutOtherTechnicianInput = {
|
|
1770
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1771
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1772
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1773
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1774
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1775
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1776
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1777
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1778
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1779
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1780
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
export type DispatchTeamUpdateWithoutDispatchProjectsInput = {
|
|
1784
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1785
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1786
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1787
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1788
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1789
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1790
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1791
|
+
LeadTechnician?: Prisma.UserUpdateOneRequiredWithoutLeadTechnicianNestedInput
|
|
1792
|
+
FirstTechnician?: Prisma.UserUpdateOneWithoutFirstTechnicianNestedInput
|
|
1793
|
+
SecondTechnician?: Prisma.UserUpdateOneWithoutSecondTechnicianNestedInput
|
|
1794
|
+
OtherTechnician?: Prisma.UserUpdateOneWithoutOtherTechnicianNestedInput
|
|
1795
|
+
contractorTeam?: Prisma.TeamUpdateOneWithoutDispatchTeamNestedInput
|
|
1796
|
+
TeamMaterial?: Prisma.TeamMaterialUpdateManyWithoutTeamNestedInput
|
|
1797
|
+
WorkOrders?: Prisma.WorkOrderUpdateManyWithoutTeamNestedInput
|
|
1798
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUpdateManyWithoutTeamNestedInput
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
export type DispatchTeamUncheckedUpdateWithoutDispatchProjectsInput = {
|
|
1802
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1803
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1804
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1805
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1806
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1807
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1808
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1809
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1810
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1811
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1812
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1813
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1814
|
+
TeamMaterial?: Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput
|
|
1815
|
+
WorkOrders?: Prisma.WorkOrderUncheckedUpdateManyWithoutTeamNestedInput
|
|
1816
|
+
workOrderActivityLogs?: Prisma.WorkOrderActivityLogUncheckedUpdateManyWithoutTeamNestedInput
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
export type DispatchTeamUncheckedUpdateManyWithoutDispatchProjectsInput = {
|
|
1820
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1821
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1822
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1823
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1824
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1825
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1826
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1827
|
+
leadTechnicianId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1828
|
+
firstTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1829
|
+
secondTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1830
|
+
otherTechnicianId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1831
|
+
contractorTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Count Type DispatchTeamCountOutputType
|
|
1837
|
+
*/
|
|
1838
|
+
|
|
1839
|
+
export type DispatchTeamCountOutputType = {
|
|
1840
|
+
TeamMaterial: number
|
|
1841
|
+
WorkOrders: number
|
|
1842
|
+
dispatchProjects: number
|
|
1843
|
+
workOrderActivityLogs: number
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
export type DispatchTeamCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1847
|
+
TeamMaterial?: boolean | DispatchTeamCountOutputTypeCountTeamMaterialArgs
|
|
1848
|
+
WorkOrders?: boolean | DispatchTeamCountOutputTypeCountWorkOrdersArgs
|
|
1849
|
+
dispatchProjects?: boolean | DispatchTeamCountOutputTypeCountDispatchProjectsArgs
|
|
1850
|
+
workOrderActivityLogs?: boolean | DispatchTeamCountOutputTypeCountWorkOrderActivityLogsArgs
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* DispatchTeamCountOutputType without action
|
|
1855
|
+
*/
|
|
1856
|
+
export type DispatchTeamCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1857
|
+
/**
|
|
1858
|
+
* Select specific fields to fetch from the DispatchTeamCountOutputType
|
|
1859
|
+
*/
|
|
1860
|
+
select?: Prisma.DispatchTeamCountOutputTypeSelect<ExtArgs> | null
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
/**
|
|
1864
|
+
* DispatchTeamCountOutputType without action
|
|
1865
|
+
*/
|
|
1866
|
+
export type DispatchTeamCountOutputTypeCountTeamMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1867
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* DispatchTeamCountOutputType without action
|
|
1872
|
+
*/
|
|
1873
|
+
export type DispatchTeamCountOutputTypeCountWorkOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1874
|
+
where?: Prisma.WorkOrderWhereInput
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* DispatchTeamCountOutputType without action
|
|
1879
|
+
*/
|
|
1880
|
+
export type DispatchTeamCountOutputTypeCountDispatchProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1881
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* DispatchTeamCountOutputType without action
|
|
1886
|
+
*/
|
|
1887
|
+
export type DispatchTeamCountOutputTypeCountWorkOrderActivityLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1888
|
+
where?: Prisma.WorkOrderActivityLogWhereInput
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
export type DispatchTeamSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1893
|
+
id?: boolean
|
|
1894
|
+
name?: boolean
|
|
1895
|
+
status?: boolean
|
|
1896
|
+
createdAt?: boolean
|
|
1897
|
+
updatedAt?: boolean
|
|
1898
|
+
deletedAt?: boolean
|
|
1899
|
+
type?: boolean
|
|
1900
|
+
leadTechnicianId?: boolean
|
|
1901
|
+
firstTechnicianId?: boolean
|
|
1902
|
+
secondTechnicianId?: boolean
|
|
1903
|
+
otherTechnicianId?: boolean
|
|
1904
|
+
contractorTeamId?: boolean
|
|
1905
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1906
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1907
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1908
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1909
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1910
|
+
TeamMaterial?: boolean | Prisma.DispatchTeam$TeamMaterialArgs<ExtArgs>
|
|
1911
|
+
WorkOrders?: boolean | Prisma.DispatchTeam$WorkOrdersArgs<ExtArgs>
|
|
1912
|
+
dispatchProjects?: boolean | Prisma.DispatchTeam$dispatchProjectsArgs<ExtArgs>
|
|
1913
|
+
workOrderActivityLogs?: boolean | Prisma.DispatchTeam$workOrderActivityLogsArgs<ExtArgs>
|
|
1914
|
+
_count?: boolean | Prisma.DispatchTeamCountOutputTypeDefaultArgs<ExtArgs>
|
|
1915
|
+
}, ExtArgs["result"]["dispatchTeam"]>
|
|
1916
|
+
|
|
1917
|
+
export type DispatchTeamSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1918
|
+
id?: boolean
|
|
1919
|
+
name?: boolean
|
|
1920
|
+
status?: boolean
|
|
1921
|
+
createdAt?: boolean
|
|
1922
|
+
updatedAt?: boolean
|
|
1923
|
+
deletedAt?: boolean
|
|
1924
|
+
type?: boolean
|
|
1925
|
+
leadTechnicianId?: boolean
|
|
1926
|
+
firstTechnicianId?: boolean
|
|
1927
|
+
secondTechnicianId?: boolean
|
|
1928
|
+
otherTechnicianId?: boolean
|
|
1929
|
+
contractorTeamId?: boolean
|
|
1930
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1931
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1932
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1933
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1934
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1935
|
+
}, ExtArgs["result"]["dispatchTeam"]>
|
|
1936
|
+
|
|
1937
|
+
export type DispatchTeamSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1938
|
+
id?: boolean
|
|
1939
|
+
name?: boolean
|
|
1940
|
+
status?: boolean
|
|
1941
|
+
createdAt?: boolean
|
|
1942
|
+
updatedAt?: boolean
|
|
1943
|
+
deletedAt?: boolean
|
|
1944
|
+
type?: boolean
|
|
1945
|
+
leadTechnicianId?: boolean
|
|
1946
|
+
firstTechnicianId?: boolean
|
|
1947
|
+
secondTechnicianId?: boolean
|
|
1948
|
+
otherTechnicianId?: boolean
|
|
1949
|
+
contractorTeamId?: boolean
|
|
1950
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1951
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1952
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1953
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1954
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1955
|
+
}, ExtArgs["result"]["dispatchTeam"]>
|
|
1956
|
+
|
|
1957
|
+
export type DispatchTeamSelectScalar = {
|
|
1958
|
+
id?: boolean
|
|
1959
|
+
name?: boolean
|
|
1960
|
+
status?: boolean
|
|
1961
|
+
createdAt?: boolean
|
|
1962
|
+
updatedAt?: boolean
|
|
1963
|
+
deletedAt?: boolean
|
|
1964
|
+
type?: boolean
|
|
1965
|
+
leadTechnicianId?: boolean
|
|
1966
|
+
firstTechnicianId?: boolean
|
|
1967
|
+
secondTechnicianId?: boolean
|
|
1968
|
+
otherTechnicianId?: boolean
|
|
1969
|
+
contractorTeamId?: boolean
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
export type DispatchTeamOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "status" | "createdAt" | "updatedAt" | "deletedAt" | "type" | "leadTechnicianId" | "firstTechnicianId" | "secondTechnicianId" | "otherTechnicianId" | "contractorTeamId", ExtArgs["result"]["dispatchTeam"]>
|
|
1973
|
+
export type DispatchTeamInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1974
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1975
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1976
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1977
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1978
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1979
|
+
TeamMaterial?: boolean | Prisma.DispatchTeam$TeamMaterialArgs<ExtArgs>
|
|
1980
|
+
WorkOrders?: boolean | Prisma.DispatchTeam$WorkOrdersArgs<ExtArgs>
|
|
1981
|
+
dispatchProjects?: boolean | Prisma.DispatchTeam$dispatchProjectsArgs<ExtArgs>
|
|
1982
|
+
workOrderActivityLogs?: boolean | Prisma.DispatchTeam$workOrderActivityLogsArgs<ExtArgs>
|
|
1983
|
+
_count?: boolean | Prisma.DispatchTeamCountOutputTypeDefaultArgs<ExtArgs>
|
|
1984
|
+
}
|
|
1985
|
+
export type DispatchTeamIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1986
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1987
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1988
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1989
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1990
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1991
|
+
}
|
|
1992
|
+
export type DispatchTeamIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1993
|
+
LeadTechnician?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1994
|
+
FirstTechnician?: boolean | Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>
|
|
1995
|
+
SecondTechnician?: boolean | Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>
|
|
1996
|
+
OtherTechnician?: boolean | Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>
|
|
1997
|
+
contractorTeam?: boolean | Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
export type $DispatchTeamPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2001
|
+
name: "DispatchTeam"
|
|
2002
|
+
objects: {
|
|
2003
|
+
LeadTechnician: Prisma.$UserPayload<ExtArgs>
|
|
2004
|
+
FirstTechnician: Prisma.$UserPayload<ExtArgs> | null
|
|
2005
|
+
SecondTechnician: Prisma.$UserPayload<ExtArgs> | null
|
|
2006
|
+
OtherTechnician: Prisma.$UserPayload<ExtArgs> | null
|
|
2007
|
+
contractorTeam: Prisma.$TeamPayload<ExtArgs> | null
|
|
2008
|
+
TeamMaterial: Prisma.$TeamMaterialPayload<ExtArgs>[]
|
|
2009
|
+
WorkOrders: Prisma.$WorkOrderPayload<ExtArgs>[]
|
|
2010
|
+
dispatchProjects: Prisma.$DispatchProjectPayload<ExtArgs>[]
|
|
2011
|
+
workOrderActivityLogs: Prisma.$WorkOrderActivityLogPayload<ExtArgs>[]
|
|
2012
|
+
}
|
|
2013
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2014
|
+
id: string
|
|
2015
|
+
name: string | null
|
|
2016
|
+
status: string
|
|
2017
|
+
createdAt: Date
|
|
2018
|
+
updatedAt: Date
|
|
2019
|
+
deletedAt: Date | null
|
|
2020
|
+
type: string
|
|
2021
|
+
leadTechnicianId: string
|
|
2022
|
+
firstTechnicianId: string | null
|
|
2023
|
+
secondTechnicianId: string | null
|
|
2024
|
+
otherTechnicianId: string | null
|
|
2025
|
+
contractorTeamId: string | null
|
|
2026
|
+
}, ExtArgs["result"]["dispatchTeam"]>
|
|
2027
|
+
composites: {}
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
export type DispatchTeamGetPayload<S extends boolean | null | undefined | DispatchTeamDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload, S>
|
|
2031
|
+
|
|
2032
|
+
export type DispatchTeamCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
2033
|
+
Omit<DispatchTeamFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2034
|
+
select?: DispatchTeamCountAggregateInputType | true
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
export interface DispatchTeamDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2038
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DispatchTeam'], meta: { name: 'DispatchTeam' } }
|
|
2039
|
+
/**
|
|
2040
|
+
* Find zero or one DispatchTeam that matches the filter.
|
|
2041
|
+
* @param {DispatchTeamFindUniqueArgs} args - Arguments to find a DispatchTeam
|
|
2042
|
+
* @example
|
|
2043
|
+
* // Get one DispatchTeam
|
|
2044
|
+
* const dispatchTeam = await prisma.dispatchTeam.findUnique({
|
|
2045
|
+
* where: {
|
|
2046
|
+
* // ... provide filter here
|
|
2047
|
+
* }
|
|
2048
|
+
* })
|
|
2049
|
+
*/
|
|
2050
|
+
findUnique<T extends DispatchTeamFindUniqueArgs>(args: Prisma.SelectSubset<T, DispatchTeamFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* Find one DispatchTeam that matches the filter or throw an error with `error.code='P2025'`
|
|
2054
|
+
* if no matches were found.
|
|
2055
|
+
* @param {DispatchTeamFindUniqueOrThrowArgs} args - Arguments to find a DispatchTeam
|
|
2056
|
+
* @example
|
|
2057
|
+
* // Get one DispatchTeam
|
|
2058
|
+
* const dispatchTeam = await prisma.dispatchTeam.findUniqueOrThrow({
|
|
2059
|
+
* where: {
|
|
2060
|
+
* // ... provide filter here
|
|
2061
|
+
* }
|
|
2062
|
+
* })
|
|
2063
|
+
*/
|
|
2064
|
+
findUniqueOrThrow<T extends DispatchTeamFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DispatchTeamFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* Find the first DispatchTeam that matches the filter.
|
|
2068
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2069
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2070
|
+
* @param {DispatchTeamFindFirstArgs} args - Arguments to find a DispatchTeam
|
|
2071
|
+
* @example
|
|
2072
|
+
* // Get one DispatchTeam
|
|
2073
|
+
* const dispatchTeam = await prisma.dispatchTeam.findFirst({
|
|
2074
|
+
* where: {
|
|
2075
|
+
* // ... provide filter here
|
|
2076
|
+
* }
|
|
2077
|
+
* })
|
|
2078
|
+
*/
|
|
2079
|
+
findFirst<T extends DispatchTeamFindFirstArgs>(args?: Prisma.SelectSubset<T, DispatchTeamFindFirstArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* Find the first DispatchTeam that matches the filter or
|
|
2083
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2084
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2085
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2086
|
+
* @param {DispatchTeamFindFirstOrThrowArgs} args - Arguments to find a DispatchTeam
|
|
2087
|
+
* @example
|
|
2088
|
+
* // Get one DispatchTeam
|
|
2089
|
+
* const dispatchTeam = await prisma.dispatchTeam.findFirstOrThrow({
|
|
2090
|
+
* where: {
|
|
2091
|
+
* // ... provide filter here
|
|
2092
|
+
* }
|
|
2093
|
+
* })
|
|
2094
|
+
*/
|
|
2095
|
+
findFirstOrThrow<T extends DispatchTeamFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DispatchTeamFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Find zero or more DispatchTeams that matches the filter.
|
|
2099
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2100
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2101
|
+
* @param {DispatchTeamFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2102
|
+
* @example
|
|
2103
|
+
* // Get all DispatchTeams
|
|
2104
|
+
* const dispatchTeams = await prisma.dispatchTeam.findMany()
|
|
2105
|
+
*
|
|
2106
|
+
* // Get first 10 DispatchTeams
|
|
2107
|
+
* const dispatchTeams = await prisma.dispatchTeam.findMany({ take: 10 })
|
|
2108
|
+
*
|
|
2109
|
+
* // Only select the `id`
|
|
2110
|
+
* const dispatchTeamWithIdOnly = await prisma.dispatchTeam.findMany({ select: { id: true } })
|
|
2111
|
+
*
|
|
2112
|
+
*/
|
|
2113
|
+
findMany<T extends DispatchTeamFindManyArgs>(args?: Prisma.SelectSubset<T, DispatchTeamFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* Create a DispatchTeam.
|
|
2117
|
+
* @param {DispatchTeamCreateArgs} args - Arguments to create a DispatchTeam.
|
|
2118
|
+
* @example
|
|
2119
|
+
* // Create one DispatchTeam
|
|
2120
|
+
* const DispatchTeam = await prisma.dispatchTeam.create({
|
|
2121
|
+
* data: {
|
|
2122
|
+
* // ... data to create a DispatchTeam
|
|
2123
|
+
* }
|
|
2124
|
+
* })
|
|
2125
|
+
*
|
|
2126
|
+
*/
|
|
2127
|
+
create<T extends DispatchTeamCreateArgs>(args: Prisma.SelectSubset<T, DispatchTeamCreateArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Create many DispatchTeams.
|
|
2131
|
+
* @param {DispatchTeamCreateManyArgs} args - Arguments to create many DispatchTeams.
|
|
2132
|
+
* @example
|
|
2133
|
+
* // Create many DispatchTeams
|
|
2134
|
+
* const dispatchTeam = await prisma.dispatchTeam.createMany({
|
|
2135
|
+
* data: [
|
|
2136
|
+
* // ... provide data here
|
|
2137
|
+
* ]
|
|
2138
|
+
* })
|
|
2139
|
+
*
|
|
2140
|
+
*/
|
|
2141
|
+
createMany<T extends DispatchTeamCreateManyArgs>(args?: Prisma.SelectSubset<T, DispatchTeamCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Create many DispatchTeams and returns the data saved in the database.
|
|
2145
|
+
* @param {DispatchTeamCreateManyAndReturnArgs} args - Arguments to create many DispatchTeams.
|
|
2146
|
+
* @example
|
|
2147
|
+
* // Create many DispatchTeams
|
|
2148
|
+
* const dispatchTeam = await prisma.dispatchTeam.createManyAndReturn({
|
|
2149
|
+
* data: [
|
|
2150
|
+
* // ... provide data here
|
|
2151
|
+
* ]
|
|
2152
|
+
* })
|
|
2153
|
+
*
|
|
2154
|
+
* // Create many DispatchTeams and only return the `id`
|
|
2155
|
+
* const dispatchTeamWithIdOnly = await prisma.dispatchTeam.createManyAndReturn({
|
|
2156
|
+
* select: { id: true },
|
|
2157
|
+
* data: [
|
|
2158
|
+
* // ... provide data here
|
|
2159
|
+
* ]
|
|
2160
|
+
* })
|
|
2161
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2162
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2163
|
+
*
|
|
2164
|
+
*/
|
|
2165
|
+
createManyAndReturn<T extends DispatchTeamCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DispatchTeamCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Delete a DispatchTeam.
|
|
2169
|
+
* @param {DispatchTeamDeleteArgs} args - Arguments to delete one DispatchTeam.
|
|
2170
|
+
* @example
|
|
2171
|
+
* // Delete one DispatchTeam
|
|
2172
|
+
* const DispatchTeam = await prisma.dispatchTeam.delete({
|
|
2173
|
+
* where: {
|
|
2174
|
+
* // ... filter to delete one DispatchTeam
|
|
2175
|
+
* }
|
|
2176
|
+
* })
|
|
2177
|
+
*
|
|
2178
|
+
*/
|
|
2179
|
+
delete<T extends DispatchTeamDeleteArgs>(args: Prisma.SelectSubset<T, DispatchTeamDeleteArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2180
|
+
|
|
2181
|
+
/**
|
|
2182
|
+
* Update one DispatchTeam.
|
|
2183
|
+
* @param {DispatchTeamUpdateArgs} args - Arguments to update one DispatchTeam.
|
|
2184
|
+
* @example
|
|
2185
|
+
* // Update one DispatchTeam
|
|
2186
|
+
* const dispatchTeam = await prisma.dispatchTeam.update({
|
|
2187
|
+
* where: {
|
|
2188
|
+
* // ... provide filter here
|
|
2189
|
+
* },
|
|
2190
|
+
* data: {
|
|
2191
|
+
* // ... provide data here
|
|
2192
|
+
* }
|
|
2193
|
+
* })
|
|
2194
|
+
*
|
|
2195
|
+
*/
|
|
2196
|
+
update<T extends DispatchTeamUpdateArgs>(args: Prisma.SelectSubset<T, DispatchTeamUpdateArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* Delete zero or more DispatchTeams.
|
|
2200
|
+
* @param {DispatchTeamDeleteManyArgs} args - Arguments to filter DispatchTeams to delete.
|
|
2201
|
+
* @example
|
|
2202
|
+
* // Delete a few DispatchTeams
|
|
2203
|
+
* const { count } = await prisma.dispatchTeam.deleteMany({
|
|
2204
|
+
* where: {
|
|
2205
|
+
* // ... provide filter here
|
|
2206
|
+
* }
|
|
2207
|
+
* })
|
|
2208
|
+
*
|
|
2209
|
+
*/
|
|
2210
|
+
deleteMany<T extends DispatchTeamDeleteManyArgs>(args?: Prisma.SelectSubset<T, DispatchTeamDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2211
|
+
|
|
2212
|
+
/**
|
|
2213
|
+
* Update zero or more DispatchTeams.
|
|
2214
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2215
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2216
|
+
* @param {DispatchTeamUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2217
|
+
* @example
|
|
2218
|
+
* // Update many DispatchTeams
|
|
2219
|
+
* const dispatchTeam = await prisma.dispatchTeam.updateMany({
|
|
2220
|
+
* where: {
|
|
2221
|
+
* // ... provide filter here
|
|
2222
|
+
* },
|
|
2223
|
+
* data: {
|
|
2224
|
+
* // ... provide data here
|
|
2225
|
+
* }
|
|
2226
|
+
* })
|
|
2227
|
+
*
|
|
2228
|
+
*/
|
|
2229
|
+
updateMany<T extends DispatchTeamUpdateManyArgs>(args: Prisma.SelectSubset<T, DispatchTeamUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Update zero or more DispatchTeams and returns the data updated in the database.
|
|
2233
|
+
* @param {DispatchTeamUpdateManyAndReturnArgs} args - Arguments to update many DispatchTeams.
|
|
2234
|
+
* @example
|
|
2235
|
+
* // Update many DispatchTeams
|
|
2236
|
+
* const dispatchTeam = await prisma.dispatchTeam.updateManyAndReturn({
|
|
2237
|
+
* where: {
|
|
2238
|
+
* // ... provide filter here
|
|
2239
|
+
* },
|
|
2240
|
+
* data: [
|
|
2241
|
+
* // ... provide data here
|
|
2242
|
+
* ]
|
|
2243
|
+
* })
|
|
2244
|
+
*
|
|
2245
|
+
* // Update zero or more DispatchTeams and only return the `id`
|
|
2246
|
+
* const dispatchTeamWithIdOnly = await prisma.dispatchTeam.updateManyAndReturn({
|
|
2247
|
+
* select: { id: true },
|
|
2248
|
+
* where: {
|
|
2249
|
+
* // ... provide filter here
|
|
2250
|
+
* },
|
|
2251
|
+
* data: [
|
|
2252
|
+
* // ... provide data here
|
|
2253
|
+
* ]
|
|
2254
|
+
* })
|
|
2255
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2256
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2257
|
+
*
|
|
2258
|
+
*/
|
|
2259
|
+
updateManyAndReturn<T extends DispatchTeamUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DispatchTeamUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* Create or update one DispatchTeam.
|
|
2263
|
+
* @param {DispatchTeamUpsertArgs} args - Arguments to update or create a DispatchTeam.
|
|
2264
|
+
* @example
|
|
2265
|
+
* // Update or create a DispatchTeam
|
|
2266
|
+
* const dispatchTeam = await prisma.dispatchTeam.upsert({
|
|
2267
|
+
* create: {
|
|
2268
|
+
* // ... data to create a DispatchTeam
|
|
2269
|
+
* },
|
|
2270
|
+
* update: {
|
|
2271
|
+
* // ... in case it already exists, update
|
|
2272
|
+
* },
|
|
2273
|
+
* where: {
|
|
2274
|
+
* // ... the filter for the DispatchTeam we want to update
|
|
2275
|
+
* }
|
|
2276
|
+
* })
|
|
2277
|
+
*/
|
|
2278
|
+
upsert<T extends DispatchTeamUpsertArgs>(args: Prisma.SelectSubset<T, DispatchTeamUpsertArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
/**
|
|
2282
|
+
* Count the number of DispatchTeams.
|
|
2283
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2284
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2285
|
+
* @param {DispatchTeamCountArgs} args - Arguments to filter DispatchTeams to count.
|
|
2286
|
+
* @example
|
|
2287
|
+
* // Count the number of DispatchTeams
|
|
2288
|
+
* const count = await prisma.dispatchTeam.count({
|
|
2289
|
+
* where: {
|
|
2290
|
+
* // ... the filter for the DispatchTeams we want to count
|
|
2291
|
+
* }
|
|
2292
|
+
* })
|
|
2293
|
+
**/
|
|
2294
|
+
count<T extends DispatchTeamCountArgs>(
|
|
2295
|
+
args?: Prisma.Subset<T, DispatchTeamCountArgs>,
|
|
2296
|
+
): Prisma.PrismaPromise<
|
|
2297
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
2298
|
+
? T['select'] extends true
|
|
2299
|
+
? number
|
|
2300
|
+
: Prisma.GetScalarType<T['select'], DispatchTeamCountAggregateOutputType>
|
|
2301
|
+
: number
|
|
2302
|
+
>
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Allows you to perform aggregations operations on a DispatchTeam.
|
|
2306
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2307
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2308
|
+
* @param {DispatchTeamAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2309
|
+
* @example
|
|
2310
|
+
* // Ordered by age ascending
|
|
2311
|
+
* // Where email contains prisma.io
|
|
2312
|
+
* // Limited to the 10 users
|
|
2313
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2314
|
+
* _avg: {
|
|
2315
|
+
* age: true,
|
|
2316
|
+
* },
|
|
2317
|
+
* where: {
|
|
2318
|
+
* email: {
|
|
2319
|
+
* contains: "prisma.io",
|
|
2320
|
+
* },
|
|
2321
|
+
* },
|
|
2322
|
+
* orderBy: {
|
|
2323
|
+
* age: "asc",
|
|
2324
|
+
* },
|
|
2325
|
+
* take: 10,
|
|
2326
|
+
* })
|
|
2327
|
+
**/
|
|
2328
|
+
aggregate<T extends DispatchTeamAggregateArgs>(args: Prisma.Subset<T, DispatchTeamAggregateArgs>): Prisma.PrismaPromise<GetDispatchTeamAggregateType<T>>
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* Group by DispatchTeam.
|
|
2332
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2333
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2334
|
+
* @param {DispatchTeamGroupByArgs} args - Group by arguments.
|
|
2335
|
+
* @example
|
|
2336
|
+
* // Group by city, order by createdAt, get count
|
|
2337
|
+
* const result = await prisma.user.groupBy({
|
|
2338
|
+
* by: ['city', 'createdAt'],
|
|
2339
|
+
* orderBy: {
|
|
2340
|
+
* createdAt: true
|
|
2341
|
+
* },
|
|
2342
|
+
* _count: {
|
|
2343
|
+
* _all: true
|
|
2344
|
+
* },
|
|
2345
|
+
* })
|
|
2346
|
+
*
|
|
2347
|
+
**/
|
|
2348
|
+
groupBy<
|
|
2349
|
+
T extends DispatchTeamGroupByArgs,
|
|
2350
|
+
HasSelectOrTake extends Prisma.Or<
|
|
2351
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2352
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2353
|
+
>,
|
|
2354
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2355
|
+
? { orderBy: DispatchTeamGroupByArgs['orderBy'] }
|
|
2356
|
+
: { orderBy?: DispatchTeamGroupByArgs['orderBy'] },
|
|
2357
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2358
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2359
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2360
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2361
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2362
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2363
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
2364
|
+
? `Error: "by" must not be empty.`
|
|
2365
|
+
: HavingValid extends Prisma.False
|
|
2366
|
+
? {
|
|
2367
|
+
[P in HavingFields]: P extends ByFields
|
|
2368
|
+
? never
|
|
2369
|
+
: P extends string
|
|
2370
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2371
|
+
: [
|
|
2372
|
+
Error,
|
|
2373
|
+
'Field ',
|
|
2374
|
+
P,
|
|
2375
|
+
` in "having" needs to be provided in "by"`,
|
|
2376
|
+
]
|
|
2377
|
+
}[HavingFields]
|
|
2378
|
+
: 'take' extends Prisma.Keys<T>
|
|
2379
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2380
|
+
? ByValid extends Prisma.True
|
|
2381
|
+
? {}
|
|
2382
|
+
: {
|
|
2383
|
+
[P in OrderFields]: P extends ByFields
|
|
2384
|
+
? never
|
|
2385
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2386
|
+
}[OrderFields]
|
|
2387
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2388
|
+
: 'skip' extends Prisma.Keys<T>
|
|
2389
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2390
|
+
? ByValid extends Prisma.True
|
|
2391
|
+
? {}
|
|
2392
|
+
: {
|
|
2393
|
+
[P in OrderFields]: P extends ByFields
|
|
2394
|
+
? never
|
|
2395
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2396
|
+
}[OrderFields]
|
|
2397
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2398
|
+
: ByValid extends Prisma.True
|
|
2399
|
+
? {}
|
|
2400
|
+
: {
|
|
2401
|
+
[P in OrderFields]: P extends ByFields
|
|
2402
|
+
? never
|
|
2403
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2404
|
+
}[OrderFields]
|
|
2405
|
+
>(args: Prisma.SubsetIntersection<T, DispatchTeamGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDispatchTeamGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2406
|
+
/**
|
|
2407
|
+
* Fields of the DispatchTeam model
|
|
2408
|
+
*/
|
|
2409
|
+
readonly fields: DispatchTeamFieldRefs;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
/**
|
|
2413
|
+
* The delegate class that acts as a "Promise-like" for DispatchTeam.
|
|
2414
|
+
* Why is this prefixed with `Prisma__`?
|
|
2415
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2416
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2417
|
+
*/
|
|
2418
|
+
export interface Prisma__DispatchTeamClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2419
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2420
|
+
LeadTechnician<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2421
|
+
FirstTechnician<T extends Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$FirstTechnicianArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2422
|
+
SecondTechnician<T extends Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$SecondTechnicianArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2423
|
+
OtherTechnician<T extends Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$OtherTechnicianArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2424
|
+
contractorTeam<T extends Prisma.DispatchTeam$contractorTeamArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$contractorTeamArgs<ExtArgs>>): Prisma.Prisma__TeamClient<runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2425
|
+
TeamMaterial<T extends Prisma.DispatchTeam$TeamMaterialArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$TeamMaterialArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2426
|
+
WorkOrders<T extends Prisma.DispatchTeam$WorkOrdersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$WorkOrdersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2427
|
+
dispatchProjects<T extends Prisma.DispatchTeam$dispatchProjectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$dispatchProjectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2428
|
+
workOrderActivityLogs<T extends Prisma.DispatchTeam$workOrderActivityLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeam$workOrderActivityLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkOrderActivityLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2429
|
+
/**
|
|
2430
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2431
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2432
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2433
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2434
|
+
*/
|
|
2435
|
+
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>
|
|
2436
|
+
/**
|
|
2437
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2438
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2439
|
+
* @returns A Promise for the completion of the callback.
|
|
2440
|
+
*/
|
|
2441
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2442
|
+
/**
|
|
2443
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2444
|
+
* resolved value cannot be modified from the callback.
|
|
2445
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2446
|
+
* @returns A Promise for the completion of the callback.
|
|
2447
|
+
*/
|
|
2448
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Fields of the DispatchTeam model
|
|
2456
|
+
*/
|
|
2457
|
+
export interface DispatchTeamFieldRefs {
|
|
2458
|
+
readonly id: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2459
|
+
readonly name: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2460
|
+
readonly status: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2461
|
+
readonly createdAt: Prisma.FieldRef<"DispatchTeam", 'DateTime'>
|
|
2462
|
+
readonly updatedAt: Prisma.FieldRef<"DispatchTeam", 'DateTime'>
|
|
2463
|
+
readonly deletedAt: Prisma.FieldRef<"DispatchTeam", 'DateTime'>
|
|
2464
|
+
readonly type: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2465
|
+
readonly leadTechnicianId: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2466
|
+
readonly firstTechnicianId: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2467
|
+
readonly secondTechnicianId: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2468
|
+
readonly otherTechnicianId: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2469
|
+
readonly contractorTeamId: Prisma.FieldRef<"DispatchTeam", 'String'>
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
// Custom InputTypes
|
|
2474
|
+
/**
|
|
2475
|
+
* DispatchTeam findUnique
|
|
2476
|
+
*/
|
|
2477
|
+
export type DispatchTeamFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2478
|
+
/**
|
|
2479
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2480
|
+
*/
|
|
2481
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2482
|
+
/**
|
|
2483
|
+
* Omit specific fields from the DispatchTeam
|
|
2484
|
+
*/
|
|
2485
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2486
|
+
/**
|
|
2487
|
+
* Choose, which related nodes to fetch as well
|
|
2488
|
+
*/
|
|
2489
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2490
|
+
/**
|
|
2491
|
+
* Filter, which DispatchTeam to fetch.
|
|
2492
|
+
*/
|
|
2493
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
/**
|
|
2497
|
+
* DispatchTeam findUniqueOrThrow
|
|
2498
|
+
*/
|
|
2499
|
+
export type DispatchTeamFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2500
|
+
/**
|
|
2501
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2502
|
+
*/
|
|
2503
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2504
|
+
/**
|
|
2505
|
+
* Omit specific fields from the DispatchTeam
|
|
2506
|
+
*/
|
|
2507
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2508
|
+
/**
|
|
2509
|
+
* Choose, which related nodes to fetch as well
|
|
2510
|
+
*/
|
|
2511
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2512
|
+
/**
|
|
2513
|
+
* Filter, which DispatchTeam to fetch.
|
|
2514
|
+
*/
|
|
2515
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
/**
|
|
2519
|
+
* DispatchTeam findFirst
|
|
2520
|
+
*/
|
|
2521
|
+
export type DispatchTeamFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2522
|
+
/**
|
|
2523
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2524
|
+
*/
|
|
2525
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2526
|
+
/**
|
|
2527
|
+
* Omit specific fields from the DispatchTeam
|
|
2528
|
+
*/
|
|
2529
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2530
|
+
/**
|
|
2531
|
+
* Choose, which related nodes to fetch as well
|
|
2532
|
+
*/
|
|
2533
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2534
|
+
/**
|
|
2535
|
+
* Filter, which DispatchTeam to fetch.
|
|
2536
|
+
*/
|
|
2537
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2538
|
+
/**
|
|
2539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2540
|
+
*
|
|
2541
|
+
* Determine the order of DispatchTeams to fetch.
|
|
2542
|
+
*/
|
|
2543
|
+
orderBy?: Prisma.DispatchTeamOrderByWithRelationInput | Prisma.DispatchTeamOrderByWithRelationInput[]
|
|
2544
|
+
/**
|
|
2545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2546
|
+
*
|
|
2547
|
+
* Sets the position for searching for DispatchTeams.
|
|
2548
|
+
*/
|
|
2549
|
+
cursor?: Prisma.DispatchTeamWhereUniqueInput
|
|
2550
|
+
/**
|
|
2551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2552
|
+
*
|
|
2553
|
+
* Take `±n` DispatchTeams from the position of the cursor.
|
|
2554
|
+
*/
|
|
2555
|
+
take?: number
|
|
2556
|
+
/**
|
|
2557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2558
|
+
*
|
|
2559
|
+
* Skip the first `n` DispatchTeams.
|
|
2560
|
+
*/
|
|
2561
|
+
skip?: number
|
|
2562
|
+
/**
|
|
2563
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2564
|
+
*
|
|
2565
|
+
* Filter by unique combinations of DispatchTeams.
|
|
2566
|
+
*/
|
|
2567
|
+
distinct?: Prisma.DispatchTeamScalarFieldEnum | Prisma.DispatchTeamScalarFieldEnum[]
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* DispatchTeam findFirstOrThrow
|
|
2572
|
+
*/
|
|
2573
|
+
export type DispatchTeamFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2574
|
+
/**
|
|
2575
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2576
|
+
*/
|
|
2577
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2578
|
+
/**
|
|
2579
|
+
* Omit specific fields from the DispatchTeam
|
|
2580
|
+
*/
|
|
2581
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2582
|
+
/**
|
|
2583
|
+
* Choose, which related nodes to fetch as well
|
|
2584
|
+
*/
|
|
2585
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2586
|
+
/**
|
|
2587
|
+
* Filter, which DispatchTeam to fetch.
|
|
2588
|
+
*/
|
|
2589
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2590
|
+
/**
|
|
2591
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2592
|
+
*
|
|
2593
|
+
* Determine the order of DispatchTeams to fetch.
|
|
2594
|
+
*/
|
|
2595
|
+
orderBy?: Prisma.DispatchTeamOrderByWithRelationInput | Prisma.DispatchTeamOrderByWithRelationInput[]
|
|
2596
|
+
/**
|
|
2597
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2598
|
+
*
|
|
2599
|
+
* Sets the position for searching for DispatchTeams.
|
|
2600
|
+
*/
|
|
2601
|
+
cursor?: Prisma.DispatchTeamWhereUniqueInput
|
|
2602
|
+
/**
|
|
2603
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2604
|
+
*
|
|
2605
|
+
* Take `±n` DispatchTeams from the position of the cursor.
|
|
2606
|
+
*/
|
|
2607
|
+
take?: number
|
|
2608
|
+
/**
|
|
2609
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2610
|
+
*
|
|
2611
|
+
* Skip the first `n` DispatchTeams.
|
|
2612
|
+
*/
|
|
2613
|
+
skip?: number
|
|
2614
|
+
/**
|
|
2615
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2616
|
+
*
|
|
2617
|
+
* Filter by unique combinations of DispatchTeams.
|
|
2618
|
+
*/
|
|
2619
|
+
distinct?: Prisma.DispatchTeamScalarFieldEnum | Prisma.DispatchTeamScalarFieldEnum[]
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* DispatchTeam findMany
|
|
2624
|
+
*/
|
|
2625
|
+
export type DispatchTeamFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2626
|
+
/**
|
|
2627
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2628
|
+
*/
|
|
2629
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2630
|
+
/**
|
|
2631
|
+
* Omit specific fields from the DispatchTeam
|
|
2632
|
+
*/
|
|
2633
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2634
|
+
/**
|
|
2635
|
+
* Choose, which related nodes to fetch as well
|
|
2636
|
+
*/
|
|
2637
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2638
|
+
/**
|
|
2639
|
+
* Filter, which DispatchTeams to fetch.
|
|
2640
|
+
*/
|
|
2641
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2642
|
+
/**
|
|
2643
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2644
|
+
*
|
|
2645
|
+
* Determine the order of DispatchTeams to fetch.
|
|
2646
|
+
*/
|
|
2647
|
+
orderBy?: Prisma.DispatchTeamOrderByWithRelationInput | Prisma.DispatchTeamOrderByWithRelationInput[]
|
|
2648
|
+
/**
|
|
2649
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2650
|
+
*
|
|
2651
|
+
* Sets the position for listing DispatchTeams.
|
|
2652
|
+
*/
|
|
2653
|
+
cursor?: Prisma.DispatchTeamWhereUniqueInput
|
|
2654
|
+
/**
|
|
2655
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2656
|
+
*
|
|
2657
|
+
* Take `±n` DispatchTeams from the position of the cursor.
|
|
2658
|
+
*/
|
|
2659
|
+
take?: number
|
|
2660
|
+
/**
|
|
2661
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2662
|
+
*
|
|
2663
|
+
* Skip the first `n` DispatchTeams.
|
|
2664
|
+
*/
|
|
2665
|
+
skip?: number
|
|
2666
|
+
distinct?: Prisma.DispatchTeamScalarFieldEnum | Prisma.DispatchTeamScalarFieldEnum[]
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
/**
|
|
2670
|
+
* DispatchTeam create
|
|
2671
|
+
*/
|
|
2672
|
+
export type DispatchTeamCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2673
|
+
/**
|
|
2674
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2675
|
+
*/
|
|
2676
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2677
|
+
/**
|
|
2678
|
+
* Omit specific fields from the DispatchTeam
|
|
2679
|
+
*/
|
|
2680
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2681
|
+
/**
|
|
2682
|
+
* Choose, which related nodes to fetch as well
|
|
2683
|
+
*/
|
|
2684
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2685
|
+
/**
|
|
2686
|
+
* The data needed to create a DispatchTeam.
|
|
2687
|
+
*/
|
|
2688
|
+
data: Prisma.XOR<Prisma.DispatchTeamCreateInput, Prisma.DispatchTeamUncheckedCreateInput>
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* DispatchTeam createMany
|
|
2693
|
+
*/
|
|
2694
|
+
export type DispatchTeamCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2695
|
+
/**
|
|
2696
|
+
* The data used to create many DispatchTeams.
|
|
2697
|
+
*/
|
|
2698
|
+
data: Prisma.DispatchTeamCreateManyInput | Prisma.DispatchTeamCreateManyInput[]
|
|
2699
|
+
skipDuplicates?: boolean
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* DispatchTeam createManyAndReturn
|
|
2704
|
+
*/
|
|
2705
|
+
export type DispatchTeamCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2706
|
+
/**
|
|
2707
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2708
|
+
*/
|
|
2709
|
+
select?: Prisma.DispatchTeamSelectCreateManyAndReturn<ExtArgs> | null
|
|
2710
|
+
/**
|
|
2711
|
+
* Omit specific fields from the DispatchTeam
|
|
2712
|
+
*/
|
|
2713
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2714
|
+
/**
|
|
2715
|
+
* The data used to create many DispatchTeams.
|
|
2716
|
+
*/
|
|
2717
|
+
data: Prisma.DispatchTeamCreateManyInput | Prisma.DispatchTeamCreateManyInput[]
|
|
2718
|
+
skipDuplicates?: boolean
|
|
2719
|
+
/**
|
|
2720
|
+
* Choose, which related nodes to fetch as well
|
|
2721
|
+
*/
|
|
2722
|
+
include?: Prisma.DispatchTeamIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* DispatchTeam update
|
|
2727
|
+
*/
|
|
2728
|
+
export type DispatchTeamUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2729
|
+
/**
|
|
2730
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2731
|
+
*/
|
|
2732
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2733
|
+
/**
|
|
2734
|
+
* Omit specific fields from the DispatchTeam
|
|
2735
|
+
*/
|
|
2736
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2737
|
+
/**
|
|
2738
|
+
* Choose, which related nodes to fetch as well
|
|
2739
|
+
*/
|
|
2740
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2741
|
+
/**
|
|
2742
|
+
* The data needed to update a DispatchTeam.
|
|
2743
|
+
*/
|
|
2744
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateInput, Prisma.DispatchTeamUncheckedUpdateInput>
|
|
2745
|
+
/**
|
|
2746
|
+
* Choose, which DispatchTeam to update.
|
|
2747
|
+
*/
|
|
2748
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* DispatchTeam updateMany
|
|
2753
|
+
*/
|
|
2754
|
+
export type DispatchTeamUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2755
|
+
/**
|
|
2756
|
+
* The data used to update DispatchTeams.
|
|
2757
|
+
*/
|
|
2758
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyInput>
|
|
2759
|
+
/**
|
|
2760
|
+
* Filter which DispatchTeams to update
|
|
2761
|
+
*/
|
|
2762
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2763
|
+
/**
|
|
2764
|
+
* Limit how many DispatchTeams to update.
|
|
2765
|
+
*/
|
|
2766
|
+
limit?: number
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* DispatchTeam updateManyAndReturn
|
|
2771
|
+
*/
|
|
2772
|
+
export type DispatchTeamUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2773
|
+
/**
|
|
2774
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2775
|
+
*/
|
|
2776
|
+
select?: Prisma.DispatchTeamSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2777
|
+
/**
|
|
2778
|
+
* Omit specific fields from the DispatchTeam
|
|
2779
|
+
*/
|
|
2780
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2781
|
+
/**
|
|
2782
|
+
* The data used to update DispatchTeams.
|
|
2783
|
+
*/
|
|
2784
|
+
data: Prisma.XOR<Prisma.DispatchTeamUpdateManyMutationInput, Prisma.DispatchTeamUncheckedUpdateManyInput>
|
|
2785
|
+
/**
|
|
2786
|
+
* Filter which DispatchTeams to update
|
|
2787
|
+
*/
|
|
2788
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2789
|
+
/**
|
|
2790
|
+
* Limit how many DispatchTeams to update.
|
|
2791
|
+
*/
|
|
2792
|
+
limit?: number
|
|
2793
|
+
/**
|
|
2794
|
+
* Choose, which related nodes to fetch as well
|
|
2795
|
+
*/
|
|
2796
|
+
include?: Prisma.DispatchTeamIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
/**
|
|
2800
|
+
* DispatchTeam upsert
|
|
2801
|
+
*/
|
|
2802
|
+
export type DispatchTeamUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2803
|
+
/**
|
|
2804
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2805
|
+
*/
|
|
2806
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2807
|
+
/**
|
|
2808
|
+
* Omit specific fields from the DispatchTeam
|
|
2809
|
+
*/
|
|
2810
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2811
|
+
/**
|
|
2812
|
+
* Choose, which related nodes to fetch as well
|
|
2813
|
+
*/
|
|
2814
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2815
|
+
/**
|
|
2816
|
+
* The filter to search for the DispatchTeam to update in case it exists.
|
|
2817
|
+
*/
|
|
2818
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
2819
|
+
/**
|
|
2820
|
+
* In case the DispatchTeam found by the `where` argument doesn't exist, create a new DispatchTeam with this data.
|
|
2821
|
+
*/
|
|
2822
|
+
create: Prisma.XOR<Prisma.DispatchTeamCreateInput, Prisma.DispatchTeamUncheckedCreateInput>
|
|
2823
|
+
/**
|
|
2824
|
+
* In case the DispatchTeam was found with the provided `where` argument, update it with this data.
|
|
2825
|
+
*/
|
|
2826
|
+
update: Prisma.XOR<Prisma.DispatchTeamUpdateInput, Prisma.DispatchTeamUncheckedUpdateInput>
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* DispatchTeam delete
|
|
2831
|
+
*/
|
|
2832
|
+
export type DispatchTeamDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2833
|
+
/**
|
|
2834
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
2835
|
+
*/
|
|
2836
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
2837
|
+
/**
|
|
2838
|
+
* Omit specific fields from the DispatchTeam
|
|
2839
|
+
*/
|
|
2840
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
2841
|
+
/**
|
|
2842
|
+
* Choose, which related nodes to fetch as well
|
|
2843
|
+
*/
|
|
2844
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
2845
|
+
/**
|
|
2846
|
+
* Filter which DispatchTeam to delete.
|
|
2847
|
+
*/
|
|
2848
|
+
where: Prisma.DispatchTeamWhereUniqueInput
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* DispatchTeam deleteMany
|
|
2853
|
+
*/
|
|
2854
|
+
export type DispatchTeamDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2855
|
+
/**
|
|
2856
|
+
* Filter which DispatchTeams to delete
|
|
2857
|
+
*/
|
|
2858
|
+
where?: Prisma.DispatchTeamWhereInput
|
|
2859
|
+
/**
|
|
2860
|
+
* Limit how many DispatchTeams to delete.
|
|
2861
|
+
*/
|
|
2862
|
+
limit?: number
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* DispatchTeam.FirstTechnician
|
|
2867
|
+
*/
|
|
2868
|
+
export type DispatchTeam$FirstTechnicianArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2869
|
+
/**
|
|
2870
|
+
* Select specific fields to fetch from the User
|
|
2871
|
+
*/
|
|
2872
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2873
|
+
/**
|
|
2874
|
+
* Omit specific fields from the User
|
|
2875
|
+
*/
|
|
2876
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2877
|
+
/**
|
|
2878
|
+
* Choose, which related nodes to fetch as well
|
|
2879
|
+
*/
|
|
2880
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2881
|
+
where?: Prisma.UserWhereInput
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* DispatchTeam.SecondTechnician
|
|
2886
|
+
*/
|
|
2887
|
+
export type DispatchTeam$SecondTechnicianArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2888
|
+
/**
|
|
2889
|
+
* Select specific fields to fetch from the User
|
|
2890
|
+
*/
|
|
2891
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2892
|
+
/**
|
|
2893
|
+
* Omit specific fields from the User
|
|
2894
|
+
*/
|
|
2895
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2896
|
+
/**
|
|
2897
|
+
* Choose, which related nodes to fetch as well
|
|
2898
|
+
*/
|
|
2899
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2900
|
+
where?: Prisma.UserWhereInput
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* DispatchTeam.OtherTechnician
|
|
2905
|
+
*/
|
|
2906
|
+
export type DispatchTeam$OtherTechnicianArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2907
|
+
/**
|
|
2908
|
+
* Select specific fields to fetch from the User
|
|
2909
|
+
*/
|
|
2910
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2911
|
+
/**
|
|
2912
|
+
* Omit specific fields from the User
|
|
2913
|
+
*/
|
|
2914
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2915
|
+
/**
|
|
2916
|
+
* Choose, which related nodes to fetch as well
|
|
2917
|
+
*/
|
|
2918
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2919
|
+
where?: Prisma.UserWhereInput
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
/**
|
|
2923
|
+
* DispatchTeam.contractorTeam
|
|
2924
|
+
*/
|
|
2925
|
+
export type DispatchTeam$contractorTeamArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2926
|
+
/**
|
|
2927
|
+
* Select specific fields to fetch from the Team
|
|
2928
|
+
*/
|
|
2929
|
+
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
2930
|
+
/**
|
|
2931
|
+
* Omit specific fields from the Team
|
|
2932
|
+
*/
|
|
2933
|
+
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
2934
|
+
/**
|
|
2935
|
+
* Choose, which related nodes to fetch as well
|
|
2936
|
+
*/
|
|
2937
|
+
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
2938
|
+
where?: Prisma.TeamWhereInput
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
/**
|
|
2942
|
+
* DispatchTeam.TeamMaterial
|
|
2943
|
+
*/
|
|
2944
|
+
export type DispatchTeam$TeamMaterialArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2945
|
+
/**
|
|
2946
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2947
|
+
*/
|
|
2948
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
2949
|
+
/**
|
|
2950
|
+
* Omit specific fields from the TeamMaterial
|
|
2951
|
+
*/
|
|
2952
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2953
|
+
/**
|
|
2954
|
+
* Choose, which related nodes to fetch as well
|
|
2955
|
+
*/
|
|
2956
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2957
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
2958
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
2959
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
2960
|
+
take?: number
|
|
2961
|
+
skip?: number
|
|
2962
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
/**
|
|
2966
|
+
* DispatchTeam.WorkOrders
|
|
2967
|
+
*/
|
|
2968
|
+
export type DispatchTeam$WorkOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2969
|
+
/**
|
|
2970
|
+
* Select specific fields to fetch from the WorkOrder
|
|
2971
|
+
*/
|
|
2972
|
+
select?: Prisma.WorkOrderSelect<ExtArgs> | null
|
|
2973
|
+
/**
|
|
2974
|
+
* Omit specific fields from the WorkOrder
|
|
2975
|
+
*/
|
|
2976
|
+
omit?: Prisma.WorkOrderOmit<ExtArgs> | null
|
|
2977
|
+
/**
|
|
2978
|
+
* Choose, which related nodes to fetch as well
|
|
2979
|
+
*/
|
|
2980
|
+
include?: Prisma.WorkOrderInclude<ExtArgs> | null
|
|
2981
|
+
where?: Prisma.WorkOrderWhereInput
|
|
2982
|
+
orderBy?: Prisma.WorkOrderOrderByWithRelationInput | Prisma.WorkOrderOrderByWithRelationInput[]
|
|
2983
|
+
cursor?: Prisma.WorkOrderWhereUniqueInput
|
|
2984
|
+
take?: number
|
|
2985
|
+
skip?: number
|
|
2986
|
+
distinct?: Prisma.WorkOrderScalarFieldEnum | Prisma.WorkOrderScalarFieldEnum[]
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
/**
|
|
2990
|
+
* DispatchTeam.dispatchProjects
|
|
2991
|
+
*/
|
|
2992
|
+
export type DispatchTeam$dispatchProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2993
|
+
/**
|
|
2994
|
+
* Select specific fields to fetch from the DispatchProject
|
|
2995
|
+
*/
|
|
2996
|
+
select?: Prisma.DispatchProjectSelect<ExtArgs> | null
|
|
2997
|
+
/**
|
|
2998
|
+
* Omit specific fields from the DispatchProject
|
|
2999
|
+
*/
|
|
3000
|
+
omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
|
|
3001
|
+
/**
|
|
3002
|
+
* Choose, which related nodes to fetch as well
|
|
3003
|
+
*/
|
|
3004
|
+
include?: Prisma.DispatchProjectInclude<ExtArgs> | null
|
|
3005
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
3006
|
+
orderBy?: Prisma.DispatchProjectOrderByWithRelationInput | Prisma.DispatchProjectOrderByWithRelationInput[]
|
|
3007
|
+
cursor?: Prisma.DispatchProjectWhereUniqueInput
|
|
3008
|
+
take?: number
|
|
3009
|
+
skip?: number
|
|
3010
|
+
distinct?: Prisma.DispatchProjectScalarFieldEnum | Prisma.DispatchProjectScalarFieldEnum[]
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
/**
|
|
3014
|
+
* DispatchTeam.workOrderActivityLogs
|
|
3015
|
+
*/
|
|
3016
|
+
export type DispatchTeam$workOrderActivityLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3017
|
+
/**
|
|
3018
|
+
* Select specific fields to fetch from the WorkOrderActivityLog
|
|
3019
|
+
*/
|
|
3020
|
+
select?: Prisma.WorkOrderActivityLogSelect<ExtArgs> | null
|
|
3021
|
+
/**
|
|
3022
|
+
* Omit specific fields from the WorkOrderActivityLog
|
|
3023
|
+
*/
|
|
3024
|
+
omit?: Prisma.WorkOrderActivityLogOmit<ExtArgs> | null
|
|
3025
|
+
/**
|
|
3026
|
+
* Choose, which related nodes to fetch as well
|
|
3027
|
+
*/
|
|
3028
|
+
include?: Prisma.WorkOrderActivityLogInclude<ExtArgs> | null
|
|
3029
|
+
where?: Prisma.WorkOrderActivityLogWhereInput
|
|
3030
|
+
orderBy?: Prisma.WorkOrderActivityLogOrderByWithRelationInput | Prisma.WorkOrderActivityLogOrderByWithRelationInput[]
|
|
3031
|
+
cursor?: Prisma.WorkOrderActivityLogWhereUniqueInput
|
|
3032
|
+
take?: number
|
|
3033
|
+
skip?: number
|
|
3034
|
+
distinct?: Prisma.WorkOrderActivityLogScalarFieldEnum | Prisma.WorkOrderActivityLogScalarFieldEnum[]
|
|
3035
|
+
}
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* DispatchTeam without action
|
|
3039
|
+
*/
|
|
3040
|
+
export type DispatchTeamDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3041
|
+
/**
|
|
3042
|
+
* Select specific fields to fetch from the DispatchTeam
|
|
3043
|
+
*/
|
|
3044
|
+
select?: Prisma.DispatchTeamSelect<ExtArgs> | null
|
|
3045
|
+
/**
|
|
3046
|
+
* Omit specific fields from the DispatchTeam
|
|
3047
|
+
*/
|
|
3048
|
+
omit?: Prisma.DispatchTeamOmit<ExtArgs> | null
|
|
3049
|
+
/**
|
|
3050
|
+
* Choose, which related nodes to fetch as well
|
|
3051
|
+
*/
|
|
3052
|
+
include?: Prisma.DispatchTeamInclude<ExtArgs> | null
|
|
3053
|
+
}
|