@naisys/erp 3.0.0-beta.3
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.
Potentially problematic release.
This version of @naisys/erp might be problematic. Click here for more details.
- package/bin/naisys-erp +2 -0
- package/client-dist/android-chrome-192x192.png +0 -0
- package/client-dist/android-chrome-512x512.png +0 -0
- package/client-dist/apple-touch-icon.png +0 -0
- package/client-dist/assets/index-45dVo30p.css +1 -0
- package/client-dist/assets/index-Dffms7F_.js +168 -0
- package/client-dist/assets/naisys-logo-CzoPnn5I.webp +0 -0
- package/client-dist/favicon.ico +0 -0
- package/client-dist/index.html +42 -0
- package/client-dist/site.webmanifest +22 -0
- package/dist/api-reference.d.ts +10 -0
- package/dist/api-reference.js +101 -0
- package/dist/audit.d.ts +5 -0
- package/dist/audit.js +14 -0
- package/dist/auth-middleware.d.ts +18 -0
- package/dist/auth-middleware.js +203 -0
- package/dist/dbConfig.d.ts +5 -0
- package/dist/dbConfig.js +10 -0
- package/dist/erpDb.d.ts +10 -0
- package/dist/erpDb.js +34 -0
- package/dist/erpServer.d.ts +10 -0
- package/dist/erpServer.js +321 -0
- package/dist/error-handler.d.ts +7 -0
- package/dist/error-handler.js +17 -0
- package/dist/generated/prisma/client.d.ts +154 -0
- package/dist/generated/prisma/client.js +35 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +637 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +59 -0
- package/dist/generated/prisma/enums.js +60 -0
- package/dist/generated/prisma/internal/class.d.ts +406 -0
- package/dist/generated/prisma/internal/class.js +50 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2722 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +366 -0
- package/dist/generated/prisma/models/Attachment.d.ts +1455 -0
- package/dist/generated/prisma/models/Attachment.js +2 -0
- package/dist/generated/prisma/models/AuditLog.d.ts +1359 -0
- package/dist/generated/prisma/models/AuditLog.js +2 -0
- package/dist/generated/prisma/models/Field.d.ts +1880 -0
- package/dist/generated/prisma/models/Field.js +2 -0
- package/dist/generated/prisma/models/FieldAttachment.d.ts +1245 -0
- package/dist/generated/prisma/models/FieldAttachment.js +2 -0
- package/dist/generated/prisma/models/FieldRecord.d.ts +1625 -0
- package/dist/generated/prisma/models/FieldRecord.js +2 -0
- package/dist/generated/prisma/models/FieldSet.d.ts +1577 -0
- package/dist/generated/prisma/models/FieldSet.js +2 -0
- package/dist/generated/prisma/models/FieldValue.d.ts +1908 -0
- package/dist/generated/prisma/models/FieldValue.js +2 -0
- package/dist/generated/prisma/models/Item.d.ts +1858 -0
- package/dist/generated/prisma/models/Item.js +2 -0
- package/dist/generated/prisma/models/ItemInstance.d.ts +1987 -0
- package/dist/generated/prisma/models/ItemInstance.js +2 -0
- package/dist/generated/prisma/models/LaborTicket.d.ts +1867 -0
- package/dist/generated/prisma/models/LaborTicket.js +2 -0
- package/dist/generated/prisma/models/Operation.d.ts +2578 -0
- package/dist/generated/prisma/models/Operation.js +2 -0
- package/dist/generated/prisma/models/OperationDependency.d.ts +1434 -0
- package/dist/generated/prisma/models/OperationDependency.js +2 -0
- package/dist/generated/prisma/models/OperationFieldRef.d.ts +1539 -0
- package/dist/generated/prisma/models/OperationFieldRef.js +2 -0
- package/dist/generated/prisma/models/OperationRun.d.ts +2563 -0
- package/dist/generated/prisma/models/OperationRun.js +2 -0
- package/dist/generated/prisma/models/OperationRunComment.d.ts +1366 -0
- package/dist/generated/prisma/models/OperationRunComment.js +2 -0
- package/dist/generated/prisma/models/Order.d.ts +1931 -0
- package/dist/generated/prisma/models/Order.js +2 -0
- package/dist/generated/prisma/models/OrderRevision.d.ts +1962 -0
- package/dist/generated/prisma/models/OrderRevision.js +2 -0
- package/dist/generated/prisma/models/OrderRun.d.ts +2310 -0
- package/dist/generated/prisma/models/OrderRun.js +2 -0
- package/dist/generated/prisma/models/SchemaVersion.d.ts +985 -0
- package/dist/generated/prisma/models/SchemaVersion.js +2 -0
- package/dist/generated/prisma/models/Session.d.ts +1213 -0
- package/dist/generated/prisma/models/Session.js +2 -0
- package/dist/generated/prisma/models/Step.d.ts +2180 -0
- package/dist/generated/prisma/models/Step.js +2 -0
- package/dist/generated/prisma/models/StepRun.d.ts +1963 -0
- package/dist/generated/prisma/models/StepRun.js +2 -0
- package/dist/generated/prisma/models/User.d.ts +11819 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/UserPermission.d.ts +1348 -0
- package/dist/generated/prisma/models/UserPermission.js +2 -0
- package/dist/generated/prisma/models/WorkCenter.d.ts +1657 -0
- package/dist/generated/prisma/models/WorkCenter.js +2 -0
- package/dist/generated/prisma/models/WorkCenterUser.d.ts +1390 -0
- package/dist/generated/prisma/models/WorkCenterUser.js +2 -0
- package/dist/generated/prisma/models.d.ts +28 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/hateoas.d.ts +7 -0
- package/dist/hateoas.js +61 -0
- package/dist/route-helpers.d.ts +318 -0
- package/dist/route-helpers.js +220 -0
- package/dist/routes/admin.d.ts +3 -0
- package/dist/routes/admin.js +147 -0
- package/dist/routes/audit.d.ts +3 -0
- package/dist/routes/audit.js +36 -0
- package/dist/routes/auth.d.ts +3 -0
- package/dist/routes/auth.js +112 -0
- package/dist/routes/dispatch.d.ts +3 -0
- package/dist/routes/dispatch.js +174 -0
- package/dist/routes/inventory.d.ts +3 -0
- package/dist/routes/inventory.js +70 -0
- package/dist/routes/item-fields.d.ts +3 -0
- package/dist/routes/item-fields.js +220 -0
- package/dist/routes/item-instances.d.ts +3 -0
- package/dist/routes/item-instances.js +426 -0
- package/dist/routes/items.d.ts +3 -0
- package/dist/routes/items.js +252 -0
- package/dist/routes/labor-tickets.d.ts +3 -0
- package/dist/routes/labor-tickets.js +268 -0
- package/dist/routes/operation-dependencies.d.ts +3 -0
- package/dist/routes/operation-dependencies.js +170 -0
- package/dist/routes/operation-field-refs.d.ts +3 -0
- package/dist/routes/operation-field-refs.js +263 -0
- package/dist/routes/operation-run-comments.d.ts +3 -0
- package/dist/routes/operation-run-comments.js +108 -0
- package/dist/routes/operation-run-transitions.d.ts +3 -0
- package/dist/routes/operation-run-transitions.js +249 -0
- package/dist/routes/operation-runs.d.ts +112 -0
- package/dist/routes/operation-runs.js +299 -0
- package/dist/routes/operations.d.ts +3 -0
- package/dist/routes/operations.js +283 -0
- package/dist/routes/order-revision-transitions.d.ts +3 -0
- package/dist/routes/order-revision-transitions.js +86 -0
- package/dist/routes/order-revisions.d.ts +51 -0
- package/dist/routes/order-revisions.js +327 -0
- package/dist/routes/order-run-transitions.d.ts +3 -0
- package/dist/routes/order-run-transitions.js +215 -0
- package/dist/routes/order-runs.d.ts +58 -0
- package/dist/routes/order-runs.js +335 -0
- package/dist/routes/orders.d.ts +3 -0
- package/dist/routes/orders.js +262 -0
- package/dist/routes/root.d.ts +3 -0
- package/dist/routes/root.js +123 -0
- package/dist/routes/schemas.d.ts +3 -0
- package/dist/routes/schemas.js +31 -0
- package/dist/routes/step-field-attachments.d.ts +3 -0
- package/dist/routes/step-field-attachments.js +231 -0
- package/dist/routes/step-fields.d.ts +100 -0
- package/dist/routes/step-fields.js +315 -0
- package/dist/routes/step-run-fields.d.ts +3 -0
- package/dist/routes/step-run-fields.js +438 -0
- package/dist/routes/step-run-transitions.d.ts +3 -0
- package/dist/routes/step-run-transitions.js +113 -0
- package/dist/routes/step-runs.d.ts +332 -0
- package/dist/routes/step-runs.js +324 -0
- package/dist/routes/steps.d.ts +3 -0
- package/dist/routes/steps.js +283 -0
- package/dist/routes/user-permissions.d.ts +3 -0
- package/dist/routes/user-permissions.js +100 -0
- package/dist/routes/users.d.ts +57 -0
- package/dist/routes/users.js +381 -0
- package/dist/routes/work-centers.d.ts +3 -0
- package/dist/routes/work-centers.js +280 -0
- package/dist/schema-registry.d.ts +3 -0
- package/dist/schema-registry.js +45 -0
- package/dist/services/attachment-service.d.ts +33 -0
- package/dist/services/attachment-service.js +118 -0
- package/dist/services/field-ref-service.d.ts +96 -0
- package/dist/services/field-ref-service.js +74 -0
- package/dist/services/field-service.d.ts +49 -0
- package/dist/services/field-service.js +114 -0
- package/dist/services/field-value-service.d.ts +61 -0
- package/dist/services/field-value-service.js +256 -0
- package/dist/services/item-instance-service.d.ts +152 -0
- package/dist/services/item-instance-service.js +155 -0
- package/dist/services/item-service.d.ts +47 -0
- package/dist/services/item-service.js +56 -0
- package/dist/services/labor-ticket-service.d.ts +40 -0
- package/dist/services/labor-ticket-service.js +148 -0
- package/dist/services/log-file-service.d.ts +4 -0
- package/dist/services/log-file-service.js +11 -0
- package/dist/services/operation-dependency-service.d.ts +33 -0
- package/dist/services/operation-dependency-service.js +30 -0
- package/dist/services/operation-run-comment-service.d.ts +17 -0
- package/dist/services/operation-run-comment-service.js +26 -0
- package/dist/services/operation-run-service.d.ts +126 -0
- package/dist/services/operation-run-service.js +347 -0
- package/dist/services/operation-service.d.ts +47 -0
- package/dist/services/operation-service.js +132 -0
- package/dist/services/order-revision-service.d.ts +53 -0
- package/dist/services/order-revision-service.js +264 -0
- package/dist/services/order-run-service.d.ts +138 -0
- package/dist/services/order-run-service.js +356 -0
- package/dist/services/order-service.d.ts +15 -0
- package/dist/services/order-service.js +68 -0
- package/dist/services/revision-diff-service.d.ts +3 -0
- package/dist/services/revision-diff-service.js +194 -0
- package/dist/services/step-run-service.d.ts +172 -0
- package/dist/services/step-run-service.js +106 -0
- package/dist/services/step-service.d.ts +104 -0
- package/dist/services/step-service.js +89 -0
- package/dist/services/user-service.d.ts +185 -0
- package/dist/services/user-service.js +132 -0
- package/dist/services/work-center-service.d.ts +29 -0
- package/dist/services/work-center-service.js +106 -0
- package/dist/supervisorAuth.d.ts +3 -0
- package/dist/supervisorAuth.js +16 -0
- package/dist/userService.d.ts +20 -0
- package/dist/userService.js +118 -0
- package/package.json +69 -0
|
@@ -0,0 +1,2563 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model OperationRun
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type OperationRunModel = runtime.Types.Result.DefaultSelection<Prisma.$OperationRunPayload>;
|
|
9
|
+
export type AggregateOperationRun = {
|
|
10
|
+
_count: OperationRunCountAggregateOutputType | null;
|
|
11
|
+
_avg: OperationRunAvgAggregateOutputType | null;
|
|
12
|
+
_sum: OperationRunSumAggregateOutputType | null;
|
|
13
|
+
_min: OperationRunMinAggregateOutputType | null;
|
|
14
|
+
_max: OperationRunMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type OperationRunAvgAggregateOutputType = {
|
|
17
|
+
id: number | null;
|
|
18
|
+
orderRunId: number | null;
|
|
19
|
+
operationId: number | null;
|
|
20
|
+
assignedToId: number | null;
|
|
21
|
+
cost: number | null;
|
|
22
|
+
createdById: number | null;
|
|
23
|
+
updatedById: number | null;
|
|
24
|
+
};
|
|
25
|
+
export type OperationRunSumAggregateOutputType = {
|
|
26
|
+
id: number | null;
|
|
27
|
+
orderRunId: number | null;
|
|
28
|
+
operationId: number | null;
|
|
29
|
+
assignedToId: number | null;
|
|
30
|
+
cost: number | null;
|
|
31
|
+
createdById: number | null;
|
|
32
|
+
updatedById: number | null;
|
|
33
|
+
};
|
|
34
|
+
export type OperationRunMinAggregateOutputType = {
|
|
35
|
+
id: number | null;
|
|
36
|
+
orderRunId: number | null;
|
|
37
|
+
operationId: number | null;
|
|
38
|
+
status: $Enums.OperationRunStatus | null;
|
|
39
|
+
assignedToId: number | null;
|
|
40
|
+
cost: number | null;
|
|
41
|
+
statusNote: string | null;
|
|
42
|
+
completedAt: Date | null;
|
|
43
|
+
createdAt: Date | null;
|
|
44
|
+
createdById: number | null;
|
|
45
|
+
updatedAt: Date | null;
|
|
46
|
+
updatedById: number | null;
|
|
47
|
+
};
|
|
48
|
+
export type OperationRunMaxAggregateOutputType = {
|
|
49
|
+
id: number | null;
|
|
50
|
+
orderRunId: number | null;
|
|
51
|
+
operationId: number | null;
|
|
52
|
+
status: $Enums.OperationRunStatus | null;
|
|
53
|
+
assignedToId: number | null;
|
|
54
|
+
cost: number | null;
|
|
55
|
+
statusNote: string | null;
|
|
56
|
+
completedAt: Date | null;
|
|
57
|
+
createdAt: Date | null;
|
|
58
|
+
createdById: number | null;
|
|
59
|
+
updatedAt: Date | null;
|
|
60
|
+
updatedById: number | null;
|
|
61
|
+
};
|
|
62
|
+
export type OperationRunCountAggregateOutputType = {
|
|
63
|
+
id: number;
|
|
64
|
+
orderRunId: number;
|
|
65
|
+
operationId: number;
|
|
66
|
+
status: number;
|
|
67
|
+
assignedToId: number;
|
|
68
|
+
cost: number;
|
|
69
|
+
statusNote: number;
|
|
70
|
+
completedAt: number;
|
|
71
|
+
createdAt: number;
|
|
72
|
+
createdById: number;
|
|
73
|
+
updatedAt: number;
|
|
74
|
+
updatedById: number;
|
|
75
|
+
_all: number;
|
|
76
|
+
};
|
|
77
|
+
export type OperationRunAvgAggregateInputType = {
|
|
78
|
+
id?: true;
|
|
79
|
+
orderRunId?: true;
|
|
80
|
+
operationId?: true;
|
|
81
|
+
assignedToId?: true;
|
|
82
|
+
cost?: true;
|
|
83
|
+
createdById?: true;
|
|
84
|
+
updatedById?: true;
|
|
85
|
+
};
|
|
86
|
+
export type OperationRunSumAggregateInputType = {
|
|
87
|
+
id?: true;
|
|
88
|
+
orderRunId?: true;
|
|
89
|
+
operationId?: true;
|
|
90
|
+
assignedToId?: true;
|
|
91
|
+
cost?: true;
|
|
92
|
+
createdById?: true;
|
|
93
|
+
updatedById?: true;
|
|
94
|
+
};
|
|
95
|
+
export type OperationRunMinAggregateInputType = {
|
|
96
|
+
id?: true;
|
|
97
|
+
orderRunId?: true;
|
|
98
|
+
operationId?: true;
|
|
99
|
+
status?: true;
|
|
100
|
+
assignedToId?: true;
|
|
101
|
+
cost?: true;
|
|
102
|
+
statusNote?: true;
|
|
103
|
+
completedAt?: true;
|
|
104
|
+
createdAt?: true;
|
|
105
|
+
createdById?: true;
|
|
106
|
+
updatedAt?: true;
|
|
107
|
+
updatedById?: true;
|
|
108
|
+
};
|
|
109
|
+
export type OperationRunMaxAggregateInputType = {
|
|
110
|
+
id?: true;
|
|
111
|
+
orderRunId?: true;
|
|
112
|
+
operationId?: true;
|
|
113
|
+
status?: true;
|
|
114
|
+
assignedToId?: true;
|
|
115
|
+
cost?: true;
|
|
116
|
+
statusNote?: true;
|
|
117
|
+
completedAt?: true;
|
|
118
|
+
createdAt?: true;
|
|
119
|
+
createdById?: true;
|
|
120
|
+
updatedAt?: true;
|
|
121
|
+
updatedById?: true;
|
|
122
|
+
};
|
|
123
|
+
export type OperationRunCountAggregateInputType = {
|
|
124
|
+
id?: true;
|
|
125
|
+
orderRunId?: true;
|
|
126
|
+
operationId?: true;
|
|
127
|
+
status?: true;
|
|
128
|
+
assignedToId?: true;
|
|
129
|
+
cost?: true;
|
|
130
|
+
statusNote?: true;
|
|
131
|
+
completedAt?: true;
|
|
132
|
+
createdAt?: true;
|
|
133
|
+
createdById?: true;
|
|
134
|
+
updatedAt?: true;
|
|
135
|
+
updatedById?: true;
|
|
136
|
+
_all?: true;
|
|
137
|
+
};
|
|
138
|
+
export type OperationRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
/**
|
|
140
|
+
* Filter which OperationRun to aggregate.
|
|
141
|
+
*/
|
|
142
|
+
where?: Prisma.OperationRunWhereInput;
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
145
|
+
*
|
|
146
|
+
* Determine the order of OperationRuns to fetch.
|
|
147
|
+
*/
|
|
148
|
+
orderBy?: Prisma.OperationRunOrderByWithRelationInput | Prisma.OperationRunOrderByWithRelationInput[];
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
151
|
+
*
|
|
152
|
+
* Sets the start position
|
|
153
|
+
*/
|
|
154
|
+
cursor?: Prisma.OperationRunWhereUniqueInput;
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Take `±n` OperationRuns from the position of the cursor.
|
|
159
|
+
*/
|
|
160
|
+
take?: number;
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Skip the first `n` OperationRuns.
|
|
165
|
+
*/
|
|
166
|
+
skip?: number;
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Count returned OperationRuns
|
|
171
|
+
**/
|
|
172
|
+
_count?: true | OperationRunCountAggregateInputType;
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to average
|
|
177
|
+
**/
|
|
178
|
+
_avg?: OperationRunAvgAggregateInputType;
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to sum
|
|
183
|
+
**/
|
|
184
|
+
_sum?: OperationRunSumAggregateInputType;
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Select which fields to find the minimum value
|
|
189
|
+
**/
|
|
190
|
+
_min?: OperationRunMinAggregateInputType;
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to find the maximum value
|
|
195
|
+
**/
|
|
196
|
+
_max?: OperationRunMaxAggregateInputType;
|
|
197
|
+
};
|
|
198
|
+
export type GetOperationRunAggregateType<T extends OperationRunAggregateArgs> = {
|
|
199
|
+
[P in keyof T & keyof AggregateOperationRun]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOperationRun[P]> : Prisma.GetScalarType<T[P], AggregateOperationRun[P]>;
|
|
200
|
+
};
|
|
201
|
+
export type OperationRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
202
|
+
where?: Prisma.OperationRunWhereInput;
|
|
203
|
+
orderBy?: Prisma.OperationRunOrderByWithAggregationInput | Prisma.OperationRunOrderByWithAggregationInput[];
|
|
204
|
+
by: Prisma.OperationRunScalarFieldEnum[] | Prisma.OperationRunScalarFieldEnum;
|
|
205
|
+
having?: Prisma.OperationRunScalarWhereWithAggregatesInput;
|
|
206
|
+
take?: number;
|
|
207
|
+
skip?: number;
|
|
208
|
+
_count?: OperationRunCountAggregateInputType | true;
|
|
209
|
+
_avg?: OperationRunAvgAggregateInputType;
|
|
210
|
+
_sum?: OperationRunSumAggregateInputType;
|
|
211
|
+
_min?: OperationRunMinAggregateInputType;
|
|
212
|
+
_max?: OperationRunMaxAggregateInputType;
|
|
213
|
+
};
|
|
214
|
+
export type OperationRunGroupByOutputType = {
|
|
215
|
+
id: number;
|
|
216
|
+
orderRunId: number;
|
|
217
|
+
operationId: number;
|
|
218
|
+
status: $Enums.OperationRunStatus;
|
|
219
|
+
assignedToId: number | null;
|
|
220
|
+
cost: number | null;
|
|
221
|
+
statusNote: string | null;
|
|
222
|
+
completedAt: Date | null;
|
|
223
|
+
createdAt: Date;
|
|
224
|
+
createdById: number;
|
|
225
|
+
updatedAt: Date;
|
|
226
|
+
updatedById: number;
|
|
227
|
+
_count: OperationRunCountAggregateOutputType | null;
|
|
228
|
+
_avg: OperationRunAvgAggregateOutputType | null;
|
|
229
|
+
_sum: OperationRunSumAggregateOutputType | null;
|
|
230
|
+
_min: OperationRunMinAggregateOutputType | null;
|
|
231
|
+
_max: OperationRunMaxAggregateOutputType | null;
|
|
232
|
+
};
|
|
233
|
+
type GetOperationRunGroupByPayload<T extends OperationRunGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OperationRunGroupByOutputType, T['by']> & {
|
|
234
|
+
[P in ((keyof T) & (keyof OperationRunGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OperationRunGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OperationRunGroupByOutputType[P]>;
|
|
235
|
+
}>>;
|
|
236
|
+
export type OperationRunWhereInput = {
|
|
237
|
+
AND?: Prisma.OperationRunWhereInput | Prisma.OperationRunWhereInput[];
|
|
238
|
+
OR?: Prisma.OperationRunWhereInput[];
|
|
239
|
+
NOT?: Prisma.OperationRunWhereInput | Prisma.OperationRunWhereInput[];
|
|
240
|
+
id?: Prisma.IntFilter<"OperationRun"> | number;
|
|
241
|
+
orderRunId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
242
|
+
operationId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
243
|
+
status?: Prisma.EnumOperationRunStatusFilter<"OperationRun"> | $Enums.OperationRunStatus;
|
|
244
|
+
assignedToId?: Prisma.IntNullableFilter<"OperationRun"> | number | null;
|
|
245
|
+
cost?: Prisma.FloatNullableFilter<"OperationRun"> | number | null;
|
|
246
|
+
statusNote?: Prisma.StringNullableFilter<"OperationRun"> | string | null;
|
|
247
|
+
completedAt?: Prisma.DateTimeNullableFilter<"OperationRun"> | Date | string | null;
|
|
248
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
249
|
+
createdById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
250
|
+
updatedAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
251
|
+
updatedById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
252
|
+
assignedTo?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
253
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
254
|
+
updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
255
|
+
orderRun?: Prisma.XOR<Prisma.OrderRunScalarRelationFilter, Prisma.OrderRunWhereInput>;
|
|
256
|
+
operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
|
|
257
|
+
stepRuns?: Prisma.StepRunListRelationFilter;
|
|
258
|
+
laborTickets?: Prisma.LaborTicketListRelationFilter;
|
|
259
|
+
comments?: Prisma.OperationRunCommentListRelationFilter;
|
|
260
|
+
};
|
|
261
|
+
export type OperationRunOrderByWithRelationInput = {
|
|
262
|
+
id?: Prisma.SortOrder;
|
|
263
|
+
orderRunId?: Prisma.SortOrder;
|
|
264
|
+
operationId?: Prisma.SortOrder;
|
|
265
|
+
status?: Prisma.SortOrder;
|
|
266
|
+
assignedToId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
cost?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
statusNote?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
|
+
createdAt?: Prisma.SortOrder;
|
|
271
|
+
createdById?: Prisma.SortOrder;
|
|
272
|
+
updatedAt?: Prisma.SortOrder;
|
|
273
|
+
updatedById?: Prisma.SortOrder;
|
|
274
|
+
assignedTo?: Prisma.UserOrderByWithRelationInput;
|
|
275
|
+
createdBy?: Prisma.UserOrderByWithRelationInput;
|
|
276
|
+
updatedBy?: Prisma.UserOrderByWithRelationInput;
|
|
277
|
+
orderRun?: Prisma.OrderRunOrderByWithRelationInput;
|
|
278
|
+
operation?: Prisma.OperationOrderByWithRelationInput;
|
|
279
|
+
stepRuns?: Prisma.StepRunOrderByRelationAggregateInput;
|
|
280
|
+
laborTickets?: Prisma.LaborTicketOrderByRelationAggregateInput;
|
|
281
|
+
comments?: Prisma.OperationRunCommentOrderByRelationAggregateInput;
|
|
282
|
+
};
|
|
283
|
+
export type OperationRunWhereUniqueInput = Prisma.AtLeast<{
|
|
284
|
+
id?: number;
|
|
285
|
+
orderRunId_operationId?: Prisma.OperationRunOrderRunIdOperationIdCompoundUniqueInput;
|
|
286
|
+
AND?: Prisma.OperationRunWhereInput | Prisma.OperationRunWhereInput[];
|
|
287
|
+
OR?: Prisma.OperationRunWhereInput[];
|
|
288
|
+
NOT?: Prisma.OperationRunWhereInput | Prisma.OperationRunWhereInput[];
|
|
289
|
+
orderRunId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
290
|
+
operationId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
291
|
+
status?: Prisma.EnumOperationRunStatusFilter<"OperationRun"> | $Enums.OperationRunStatus;
|
|
292
|
+
assignedToId?: Prisma.IntNullableFilter<"OperationRun"> | number | null;
|
|
293
|
+
cost?: Prisma.FloatNullableFilter<"OperationRun"> | number | null;
|
|
294
|
+
statusNote?: Prisma.StringNullableFilter<"OperationRun"> | string | null;
|
|
295
|
+
completedAt?: Prisma.DateTimeNullableFilter<"OperationRun"> | Date | string | null;
|
|
296
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
297
|
+
createdById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
298
|
+
updatedAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
299
|
+
updatedById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
300
|
+
assignedTo?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
301
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
302
|
+
updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
303
|
+
orderRun?: Prisma.XOR<Prisma.OrderRunScalarRelationFilter, Prisma.OrderRunWhereInput>;
|
|
304
|
+
operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
|
|
305
|
+
stepRuns?: Prisma.StepRunListRelationFilter;
|
|
306
|
+
laborTickets?: Prisma.LaborTicketListRelationFilter;
|
|
307
|
+
comments?: Prisma.OperationRunCommentListRelationFilter;
|
|
308
|
+
}, "id" | "orderRunId_operationId">;
|
|
309
|
+
export type OperationRunOrderByWithAggregationInput = {
|
|
310
|
+
id?: Prisma.SortOrder;
|
|
311
|
+
orderRunId?: Prisma.SortOrder;
|
|
312
|
+
operationId?: Prisma.SortOrder;
|
|
313
|
+
status?: Prisma.SortOrder;
|
|
314
|
+
assignedToId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
315
|
+
cost?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
316
|
+
statusNote?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
317
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
318
|
+
createdAt?: Prisma.SortOrder;
|
|
319
|
+
createdById?: Prisma.SortOrder;
|
|
320
|
+
updatedAt?: Prisma.SortOrder;
|
|
321
|
+
updatedById?: Prisma.SortOrder;
|
|
322
|
+
_count?: Prisma.OperationRunCountOrderByAggregateInput;
|
|
323
|
+
_avg?: Prisma.OperationRunAvgOrderByAggregateInput;
|
|
324
|
+
_max?: Prisma.OperationRunMaxOrderByAggregateInput;
|
|
325
|
+
_min?: Prisma.OperationRunMinOrderByAggregateInput;
|
|
326
|
+
_sum?: Prisma.OperationRunSumOrderByAggregateInput;
|
|
327
|
+
};
|
|
328
|
+
export type OperationRunScalarWhereWithAggregatesInput = {
|
|
329
|
+
AND?: Prisma.OperationRunScalarWhereWithAggregatesInput | Prisma.OperationRunScalarWhereWithAggregatesInput[];
|
|
330
|
+
OR?: Prisma.OperationRunScalarWhereWithAggregatesInput[];
|
|
331
|
+
NOT?: Prisma.OperationRunScalarWhereWithAggregatesInput | Prisma.OperationRunScalarWhereWithAggregatesInput[];
|
|
332
|
+
id?: Prisma.IntWithAggregatesFilter<"OperationRun"> | number;
|
|
333
|
+
orderRunId?: Prisma.IntWithAggregatesFilter<"OperationRun"> | number;
|
|
334
|
+
operationId?: Prisma.IntWithAggregatesFilter<"OperationRun"> | number;
|
|
335
|
+
status?: Prisma.EnumOperationRunStatusWithAggregatesFilter<"OperationRun"> | $Enums.OperationRunStatus;
|
|
336
|
+
assignedToId?: Prisma.IntNullableWithAggregatesFilter<"OperationRun"> | number | null;
|
|
337
|
+
cost?: Prisma.FloatNullableWithAggregatesFilter<"OperationRun"> | number | null;
|
|
338
|
+
statusNote?: Prisma.StringNullableWithAggregatesFilter<"OperationRun"> | string | null;
|
|
339
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"OperationRun"> | Date | string | null;
|
|
340
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"OperationRun"> | Date | string;
|
|
341
|
+
createdById?: Prisma.IntWithAggregatesFilter<"OperationRun"> | number;
|
|
342
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"OperationRun"> | Date | string;
|
|
343
|
+
updatedById?: Prisma.IntWithAggregatesFilter<"OperationRun"> | number;
|
|
344
|
+
};
|
|
345
|
+
export type OperationRunCreateInput = {
|
|
346
|
+
status?: $Enums.OperationRunStatus;
|
|
347
|
+
cost?: number | null;
|
|
348
|
+
statusNote?: string | null;
|
|
349
|
+
completedAt?: Date | string | null;
|
|
350
|
+
createdAt?: Date | string;
|
|
351
|
+
updatedAt?: Date | string;
|
|
352
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
353
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
354
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
355
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
356
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
357
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
358
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
359
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
360
|
+
};
|
|
361
|
+
export type OperationRunUncheckedCreateInput = {
|
|
362
|
+
id?: number;
|
|
363
|
+
orderRunId: number;
|
|
364
|
+
operationId: number;
|
|
365
|
+
status?: $Enums.OperationRunStatus;
|
|
366
|
+
assignedToId?: number | null;
|
|
367
|
+
cost?: number | null;
|
|
368
|
+
statusNote?: string | null;
|
|
369
|
+
completedAt?: Date | string | null;
|
|
370
|
+
createdAt?: Date | string;
|
|
371
|
+
createdById: number;
|
|
372
|
+
updatedAt?: Date | string;
|
|
373
|
+
updatedById: number;
|
|
374
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
375
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
376
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
377
|
+
};
|
|
378
|
+
export type OperationRunUpdateInput = {
|
|
379
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
380
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
381
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
382
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
383
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
384
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
386
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
387
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
388
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
389
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
390
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
391
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
392
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
393
|
+
};
|
|
394
|
+
export type OperationRunUncheckedUpdateInput = {
|
|
395
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
396
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
397
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
398
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
399
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
400
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
401
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
403
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
404
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
405
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
406
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
407
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
408
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
409
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
410
|
+
};
|
|
411
|
+
export type OperationRunCreateManyInput = {
|
|
412
|
+
id?: number;
|
|
413
|
+
orderRunId: number;
|
|
414
|
+
operationId: number;
|
|
415
|
+
status?: $Enums.OperationRunStatus;
|
|
416
|
+
assignedToId?: number | null;
|
|
417
|
+
cost?: number | null;
|
|
418
|
+
statusNote?: string | null;
|
|
419
|
+
completedAt?: Date | string | null;
|
|
420
|
+
createdAt?: Date | string;
|
|
421
|
+
createdById: number;
|
|
422
|
+
updatedAt?: Date | string;
|
|
423
|
+
updatedById: number;
|
|
424
|
+
};
|
|
425
|
+
export type OperationRunUpdateManyMutationInput = {
|
|
426
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
427
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
428
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
429
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
|
+
};
|
|
433
|
+
export type OperationRunUncheckedUpdateManyInput = {
|
|
434
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
435
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
436
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
437
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
438
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
439
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
440
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
441
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
442
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
443
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
444
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
445
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
446
|
+
};
|
|
447
|
+
export type OperationRunListRelationFilter = {
|
|
448
|
+
every?: Prisma.OperationRunWhereInput;
|
|
449
|
+
some?: Prisma.OperationRunWhereInput;
|
|
450
|
+
none?: Prisma.OperationRunWhereInput;
|
|
451
|
+
};
|
|
452
|
+
export type OperationRunOrderByRelationAggregateInput = {
|
|
453
|
+
_count?: Prisma.SortOrder;
|
|
454
|
+
};
|
|
455
|
+
export type OperationRunOrderRunIdOperationIdCompoundUniqueInput = {
|
|
456
|
+
orderRunId: number;
|
|
457
|
+
operationId: number;
|
|
458
|
+
};
|
|
459
|
+
export type OperationRunCountOrderByAggregateInput = {
|
|
460
|
+
id?: Prisma.SortOrder;
|
|
461
|
+
orderRunId?: Prisma.SortOrder;
|
|
462
|
+
operationId?: Prisma.SortOrder;
|
|
463
|
+
status?: Prisma.SortOrder;
|
|
464
|
+
assignedToId?: Prisma.SortOrder;
|
|
465
|
+
cost?: Prisma.SortOrder;
|
|
466
|
+
statusNote?: Prisma.SortOrder;
|
|
467
|
+
completedAt?: Prisma.SortOrder;
|
|
468
|
+
createdAt?: Prisma.SortOrder;
|
|
469
|
+
createdById?: Prisma.SortOrder;
|
|
470
|
+
updatedAt?: Prisma.SortOrder;
|
|
471
|
+
updatedById?: Prisma.SortOrder;
|
|
472
|
+
};
|
|
473
|
+
export type OperationRunAvgOrderByAggregateInput = {
|
|
474
|
+
id?: Prisma.SortOrder;
|
|
475
|
+
orderRunId?: Prisma.SortOrder;
|
|
476
|
+
operationId?: Prisma.SortOrder;
|
|
477
|
+
assignedToId?: Prisma.SortOrder;
|
|
478
|
+
cost?: Prisma.SortOrder;
|
|
479
|
+
createdById?: Prisma.SortOrder;
|
|
480
|
+
updatedById?: Prisma.SortOrder;
|
|
481
|
+
};
|
|
482
|
+
export type OperationRunMaxOrderByAggregateInput = {
|
|
483
|
+
id?: Prisma.SortOrder;
|
|
484
|
+
orderRunId?: Prisma.SortOrder;
|
|
485
|
+
operationId?: Prisma.SortOrder;
|
|
486
|
+
status?: Prisma.SortOrder;
|
|
487
|
+
assignedToId?: Prisma.SortOrder;
|
|
488
|
+
cost?: Prisma.SortOrder;
|
|
489
|
+
statusNote?: Prisma.SortOrder;
|
|
490
|
+
completedAt?: Prisma.SortOrder;
|
|
491
|
+
createdAt?: Prisma.SortOrder;
|
|
492
|
+
createdById?: Prisma.SortOrder;
|
|
493
|
+
updatedAt?: Prisma.SortOrder;
|
|
494
|
+
updatedById?: Prisma.SortOrder;
|
|
495
|
+
};
|
|
496
|
+
export type OperationRunMinOrderByAggregateInput = {
|
|
497
|
+
id?: Prisma.SortOrder;
|
|
498
|
+
orderRunId?: Prisma.SortOrder;
|
|
499
|
+
operationId?: Prisma.SortOrder;
|
|
500
|
+
status?: Prisma.SortOrder;
|
|
501
|
+
assignedToId?: Prisma.SortOrder;
|
|
502
|
+
cost?: Prisma.SortOrder;
|
|
503
|
+
statusNote?: Prisma.SortOrder;
|
|
504
|
+
completedAt?: Prisma.SortOrder;
|
|
505
|
+
createdAt?: Prisma.SortOrder;
|
|
506
|
+
createdById?: Prisma.SortOrder;
|
|
507
|
+
updatedAt?: Prisma.SortOrder;
|
|
508
|
+
updatedById?: Prisma.SortOrder;
|
|
509
|
+
};
|
|
510
|
+
export type OperationRunSumOrderByAggregateInput = {
|
|
511
|
+
id?: Prisma.SortOrder;
|
|
512
|
+
orderRunId?: Prisma.SortOrder;
|
|
513
|
+
operationId?: Prisma.SortOrder;
|
|
514
|
+
assignedToId?: Prisma.SortOrder;
|
|
515
|
+
cost?: Prisma.SortOrder;
|
|
516
|
+
createdById?: Prisma.SortOrder;
|
|
517
|
+
updatedById?: Prisma.SortOrder;
|
|
518
|
+
};
|
|
519
|
+
export type OperationRunScalarRelationFilter = {
|
|
520
|
+
is?: Prisma.OperationRunWhereInput;
|
|
521
|
+
isNot?: Prisma.OperationRunWhereInput;
|
|
522
|
+
};
|
|
523
|
+
export type OperationRunCreateNestedManyWithoutOperationInput = {
|
|
524
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput> | Prisma.OperationRunCreateWithoutOperationInput[] | Prisma.OperationRunUncheckedCreateWithoutOperationInput[];
|
|
525
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOperationInput | Prisma.OperationRunCreateOrConnectWithoutOperationInput[];
|
|
526
|
+
createMany?: Prisma.OperationRunCreateManyOperationInputEnvelope;
|
|
527
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
528
|
+
};
|
|
529
|
+
export type OperationRunUncheckedCreateNestedManyWithoutOperationInput = {
|
|
530
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput> | Prisma.OperationRunCreateWithoutOperationInput[] | Prisma.OperationRunUncheckedCreateWithoutOperationInput[];
|
|
531
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOperationInput | Prisma.OperationRunCreateOrConnectWithoutOperationInput[];
|
|
532
|
+
createMany?: Prisma.OperationRunCreateManyOperationInputEnvelope;
|
|
533
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
534
|
+
};
|
|
535
|
+
export type OperationRunUpdateManyWithoutOperationNestedInput = {
|
|
536
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput> | Prisma.OperationRunCreateWithoutOperationInput[] | Prisma.OperationRunUncheckedCreateWithoutOperationInput[];
|
|
537
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOperationInput | Prisma.OperationRunCreateOrConnectWithoutOperationInput[];
|
|
538
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutOperationInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutOperationInput[];
|
|
539
|
+
createMany?: Prisma.OperationRunCreateManyOperationInputEnvelope;
|
|
540
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
541
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
542
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
543
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
544
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutOperationInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutOperationInput[];
|
|
545
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutOperationInput | Prisma.OperationRunUpdateManyWithWhereWithoutOperationInput[];
|
|
546
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
547
|
+
};
|
|
548
|
+
export type OperationRunUncheckedUpdateManyWithoutOperationNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput> | Prisma.OperationRunCreateWithoutOperationInput[] | Prisma.OperationRunUncheckedCreateWithoutOperationInput[];
|
|
550
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOperationInput | Prisma.OperationRunCreateOrConnectWithoutOperationInput[];
|
|
551
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutOperationInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutOperationInput[];
|
|
552
|
+
createMany?: Prisma.OperationRunCreateManyOperationInputEnvelope;
|
|
553
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
554
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
555
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
556
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
557
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutOperationInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutOperationInput[];
|
|
558
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutOperationInput | Prisma.OperationRunUpdateManyWithWhereWithoutOperationInput[];
|
|
559
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
560
|
+
};
|
|
561
|
+
export type OperationRunCreateNestedManyWithoutOrderRunInput = {
|
|
562
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput> | Prisma.OperationRunCreateWithoutOrderRunInput[] | Prisma.OperationRunUncheckedCreateWithoutOrderRunInput[];
|
|
563
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOrderRunInput | Prisma.OperationRunCreateOrConnectWithoutOrderRunInput[];
|
|
564
|
+
createMany?: Prisma.OperationRunCreateManyOrderRunInputEnvelope;
|
|
565
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
566
|
+
};
|
|
567
|
+
export type OperationRunUncheckedCreateNestedManyWithoutOrderRunInput = {
|
|
568
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput> | Prisma.OperationRunCreateWithoutOrderRunInput[] | Prisma.OperationRunUncheckedCreateWithoutOrderRunInput[];
|
|
569
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOrderRunInput | Prisma.OperationRunCreateOrConnectWithoutOrderRunInput[];
|
|
570
|
+
createMany?: Prisma.OperationRunCreateManyOrderRunInputEnvelope;
|
|
571
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
572
|
+
};
|
|
573
|
+
export type OperationRunUpdateManyWithoutOrderRunNestedInput = {
|
|
574
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput> | Prisma.OperationRunCreateWithoutOrderRunInput[] | Prisma.OperationRunUncheckedCreateWithoutOrderRunInput[];
|
|
575
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOrderRunInput | Prisma.OperationRunCreateOrConnectWithoutOrderRunInput[];
|
|
576
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutOrderRunInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutOrderRunInput[];
|
|
577
|
+
createMany?: Prisma.OperationRunCreateManyOrderRunInputEnvelope;
|
|
578
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
579
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
580
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
581
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
582
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutOrderRunInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutOrderRunInput[];
|
|
583
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutOrderRunInput | Prisma.OperationRunUpdateManyWithWhereWithoutOrderRunInput[];
|
|
584
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
585
|
+
};
|
|
586
|
+
export type OperationRunUncheckedUpdateManyWithoutOrderRunNestedInput = {
|
|
587
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput> | Prisma.OperationRunCreateWithoutOrderRunInput[] | Prisma.OperationRunUncheckedCreateWithoutOrderRunInput[];
|
|
588
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutOrderRunInput | Prisma.OperationRunCreateOrConnectWithoutOrderRunInput[];
|
|
589
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutOrderRunInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutOrderRunInput[];
|
|
590
|
+
createMany?: Prisma.OperationRunCreateManyOrderRunInputEnvelope;
|
|
591
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
592
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
593
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
594
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
595
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutOrderRunInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutOrderRunInput[];
|
|
596
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutOrderRunInput | Prisma.OperationRunUpdateManyWithWhereWithoutOrderRunInput[];
|
|
597
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
598
|
+
};
|
|
599
|
+
export type EnumOperationRunStatusFieldUpdateOperationsInput = {
|
|
600
|
+
set?: $Enums.OperationRunStatus;
|
|
601
|
+
};
|
|
602
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
603
|
+
set?: Date | string | null;
|
|
604
|
+
};
|
|
605
|
+
export type OperationRunCreateNestedOneWithoutStepRunsInput = {
|
|
606
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutStepRunsInput, Prisma.OperationRunUncheckedCreateWithoutStepRunsInput>;
|
|
607
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutStepRunsInput;
|
|
608
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
609
|
+
};
|
|
610
|
+
export type OperationRunUpdateOneRequiredWithoutStepRunsNestedInput = {
|
|
611
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutStepRunsInput, Prisma.OperationRunUncheckedCreateWithoutStepRunsInput>;
|
|
612
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutStepRunsInput;
|
|
613
|
+
upsert?: Prisma.OperationRunUpsertWithoutStepRunsInput;
|
|
614
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
615
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OperationRunUpdateToOneWithWhereWithoutStepRunsInput, Prisma.OperationRunUpdateWithoutStepRunsInput>, Prisma.OperationRunUncheckedUpdateWithoutStepRunsInput>;
|
|
616
|
+
};
|
|
617
|
+
export type OperationRunCreateNestedManyWithoutCreatedByInput = {
|
|
618
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCreateWithoutCreatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutCreatedByInput[];
|
|
619
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCreateOrConnectWithoutCreatedByInput[];
|
|
620
|
+
createMany?: Prisma.OperationRunCreateManyCreatedByInputEnvelope;
|
|
621
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
622
|
+
};
|
|
623
|
+
export type OperationRunCreateNestedManyWithoutUpdatedByInput = {
|
|
624
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput> | Prisma.OperationRunCreateWithoutUpdatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput[];
|
|
625
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput | Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput[];
|
|
626
|
+
createMany?: Prisma.OperationRunCreateManyUpdatedByInputEnvelope;
|
|
627
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
628
|
+
};
|
|
629
|
+
export type OperationRunCreateNestedManyWithoutAssignedToInput = {
|
|
630
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput> | Prisma.OperationRunCreateWithoutAssignedToInput[] | Prisma.OperationRunUncheckedCreateWithoutAssignedToInput[];
|
|
631
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutAssignedToInput | Prisma.OperationRunCreateOrConnectWithoutAssignedToInput[];
|
|
632
|
+
createMany?: Prisma.OperationRunCreateManyAssignedToInputEnvelope;
|
|
633
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
634
|
+
};
|
|
635
|
+
export type OperationRunUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
636
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCreateWithoutCreatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutCreatedByInput[];
|
|
637
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCreateOrConnectWithoutCreatedByInput[];
|
|
638
|
+
createMany?: Prisma.OperationRunCreateManyCreatedByInputEnvelope;
|
|
639
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
640
|
+
};
|
|
641
|
+
export type OperationRunUncheckedCreateNestedManyWithoutUpdatedByInput = {
|
|
642
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput> | Prisma.OperationRunCreateWithoutUpdatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput[];
|
|
643
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput | Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput[];
|
|
644
|
+
createMany?: Prisma.OperationRunCreateManyUpdatedByInputEnvelope;
|
|
645
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
646
|
+
};
|
|
647
|
+
export type OperationRunUncheckedCreateNestedManyWithoutAssignedToInput = {
|
|
648
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput> | Prisma.OperationRunCreateWithoutAssignedToInput[] | Prisma.OperationRunUncheckedCreateWithoutAssignedToInput[];
|
|
649
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutAssignedToInput | Prisma.OperationRunCreateOrConnectWithoutAssignedToInput[];
|
|
650
|
+
createMany?: Prisma.OperationRunCreateManyAssignedToInputEnvelope;
|
|
651
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
652
|
+
};
|
|
653
|
+
export type OperationRunUpdateManyWithoutCreatedByNestedInput = {
|
|
654
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCreateWithoutCreatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutCreatedByInput[];
|
|
655
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCreateOrConnectWithoutCreatedByInput[];
|
|
656
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
657
|
+
createMany?: Prisma.OperationRunCreateManyCreatedByInputEnvelope;
|
|
658
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
659
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
660
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
661
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
662
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
663
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationRunUpdateManyWithWhereWithoutCreatedByInput[];
|
|
664
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
665
|
+
};
|
|
666
|
+
export type OperationRunUpdateManyWithoutUpdatedByNestedInput = {
|
|
667
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput> | Prisma.OperationRunCreateWithoutUpdatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput[];
|
|
668
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput | Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput[];
|
|
669
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutUpdatedByInput[];
|
|
670
|
+
createMany?: Prisma.OperationRunCreateManyUpdatedByInputEnvelope;
|
|
671
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
672
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
673
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
674
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
675
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutUpdatedByInput[];
|
|
676
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutUpdatedByInput | Prisma.OperationRunUpdateManyWithWhereWithoutUpdatedByInput[];
|
|
677
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
678
|
+
};
|
|
679
|
+
export type OperationRunUpdateManyWithoutAssignedToNestedInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput> | Prisma.OperationRunCreateWithoutAssignedToInput[] | Prisma.OperationRunUncheckedCreateWithoutAssignedToInput[];
|
|
681
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutAssignedToInput | Prisma.OperationRunCreateOrConnectWithoutAssignedToInput[];
|
|
682
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutAssignedToInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutAssignedToInput[];
|
|
683
|
+
createMany?: Prisma.OperationRunCreateManyAssignedToInputEnvelope;
|
|
684
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
685
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
686
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
687
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
688
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutAssignedToInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutAssignedToInput[];
|
|
689
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutAssignedToInput | Prisma.OperationRunUpdateManyWithWhereWithoutAssignedToInput[];
|
|
690
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
691
|
+
};
|
|
692
|
+
export type OperationRunUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
693
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCreateWithoutCreatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutCreatedByInput[];
|
|
694
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCreateOrConnectWithoutCreatedByInput[];
|
|
695
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
696
|
+
createMany?: Prisma.OperationRunCreateManyCreatedByInputEnvelope;
|
|
697
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
698
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
699
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
700
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
701
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
702
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationRunUpdateManyWithWhereWithoutCreatedByInput[];
|
|
703
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
704
|
+
};
|
|
705
|
+
export type OperationRunUncheckedUpdateManyWithoutUpdatedByNestedInput = {
|
|
706
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput> | Prisma.OperationRunCreateWithoutUpdatedByInput[] | Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput[];
|
|
707
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput | Prisma.OperationRunCreateOrConnectWithoutUpdatedByInput[];
|
|
708
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutUpdatedByInput[];
|
|
709
|
+
createMany?: Prisma.OperationRunCreateManyUpdatedByInputEnvelope;
|
|
710
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
711
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
712
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
713
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
714
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutUpdatedByInput[];
|
|
715
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutUpdatedByInput | Prisma.OperationRunUpdateManyWithWhereWithoutUpdatedByInput[];
|
|
716
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
717
|
+
};
|
|
718
|
+
export type OperationRunUncheckedUpdateManyWithoutAssignedToNestedInput = {
|
|
719
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput> | Prisma.OperationRunCreateWithoutAssignedToInput[] | Prisma.OperationRunUncheckedCreateWithoutAssignedToInput[];
|
|
720
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutAssignedToInput | Prisma.OperationRunCreateOrConnectWithoutAssignedToInput[];
|
|
721
|
+
upsert?: Prisma.OperationRunUpsertWithWhereUniqueWithoutAssignedToInput | Prisma.OperationRunUpsertWithWhereUniqueWithoutAssignedToInput[];
|
|
722
|
+
createMany?: Prisma.OperationRunCreateManyAssignedToInputEnvelope;
|
|
723
|
+
set?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
724
|
+
disconnect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
725
|
+
delete?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
726
|
+
connect?: Prisma.OperationRunWhereUniqueInput | Prisma.OperationRunWhereUniqueInput[];
|
|
727
|
+
update?: Prisma.OperationRunUpdateWithWhereUniqueWithoutAssignedToInput | Prisma.OperationRunUpdateWithWhereUniqueWithoutAssignedToInput[];
|
|
728
|
+
updateMany?: Prisma.OperationRunUpdateManyWithWhereWithoutAssignedToInput | Prisma.OperationRunUpdateManyWithWhereWithoutAssignedToInput[];
|
|
729
|
+
deleteMany?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
730
|
+
};
|
|
731
|
+
export type OperationRunCreateNestedOneWithoutLaborTicketsInput = {
|
|
732
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedCreateWithoutLaborTicketsInput>;
|
|
733
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutLaborTicketsInput;
|
|
734
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
735
|
+
};
|
|
736
|
+
export type OperationRunUpdateOneRequiredWithoutLaborTicketsNestedInput = {
|
|
737
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedCreateWithoutLaborTicketsInput>;
|
|
738
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutLaborTicketsInput;
|
|
739
|
+
upsert?: Prisma.OperationRunUpsertWithoutLaborTicketsInput;
|
|
740
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
741
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OperationRunUpdateToOneWithWhereWithoutLaborTicketsInput, Prisma.OperationRunUpdateWithoutLaborTicketsInput>, Prisma.OperationRunUncheckedUpdateWithoutLaborTicketsInput>;
|
|
742
|
+
};
|
|
743
|
+
export type OperationRunCreateNestedOneWithoutCommentsInput = {
|
|
744
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCommentsInput, Prisma.OperationRunUncheckedCreateWithoutCommentsInput>;
|
|
745
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCommentsInput;
|
|
746
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
747
|
+
};
|
|
748
|
+
export type OperationRunUpdateOneRequiredWithoutCommentsNestedInput = {
|
|
749
|
+
create?: Prisma.XOR<Prisma.OperationRunCreateWithoutCommentsInput, Prisma.OperationRunUncheckedCreateWithoutCommentsInput>;
|
|
750
|
+
connectOrCreate?: Prisma.OperationRunCreateOrConnectWithoutCommentsInput;
|
|
751
|
+
upsert?: Prisma.OperationRunUpsertWithoutCommentsInput;
|
|
752
|
+
connect?: Prisma.OperationRunWhereUniqueInput;
|
|
753
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OperationRunUpdateToOneWithWhereWithoutCommentsInput, Prisma.OperationRunUpdateWithoutCommentsInput>, Prisma.OperationRunUncheckedUpdateWithoutCommentsInput>;
|
|
754
|
+
};
|
|
755
|
+
export type OperationRunCreateWithoutOperationInput = {
|
|
756
|
+
status?: $Enums.OperationRunStatus;
|
|
757
|
+
cost?: number | null;
|
|
758
|
+
statusNote?: string | null;
|
|
759
|
+
completedAt?: Date | string | null;
|
|
760
|
+
createdAt?: Date | string;
|
|
761
|
+
updatedAt?: Date | string;
|
|
762
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
763
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
764
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
765
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
766
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
767
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
768
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
769
|
+
};
|
|
770
|
+
export type OperationRunUncheckedCreateWithoutOperationInput = {
|
|
771
|
+
id?: number;
|
|
772
|
+
orderRunId: number;
|
|
773
|
+
status?: $Enums.OperationRunStatus;
|
|
774
|
+
assignedToId?: number | null;
|
|
775
|
+
cost?: number | null;
|
|
776
|
+
statusNote?: string | null;
|
|
777
|
+
completedAt?: Date | string | null;
|
|
778
|
+
createdAt?: Date | string;
|
|
779
|
+
createdById: number;
|
|
780
|
+
updatedAt?: Date | string;
|
|
781
|
+
updatedById: number;
|
|
782
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
783
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
784
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
785
|
+
};
|
|
786
|
+
export type OperationRunCreateOrConnectWithoutOperationInput = {
|
|
787
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
788
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput>;
|
|
789
|
+
};
|
|
790
|
+
export type OperationRunCreateManyOperationInputEnvelope = {
|
|
791
|
+
data: Prisma.OperationRunCreateManyOperationInput | Prisma.OperationRunCreateManyOperationInput[];
|
|
792
|
+
};
|
|
793
|
+
export type OperationRunUpsertWithWhereUniqueWithoutOperationInput = {
|
|
794
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
795
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutOperationInput, Prisma.OperationRunUncheckedUpdateWithoutOperationInput>;
|
|
796
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutOperationInput, Prisma.OperationRunUncheckedCreateWithoutOperationInput>;
|
|
797
|
+
};
|
|
798
|
+
export type OperationRunUpdateWithWhereUniqueWithoutOperationInput = {
|
|
799
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
800
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutOperationInput, Prisma.OperationRunUncheckedUpdateWithoutOperationInput>;
|
|
801
|
+
};
|
|
802
|
+
export type OperationRunUpdateManyWithWhereWithoutOperationInput = {
|
|
803
|
+
where: Prisma.OperationRunScalarWhereInput;
|
|
804
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyWithoutOperationInput>;
|
|
805
|
+
};
|
|
806
|
+
export type OperationRunScalarWhereInput = {
|
|
807
|
+
AND?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
808
|
+
OR?: Prisma.OperationRunScalarWhereInput[];
|
|
809
|
+
NOT?: Prisma.OperationRunScalarWhereInput | Prisma.OperationRunScalarWhereInput[];
|
|
810
|
+
id?: Prisma.IntFilter<"OperationRun"> | number;
|
|
811
|
+
orderRunId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
812
|
+
operationId?: Prisma.IntFilter<"OperationRun"> | number;
|
|
813
|
+
status?: Prisma.EnumOperationRunStatusFilter<"OperationRun"> | $Enums.OperationRunStatus;
|
|
814
|
+
assignedToId?: Prisma.IntNullableFilter<"OperationRun"> | number | null;
|
|
815
|
+
cost?: Prisma.FloatNullableFilter<"OperationRun"> | number | null;
|
|
816
|
+
statusNote?: Prisma.StringNullableFilter<"OperationRun"> | string | null;
|
|
817
|
+
completedAt?: Prisma.DateTimeNullableFilter<"OperationRun"> | Date | string | null;
|
|
818
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
819
|
+
createdById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
820
|
+
updatedAt?: Prisma.DateTimeFilter<"OperationRun"> | Date | string;
|
|
821
|
+
updatedById?: Prisma.IntFilter<"OperationRun"> | number;
|
|
822
|
+
};
|
|
823
|
+
export type OperationRunCreateWithoutOrderRunInput = {
|
|
824
|
+
status?: $Enums.OperationRunStatus;
|
|
825
|
+
cost?: number | null;
|
|
826
|
+
statusNote?: string | null;
|
|
827
|
+
completedAt?: Date | string | null;
|
|
828
|
+
createdAt?: Date | string;
|
|
829
|
+
updatedAt?: Date | string;
|
|
830
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
831
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
832
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
833
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
834
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
835
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
836
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
837
|
+
};
|
|
838
|
+
export type OperationRunUncheckedCreateWithoutOrderRunInput = {
|
|
839
|
+
id?: number;
|
|
840
|
+
operationId: number;
|
|
841
|
+
status?: $Enums.OperationRunStatus;
|
|
842
|
+
assignedToId?: number | null;
|
|
843
|
+
cost?: number | null;
|
|
844
|
+
statusNote?: string | null;
|
|
845
|
+
completedAt?: Date | string | null;
|
|
846
|
+
createdAt?: Date | string;
|
|
847
|
+
createdById: number;
|
|
848
|
+
updatedAt?: Date | string;
|
|
849
|
+
updatedById: number;
|
|
850
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
851
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
852
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
853
|
+
};
|
|
854
|
+
export type OperationRunCreateOrConnectWithoutOrderRunInput = {
|
|
855
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
856
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput>;
|
|
857
|
+
};
|
|
858
|
+
export type OperationRunCreateManyOrderRunInputEnvelope = {
|
|
859
|
+
data: Prisma.OperationRunCreateManyOrderRunInput | Prisma.OperationRunCreateManyOrderRunInput[];
|
|
860
|
+
};
|
|
861
|
+
export type OperationRunUpsertWithWhereUniqueWithoutOrderRunInput = {
|
|
862
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
863
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutOrderRunInput, Prisma.OperationRunUncheckedUpdateWithoutOrderRunInput>;
|
|
864
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutOrderRunInput, Prisma.OperationRunUncheckedCreateWithoutOrderRunInput>;
|
|
865
|
+
};
|
|
866
|
+
export type OperationRunUpdateWithWhereUniqueWithoutOrderRunInput = {
|
|
867
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
868
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutOrderRunInput, Prisma.OperationRunUncheckedUpdateWithoutOrderRunInput>;
|
|
869
|
+
};
|
|
870
|
+
export type OperationRunUpdateManyWithWhereWithoutOrderRunInput = {
|
|
871
|
+
where: Prisma.OperationRunScalarWhereInput;
|
|
872
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyWithoutOrderRunInput>;
|
|
873
|
+
};
|
|
874
|
+
export type OperationRunCreateWithoutStepRunsInput = {
|
|
875
|
+
status?: $Enums.OperationRunStatus;
|
|
876
|
+
cost?: number | null;
|
|
877
|
+
statusNote?: string | null;
|
|
878
|
+
completedAt?: Date | string | null;
|
|
879
|
+
createdAt?: Date | string;
|
|
880
|
+
updatedAt?: Date | string;
|
|
881
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
882
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
883
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
884
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
885
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
886
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
887
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
888
|
+
};
|
|
889
|
+
export type OperationRunUncheckedCreateWithoutStepRunsInput = {
|
|
890
|
+
id?: number;
|
|
891
|
+
orderRunId: number;
|
|
892
|
+
operationId: number;
|
|
893
|
+
status?: $Enums.OperationRunStatus;
|
|
894
|
+
assignedToId?: number | null;
|
|
895
|
+
cost?: number | null;
|
|
896
|
+
statusNote?: string | null;
|
|
897
|
+
completedAt?: Date | string | null;
|
|
898
|
+
createdAt?: Date | string;
|
|
899
|
+
createdById: number;
|
|
900
|
+
updatedAt?: Date | string;
|
|
901
|
+
updatedById: number;
|
|
902
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
903
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
904
|
+
};
|
|
905
|
+
export type OperationRunCreateOrConnectWithoutStepRunsInput = {
|
|
906
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
907
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutStepRunsInput, Prisma.OperationRunUncheckedCreateWithoutStepRunsInput>;
|
|
908
|
+
};
|
|
909
|
+
export type OperationRunUpsertWithoutStepRunsInput = {
|
|
910
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutStepRunsInput, Prisma.OperationRunUncheckedUpdateWithoutStepRunsInput>;
|
|
911
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutStepRunsInput, Prisma.OperationRunUncheckedCreateWithoutStepRunsInput>;
|
|
912
|
+
where?: Prisma.OperationRunWhereInput;
|
|
913
|
+
};
|
|
914
|
+
export type OperationRunUpdateToOneWithWhereWithoutStepRunsInput = {
|
|
915
|
+
where?: Prisma.OperationRunWhereInput;
|
|
916
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutStepRunsInput, Prisma.OperationRunUncheckedUpdateWithoutStepRunsInput>;
|
|
917
|
+
};
|
|
918
|
+
export type OperationRunUpdateWithoutStepRunsInput = {
|
|
919
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
920
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
921
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
922
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
923
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
924
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
925
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
926
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
927
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
928
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
929
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
930
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
931
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
932
|
+
};
|
|
933
|
+
export type OperationRunUncheckedUpdateWithoutStepRunsInput = {
|
|
934
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
935
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
936
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
937
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
938
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
939
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
940
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
941
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
942
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
943
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
944
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
945
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
946
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
947
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
948
|
+
};
|
|
949
|
+
export type OperationRunCreateWithoutCreatedByInput = {
|
|
950
|
+
status?: $Enums.OperationRunStatus;
|
|
951
|
+
cost?: number | null;
|
|
952
|
+
statusNote?: string | null;
|
|
953
|
+
completedAt?: Date | string | null;
|
|
954
|
+
createdAt?: Date | string;
|
|
955
|
+
updatedAt?: Date | string;
|
|
956
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
957
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
958
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
959
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
960
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
961
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
962
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
963
|
+
};
|
|
964
|
+
export type OperationRunUncheckedCreateWithoutCreatedByInput = {
|
|
965
|
+
id?: number;
|
|
966
|
+
orderRunId: number;
|
|
967
|
+
operationId: number;
|
|
968
|
+
status?: $Enums.OperationRunStatus;
|
|
969
|
+
assignedToId?: number | null;
|
|
970
|
+
cost?: number | null;
|
|
971
|
+
statusNote?: string | null;
|
|
972
|
+
completedAt?: Date | string | null;
|
|
973
|
+
createdAt?: Date | string;
|
|
974
|
+
updatedAt?: Date | string;
|
|
975
|
+
updatedById: number;
|
|
976
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
977
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
978
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
979
|
+
};
|
|
980
|
+
export type OperationRunCreateOrConnectWithoutCreatedByInput = {
|
|
981
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
982
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput>;
|
|
983
|
+
};
|
|
984
|
+
export type OperationRunCreateManyCreatedByInputEnvelope = {
|
|
985
|
+
data: Prisma.OperationRunCreateManyCreatedByInput | Prisma.OperationRunCreateManyCreatedByInput[];
|
|
986
|
+
};
|
|
987
|
+
export type OperationRunCreateWithoutUpdatedByInput = {
|
|
988
|
+
status?: $Enums.OperationRunStatus;
|
|
989
|
+
cost?: number | null;
|
|
990
|
+
statusNote?: string | null;
|
|
991
|
+
completedAt?: Date | string | null;
|
|
992
|
+
createdAt?: Date | string;
|
|
993
|
+
updatedAt?: Date | string;
|
|
994
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
995
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
996
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
997
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
998
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
999
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
1000
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
1001
|
+
};
|
|
1002
|
+
export type OperationRunUncheckedCreateWithoutUpdatedByInput = {
|
|
1003
|
+
id?: number;
|
|
1004
|
+
orderRunId: number;
|
|
1005
|
+
operationId: number;
|
|
1006
|
+
status?: $Enums.OperationRunStatus;
|
|
1007
|
+
assignedToId?: number | null;
|
|
1008
|
+
cost?: number | null;
|
|
1009
|
+
statusNote?: string | null;
|
|
1010
|
+
completedAt?: Date | string | null;
|
|
1011
|
+
createdAt?: Date | string;
|
|
1012
|
+
createdById: number;
|
|
1013
|
+
updatedAt?: Date | string;
|
|
1014
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1015
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1016
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1017
|
+
};
|
|
1018
|
+
export type OperationRunCreateOrConnectWithoutUpdatedByInput = {
|
|
1019
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1020
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput>;
|
|
1021
|
+
};
|
|
1022
|
+
export type OperationRunCreateManyUpdatedByInputEnvelope = {
|
|
1023
|
+
data: Prisma.OperationRunCreateManyUpdatedByInput | Prisma.OperationRunCreateManyUpdatedByInput[];
|
|
1024
|
+
};
|
|
1025
|
+
export type OperationRunCreateWithoutAssignedToInput = {
|
|
1026
|
+
status?: $Enums.OperationRunStatus;
|
|
1027
|
+
cost?: number | null;
|
|
1028
|
+
statusNote?: string | null;
|
|
1029
|
+
completedAt?: Date | string | null;
|
|
1030
|
+
createdAt?: Date | string;
|
|
1031
|
+
updatedAt?: Date | string;
|
|
1032
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
1033
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
1034
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
1035
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
1036
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
1037
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
1038
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
1039
|
+
};
|
|
1040
|
+
export type OperationRunUncheckedCreateWithoutAssignedToInput = {
|
|
1041
|
+
id?: number;
|
|
1042
|
+
orderRunId: number;
|
|
1043
|
+
operationId: number;
|
|
1044
|
+
status?: $Enums.OperationRunStatus;
|
|
1045
|
+
cost?: number | null;
|
|
1046
|
+
statusNote?: string | null;
|
|
1047
|
+
completedAt?: Date | string | null;
|
|
1048
|
+
createdAt?: Date | string;
|
|
1049
|
+
createdById: number;
|
|
1050
|
+
updatedAt?: Date | string;
|
|
1051
|
+
updatedById: number;
|
|
1052
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1053
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1054
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1055
|
+
};
|
|
1056
|
+
export type OperationRunCreateOrConnectWithoutAssignedToInput = {
|
|
1057
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1058
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput>;
|
|
1059
|
+
};
|
|
1060
|
+
export type OperationRunCreateManyAssignedToInputEnvelope = {
|
|
1061
|
+
data: Prisma.OperationRunCreateManyAssignedToInput | Prisma.OperationRunCreateManyAssignedToInput[];
|
|
1062
|
+
};
|
|
1063
|
+
export type OperationRunUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
1064
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1065
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutCreatedByInput, Prisma.OperationRunUncheckedUpdateWithoutCreatedByInput>;
|
|
1066
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutCreatedByInput, Prisma.OperationRunUncheckedCreateWithoutCreatedByInput>;
|
|
1067
|
+
};
|
|
1068
|
+
export type OperationRunUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
1069
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1070
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutCreatedByInput, Prisma.OperationRunUncheckedUpdateWithoutCreatedByInput>;
|
|
1071
|
+
};
|
|
1072
|
+
export type OperationRunUpdateManyWithWhereWithoutCreatedByInput = {
|
|
1073
|
+
where: Prisma.OperationRunScalarWhereInput;
|
|
1074
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyWithoutCreatedByInput>;
|
|
1075
|
+
};
|
|
1076
|
+
export type OperationRunUpsertWithWhereUniqueWithoutUpdatedByInput = {
|
|
1077
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1078
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutUpdatedByInput, Prisma.OperationRunUncheckedUpdateWithoutUpdatedByInput>;
|
|
1079
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutUpdatedByInput, Prisma.OperationRunUncheckedCreateWithoutUpdatedByInput>;
|
|
1080
|
+
};
|
|
1081
|
+
export type OperationRunUpdateWithWhereUniqueWithoutUpdatedByInput = {
|
|
1082
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1083
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutUpdatedByInput, Prisma.OperationRunUncheckedUpdateWithoutUpdatedByInput>;
|
|
1084
|
+
};
|
|
1085
|
+
export type OperationRunUpdateManyWithWhereWithoutUpdatedByInput = {
|
|
1086
|
+
where: Prisma.OperationRunScalarWhereInput;
|
|
1087
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyWithoutUpdatedByInput>;
|
|
1088
|
+
};
|
|
1089
|
+
export type OperationRunUpsertWithWhereUniqueWithoutAssignedToInput = {
|
|
1090
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1091
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutAssignedToInput, Prisma.OperationRunUncheckedUpdateWithoutAssignedToInput>;
|
|
1092
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutAssignedToInput, Prisma.OperationRunUncheckedCreateWithoutAssignedToInput>;
|
|
1093
|
+
};
|
|
1094
|
+
export type OperationRunUpdateWithWhereUniqueWithoutAssignedToInput = {
|
|
1095
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1096
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutAssignedToInput, Prisma.OperationRunUncheckedUpdateWithoutAssignedToInput>;
|
|
1097
|
+
};
|
|
1098
|
+
export type OperationRunUpdateManyWithWhereWithoutAssignedToInput = {
|
|
1099
|
+
where: Prisma.OperationRunScalarWhereInput;
|
|
1100
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyWithoutAssignedToInput>;
|
|
1101
|
+
};
|
|
1102
|
+
export type OperationRunCreateWithoutLaborTicketsInput = {
|
|
1103
|
+
status?: $Enums.OperationRunStatus;
|
|
1104
|
+
cost?: number | null;
|
|
1105
|
+
statusNote?: string | null;
|
|
1106
|
+
completedAt?: Date | string | null;
|
|
1107
|
+
createdAt?: Date | string;
|
|
1108
|
+
updatedAt?: Date | string;
|
|
1109
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
1110
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
1111
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
1112
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
1113
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
1114
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
1115
|
+
comments?: Prisma.OperationRunCommentCreateNestedManyWithoutOperationRunInput;
|
|
1116
|
+
};
|
|
1117
|
+
export type OperationRunUncheckedCreateWithoutLaborTicketsInput = {
|
|
1118
|
+
id?: number;
|
|
1119
|
+
orderRunId: number;
|
|
1120
|
+
operationId: number;
|
|
1121
|
+
status?: $Enums.OperationRunStatus;
|
|
1122
|
+
assignedToId?: number | null;
|
|
1123
|
+
cost?: number | null;
|
|
1124
|
+
statusNote?: string | null;
|
|
1125
|
+
completedAt?: Date | string | null;
|
|
1126
|
+
createdAt?: Date | string;
|
|
1127
|
+
createdById: number;
|
|
1128
|
+
updatedAt?: Date | string;
|
|
1129
|
+
updatedById: number;
|
|
1130
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1131
|
+
comments?: Prisma.OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1132
|
+
};
|
|
1133
|
+
export type OperationRunCreateOrConnectWithoutLaborTicketsInput = {
|
|
1134
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1135
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedCreateWithoutLaborTicketsInput>;
|
|
1136
|
+
};
|
|
1137
|
+
export type OperationRunUpsertWithoutLaborTicketsInput = {
|
|
1138
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedUpdateWithoutLaborTicketsInput>;
|
|
1139
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedCreateWithoutLaborTicketsInput>;
|
|
1140
|
+
where?: Prisma.OperationRunWhereInput;
|
|
1141
|
+
};
|
|
1142
|
+
export type OperationRunUpdateToOneWithWhereWithoutLaborTicketsInput = {
|
|
1143
|
+
where?: Prisma.OperationRunWhereInput;
|
|
1144
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutLaborTicketsInput, Prisma.OperationRunUncheckedUpdateWithoutLaborTicketsInput>;
|
|
1145
|
+
};
|
|
1146
|
+
export type OperationRunUpdateWithoutLaborTicketsInput = {
|
|
1147
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1148
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1149
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1150
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1151
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1152
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1153
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1154
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1155
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1156
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1157
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1158
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1159
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1160
|
+
};
|
|
1161
|
+
export type OperationRunUncheckedUpdateWithoutLaborTicketsInput = {
|
|
1162
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1163
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1164
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1165
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1166
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1167
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1168
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1169
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1170
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1171
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1172
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1173
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1174
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1175
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1176
|
+
};
|
|
1177
|
+
export type OperationRunCreateWithoutCommentsInput = {
|
|
1178
|
+
status?: $Enums.OperationRunStatus;
|
|
1179
|
+
cost?: number | null;
|
|
1180
|
+
statusNote?: string | null;
|
|
1181
|
+
completedAt?: Date | string | null;
|
|
1182
|
+
createdAt?: Date | string;
|
|
1183
|
+
updatedAt?: Date | string;
|
|
1184
|
+
assignedTo?: Prisma.UserCreateNestedOneWithoutOpRunsAssignedInput;
|
|
1185
|
+
createdBy: Prisma.UserCreateNestedOneWithoutOpRunsCreatedInput;
|
|
1186
|
+
updatedBy: Prisma.UserCreateNestedOneWithoutOpRunsUpdatedInput;
|
|
1187
|
+
orderRun: Prisma.OrderRunCreateNestedOneWithoutOperationRunsInput;
|
|
1188
|
+
operation: Prisma.OperationCreateNestedOneWithoutOperationRunsInput;
|
|
1189
|
+
stepRuns?: Prisma.StepRunCreateNestedManyWithoutOperationRunInput;
|
|
1190
|
+
laborTickets?: Prisma.LaborTicketCreateNestedManyWithoutOperationRunInput;
|
|
1191
|
+
};
|
|
1192
|
+
export type OperationRunUncheckedCreateWithoutCommentsInput = {
|
|
1193
|
+
id?: number;
|
|
1194
|
+
orderRunId: number;
|
|
1195
|
+
operationId: number;
|
|
1196
|
+
status?: $Enums.OperationRunStatus;
|
|
1197
|
+
assignedToId?: number | null;
|
|
1198
|
+
cost?: number | null;
|
|
1199
|
+
statusNote?: string | null;
|
|
1200
|
+
completedAt?: Date | string | null;
|
|
1201
|
+
createdAt?: Date | string;
|
|
1202
|
+
createdById: number;
|
|
1203
|
+
updatedAt?: Date | string;
|
|
1204
|
+
updatedById: number;
|
|
1205
|
+
stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1206
|
+
laborTickets?: Prisma.LaborTicketUncheckedCreateNestedManyWithoutOperationRunInput;
|
|
1207
|
+
};
|
|
1208
|
+
export type OperationRunCreateOrConnectWithoutCommentsInput = {
|
|
1209
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
1210
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutCommentsInput, Prisma.OperationRunUncheckedCreateWithoutCommentsInput>;
|
|
1211
|
+
};
|
|
1212
|
+
export type OperationRunUpsertWithoutCommentsInput = {
|
|
1213
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateWithoutCommentsInput, Prisma.OperationRunUncheckedUpdateWithoutCommentsInput>;
|
|
1214
|
+
create: Prisma.XOR<Prisma.OperationRunCreateWithoutCommentsInput, Prisma.OperationRunUncheckedCreateWithoutCommentsInput>;
|
|
1215
|
+
where?: Prisma.OperationRunWhereInput;
|
|
1216
|
+
};
|
|
1217
|
+
export type OperationRunUpdateToOneWithWhereWithoutCommentsInput = {
|
|
1218
|
+
where?: Prisma.OperationRunWhereInput;
|
|
1219
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateWithoutCommentsInput, Prisma.OperationRunUncheckedUpdateWithoutCommentsInput>;
|
|
1220
|
+
};
|
|
1221
|
+
export type OperationRunUpdateWithoutCommentsInput = {
|
|
1222
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1223
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1224
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1225
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1226
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1227
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1228
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1229
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1230
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1231
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1232
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1233
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1234
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1235
|
+
};
|
|
1236
|
+
export type OperationRunUncheckedUpdateWithoutCommentsInput = {
|
|
1237
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1238
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1239
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1240
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1241
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1242
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1243
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1244
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1245
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1246
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1247
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1248
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1249
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1250
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1251
|
+
};
|
|
1252
|
+
export type OperationRunCreateManyOperationInput = {
|
|
1253
|
+
id?: number;
|
|
1254
|
+
orderRunId: number;
|
|
1255
|
+
status?: $Enums.OperationRunStatus;
|
|
1256
|
+
assignedToId?: number | null;
|
|
1257
|
+
cost?: number | null;
|
|
1258
|
+
statusNote?: string | null;
|
|
1259
|
+
completedAt?: Date | string | null;
|
|
1260
|
+
createdAt?: Date | string;
|
|
1261
|
+
createdById: number;
|
|
1262
|
+
updatedAt?: Date | string;
|
|
1263
|
+
updatedById: number;
|
|
1264
|
+
};
|
|
1265
|
+
export type OperationRunUpdateWithoutOperationInput = {
|
|
1266
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1267
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1268
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1269
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1270
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1271
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1272
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1273
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1274
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1275
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1276
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1277
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1278
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1279
|
+
};
|
|
1280
|
+
export type OperationRunUncheckedUpdateWithoutOperationInput = {
|
|
1281
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1282
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1283
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1284
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1285
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1286
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1287
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1289
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1290
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1291
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1292
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1293
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1294
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1295
|
+
};
|
|
1296
|
+
export type OperationRunUncheckedUpdateManyWithoutOperationInput = {
|
|
1297
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1298
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1299
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1300
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1301
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1302
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1303
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1304
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1305
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1306
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1307
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1308
|
+
};
|
|
1309
|
+
export type OperationRunCreateManyOrderRunInput = {
|
|
1310
|
+
id?: number;
|
|
1311
|
+
operationId: number;
|
|
1312
|
+
status?: $Enums.OperationRunStatus;
|
|
1313
|
+
assignedToId?: number | null;
|
|
1314
|
+
cost?: number | null;
|
|
1315
|
+
statusNote?: string | null;
|
|
1316
|
+
completedAt?: Date | string | null;
|
|
1317
|
+
createdAt?: Date | string;
|
|
1318
|
+
createdById: number;
|
|
1319
|
+
updatedAt?: Date | string;
|
|
1320
|
+
updatedById: number;
|
|
1321
|
+
};
|
|
1322
|
+
export type OperationRunUpdateWithoutOrderRunInput = {
|
|
1323
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1324
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1325
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1326
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1327
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1328
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1329
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1330
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1331
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1332
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1333
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1334
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1335
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1336
|
+
};
|
|
1337
|
+
export type OperationRunUncheckedUpdateWithoutOrderRunInput = {
|
|
1338
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1339
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1340
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1341
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1342
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1343
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1344
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1345
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1346
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1347
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1348
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1349
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1350
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1351
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1352
|
+
};
|
|
1353
|
+
export type OperationRunUncheckedUpdateManyWithoutOrderRunInput = {
|
|
1354
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1355
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1356
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1357
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1358
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1359
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1360
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1361
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1362
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1363
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1364
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1365
|
+
};
|
|
1366
|
+
export type OperationRunCreateManyCreatedByInput = {
|
|
1367
|
+
id?: number;
|
|
1368
|
+
orderRunId: number;
|
|
1369
|
+
operationId: number;
|
|
1370
|
+
status?: $Enums.OperationRunStatus;
|
|
1371
|
+
assignedToId?: number | null;
|
|
1372
|
+
cost?: number | null;
|
|
1373
|
+
statusNote?: string | null;
|
|
1374
|
+
completedAt?: Date | string | null;
|
|
1375
|
+
createdAt?: Date | string;
|
|
1376
|
+
updatedAt?: Date | string;
|
|
1377
|
+
updatedById: number;
|
|
1378
|
+
};
|
|
1379
|
+
export type OperationRunCreateManyUpdatedByInput = {
|
|
1380
|
+
id?: number;
|
|
1381
|
+
orderRunId: number;
|
|
1382
|
+
operationId: number;
|
|
1383
|
+
status?: $Enums.OperationRunStatus;
|
|
1384
|
+
assignedToId?: number | null;
|
|
1385
|
+
cost?: number | null;
|
|
1386
|
+
statusNote?: string | null;
|
|
1387
|
+
completedAt?: Date | string | null;
|
|
1388
|
+
createdAt?: Date | string;
|
|
1389
|
+
createdById: number;
|
|
1390
|
+
updatedAt?: Date | string;
|
|
1391
|
+
};
|
|
1392
|
+
export type OperationRunCreateManyAssignedToInput = {
|
|
1393
|
+
id?: number;
|
|
1394
|
+
orderRunId: number;
|
|
1395
|
+
operationId: number;
|
|
1396
|
+
status?: $Enums.OperationRunStatus;
|
|
1397
|
+
cost?: number | null;
|
|
1398
|
+
statusNote?: string | null;
|
|
1399
|
+
completedAt?: Date | string | null;
|
|
1400
|
+
createdAt?: Date | string;
|
|
1401
|
+
createdById: number;
|
|
1402
|
+
updatedAt?: Date | string;
|
|
1403
|
+
updatedById: number;
|
|
1404
|
+
};
|
|
1405
|
+
export type OperationRunUpdateWithoutCreatedByInput = {
|
|
1406
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1407
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1408
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1409
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1410
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1411
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1412
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1413
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1414
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1415
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1416
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1417
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1418
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1419
|
+
};
|
|
1420
|
+
export type OperationRunUncheckedUpdateWithoutCreatedByInput = {
|
|
1421
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1422
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1423
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1424
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1425
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1426
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1427
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1428
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1429
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1430
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1431
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1432
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1433
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1434
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1435
|
+
};
|
|
1436
|
+
export type OperationRunUncheckedUpdateManyWithoutCreatedByInput = {
|
|
1437
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1438
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1439
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1440
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1441
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1442
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1443
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1444
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1445
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1446
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1447
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1448
|
+
};
|
|
1449
|
+
export type OperationRunUpdateWithoutUpdatedByInput = {
|
|
1450
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1451
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1452
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1453
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1454
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1455
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1456
|
+
assignedTo?: Prisma.UserUpdateOneWithoutOpRunsAssignedNestedInput;
|
|
1457
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1458
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1459
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1460
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1461
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1462
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1463
|
+
};
|
|
1464
|
+
export type OperationRunUncheckedUpdateWithoutUpdatedByInput = {
|
|
1465
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1466
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1467
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1468
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1469
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1470
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1471
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1472
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1473
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1474
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1475
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1476
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1477
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1478
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1479
|
+
};
|
|
1480
|
+
export type OperationRunUncheckedUpdateManyWithoutUpdatedByInput = {
|
|
1481
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1482
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1483
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1484
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1485
|
+
assignedToId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1486
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1487
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1488
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1489
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1490
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1491
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1492
|
+
};
|
|
1493
|
+
export type OperationRunUpdateWithoutAssignedToInput = {
|
|
1494
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1495
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1496
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1497
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1498
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1499
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1500
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsCreatedNestedInput;
|
|
1501
|
+
updatedBy?: Prisma.UserUpdateOneRequiredWithoutOpRunsUpdatedNestedInput;
|
|
1502
|
+
orderRun?: Prisma.OrderRunUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1503
|
+
operation?: Prisma.OperationUpdateOneRequiredWithoutOperationRunsNestedInput;
|
|
1504
|
+
stepRuns?: Prisma.StepRunUpdateManyWithoutOperationRunNestedInput;
|
|
1505
|
+
laborTickets?: Prisma.LaborTicketUpdateManyWithoutOperationRunNestedInput;
|
|
1506
|
+
comments?: Prisma.OperationRunCommentUpdateManyWithoutOperationRunNestedInput;
|
|
1507
|
+
};
|
|
1508
|
+
export type OperationRunUncheckedUpdateWithoutAssignedToInput = {
|
|
1509
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1510
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1511
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1512
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1513
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1514
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1515
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1516
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1517
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1518
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1519
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1520
|
+
stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1521
|
+
laborTickets?: Prisma.LaborTicketUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1522
|
+
comments?: Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput;
|
|
1523
|
+
};
|
|
1524
|
+
export type OperationRunUncheckedUpdateManyWithoutAssignedToInput = {
|
|
1525
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1526
|
+
orderRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1527
|
+
operationId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1528
|
+
status?: Prisma.EnumOperationRunStatusFieldUpdateOperationsInput | $Enums.OperationRunStatus;
|
|
1529
|
+
cost?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1530
|
+
statusNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1531
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1532
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1533
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1534
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1535
|
+
updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1536
|
+
};
|
|
1537
|
+
/**
|
|
1538
|
+
* Count Type OperationRunCountOutputType
|
|
1539
|
+
*/
|
|
1540
|
+
export type OperationRunCountOutputType = {
|
|
1541
|
+
stepRuns: number;
|
|
1542
|
+
laborTickets: number;
|
|
1543
|
+
comments: number;
|
|
1544
|
+
};
|
|
1545
|
+
export type OperationRunCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1546
|
+
stepRuns?: boolean | OperationRunCountOutputTypeCountStepRunsArgs;
|
|
1547
|
+
laborTickets?: boolean | OperationRunCountOutputTypeCountLaborTicketsArgs;
|
|
1548
|
+
comments?: boolean | OperationRunCountOutputTypeCountCommentsArgs;
|
|
1549
|
+
};
|
|
1550
|
+
/**
|
|
1551
|
+
* OperationRunCountOutputType without action
|
|
1552
|
+
*/
|
|
1553
|
+
export type OperationRunCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1554
|
+
/**
|
|
1555
|
+
* Select specific fields to fetch from the OperationRunCountOutputType
|
|
1556
|
+
*/
|
|
1557
|
+
select?: Prisma.OperationRunCountOutputTypeSelect<ExtArgs> | null;
|
|
1558
|
+
};
|
|
1559
|
+
/**
|
|
1560
|
+
* OperationRunCountOutputType without action
|
|
1561
|
+
*/
|
|
1562
|
+
export type OperationRunCountOutputTypeCountStepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1563
|
+
where?: Prisma.StepRunWhereInput;
|
|
1564
|
+
};
|
|
1565
|
+
/**
|
|
1566
|
+
* OperationRunCountOutputType without action
|
|
1567
|
+
*/
|
|
1568
|
+
export type OperationRunCountOutputTypeCountLaborTicketsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1569
|
+
where?: Prisma.LaborTicketWhereInput;
|
|
1570
|
+
};
|
|
1571
|
+
/**
|
|
1572
|
+
* OperationRunCountOutputType without action
|
|
1573
|
+
*/
|
|
1574
|
+
export type OperationRunCountOutputTypeCountCommentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1575
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1576
|
+
};
|
|
1577
|
+
export type OperationRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1578
|
+
id?: boolean;
|
|
1579
|
+
orderRunId?: boolean;
|
|
1580
|
+
operationId?: boolean;
|
|
1581
|
+
status?: boolean;
|
|
1582
|
+
assignedToId?: boolean;
|
|
1583
|
+
cost?: boolean;
|
|
1584
|
+
statusNote?: boolean;
|
|
1585
|
+
completedAt?: boolean;
|
|
1586
|
+
createdAt?: boolean;
|
|
1587
|
+
createdById?: boolean;
|
|
1588
|
+
updatedAt?: boolean;
|
|
1589
|
+
updatedById?: boolean;
|
|
1590
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1591
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1592
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1593
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1594
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1595
|
+
stepRuns?: boolean | Prisma.OperationRun$stepRunsArgs<ExtArgs>;
|
|
1596
|
+
laborTickets?: boolean | Prisma.OperationRun$laborTicketsArgs<ExtArgs>;
|
|
1597
|
+
comments?: boolean | Prisma.OperationRun$commentsArgs<ExtArgs>;
|
|
1598
|
+
_count?: boolean | Prisma.OperationRunCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1599
|
+
}, ExtArgs["result"]["operationRun"]>;
|
|
1600
|
+
export type OperationRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1601
|
+
id?: boolean;
|
|
1602
|
+
orderRunId?: boolean;
|
|
1603
|
+
operationId?: boolean;
|
|
1604
|
+
status?: boolean;
|
|
1605
|
+
assignedToId?: boolean;
|
|
1606
|
+
cost?: boolean;
|
|
1607
|
+
statusNote?: boolean;
|
|
1608
|
+
completedAt?: boolean;
|
|
1609
|
+
createdAt?: boolean;
|
|
1610
|
+
createdById?: boolean;
|
|
1611
|
+
updatedAt?: boolean;
|
|
1612
|
+
updatedById?: boolean;
|
|
1613
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1614
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1615
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1616
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1617
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1618
|
+
}, ExtArgs["result"]["operationRun"]>;
|
|
1619
|
+
export type OperationRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1620
|
+
id?: boolean;
|
|
1621
|
+
orderRunId?: boolean;
|
|
1622
|
+
operationId?: boolean;
|
|
1623
|
+
status?: boolean;
|
|
1624
|
+
assignedToId?: boolean;
|
|
1625
|
+
cost?: boolean;
|
|
1626
|
+
statusNote?: boolean;
|
|
1627
|
+
completedAt?: boolean;
|
|
1628
|
+
createdAt?: boolean;
|
|
1629
|
+
createdById?: boolean;
|
|
1630
|
+
updatedAt?: boolean;
|
|
1631
|
+
updatedById?: boolean;
|
|
1632
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1633
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1634
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1635
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1636
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1637
|
+
}, ExtArgs["result"]["operationRun"]>;
|
|
1638
|
+
export type OperationRunSelectScalar = {
|
|
1639
|
+
id?: boolean;
|
|
1640
|
+
orderRunId?: boolean;
|
|
1641
|
+
operationId?: boolean;
|
|
1642
|
+
status?: boolean;
|
|
1643
|
+
assignedToId?: boolean;
|
|
1644
|
+
cost?: boolean;
|
|
1645
|
+
statusNote?: boolean;
|
|
1646
|
+
completedAt?: boolean;
|
|
1647
|
+
createdAt?: boolean;
|
|
1648
|
+
createdById?: boolean;
|
|
1649
|
+
updatedAt?: boolean;
|
|
1650
|
+
updatedById?: boolean;
|
|
1651
|
+
};
|
|
1652
|
+
export type OperationRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "orderRunId" | "operationId" | "status" | "assignedToId" | "cost" | "statusNote" | "completedAt" | "createdAt" | "createdById" | "updatedAt" | "updatedById", ExtArgs["result"]["operationRun"]>;
|
|
1653
|
+
export type OperationRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1654
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1655
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1656
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1657
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1658
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1659
|
+
stepRuns?: boolean | Prisma.OperationRun$stepRunsArgs<ExtArgs>;
|
|
1660
|
+
laborTickets?: boolean | Prisma.OperationRun$laborTicketsArgs<ExtArgs>;
|
|
1661
|
+
comments?: boolean | Prisma.OperationRun$commentsArgs<ExtArgs>;
|
|
1662
|
+
_count?: boolean | Prisma.OperationRunCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1663
|
+
};
|
|
1664
|
+
export type OperationRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1665
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1666
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1667
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1668
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1669
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1670
|
+
};
|
|
1671
|
+
export type OperationRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1672
|
+
assignedTo?: boolean | Prisma.OperationRun$assignedToArgs<ExtArgs>;
|
|
1673
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1674
|
+
updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1675
|
+
orderRun?: boolean | Prisma.OrderRunDefaultArgs<ExtArgs>;
|
|
1676
|
+
operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
|
|
1677
|
+
};
|
|
1678
|
+
export type $OperationRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
name: "OperationRun";
|
|
1680
|
+
objects: {
|
|
1681
|
+
assignedTo: Prisma.$UserPayload<ExtArgs> | null;
|
|
1682
|
+
createdBy: Prisma.$UserPayload<ExtArgs>;
|
|
1683
|
+
updatedBy: Prisma.$UserPayload<ExtArgs>;
|
|
1684
|
+
orderRun: Prisma.$OrderRunPayload<ExtArgs>;
|
|
1685
|
+
operation: Prisma.$OperationPayload<ExtArgs>;
|
|
1686
|
+
stepRuns: Prisma.$StepRunPayload<ExtArgs>[];
|
|
1687
|
+
laborTickets: Prisma.$LaborTicketPayload<ExtArgs>[];
|
|
1688
|
+
comments: Prisma.$OperationRunCommentPayload<ExtArgs>[];
|
|
1689
|
+
};
|
|
1690
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1691
|
+
id: number;
|
|
1692
|
+
orderRunId: number;
|
|
1693
|
+
operationId: number;
|
|
1694
|
+
status: $Enums.OperationRunStatus;
|
|
1695
|
+
assignedToId: number | null;
|
|
1696
|
+
cost: number | null;
|
|
1697
|
+
statusNote: string | null;
|
|
1698
|
+
completedAt: Date | null;
|
|
1699
|
+
createdAt: Date;
|
|
1700
|
+
createdById: number;
|
|
1701
|
+
updatedAt: Date;
|
|
1702
|
+
updatedById: number;
|
|
1703
|
+
}, ExtArgs["result"]["operationRun"]>;
|
|
1704
|
+
composites: {};
|
|
1705
|
+
};
|
|
1706
|
+
export type OperationRunGetPayload<S extends boolean | null | undefined | OperationRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OperationRunPayload, S>;
|
|
1707
|
+
export type OperationRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OperationRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1708
|
+
select?: OperationRunCountAggregateInputType | true;
|
|
1709
|
+
};
|
|
1710
|
+
export interface OperationRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1711
|
+
[K: symbol]: {
|
|
1712
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OperationRun'];
|
|
1713
|
+
meta: {
|
|
1714
|
+
name: 'OperationRun';
|
|
1715
|
+
};
|
|
1716
|
+
};
|
|
1717
|
+
/**
|
|
1718
|
+
* Find zero or one OperationRun that matches the filter.
|
|
1719
|
+
* @param {OperationRunFindUniqueArgs} args - Arguments to find a OperationRun
|
|
1720
|
+
* @example
|
|
1721
|
+
* // Get one OperationRun
|
|
1722
|
+
* const operationRun = await prisma.operationRun.findUnique({
|
|
1723
|
+
* where: {
|
|
1724
|
+
* // ... provide filter here
|
|
1725
|
+
* }
|
|
1726
|
+
* })
|
|
1727
|
+
*/
|
|
1728
|
+
findUnique<T extends OperationRunFindUniqueArgs>(args: Prisma.SelectSubset<T, OperationRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Find one OperationRun that matches the filter or throw an error with `error.code='P2025'`
|
|
1731
|
+
* if no matches were found.
|
|
1732
|
+
* @param {OperationRunFindUniqueOrThrowArgs} args - Arguments to find a OperationRun
|
|
1733
|
+
* @example
|
|
1734
|
+
* // Get one OperationRun
|
|
1735
|
+
* const operationRun = await prisma.operationRun.findUniqueOrThrow({
|
|
1736
|
+
* where: {
|
|
1737
|
+
* // ... provide filter here
|
|
1738
|
+
* }
|
|
1739
|
+
* })
|
|
1740
|
+
*/
|
|
1741
|
+
findUniqueOrThrow<T extends OperationRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OperationRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1742
|
+
/**
|
|
1743
|
+
* Find the first OperationRun that matches the filter.
|
|
1744
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1745
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1746
|
+
* @param {OperationRunFindFirstArgs} args - Arguments to find a OperationRun
|
|
1747
|
+
* @example
|
|
1748
|
+
* // Get one OperationRun
|
|
1749
|
+
* const operationRun = await prisma.operationRun.findFirst({
|
|
1750
|
+
* where: {
|
|
1751
|
+
* // ... provide filter here
|
|
1752
|
+
* }
|
|
1753
|
+
* })
|
|
1754
|
+
*/
|
|
1755
|
+
findFirst<T extends OperationRunFindFirstArgs>(args?: Prisma.SelectSubset<T, OperationRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1756
|
+
/**
|
|
1757
|
+
* Find the first OperationRun that matches the filter or
|
|
1758
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1759
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1760
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1761
|
+
* @param {OperationRunFindFirstOrThrowArgs} args - Arguments to find a OperationRun
|
|
1762
|
+
* @example
|
|
1763
|
+
* // Get one OperationRun
|
|
1764
|
+
* const operationRun = await prisma.operationRun.findFirstOrThrow({
|
|
1765
|
+
* where: {
|
|
1766
|
+
* // ... provide filter here
|
|
1767
|
+
* }
|
|
1768
|
+
* })
|
|
1769
|
+
*/
|
|
1770
|
+
findFirstOrThrow<T extends OperationRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OperationRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1771
|
+
/**
|
|
1772
|
+
* Find zero or more OperationRuns that matches the filter.
|
|
1773
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1774
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1775
|
+
* @param {OperationRunFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1776
|
+
* @example
|
|
1777
|
+
* // Get all OperationRuns
|
|
1778
|
+
* const operationRuns = await prisma.operationRun.findMany()
|
|
1779
|
+
*
|
|
1780
|
+
* // Get first 10 OperationRuns
|
|
1781
|
+
* const operationRuns = await prisma.operationRun.findMany({ take: 10 })
|
|
1782
|
+
*
|
|
1783
|
+
* // Only select the `id`
|
|
1784
|
+
* const operationRunWithIdOnly = await prisma.operationRun.findMany({ select: { id: true } })
|
|
1785
|
+
*
|
|
1786
|
+
*/
|
|
1787
|
+
findMany<T extends OperationRunFindManyArgs>(args?: Prisma.SelectSubset<T, OperationRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Create a OperationRun.
|
|
1790
|
+
* @param {OperationRunCreateArgs} args - Arguments to create a OperationRun.
|
|
1791
|
+
* @example
|
|
1792
|
+
* // Create one OperationRun
|
|
1793
|
+
* const OperationRun = await prisma.operationRun.create({
|
|
1794
|
+
* data: {
|
|
1795
|
+
* // ... data to create a OperationRun
|
|
1796
|
+
* }
|
|
1797
|
+
* })
|
|
1798
|
+
*
|
|
1799
|
+
*/
|
|
1800
|
+
create<T extends OperationRunCreateArgs>(args: Prisma.SelectSubset<T, OperationRunCreateArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1801
|
+
/**
|
|
1802
|
+
* Create many OperationRuns.
|
|
1803
|
+
* @param {OperationRunCreateManyArgs} args - Arguments to create many OperationRuns.
|
|
1804
|
+
* @example
|
|
1805
|
+
* // Create many OperationRuns
|
|
1806
|
+
* const operationRun = await prisma.operationRun.createMany({
|
|
1807
|
+
* data: [
|
|
1808
|
+
* // ... provide data here
|
|
1809
|
+
* ]
|
|
1810
|
+
* })
|
|
1811
|
+
*
|
|
1812
|
+
*/
|
|
1813
|
+
createMany<T extends OperationRunCreateManyArgs>(args?: Prisma.SelectSubset<T, OperationRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Create many OperationRuns and returns the data saved in the database.
|
|
1816
|
+
* @param {OperationRunCreateManyAndReturnArgs} args - Arguments to create many OperationRuns.
|
|
1817
|
+
* @example
|
|
1818
|
+
* // Create many OperationRuns
|
|
1819
|
+
* const operationRun = await prisma.operationRun.createManyAndReturn({
|
|
1820
|
+
* data: [
|
|
1821
|
+
* // ... provide data here
|
|
1822
|
+
* ]
|
|
1823
|
+
* })
|
|
1824
|
+
*
|
|
1825
|
+
* // Create many OperationRuns and only return the `id`
|
|
1826
|
+
* const operationRunWithIdOnly = await prisma.operationRun.createManyAndReturn({
|
|
1827
|
+
* select: { id: true },
|
|
1828
|
+
* data: [
|
|
1829
|
+
* // ... provide data here
|
|
1830
|
+
* ]
|
|
1831
|
+
* })
|
|
1832
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1833
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1834
|
+
*
|
|
1835
|
+
*/
|
|
1836
|
+
createManyAndReturn<T extends OperationRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OperationRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1837
|
+
/**
|
|
1838
|
+
* Delete a OperationRun.
|
|
1839
|
+
* @param {OperationRunDeleteArgs} args - Arguments to delete one OperationRun.
|
|
1840
|
+
* @example
|
|
1841
|
+
* // Delete one OperationRun
|
|
1842
|
+
* const OperationRun = await prisma.operationRun.delete({
|
|
1843
|
+
* where: {
|
|
1844
|
+
* // ... filter to delete one OperationRun
|
|
1845
|
+
* }
|
|
1846
|
+
* })
|
|
1847
|
+
*
|
|
1848
|
+
*/
|
|
1849
|
+
delete<T extends OperationRunDeleteArgs>(args: Prisma.SelectSubset<T, OperationRunDeleteArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Update one OperationRun.
|
|
1852
|
+
* @param {OperationRunUpdateArgs} args - Arguments to update one OperationRun.
|
|
1853
|
+
* @example
|
|
1854
|
+
* // Update one OperationRun
|
|
1855
|
+
* const operationRun = await prisma.operationRun.update({
|
|
1856
|
+
* where: {
|
|
1857
|
+
* // ... provide filter here
|
|
1858
|
+
* },
|
|
1859
|
+
* data: {
|
|
1860
|
+
* // ... provide data here
|
|
1861
|
+
* }
|
|
1862
|
+
* })
|
|
1863
|
+
*
|
|
1864
|
+
*/
|
|
1865
|
+
update<T extends OperationRunUpdateArgs>(args: Prisma.SelectSubset<T, OperationRunUpdateArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1866
|
+
/**
|
|
1867
|
+
* Delete zero or more OperationRuns.
|
|
1868
|
+
* @param {OperationRunDeleteManyArgs} args - Arguments to filter OperationRuns to delete.
|
|
1869
|
+
* @example
|
|
1870
|
+
* // Delete a few OperationRuns
|
|
1871
|
+
* const { count } = await prisma.operationRun.deleteMany({
|
|
1872
|
+
* where: {
|
|
1873
|
+
* // ... provide filter here
|
|
1874
|
+
* }
|
|
1875
|
+
* })
|
|
1876
|
+
*
|
|
1877
|
+
*/
|
|
1878
|
+
deleteMany<T extends OperationRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, OperationRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Update zero or more OperationRuns.
|
|
1881
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1882
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1883
|
+
* @param {OperationRunUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1884
|
+
* @example
|
|
1885
|
+
* // Update many OperationRuns
|
|
1886
|
+
* const operationRun = await prisma.operationRun.updateMany({
|
|
1887
|
+
* where: {
|
|
1888
|
+
* // ... provide filter here
|
|
1889
|
+
* },
|
|
1890
|
+
* data: {
|
|
1891
|
+
* // ... provide data here
|
|
1892
|
+
* }
|
|
1893
|
+
* })
|
|
1894
|
+
*
|
|
1895
|
+
*/
|
|
1896
|
+
updateMany<T extends OperationRunUpdateManyArgs>(args: Prisma.SelectSubset<T, OperationRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Update zero or more OperationRuns and returns the data updated in the database.
|
|
1899
|
+
* @param {OperationRunUpdateManyAndReturnArgs} args - Arguments to update many OperationRuns.
|
|
1900
|
+
* @example
|
|
1901
|
+
* // Update many OperationRuns
|
|
1902
|
+
* const operationRun = await prisma.operationRun.updateManyAndReturn({
|
|
1903
|
+
* where: {
|
|
1904
|
+
* // ... provide filter here
|
|
1905
|
+
* },
|
|
1906
|
+
* data: [
|
|
1907
|
+
* // ... provide data here
|
|
1908
|
+
* ]
|
|
1909
|
+
* })
|
|
1910
|
+
*
|
|
1911
|
+
* // Update zero or more OperationRuns and only return the `id`
|
|
1912
|
+
* const operationRunWithIdOnly = await prisma.operationRun.updateManyAndReturn({
|
|
1913
|
+
* select: { id: true },
|
|
1914
|
+
* where: {
|
|
1915
|
+
* // ... provide filter here
|
|
1916
|
+
* },
|
|
1917
|
+
* data: [
|
|
1918
|
+
* // ... provide data here
|
|
1919
|
+
* ]
|
|
1920
|
+
* })
|
|
1921
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1922
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1923
|
+
*
|
|
1924
|
+
*/
|
|
1925
|
+
updateManyAndReturn<T extends OperationRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OperationRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Create or update one OperationRun.
|
|
1928
|
+
* @param {OperationRunUpsertArgs} args - Arguments to update or create a OperationRun.
|
|
1929
|
+
* @example
|
|
1930
|
+
* // Update or create a OperationRun
|
|
1931
|
+
* const operationRun = await prisma.operationRun.upsert({
|
|
1932
|
+
* create: {
|
|
1933
|
+
* // ... data to create a OperationRun
|
|
1934
|
+
* },
|
|
1935
|
+
* update: {
|
|
1936
|
+
* // ... in case it already exists, update
|
|
1937
|
+
* },
|
|
1938
|
+
* where: {
|
|
1939
|
+
* // ... the filter for the OperationRun we want to update
|
|
1940
|
+
* }
|
|
1941
|
+
* })
|
|
1942
|
+
*/
|
|
1943
|
+
upsert<T extends OperationRunUpsertArgs>(args: Prisma.SelectSubset<T, OperationRunUpsertArgs<ExtArgs>>): Prisma.Prisma__OperationRunClient<runtime.Types.Result.GetResult<Prisma.$OperationRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1944
|
+
/**
|
|
1945
|
+
* Count the number of OperationRuns.
|
|
1946
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1947
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1948
|
+
* @param {OperationRunCountArgs} args - Arguments to filter OperationRuns to count.
|
|
1949
|
+
* @example
|
|
1950
|
+
* // Count the number of OperationRuns
|
|
1951
|
+
* const count = await prisma.operationRun.count({
|
|
1952
|
+
* where: {
|
|
1953
|
+
* // ... the filter for the OperationRuns we want to count
|
|
1954
|
+
* }
|
|
1955
|
+
* })
|
|
1956
|
+
**/
|
|
1957
|
+
count<T extends OperationRunCountArgs>(args?: Prisma.Subset<T, OperationRunCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OperationRunCountAggregateOutputType> : number>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Allows you to perform aggregations operations on a OperationRun.
|
|
1960
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1961
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1962
|
+
* @param {OperationRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1963
|
+
* @example
|
|
1964
|
+
* // Ordered by age ascending
|
|
1965
|
+
* // Where email contains prisma.io
|
|
1966
|
+
* // Limited to the 10 users
|
|
1967
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1968
|
+
* _avg: {
|
|
1969
|
+
* age: true,
|
|
1970
|
+
* },
|
|
1971
|
+
* where: {
|
|
1972
|
+
* email: {
|
|
1973
|
+
* contains: "prisma.io",
|
|
1974
|
+
* },
|
|
1975
|
+
* },
|
|
1976
|
+
* orderBy: {
|
|
1977
|
+
* age: "asc",
|
|
1978
|
+
* },
|
|
1979
|
+
* take: 10,
|
|
1980
|
+
* })
|
|
1981
|
+
**/
|
|
1982
|
+
aggregate<T extends OperationRunAggregateArgs>(args: Prisma.Subset<T, OperationRunAggregateArgs>): Prisma.PrismaPromise<GetOperationRunAggregateType<T>>;
|
|
1983
|
+
/**
|
|
1984
|
+
* Group by OperationRun.
|
|
1985
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1986
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1987
|
+
* @param {OperationRunGroupByArgs} args - Group by arguments.
|
|
1988
|
+
* @example
|
|
1989
|
+
* // Group by city, order by createdAt, get count
|
|
1990
|
+
* const result = await prisma.user.groupBy({
|
|
1991
|
+
* by: ['city', 'createdAt'],
|
|
1992
|
+
* orderBy: {
|
|
1993
|
+
* createdAt: true
|
|
1994
|
+
* },
|
|
1995
|
+
* _count: {
|
|
1996
|
+
* _all: true
|
|
1997
|
+
* },
|
|
1998
|
+
* })
|
|
1999
|
+
*
|
|
2000
|
+
**/
|
|
2001
|
+
groupBy<T extends OperationRunGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2002
|
+
orderBy: OperationRunGroupByArgs['orderBy'];
|
|
2003
|
+
} : {
|
|
2004
|
+
orderBy?: OperationRunGroupByArgs['orderBy'];
|
|
2005
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
2006
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
2007
|
+
Error,
|
|
2008
|
+
'Field ',
|
|
2009
|
+
P,
|
|
2010
|
+
` in "having" needs to be provided in "by"`
|
|
2011
|
+
];
|
|
2012
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2013
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2014
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2015
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2016
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2017
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2018
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OperationRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOperationRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2019
|
+
/**
|
|
2020
|
+
* Fields of the OperationRun model
|
|
2021
|
+
*/
|
|
2022
|
+
readonly fields: OperationRunFieldRefs;
|
|
2023
|
+
}
|
|
2024
|
+
/**
|
|
2025
|
+
* The delegate class that acts as a "Promise-like" for OperationRun.
|
|
2026
|
+
* Why is this prefixed with `Prisma__`?
|
|
2027
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2028
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2029
|
+
*/
|
|
2030
|
+
export interface Prisma__OperationRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2031
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2032
|
+
assignedTo<T extends Prisma.OperationRun$assignedToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationRun$assignedToArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2033
|
+
createdBy<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>;
|
|
2034
|
+
updatedBy<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>;
|
|
2035
|
+
orderRun<T extends Prisma.OrderRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrderRunDefaultArgs<ExtArgs>>): Prisma.Prisma__OrderRunClient<runtime.Types.Result.GetResult<Prisma.$OrderRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2036
|
+
operation<T extends Prisma.OperationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationDefaultArgs<ExtArgs>>): Prisma.Prisma__OperationClient<runtime.Types.Result.GetResult<Prisma.$OperationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2037
|
+
stepRuns<T extends Prisma.OperationRun$stepRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationRun$stepRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2038
|
+
laborTickets<T extends Prisma.OperationRun$laborTicketsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationRun$laborTicketsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LaborTicketPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2039
|
+
comments<T extends Prisma.OperationRun$commentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationRun$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2040
|
+
/**
|
|
2041
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2042
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2043
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2044
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2045
|
+
*/
|
|
2046
|
+
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>;
|
|
2047
|
+
/**
|
|
2048
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2049
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2050
|
+
* @returns A Promise for the completion of the callback.
|
|
2051
|
+
*/
|
|
2052
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2055
|
+
* resolved value cannot be modified from the callback.
|
|
2056
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2057
|
+
* @returns A Promise for the completion of the callback.
|
|
2058
|
+
*/
|
|
2059
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* Fields of the OperationRun model
|
|
2063
|
+
*/
|
|
2064
|
+
export interface OperationRunFieldRefs {
|
|
2065
|
+
readonly id: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2066
|
+
readonly orderRunId: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2067
|
+
readonly operationId: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2068
|
+
readonly status: Prisma.FieldRef<"OperationRun", 'OperationRunStatus'>;
|
|
2069
|
+
readonly assignedToId: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2070
|
+
readonly cost: Prisma.FieldRef<"OperationRun", 'Float'>;
|
|
2071
|
+
readonly statusNote: Prisma.FieldRef<"OperationRun", 'String'>;
|
|
2072
|
+
readonly completedAt: Prisma.FieldRef<"OperationRun", 'DateTime'>;
|
|
2073
|
+
readonly createdAt: Prisma.FieldRef<"OperationRun", 'DateTime'>;
|
|
2074
|
+
readonly createdById: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2075
|
+
readonly updatedAt: Prisma.FieldRef<"OperationRun", 'DateTime'>;
|
|
2076
|
+
readonly updatedById: Prisma.FieldRef<"OperationRun", 'Int'>;
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* OperationRun findUnique
|
|
2080
|
+
*/
|
|
2081
|
+
export type OperationRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2082
|
+
/**
|
|
2083
|
+
* Select specific fields to fetch from the OperationRun
|
|
2084
|
+
*/
|
|
2085
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2086
|
+
/**
|
|
2087
|
+
* Omit specific fields from the OperationRun
|
|
2088
|
+
*/
|
|
2089
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2090
|
+
/**
|
|
2091
|
+
* Choose, which related nodes to fetch as well
|
|
2092
|
+
*/
|
|
2093
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2094
|
+
/**
|
|
2095
|
+
* Filter, which OperationRun to fetch.
|
|
2096
|
+
*/
|
|
2097
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
2098
|
+
};
|
|
2099
|
+
/**
|
|
2100
|
+
* OperationRun findUniqueOrThrow
|
|
2101
|
+
*/
|
|
2102
|
+
export type OperationRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2103
|
+
/**
|
|
2104
|
+
* Select specific fields to fetch from the OperationRun
|
|
2105
|
+
*/
|
|
2106
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2107
|
+
/**
|
|
2108
|
+
* Omit specific fields from the OperationRun
|
|
2109
|
+
*/
|
|
2110
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2111
|
+
/**
|
|
2112
|
+
* Choose, which related nodes to fetch as well
|
|
2113
|
+
*/
|
|
2114
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2115
|
+
/**
|
|
2116
|
+
* Filter, which OperationRun to fetch.
|
|
2117
|
+
*/
|
|
2118
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
2119
|
+
};
|
|
2120
|
+
/**
|
|
2121
|
+
* OperationRun findFirst
|
|
2122
|
+
*/
|
|
2123
|
+
export type OperationRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2124
|
+
/**
|
|
2125
|
+
* Select specific fields to fetch from the OperationRun
|
|
2126
|
+
*/
|
|
2127
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* Omit specific fields from the OperationRun
|
|
2130
|
+
*/
|
|
2131
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2132
|
+
/**
|
|
2133
|
+
* Choose, which related nodes to fetch as well
|
|
2134
|
+
*/
|
|
2135
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2136
|
+
/**
|
|
2137
|
+
* Filter, which OperationRun to fetch.
|
|
2138
|
+
*/
|
|
2139
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2140
|
+
/**
|
|
2141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2142
|
+
*
|
|
2143
|
+
* Determine the order of OperationRuns to fetch.
|
|
2144
|
+
*/
|
|
2145
|
+
orderBy?: Prisma.OperationRunOrderByWithRelationInput | Prisma.OperationRunOrderByWithRelationInput[];
|
|
2146
|
+
/**
|
|
2147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2148
|
+
*
|
|
2149
|
+
* Sets the position for searching for OperationRuns.
|
|
2150
|
+
*/
|
|
2151
|
+
cursor?: Prisma.OperationRunWhereUniqueInput;
|
|
2152
|
+
/**
|
|
2153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2154
|
+
*
|
|
2155
|
+
* Take `±n` OperationRuns from the position of the cursor.
|
|
2156
|
+
*/
|
|
2157
|
+
take?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2160
|
+
*
|
|
2161
|
+
* Skip the first `n` OperationRuns.
|
|
2162
|
+
*/
|
|
2163
|
+
skip?: number;
|
|
2164
|
+
/**
|
|
2165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2166
|
+
*
|
|
2167
|
+
* Filter by unique combinations of OperationRuns.
|
|
2168
|
+
*/
|
|
2169
|
+
distinct?: Prisma.OperationRunScalarFieldEnum | Prisma.OperationRunScalarFieldEnum[];
|
|
2170
|
+
};
|
|
2171
|
+
/**
|
|
2172
|
+
* OperationRun findFirstOrThrow
|
|
2173
|
+
*/
|
|
2174
|
+
export type OperationRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2175
|
+
/**
|
|
2176
|
+
* Select specific fields to fetch from the OperationRun
|
|
2177
|
+
*/
|
|
2178
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2179
|
+
/**
|
|
2180
|
+
* Omit specific fields from the OperationRun
|
|
2181
|
+
*/
|
|
2182
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2183
|
+
/**
|
|
2184
|
+
* Choose, which related nodes to fetch as well
|
|
2185
|
+
*/
|
|
2186
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2187
|
+
/**
|
|
2188
|
+
* Filter, which OperationRun to fetch.
|
|
2189
|
+
*/
|
|
2190
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2191
|
+
/**
|
|
2192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2193
|
+
*
|
|
2194
|
+
* Determine the order of OperationRuns to fetch.
|
|
2195
|
+
*/
|
|
2196
|
+
orderBy?: Prisma.OperationRunOrderByWithRelationInput | Prisma.OperationRunOrderByWithRelationInput[];
|
|
2197
|
+
/**
|
|
2198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2199
|
+
*
|
|
2200
|
+
* Sets the position for searching for OperationRuns.
|
|
2201
|
+
*/
|
|
2202
|
+
cursor?: Prisma.OperationRunWhereUniqueInput;
|
|
2203
|
+
/**
|
|
2204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2205
|
+
*
|
|
2206
|
+
* Take `±n` OperationRuns from the position of the cursor.
|
|
2207
|
+
*/
|
|
2208
|
+
take?: number;
|
|
2209
|
+
/**
|
|
2210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2211
|
+
*
|
|
2212
|
+
* Skip the first `n` OperationRuns.
|
|
2213
|
+
*/
|
|
2214
|
+
skip?: number;
|
|
2215
|
+
/**
|
|
2216
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2217
|
+
*
|
|
2218
|
+
* Filter by unique combinations of OperationRuns.
|
|
2219
|
+
*/
|
|
2220
|
+
distinct?: Prisma.OperationRunScalarFieldEnum | Prisma.OperationRunScalarFieldEnum[];
|
|
2221
|
+
};
|
|
2222
|
+
/**
|
|
2223
|
+
* OperationRun findMany
|
|
2224
|
+
*/
|
|
2225
|
+
export type OperationRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2226
|
+
/**
|
|
2227
|
+
* Select specific fields to fetch from the OperationRun
|
|
2228
|
+
*/
|
|
2229
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2230
|
+
/**
|
|
2231
|
+
* Omit specific fields from the OperationRun
|
|
2232
|
+
*/
|
|
2233
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2234
|
+
/**
|
|
2235
|
+
* Choose, which related nodes to fetch as well
|
|
2236
|
+
*/
|
|
2237
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2238
|
+
/**
|
|
2239
|
+
* Filter, which OperationRuns to fetch.
|
|
2240
|
+
*/
|
|
2241
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2242
|
+
/**
|
|
2243
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2244
|
+
*
|
|
2245
|
+
* Determine the order of OperationRuns to fetch.
|
|
2246
|
+
*/
|
|
2247
|
+
orderBy?: Prisma.OperationRunOrderByWithRelationInput | Prisma.OperationRunOrderByWithRelationInput[];
|
|
2248
|
+
/**
|
|
2249
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2250
|
+
*
|
|
2251
|
+
* Sets the position for listing OperationRuns.
|
|
2252
|
+
*/
|
|
2253
|
+
cursor?: Prisma.OperationRunWhereUniqueInput;
|
|
2254
|
+
/**
|
|
2255
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2256
|
+
*
|
|
2257
|
+
* Take `±n` OperationRuns from the position of the cursor.
|
|
2258
|
+
*/
|
|
2259
|
+
take?: number;
|
|
2260
|
+
/**
|
|
2261
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2262
|
+
*
|
|
2263
|
+
* Skip the first `n` OperationRuns.
|
|
2264
|
+
*/
|
|
2265
|
+
skip?: number;
|
|
2266
|
+
/**
|
|
2267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2268
|
+
*
|
|
2269
|
+
* Filter by unique combinations of OperationRuns.
|
|
2270
|
+
*/
|
|
2271
|
+
distinct?: Prisma.OperationRunScalarFieldEnum | Prisma.OperationRunScalarFieldEnum[];
|
|
2272
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* OperationRun create
|
|
2275
|
+
*/
|
|
2276
|
+
export type OperationRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2277
|
+
/**
|
|
2278
|
+
* Select specific fields to fetch from the OperationRun
|
|
2279
|
+
*/
|
|
2280
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2281
|
+
/**
|
|
2282
|
+
* Omit specific fields from the OperationRun
|
|
2283
|
+
*/
|
|
2284
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2285
|
+
/**
|
|
2286
|
+
* Choose, which related nodes to fetch as well
|
|
2287
|
+
*/
|
|
2288
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2289
|
+
/**
|
|
2290
|
+
* The data needed to create a OperationRun.
|
|
2291
|
+
*/
|
|
2292
|
+
data: Prisma.XOR<Prisma.OperationRunCreateInput, Prisma.OperationRunUncheckedCreateInput>;
|
|
2293
|
+
};
|
|
2294
|
+
/**
|
|
2295
|
+
* OperationRun createMany
|
|
2296
|
+
*/
|
|
2297
|
+
export type OperationRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2298
|
+
/**
|
|
2299
|
+
* The data used to create many OperationRuns.
|
|
2300
|
+
*/
|
|
2301
|
+
data: Prisma.OperationRunCreateManyInput | Prisma.OperationRunCreateManyInput[];
|
|
2302
|
+
};
|
|
2303
|
+
/**
|
|
2304
|
+
* OperationRun createManyAndReturn
|
|
2305
|
+
*/
|
|
2306
|
+
export type OperationRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2307
|
+
/**
|
|
2308
|
+
* Select specific fields to fetch from the OperationRun
|
|
2309
|
+
*/
|
|
2310
|
+
select?: Prisma.OperationRunSelectCreateManyAndReturn<ExtArgs> | null;
|
|
2311
|
+
/**
|
|
2312
|
+
* Omit specific fields from the OperationRun
|
|
2313
|
+
*/
|
|
2314
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2315
|
+
/**
|
|
2316
|
+
* The data used to create many OperationRuns.
|
|
2317
|
+
*/
|
|
2318
|
+
data: Prisma.OperationRunCreateManyInput | Prisma.OperationRunCreateManyInput[];
|
|
2319
|
+
/**
|
|
2320
|
+
* Choose, which related nodes to fetch as well
|
|
2321
|
+
*/
|
|
2322
|
+
include?: Prisma.OperationRunIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
2323
|
+
};
|
|
2324
|
+
/**
|
|
2325
|
+
* OperationRun update
|
|
2326
|
+
*/
|
|
2327
|
+
export type OperationRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2328
|
+
/**
|
|
2329
|
+
* Select specific fields to fetch from the OperationRun
|
|
2330
|
+
*/
|
|
2331
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2332
|
+
/**
|
|
2333
|
+
* Omit specific fields from the OperationRun
|
|
2334
|
+
*/
|
|
2335
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2336
|
+
/**
|
|
2337
|
+
* Choose, which related nodes to fetch as well
|
|
2338
|
+
*/
|
|
2339
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2340
|
+
/**
|
|
2341
|
+
* The data needed to update a OperationRun.
|
|
2342
|
+
*/
|
|
2343
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateInput, Prisma.OperationRunUncheckedUpdateInput>;
|
|
2344
|
+
/**
|
|
2345
|
+
* Choose, which OperationRun to update.
|
|
2346
|
+
*/
|
|
2347
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
2348
|
+
};
|
|
2349
|
+
/**
|
|
2350
|
+
* OperationRun updateMany
|
|
2351
|
+
*/
|
|
2352
|
+
export type OperationRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2353
|
+
/**
|
|
2354
|
+
* The data used to update OperationRuns.
|
|
2355
|
+
*/
|
|
2356
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyInput>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Filter which OperationRuns to update
|
|
2359
|
+
*/
|
|
2360
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2361
|
+
/**
|
|
2362
|
+
* Limit how many OperationRuns to update.
|
|
2363
|
+
*/
|
|
2364
|
+
limit?: number;
|
|
2365
|
+
};
|
|
2366
|
+
/**
|
|
2367
|
+
* OperationRun updateManyAndReturn
|
|
2368
|
+
*/
|
|
2369
|
+
export type OperationRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2370
|
+
/**
|
|
2371
|
+
* Select specific fields to fetch from the OperationRun
|
|
2372
|
+
*/
|
|
2373
|
+
select?: Prisma.OperationRunSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
2374
|
+
/**
|
|
2375
|
+
* Omit specific fields from the OperationRun
|
|
2376
|
+
*/
|
|
2377
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2378
|
+
/**
|
|
2379
|
+
* The data used to update OperationRuns.
|
|
2380
|
+
*/
|
|
2381
|
+
data: Prisma.XOR<Prisma.OperationRunUpdateManyMutationInput, Prisma.OperationRunUncheckedUpdateManyInput>;
|
|
2382
|
+
/**
|
|
2383
|
+
* Filter which OperationRuns to update
|
|
2384
|
+
*/
|
|
2385
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2386
|
+
/**
|
|
2387
|
+
* Limit how many OperationRuns to update.
|
|
2388
|
+
*/
|
|
2389
|
+
limit?: number;
|
|
2390
|
+
/**
|
|
2391
|
+
* Choose, which related nodes to fetch as well
|
|
2392
|
+
*/
|
|
2393
|
+
include?: Prisma.OperationRunIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2394
|
+
};
|
|
2395
|
+
/**
|
|
2396
|
+
* OperationRun upsert
|
|
2397
|
+
*/
|
|
2398
|
+
export type OperationRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2399
|
+
/**
|
|
2400
|
+
* Select specific fields to fetch from the OperationRun
|
|
2401
|
+
*/
|
|
2402
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2403
|
+
/**
|
|
2404
|
+
* Omit specific fields from the OperationRun
|
|
2405
|
+
*/
|
|
2406
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2407
|
+
/**
|
|
2408
|
+
* Choose, which related nodes to fetch as well
|
|
2409
|
+
*/
|
|
2410
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2411
|
+
/**
|
|
2412
|
+
* The filter to search for the OperationRun to update in case it exists.
|
|
2413
|
+
*/
|
|
2414
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
2415
|
+
/**
|
|
2416
|
+
* In case the OperationRun found by the `where` argument doesn't exist, create a new OperationRun with this data.
|
|
2417
|
+
*/
|
|
2418
|
+
create: Prisma.XOR<Prisma.OperationRunCreateInput, Prisma.OperationRunUncheckedCreateInput>;
|
|
2419
|
+
/**
|
|
2420
|
+
* In case the OperationRun was found with the provided `where` argument, update it with this data.
|
|
2421
|
+
*/
|
|
2422
|
+
update: Prisma.XOR<Prisma.OperationRunUpdateInput, Prisma.OperationRunUncheckedUpdateInput>;
|
|
2423
|
+
};
|
|
2424
|
+
/**
|
|
2425
|
+
* OperationRun delete
|
|
2426
|
+
*/
|
|
2427
|
+
export type OperationRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2428
|
+
/**
|
|
2429
|
+
* Select specific fields to fetch from the OperationRun
|
|
2430
|
+
*/
|
|
2431
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2432
|
+
/**
|
|
2433
|
+
* Omit specific fields from the OperationRun
|
|
2434
|
+
*/
|
|
2435
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2436
|
+
/**
|
|
2437
|
+
* Choose, which related nodes to fetch as well
|
|
2438
|
+
*/
|
|
2439
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2440
|
+
/**
|
|
2441
|
+
* Filter which OperationRun to delete.
|
|
2442
|
+
*/
|
|
2443
|
+
where: Prisma.OperationRunWhereUniqueInput;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* OperationRun deleteMany
|
|
2447
|
+
*/
|
|
2448
|
+
export type OperationRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2449
|
+
/**
|
|
2450
|
+
* Filter which OperationRuns to delete
|
|
2451
|
+
*/
|
|
2452
|
+
where?: Prisma.OperationRunWhereInput;
|
|
2453
|
+
/**
|
|
2454
|
+
* Limit how many OperationRuns to delete.
|
|
2455
|
+
*/
|
|
2456
|
+
limit?: number;
|
|
2457
|
+
};
|
|
2458
|
+
/**
|
|
2459
|
+
* OperationRun.assignedTo
|
|
2460
|
+
*/
|
|
2461
|
+
export type OperationRun$assignedToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2462
|
+
/**
|
|
2463
|
+
* Select specific fields to fetch from the User
|
|
2464
|
+
*/
|
|
2465
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
2466
|
+
/**
|
|
2467
|
+
* Omit specific fields from the User
|
|
2468
|
+
*/
|
|
2469
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2470
|
+
/**
|
|
2471
|
+
* Choose, which related nodes to fetch as well
|
|
2472
|
+
*/
|
|
2473
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2474
|
+
where?: Prisma.UserWhereInput;
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* OperationRun.stepRuns
|
|
2478
|
+
*/
|
|
2479
|
+
export type OperationRun$stepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2480
|
+
/**
|
|
2481
|
+
* Select specific fields to fetch from the StepRun
|
|
2482
|
+
*/
|
|
2483
|
+
select?: Prisma.StepRunSelect<ExtArgs> | null;
|
|
2484
|
+
/**
|
|
2485
|
+
* Omit specific fields from the StepRun
|
|
2486
|
+
*/
|
|
2487
|
+
omit?: Prisma.StepRunOmit<ExtArgs> | null;
|
|
2488
|
+
/**
|
|
2489
|
+
* Choose, which related nodes to fetch as well
|
|
2490
|
+
*/
|
|
2491
|
+
include?: Prisma.StepRunInclude<ExtArgs> | null;
|
|
2492
|
+
where?: Prisma.StepRunWhereInput;
|
|
2493
|
+
orderBy?: Prisma.StepRunOrderByWithRelationInput | Prisma.StepRunOrderByWithRelationInput[];
|
|
2494
|
+
cursor?: Prisma.StepRunWhereUniqueInput;
|
|
2495
|
+
take?: number;
|
|
2496
|
+
skip?: number;
|
|
2497
|
+
distinct?: Prisma.StepRunScalarFieldEnum | Prisma.StepRunScalarFieldEnum[];
|
|
2498
|
+
};
|
|
2499
|
+
/**
|
|
2500
|
+
* OperationRun.laborTickets
|
|
2501
|
+
*/
|
|
2502
|
+
export type OperationRun$laborTicketsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2503
|
+
/**
|
|
2504
|
+
* Select specific fields to fetch from the LaborTicket
|
|
2505
|
+
*/
|
|
2506
|
+
select?: Prisma.LaborTicketSelect<ExtArgs> | null;
|
|
2507
|
+
/**
|
|
2508
|
+
* Omit specific fields from the LaborTicket
|
|
2509
|
+
*/
|
|
2510
|
+
omit?: Prisma.LaborTicketOmit<ExtArgs> | null;
|
|
2511
|
+
/**
|
|
2512
|
+
* Choose, which related nodes to fetch as well
|
|
2513
|
+
*/
|
|
2514
|
+
include?: Prisma.LaborTicketInclude<ExtArgs> | null;
|
|
2515
|
+
where?: Prisma.LaborTicketWhereInput;
|
|
2516
|
+
orderBy?: Prisma.LaborTicketOrderByWithRelationInput | Prisma.LaborTicketOrderByWithRelationInput[];
|
|
2517
|
+
cursor?: Prisma.LaborTicketWhereUniqueInput;
|
|
2518
|
+
take?: number;
|
|
2519
|
+
skip?: number;
|
|
2520
|
+
distinct?: Prisma.LaborTicketScalarFieldEnum | Prisma.LaborTicketScalarFieldEnum[];
|
|
2521
|
+
};
|
|
2522
|
+
/**
|
|
2523
|
+
* OperationRun.comments
|
|
2524
|
+
*/
|
|
2525
|
+
export type OperationRun$commentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2526
|
+
/**
|
|
2527
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
2528
|
+
*/
|
|
2529
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
2530
|
+
/**
|
|
2531
|
+
* Omit specific fields from the OperationRunComment
|
|
2532
|
+
*/
|
|
2533
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
2534
|
+
/**
|
|
2535
|
+
* Choose, which related nodes to fetch as well
|
|
2536
|
+
*/
|
|
2537
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
2538
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
2539
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithRelationInput | Prisma.OperationRunCommentOrderByWithRelationInput[];
|
|
2540
|
+
cursor?: Prisma.OperationRunCommentWhereUniqueInput;
|
|
2541
|
+
take?: number;
|
|
2542
|
+
skip?: number;
|
|
2543
|
+
distinct?: Prisma.OperationRunCommentScalarFieldEnum | Prisma.OperationRunCommentScalarFieldEnum[];
|
|
2544
|
+
};
|
|
2545
|
+
/**
|
|
2546
|
+
* OperationRun without action
|
|
2547
|
+
*/
|
|
2548
|
+
export type OperationRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2549
|
+
/**
|
|
2550
|
+
* Select specific fields to fetch from the OperationRun
|
|
2551
|
+
*/
|
|
2552
|
+
select?: Prisma.OperationRunSelect<ExtArgs> | null;
|
|
2553
|
+
/**
|
|
2554
|
+
* Omit specific fields from the OperationRun
|
|
2555
|
+
*/
|
|
2556
|
+
omit?: Prisma.OperationRunOmit<ExtArgs> | null;
|
|
2557
|
+
/**
|
|
2558
|
+
* Choose, which related nodes to fetch as well
|
|
2559
|
+
*/
|
|
2560
|
+
include?: Prisma.OperationRunInclude<ExtArgs> | null;
|
|
2561
|
+
};
|
|
2562
|
+
export {};
|
|
2563
|
+
//# sourceMappingURL=OperationRun.d.ts.map
|