@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.

Files changed (201) hide show
  1. package/bin/naisys-erp +2 -0
  2. package/client-dist/android-chrome-192x192.png +0 -0
  3. package/client-dist/android-chrome-512x512.png +0 -0
  4. package/client-dist/apple-touch-icon.png +0 -0
  5. package/client-dist/assets/index-45dVo30p.css +1 -0
  6. package/client-dist/assets/index-Dffms7F_.js +168 -0
  7. package/client-dist/assets/naisys-logo-CzoPnn5I.webp +0 -0
  8. package/client-dist/favicon.ico +0 -0
  9. package/client-dist/index.html +42 -0
  10. package/client-dist/site.webmanifest +22 -0
  11. package/dist/api-reference.d.ts +10 -0
  12. package/dist/api-reference.js +101 -0
  13. package/dist/audit.d.ts +5 -0
  14. package/dist/audit.js +14 -0
  15. package/dist/auth-middleware.d.ts +18 -0
  16. package/dist/auth-middleware.js +203 -0
  17. package/dist/dbConfig.d.ts +5 -0
  18. package/dist/dbConfig.js +10 -0
  19. package/dist/erpDb.d.ts +10 -0
  20. package/dist/erpDb.js +34 -0
  21. package/dist/erpServer.d.ts +10 -0
  22. package/dist/erpServer.js +321 -0
  23. package/dist/error-handler.d.ts +7 -0
  24. package/dist/error-handler.js +17 -0
  25. package/dist/generated/prisma/client.d.ts +154 -0
  26. package/dist/generated/prisma/client.js +35 -0
  27. package/dist/generated/prisma/commonInputTypes.d.ts +637 -0
  28. package/dist/generated/prisma/commonInputTypes.js +11 -0
  29. package/dist/generated/prisma/enums.d.ts +59 -0
  30. package/dist/generated/prisma/enums.js +60 -0
  31. package/dist/generated/prisma/internal/class.d.ts +406 -0
  32. package/dist/generated/prisma/internal/class.js +50 -0
  33. package/dist/generated/prisma/internal/prismaNamespace.d.ts +2722 -0
  34. package/dist/generated/prisma/internal/prismaNamespace.js +366 -0
  35. package/dist/generated/prisma/models/Attachment.d.ts +1455 -0
  36. package/dist/generated/prisma/models/Attachment.js +2 -0
  37. package/dist/generated/prisma/models/AuditLog.d.ts +1359 -0
  38. package/dist/generated/prisma/models/AuditLog.js +2 -0
  39. package/dist/generated/prisma/models/Field.d.ts +1880 -0
  40. package/dist/generated/prisma/models/Field.js +2 -0
  41. package/dist/generated/prisma/models/FieldAttachment.d.ts +1245 -0
  42. package/dist/generated/prisma/models/FieldAttachment.js +2 -0
  43. package/dist/generated/prisma/models/FieldRecord.d.ts +1625 -0
  44. package/dist/generated/prisma/models/FieldRecord.js +2 -0
  45. package/dist/generated/prisma/models/FieldSet.d.ts +1577 -0
  46. package/dist/generated/prisma/models/FieldSet.js +2 -0
  47. package/dist/generated/prisma/models/FieldValue.d.ts +1908 -0
  48. package/dist/generated/prisma/models/FieldValue.js +2 -0
  49. package/dist/generated/prisma/models/Item.d.ts +1858 -0
  50. package/dist/generated/prisma/models/Item.js +2 -0
  51. package/dist/generated/prisma/models/ItemInstance.d.ts +1987 -0
  52. package/dist/generated/prisma/models/ItemInstance.js +2 -0
  53. package/dist/generated/prisma/models/LaborTicket.d.ts +1867 -0
  54. package/dist/generated/prisma/models/LaborTicket.js +2 -0
  55. package/dist/generated/prisma/models/Operation.d.ts +2578 -0
  56. package/dist/generated/prisma/models/Operation.js +2 -0
  57. package/dist/generated/prisma/models/OperationDependency.d.ts +1434 -0
  58. package/dist/generated/prisma/models/OperationDependency.js +2 -0
  59. package/dist/generated/prisma/models/OperationFieldRef.d.ts +1539 -0
  60. package/dist/generated/prisma/models/OperationFieldRef.js +2 -0
  61. package/dist/generated/prisma/models/OperationRun.d.ts +2563 -0
  62. package/dist/generated/prisma/models/OperationRun.js +2 -0
  63. package/dist/generated/prisma/models/OperationRunComment.d.ts +1366 -0
  64. package/dist/generated/prisma/models/OperationRunComment.js +2 -0
  65. package/dist/generated/prisma/models/Order.d.ts +1931 -0
  66. package/dist/generated/prisma/models/Order.js +2 -0
  67. package/dist/generated/prisma/models/OrderRevision.d.ts +1962 -0
  68. package/dist/generated/prisma/models/OrderRevision.js +2 -0
  69. package/dist/generated/prisma/models/OrderRun.d.ts +2310 -0
  70. package/dist/generated/prisma/models/OrderRun.js +2 -0
  71. package/dist/generated/prisma/models/SchemaVersion.d.ts +985 -0
  72. package/dist/generated/prisma/models/SchemaVersion.js +2 -0
  73. package/dist/generated/prisma/models/Session.d.ts +1213 -0
  74. package/dist/generated/prisma/models/Session.js +2 -0
  75. package/dist/generated/prisma/models/Step.d.ts +2180 -0
  76. package/dist/generated/prisma/models/Step.js +2 -0
  77. package/dist/generated/prisma/models/StepRun.d.ts +1963 -0
  78. package/dist/generated/prisma/models/StepRun.js +2 -0
  79. package/dist/generated/prisma/models/User.d.ts +11819 -0
  80. package/dist/generated/prisma/models/User.js +2 -0
  81. package/dist/generated/prisma/models/UserPermission.d.ts +1348 -0
  82. package/dist/generated/prisma/models/UserPermission.js +2 -0
  83. package/dist/generated/prisma/models/WorkCenter.d.ts +1657 -0
  84. package/dist/generated/prisma/models/WorkCenter.js +2 -0
  85. package/dist/generated/prisma/models/WorkCenterUser.d.ts +1390 -0
  86. package/dist/generated/prisma/models/WorkCenterUser.js +2 -0
  87. package/dist/generated/prisma/models.d.ts +28 -0
  88. package/dist/generated/prisma/models.js +2 -0
  89. package/dist/hateoas.d.ts +7 -0
  90. package/dist/hateoas.js +61 -0
  91. package/dist/route-helpers.d.ts +318 -0
  92. package/dist/route-helpers.js +220 -0
  93. package/dist/routes/admin.d.ts +3 -0
  94. package/dist/routes/admin.js +147 -0
  95. package/dist/routes/audit.d.ts +3 -0
  96. package/dist/routes/audit.js +36 -0
  97. package/dist/routes/auth.d.ts +3 -0
  98. package/dist/routes/auth.js +112 -0
  99. package/dist/routes/dispatch.d.ts +3 -0
  100. package/dist/routes/dispatch.js +174 -0
  101. package/dist/routes/inventory.d.ts +3 -0
  102. package/dist/routes/inventory.js +70 -0
  103. package/dist/routes/item-fields.d.ts +3 -0
  104. package/dist/routes/item-fields.js +220 -0
  105. package/dist/routes/item-instances.d.ts +3 -0
  106. package/dist/routes/item-instances.js +426 -0
  107. package/dist/routes/items.d.ts +3 -0
  108. package/dist/routes/items.js +252 -0
  109. package/dist/routes/labor-tickets.d.ts +3 -0
  110. package/dist/routes/labor-tickets.js +268 -0
  111. package/dist/routes/operation-dependencies.d.ts +3 -0
  112. package/dist/routes/operation-dependencies.js +170 -0
  113. package/dist/routes/operation-field-refs.d.ts +3 -0
  114. package/dist/routes/operation-field-refs.js +263 -0
  115. package/dist/routes/operation-run-comments.d.ts +3 -0
  116. package/dist/routes/operation-run-comments.js +108 -0
  117. package/dist/routes/operation-run-transitions.d.ts +3 -0
  118. package/dist/routes/operation-run-transitions.js +249 -0
  119. package/dist/routes/operation-runs.d.ts +112 -0
  120. package/dist/routes/operation-runs.js +299 -0
  121. package/dist/routes/operations.d.ts +3 -0
  122. package/dist/routes/operations.js +283 -0
  123. package/dist/routes/order-revision-transitions.d.ts +3 -0
  124. package/dist/routes/order-revision-transitions.js +86 -0
  125. package/dist/routes/order-revisions.d.ts +51 -0
  126. package/dist/routes/order-revisions.js +327 -0
  127. package/dist/routes/order-run-transitions.d.ts +3 -0
  128. package/dist/routes/order-run-transitions.js +215 -0
  129. package/dist/routes/order-runs.d.ts +58 -0
  130. package/dist/routes/order-runs.js +335 -0
  131. package/dist/routes/orders.d.ts +3 -0
  132. package/dist/routes/orders.js +262 -0
  133. package/dist/routes/root.d.ts +3 -0
  134. package/dist/routes/root.js +123 -0
  135. package/dist/routes/schemas.d.ts +3 -0
  136. package/dist/routes/schemas.js +31 -0
  137. package/dist/routes/step-field-attachments.d.ts +3 -0
  138. package/dist/routes/step-field-attachments.js +231 -0
  139. package/dist/routes/step-fields.d.ts +100 -0
  140. package/dist/routes/step-fields.js +315 -0
  141. package/dist/routes/step-run-fields.d.ts +3 -0
  142. package/dist/routes/step-run-fields.js +438 -0
  143. package/dist/routes/step-run-transitions.d.ts +3 -0
  144. package/dist/routes/step-run-transitions.js +113 -0
  145. package/dist/routes/step-runs.d.ts +332 -0
  146. package/dist/routes/step-runs.js +324 -0
  147. package/dist/routes/steps.d.ts +3 -0
  148. package/dist/routes/steps.js +283 -0
  149. package/dist/routes/user-permissions.d.ts +3 -0
  150. package/dist/routes/user-permissions.js +100 -0
  151. package/dist/routes/users.d.ts +57 -0
  152. package/dist/routes/users.js +381 -0
  153. package/dist/routes/work-centers.d.ts +3 -0
  154. package/dist/routes/work-centers.js +280 -0
  155. package/dist/schema-registry.d.ts +3 -0
  156. package/dist/schema-registry.js +45 -0
  157. package/dist/services/attachment-service.d.ts +33 -0
  158. package/dist/services/attachment-service.js +118 -0
  159. package/dist/services/field-ref-service.d.ts +96 -0
  160. package/dist/services/field-ref-service.js +74 -0
  161. package/dist/services/field-service.d.ts +49 -0
  162. package/dist/services/field-service.js +114 -0
  163. package/dist/services/field-value-service.d.ts +61 -0
  164. package/dist/services/field-value-service.js +256 -0
  165. package/dist/services/item-instance-service.d.ts +152 -0
  166. package/dist/services/item-instance-service.js +155 -0
  167. package/dist/services/item-service.d.ts +47 -0
  168. package/dist/services/item-service.js +56 -0
  169. package/dist/services/labor-ticket-service.d.ts +40 -0
  170. package/dist/services/labor-ticket-service.js +148 -0
  171. package/dist/services/log-file-service.d.ts +4 -0
  172. package/dist/services/log-file-service.js +11 -0
  173. package/dist/services/operation-dependency-service.d.ts +33 -0
  174. package/dist/services/operation-dependency-service.js +30 -0
  175. package/dist/services/operation-run-comment-service.d.ts +17 -0
  176. package/dist/services/operation-run-comment-service.js +26 -0
  177. package/dist/services/operation-run-service.d.ts +126 -0
  178. package/dist/services/operation-run-service.js +347 -0
  179. package/dist/services/operation-service.d.ts +47 -0
  180. package/dist/services/operation-service.js +132 -0
  181. package/dist/services/order-revision-service.d.ts +53 -0
  182. package/dist/services/order-revision-service.js +264 -0
  183. package/dist/services/order-run-service.d.ts +138 -0
  184. package/dist/services/order-run-service.js +356 -0
  185. package/dist/services/order-service.d.ts +15 -0
  186. package/dist/services/order-service.js +68 -0
  187. package/dist/services/revision-diff-service.d.ts +3 -0
  188. package/dist/services/revision-diff-service.js +194 -0
  189. package/dist/services/step-run-service.d.ts +172 -0
  190. package/dist/services/step-run-service.js +106 -0
  191. package/dist/services/step-service.d.ts +104 -0
  192. package/dist/services/step-service.js +89 -0
  193. package/dist/services/user-service.d.ts +185 -0
  194. package/dist/services/user-service.js +132 -0
  195. package/dist/services/work-center-service.d.ts +29 -0
  196. package/dist/services/work-center-service.js +106 -0
  197. package/dist/supervisorAuth.d.ts +3 -0
  198. package/dist/supervisorAuth.js +16 -0
  199. package/dist/userService.d.ts +20 -0
  200. package/dist/userService.js +118 -0
  201. package/package.json +69 -0
@@ -0,0 +1,1539 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model OperationFieldRef
5
+ *
6
+ */
7
+ export type OperationFieldRefModel = runtime.Types.Result.DefaultSelection<Prisma.$OperationFieldRefPayload>;
8
+ export type AggregateOperationFieldRef = {
9
+ _count: OperationFieldRefCountAggregateOutputType | null;
10
+ _avg: OperationFieldRefAvgAggregateOutputType | null;
11
+ _sum: OperationFieldRefSumAggregateOutputType | null;
12
+ _min: OperationFieldRefMinAggregateOutputType | null;
13
+ _max: OperationFieldRefMaxAggregateOutputType | null;
14
+ };
15
+ export type OperationFieldRefAvgAggregateOutputType = {
16
+ id: number | null;
17
+ operationId: number | null;
18
+ seqNo: number | null;
19
+ sourceStepId: number | null;
20
+ createdById: number | null;
21
+ };
22
+ export type OperationFieldRefSumAggregateOutputType = {
23
+ id: number | null;
24
+ operationId: number | null;
25
+ seqNo: number | null;
26
+ sourceStepId: number | null;
27
+ createdById: number | null;
28
+ };
29
+ export type OperationFieldRefMinAggregateOutputType = {
30
+ id: number | null;
31
+ operationId: number | null;
32
+ seqNo: number | null;
33
+ title: string | null;
34
+ sourceStepId: number | null;
35
+ createdAt: Date | null;
36
+ createdById: number | null;
37
+ };
38
+ export type OperationFieldRefMaxAggregateOutputType = {
39
+ id: number | null;
40
+ operationId: number | null;
41
+ seqNo: number | null;
42
+ title: string | null;
43
+ sourceStepId: number | null;
44
+ createdAt: Date | null;
45
+ createdById: number | null;
46
+ };
47
+ export type OperationFieldRefCountAggregateOutputType = {
48
+ id: number;
49
+ operationId: number;
50
+ seqNo: number;
51
+ title: number;
52
+ sourceStepId: number;
53
+ createdAt: number;
54
+ createdById: number;
55
+ _all: number;
56
+ };
57
+ export type OperationFieldRefAvgAggregateInputType = {
58
+ id?: true;
59
+ operationId?: true;
60
+ seqNo?: true;
61
+ sourceStepId?: true;
62
+ createdById?: true;
63
+ };
64
+ export type OperationFieldRefSumAggregateInputType = {
65
+ id?: true;
66
+ operationId?: true;
67
+ seqNo?: true;
68
+ sourceStepId?: true;
69
+ createdById?: true;
70
+ };
71
+ export type OperationFieldRefMinAggregateInputType = {
72
+ id?: true;
73
+ operationId?: true;
74
+ seqNo?: true;
75
+ title?: true;
76
+ sourceStepId?: true;
77
+ createdAt?: true;
78
+ createdById?: true;
79
+ };
80
+ export type OperationFieldRefMaxAggregateInputType = {
81
+ id?: true;
82
+ operationId?: true;
83
+ seqNo?: true;
84
+ title?: true;
85
+ sourceStepId?: true;
86
+ createdAt?: true;
87
+ createdById?: true;
88
+ };
89
+ export type OperationFieldRefCountAggregateInputType = {
90
+ id?: true;
91
+ operationId?: true;
92
+ seqNo?: true;
93
+ title?: true;
94
+ sourceStepId?: true;
95
+ createdAt?: true;
96
+ createdById?: true;
97
+ _all?: true;
98
+ };
99
+ export type OperationFieldRefAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
100
+ /**
101
+ * Filter which OperationFieldRef to aggregate.
102
+ */
103
+ where?: Prisma.OperationFieldRefWhereInput;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
106
+ *
107
+ * Determine the order of OperationFieldRefs to fetch.
108
+ */
109
+ orderBy?: Prisma.OperationFieldRefOrderByWithRelationInput | Prisma.OperationFieldRefOrderByWithRelationInput[];
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
112
+ *
113
+ * Sets the start position
114
+ */
115
+ cursor?: Prisma.OperationFieldRefWhereUniqueInput;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
118
+ *
119
+ * Take `±n` OperationFieldRefs from the position of the cursor.
120
+ */
121
+ take?: number;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
124
+ *
125
+ * Skip the first `n` OperationFieldRefs.
126
+ */
127
+ skip?: number;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
130
+ *
131
+ * Count returned OperationFieldRefs
132
+ **/
133
+ _count?: true | OperationFieldRefCountAggregateInputType;
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
136
+ *
137
+ * Select which fields to average
138
+ **/
139
+ _avg?: OperationFieldRefAvgAggregateInputType;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
+ *
143
+ * Select which fields to sum
144
+ **/
145
+ _sum?: OperationFieldRefSumAggregateInputType;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
+ *
149
+ * Select which fields to find the minimum value
150
+ **/
151
+ _min?: OperationFieldRefMinAggregateInputType;
152
+ /**
153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
+ *
155
+ * Select which fields to find the maximum value
156
+ **/
157
+ _max?: OperationFieldRefMaxAggregateInputType;
158
+ };
159
+ export type GetOperationFieldRefAggregateType<T extends OperationFieldRefAggregateArgs> = {
160
+ [P in keyof T & keyof AggregateOperationFieldRef]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOperationFieldRef[P]> : Prisma.GetScalarType<T[P], AggregateOperationFieldRef[P]>;
161
+ };
162
+ export type OperationFieldRefGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
163
+ where?: Prisma.OperationFieldRefWhereInput;
164
+ orderBy?: Prisma.OperationFieldRefOrderByWithAggregationInput | Prisma.OperationFieldRefOrderByWithAggregationInput[];
165
+ by: Prisma.OperationFieldRefScalarFieldEnum[] | Prisma.OperationFieldRefScalarFieldEnum;
166
+ having?: Prisma.OperationFieldRefScalarWhereWithAggregatesInput;
167
+ take?: number;
168
+ skip?: number;
169
+ _count?: OperationFieldRefCountAggregateInputType | true;
170
+ _avg?: OperationFieldRefAvgAggregateInputType;
171
+ _sum?: OperationFieldRefSumAggregateInputType;
172
+ _min?: OperationFieldRefMinAggregateInputType;
173
+ _max?: OperationFieldRefMaxAggregateInputType;
174
+ };
175
+ export type OperationFieldRefGroupByOutputType = {
176
+ id: number;
177
+ operationId: number;
178
+ seqNo: number;
179
+ title: string;
180
+ sourceStepId: number;
181
+ createdAt: Date;
182
+ createdById: number;
183
+ _count: OperationFieldRefCountAggregateOutputType | null;
184
+ _avg: OperationFieldRefAvgAggregateOutputType | null;
185
+ _sum: OperationFieldRefSumAggregateOutputType | null;
186
+ _min: OperationFieldRefMinAggregateOutputType | null;
187
+ _max: OperationFieldRefMaxAggregateOutputType | null;
188
+ };
189
+ type GetOperationFieldRefGroupByPayload<T extends OperationFieldRefGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OperationFieldRefGroupByOutputType, T['by']> & {
190
+ [P in ((keyof T) & (keyof OperationFieldRefGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OperationFieldRefGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OperationFieldRefGroupByOutputType[P]>;
191
+ }>>;
192
+ export type OperationFieldRefWhereInput = {
193
+ AND?: Prisma.OperationFieldRefWhereInput | Prisma.OperationFieldRefWhereInput[];
194
+ OR?: Prisma.OperationFieldRefWhereInput[];
195
+ NOT?: Prisma.OperationFieldRefWhereInput | Prisma.OperationFieldRefWhereInput[];
196
+ id?: Prisma.IntFilter<"OperationFieldRef"> | number;
197
+ operationId?: Prisma.IntFilter<"OperationFieldRef"> | number;
198
+ seqNo?: Prisma.IntFilter<"OperationFieldRef"> | number;
199
+ title?: Prisma.StringFilter<"OperationFieldRef"> | string;
200
+ sourceStepId?: Prisma.IntFilter<"OperationFieldRef"> | number;
201
+ createdAt?: Prisma.DateTimeFilter<"OperationFieldRef"> | Date | string;
202
+ createdById?: Prisma.IntFilter<"OperationFieldRef"> | number;
203
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
204
+ sourceStep?: Prisma.XOR<Prisma.StepScalarRelationFilter, Prisma.StepWhereInput>;
205
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
206
+ };
207
+ export type OperationFieldRefOrderByWithRelationInput = {
208
+ id?: Prisma.SortOrder;
209
+ operationId?: Prisma.SortOrder;
210
+ seqNo?: Prisma.SortOrder;
211
+ title?: Prisma.SortOrder;
212
+ sourceStepId?: Prisma.SortOrder;
213
+ createdAt?: Prisma.SortOrder;
214
+ createdById?: Prisma.SortOrder;
215
+ operation?: Prisma.OperationOrderByWithRelationInput;
216
+ sourceStep?: Prisma.StepOrderByWithRelationInput;
217
+ createdBy?: Prisma.UserOrderByWithRelationInput;
218
+ };
219
+ export type OperationFieldRefWhereUniqueInput = Prisma.AtLeast<{
220
+ id?: number;
221
+ operationId_seqNo?: Prisma.OperationFieldRefOperationIdSeqNoCompoundUniqueInput;
222
+ operationId_sourceStepId?: Prisma.OperationFieldRefOperationIdSourceStepIdCompoundUniqueInput;
223
+ AND?: Prisma.OperationFieldRefWhereInput | Prisma.OperationFieldRefWhereInput[];
224
+ OR?: Prisma.OperationFieldRefWhereInput[];
225
+ NOT?: Prisma.OperationFieldRefWhereInput | Prisma.OperationFieldRefWhereInput[];
226
+ operationId?: Prisma.IntFilter<"OperationFieldRef"> | number;
227
+ seqNo?: Prisma.IntFilter<"OperationFieldRef"> | number;
228
+ title?: Prisma.StringFilter<"OperationFieldRef"> | string;
229
+ sourceStepId?: Prisma.IntFilter<"OperationFieldRef"> | number;
230
+ createdAt?: Prisma.DateTimeFilter<"OperationFieldRef"> | Date | string;
231
+ createdById?: Prisma.IntFilter<"OperationFieldRef"> | number;
232
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
233
+ sourceStep?: Prisma.XOR<Prisma.StepScalarRelationFilter, Prisma.StepWhereInput>;
234
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
235
+ }, "id" | "operationId_seqNo" | "operationId_sourceStepId">;
236
+ export type OperationFieldRefOrderByWithAggregationInput = {
237
+ id?: Prisma.SortOrder;
238
+ operationId?: Prisma.SortOrder;
239
+ seqNo?: Prisma.SortOrder;
240
+ title?: Prisma.SortOrder;
241
+ sourceStepId?: Prisma.SortOrder;
242
+ createdAt?: Prisma.SortOrder;
243
+ createdById?: Prisma.SortOrder;
244
+ _count?: Prisma.OperationFieldRefCountOrderByAggregateInput;
245
+ _avg?: Prisma.OperationFieldRefAvgOrderByAggregateInput;
246
+ _max?: Prisma.OperationFieldRefMaxOrderByAggregateInput;
247
+ _min?: Prisma.OperationFieldRefMinOrderByAggregateInput;
248
+ _sum?: Prisma.OperationFieldRefSumOrderByAggregateInput;
249
+ };
250
+ export type OperationFieldRefScalarWhereWithAggregatesInput = {
251
+ AND?: Prisma.OperationFieldRefScalarWhereWithAggregatesInput | Prisma.OperationFieldRefScalarWhereWithAggregatesInput[];
252
+ OR?: Prisma.OperationFieldRefScalarWhereWithAggregatesInput[];
253
+ NOT?: Prisma.OperationFieldRefScalarWhereWithAggregatesInput | Prisma.OperationFieldRefScalarWhereWithAggregatesInput[];
254
+ id?: Prisma.IntWithAggregatesFilter<"OperationFieldRef"> | number;
255
+ operationId?: Prisma.IntWithAggregatesFilter<"OperationFieldRef"> | number;
256
+ seqNo?: Prisma.IntWithAggregatesFilter<"OperationFieldRef"> | number;
257
+ title?: Prisma.StringWithAggregatesFilter<"OperationFieldRef"> | string;
258
+ sourceStepId?: Prisma.IntWithAggregatesFilter<"OperationFieldRef"> | number;
259
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"OperationFieldRef"> | Date | string;
260
+ createdById?: Prisma.IntWithAggregatesFilter<"OperationFieldRef"> | number;
261
+ };
262
+ export type OperationFieldRefCreateInput = {
263
+ seqNo: number;
264
+ title: string;
265
+ createdAt?: Date | string;
266
+ operation: Prisma.OperationCreateNestedOneWithoutFieldRefsInput;
267
+ sourceStep: Prisma.StepCreateNestedOneWithoutFieldRefSourcesInput;
268
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldRefsCreatedInput;
269
+ };
270
+ export type OperationFieldRefUncheckedCreateInput = {
271
+ id?: number;
272
+ operationId: number;
273
+ seqNo: number;
274
+ title: string;
275
+ sourceStepId: number;
276
+ createdAt?: Date | string;
277
+ createdById: number;
278
+ };
279
+ export type OperationFieldRefUpdateInput = {
280
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
281
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
283
+ operation?: Prisma.OperationUpdateOneRequiredWithoutFieldRefsNestedInput;
284
+ sourceStep?: Prisma.StepUpdateOneRequiredWithoutFieldRefSourcesNestedInput;
285
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRefsCreatedNestedInput;
286
+ };
287
+ export type OperationFieldRefUncheckedUpdateInput = {
288
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
289
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
290
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
291
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
292
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
293
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
294
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
295
+ };
296
+ export type OperationFieldRefCreateManyInput = {
297
+ id?: number;
298
+ operationId: number;
299
+ seqNo: number;
300
+ title: string;
301
+ sourceStepId: number;
302
+ createdAt?: Date | string;
303
+ createdById: number;
304
+ };
305
+ export type OperationFieldRefUpdateManyMutationInput = {
306
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
307
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
309
+ };
310
+ export type OperationFieldRefUncheckedUpdateManyInput = {
311
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
312
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
313
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
314
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
316
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
317
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
318
+ };
319
+ export type OperationFieldRefListRelationFilter = {
320
+ every?: Prisma.OperationFieldRefWhereInput;
321
+ some?: Prisma.OperationFieldRefWhereInput;
322
+ none?: Prisma.OperationFieldRefWhereInput;
323
+ };
324
+ export type OperationFieldRefOrderByRelationAggregateInput = {
325
+ _count?: Prisma.SortOrder;
326
+ };
327
+ export type OperationFieldRefOperationIdSeqNoCompoundUniqueInput = {
328
+ operationId: number;
329
+ seqNo: number;
330
+ };
331
+ export type OperationFieldRefOperationIdSourceStepIdCompoundUniqueInput = {
332
+ operationId: number;
333
+ sourceStepId: number;
334
+ };
335
+ export type OperationFieldRefCountOrderByAggregateInput = {
336
+ id?: Prisma.SortOrder;
337
+ operationId?: Prisma.SortOrder;
338
+ seqNo?: Prisma.SortOrder;
339
+ title?: Prisma.SortOrder;
340
+ sourceStepId?: Prisma.SortOrder;
341
+ createdAt?: Prisma.SortOrder;
342
+ createdById?: Prisma.SortOrder;
343
+ };
344
+ export type OperationFieldRefAvgOrderByAggregateInput = {
345
+ id?: Prisma.SortOrder;
346
+ operationId?: Prisma.SortOrder;
347
+ seqNo?: Prisma.SortOrder;
348
+ sourceStepId?: Prisma.SortOrder;
349
+ createdById?: Prisma.SortOrder;
350
+ };
351
+ export type OperationFieldRefMaxOrderByAggregateInput = {
352
+ id?: Prisma.SortOrder;
353
+ operationId?: Prisma.SortOrder;
354
+ seqNo?: Prisma.SortOrder;
355
+ title?: Prisma.SortOrder;
356
+ sourceStepId?: Prisma.SortOrder;
357
+ createdAt?: Prisma.SortOrder;
358
+ createdById?: Prisma.SortOrder;
359
+ };
360
+ export type OperationFieldRefMinOrderByAggregateInput = {
361
+ id?: Prisma.SortOrder;
362
+ operationId?: Prisma.SortOrder;
363
+ seqNo?: Prisma.SortOrder;
364
+ title?: Prisma.SortOrder;
365
+ sourceStepId?: Prisma.SortOrder;
366
+ createdAt?: Prisma.SortOrder;
367
+ createdById?: Prisma.SortOrder;
368
+ };
369
+ export type OperationFieldRefSumOrderByAggregateInput = {
370
+ id?: Prisma.SortOrder;
371
+ operationId?: Prisma.SortOrder;
372
+ seqNo?: Prisma.SortOrder;
373
+ sourceStepId?: Prisma.SortOrder;
374
+ createdById?: Prisma.SortOrder;
375
+ };
376
+ export type OperationFieldRefCreateNestedManyWithoutOperationInput = {
377
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput> | Prisma.OperationFieldRefCreateWithoutOperationInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput[];
378
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput | Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput[];
379
+ createMany?: Prisma.OperationFieldRefCreateManyOperationInputEnvelope;
380
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
381
+ };
382
+ export type OperationFieldRefUncheckedCreateNestedManyWithoutOperationInput = {
383
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput> | Prisma.OperationFieldRefCreateWithoutOperationInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput[];
384
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput | Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput[];
385
+ createMany?: Prisma.OperationFieldRefCreateManyOperationInputEnvelope;
386
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
387
+ };
388
+ export type OperationFieldRefUpdateManyWithoutOperationNestedInput = {
389
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput> | Prisma.OperationFieldRefCreateWithoutOperationInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput[];
390
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput | Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput[];
391
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutOperationInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutOperationInput[];
392
+ createMany?: Prisma.OperationFieldRefCreateManyOperationInputEnvelope;
393
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
394
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
395
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
396
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
397
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutOperationInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutOperationInput[];
398
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutOperationInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutOperationInput[];
399
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
400
+ };
401
+ export type OperationFieldRefUncheckedUpdateManyWithoutOperationNestedInput = {
402
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput> | Prisma.OperationFieldRefCreateWithoutOperationInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput[];
403
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput | Prisma.OperationFieldRefCreateOrConnectWithoutOperationInput[];
404
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutOperationInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutOperationInput[];
405
+ createMany?: Prisma.OperationFieldRefCreateManyOperationInputEnvelope;
406
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
407
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
408
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
409
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
410
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutOperationInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutOperationInput[];
411
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutOperationInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutOperationInput[];
412
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
413
+ };
414
+ export type OperationFieldRefCreateNestedManyWithoutSourceStepInput = {
415
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput> | Prisma.OperationFieldRefCreateWithoutSourceStepInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput[];
416
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput | Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput[];
417
+ createMany?: Prisma.OperationFieldRefCreateManySourceStepInputEnvelope;
418
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
419
+ };
420
+ export type OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput = {
421
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput> | Prisma.OperationFieldRefCreateWithoutSourceStepInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput[];
422
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput | Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput[];
423
+ createMany?: Prisma.OperationFieldRefCreateManySourceStepInputEnvelope;
424
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
425
+ };
426
+ export type OperationFieldRefUpdateManyWithoutSourceStepNestedInput = {
427
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput> | Prisma.OperationFieldRefCreateWithoutSourceStepInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput[];
428
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput | Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput[];
429
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutSourceStepInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutSourceStepInput[];
430
+ createMany?: Prisma.OperationFieldRefCreateManySourceStepInputEnvelope;
431
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
432
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
433
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
434
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
435
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutSourceStepInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutSourceStepInput[];
436
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutSourceStepInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutSourceStepInput[];
437
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
438
+ };
439
+ export type OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput = {
440
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput> | Prisma.OperationFieldRefCreateWithoutSourceStepInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput[];
441
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput | Prisma.OperationFieldRefCreateOrConnectWithoutSourceStepInput[];
442
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutSourceStepInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutSourceStepInput[];
443
+ createMany?: Prisma.OperationFieldRefCreateManySourceStepInputEnvelope;
444
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
445
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
446
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
447
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
448
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutSourceStepInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutSourceStepInput[];
449
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutSourceStepInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutSourceStepInput[];
450
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
451
+ };
452
+ export type OperationFieldRefCreateNestedManyWithoutCreatedByInput = {
453
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput> | Prisma.OperationFieldRefCreateWithoutCreatedByInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput[];
454
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput | Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput[];
455
+ createMany?: Prisma.OperationFieldRefCreateManyCreatedByInputEnvelope;
456
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
457
+ };
458
+ export type OperationFieldRefUncheckedCreateNestedManyWithoutCreatedByInput = {
459
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput> | Prisma.OperationFieldRefCreateWithoutCreatedByInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput[];
460
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput | Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput[];
461
+ createMany?: Prisma.OperationFieldRefCreateManyCreatedByInputEnvelope;
462
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
463
+ };
464
+ export type OperationFieldRefUpdateManyWithoutCreatedByNestedInput = {
465
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput> | Prisma.OperationFieldRefCreateWithoutCreatedByInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput[];
466
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput | Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput[];
467
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutCreatedByInput[];
468
+ createMany?: Prisma.OperationFieldRefCreateManyCreatedByInputEnvelope;
469
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
470
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
471
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
472
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
473
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutCreatedByInput[];
474
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutCreatedByInput[];
475
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
476
+ };
477
+ export type OperationFieldRefUncheckedUpdateManyWithoutCreatedByNestedInput = {
478
+ create?: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput> | Prisma.OperationFieldRefCreateWithoutCreatedByInput[] | Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput[];
479
+ connectOrCreate?: Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput | Prisma.OperationFieldRefCreateOrConnectWithoutCreatedByInput[];
480
+ upsert?: Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationFieldRefUpsertWithWhereUniqueWithoutCreatedByInput[];
481
+ createMany?: Prisma.OperationFieldRefCreateManyCreatedByInputEnvelope;
482
+ set?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
483
+ disconnect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
484
+ delete?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
485
+ connect?: Prisma.OperationFieldRefWhereUniqueInput | Prisma.OperationFieldRefWhereUniqueInput[];
486
+ update?: Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationFieldRefUpdateWithWhereUniqueWithoutCreatedByInput[];
487
+ updateMany?: Prisma.OperationFieldRefUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationFieldRefUpdateManyWithWhereWithoutCreatedByInput[];
488
+ deleteMany?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
489
+ };
490
+ export type OperationFieldRefCreateWithoutOperationInput = {
491
+ seqNo: number;
492
+ title: string;
493
+ createdAt?: Date | string;
494
+ sourceStep: Prisma.StepCreateNestedOneWithoutFieldRefSourcesInput;
495
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldRefsCreatedInput;
496
+ };
497
+ export type OperationFieldRefUncheckedCreateWithoutOperationInput = {
498
+ id?: number;
499
+ seqNo: number;
500
+ title: string;
501
+ sourceStepId: number;
502
+ createdAt?: Date | string;
503
+ createdById: number;
504
+ };
505
+ export type OperationFieldRefCreateOrConnectWithoutOperationInput = {
506
+ where: Prisma.OperationFieldRefWhereUniqueInput;
507
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput>;
508
+ };
509
+ export type OperationFieldRefCreateManyOperationInputEnvelope = {
510
+ data: Prisma.OperationFieldRefCreateManyOperationInput | Prisma.OperationFieldRefCreateManyOperationInput[];
511
+ };
512
+ export type OperationFieldRefUpsertWithWhereUniqueWithoutOperationInput = {
513
+ where: Prisma.OperationFieldRefWhereUniqueInput;
514
+ update: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutOperationInput, Prisma.OperationFieldRefUncheckedUpdateWithoutOperationInput>;
515
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutOperationInput, Prisma.OperationFieldRefUncheckedCreateWithoutOperationInput>;
516
+ };
517
+ export type OperationFieldRefUpdateWithWhereUniqueWithoutOperationInput = {
518
+ where: Prisma.OperationFieldRefWhereUniqueInput;
519
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutOperationInput, Prisma.OperationFieldRefUncheckedUpdateWithoutOperationInput>;
520
+ };
521
+ export type OperationFieldRefUpdateManyWithWhereWithoutOperationInput = {
522
+ where: Prisma.OperationFieldRefScalarWhereInput;
523
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateManyMutationInput, Prisma.OperationFieldRefUncheckedUpdateManyWithoutOperationInput>;
524
+ };
525
+ export type OperationFieldRefScalarWhereInput = {
526
+ AND?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
527
+ OR?: Prisma.OperationFieldRefScalarWhereInput[];
528
+ NOT?: Prisma.OperationFieldRefScalarWhereInput | Prisma.OperationFieldRefScalarWhereInput[];
529
+ id?: Prisma.IntFilter<"OperationFieldRef"> | number;
530
+ operationId?: Prisma.IntFilter<"OperationFieldRef"> | number;
531
+ seqNo?: Prisma.IntFilter<"OperationFieldRef"> | number;
532
+ title?: Prisma.StringFilter<"OperationFieldRef"> | string;
533
+ sourceStepId?: Prisma.IntFilter<"OperationFieldRef"> | number;
534
+ createdAt?: Prisma.DateTimeFilter<"OperationFieldRef"> | Date | string;
535
+ createdById?: Prisma.IntFilter<"OperationFieldRef"> | number;
536
+ };
537
+ export type OperationFieldRefCreateWithoutSourceStepInput = {
538
+ seqNo: number;
539
+ title: string;
540
+ createdAt?: Date | string;
541
+ operation: Prisma.OperationCreateNestedOneWithoutFieldRefsInput;
542
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldRefsCreatedInput;
543
+ };
544
+ export type OperationFieldRefUncheckedCreateWithoutSourceStepInput = {
545
+ id?: number;
546
+ operationId: number;
547
+ seqNo: number;
548
+ title: string;
549
+ createdAt?: Date | string;
550
+ createdById: number;
551
+ };
552
+ export type OperationFieldRefCreateOrConnectWithoutSourceStepInput = {
553
+ where: Prisma.OperationFieldRefWhereUniqueInput;
554
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput>;
555
+ };
556
+ export type OperationFieldRefCreateManySourceStepInputEnvelope = {
557
+ data: Prisma.OperationFieldRefCreateManySourceStepInput | Prisma.OperationFieldRefCreateManySourceStepInput[];
558
+ };
559
+ export type OperationFieldRefUpsertWithWhereUniqueWithoutSourceStepInput = {
560
+ where: Prisma.OperationFieldRefWhereUniqueInput;
561
+ update: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedUpdateWithoutSourceStepInput>;
562
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedCreateWithoutSourceStepInput>;
563
+ };
564
+ export type OperationFieldRefUpdateWithWhereUniqueWithoutSourceStepInput = {
565
+ where: Prisma.OperationFieldRefWhereUniqueInput;
566
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutSourceStepInput, Prisma.OperationFieldRefUncheckedUpdateWithoutSourceStepInput>;
567
+ };
568
+ export type OperationFieldRefUpdateManyWithWhereWithoutSourceStepInput = {
569
+ where: Prisma.OperationFieldRefScalarWhereInput;
570
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateManyMutationInput, Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepInput>;
571
+ };
572
+ export type OperationFieldRefCreateWithoutCreatedByInput = {
573
+ seqNo: number;
574
+ title: string;
575
+ createdAt?: Date | string;
576
+ operation: Prisma.OperationCreateNestedOneWithoutFieldRefsInput;
577
+ sourceStep: Prisma.StepCreateNestedOneWithoutFieldRefSourcesInput;
578
+ };
579
+ export type OperationFieldRefUncheckedCreateWithoutCreatedByInput = {
580
+ id?: number;
581
+ operationId: number;
582
+ seqNo: number;
583
+ title: string;
584
+ sourceStepId: number;
585
+ createdAt?: Date | string;
586
+ };
587
+ export type OperationFieldRefCreateOrConnectWithoutCreatedByInput = {
588
+ where: Prisma.OperationFieldRefWhereUniqueInput;
589
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput>;
590
+ };
591
+ export type OperationFieldRefCreateManyCreatedByInputEnvelope = {
592
+ data: Prisma.OperationFieldRefCreateManyCreatedByInput | Prisma.OperationFieldRefCreateManyCreatedByInput[];
593
+ };
594
+ export type OperationFieldRefUpsertWithWhereUniqueWithoutCreatedByInput = {
595
+ where: Prisma.OperationFieldRefWhereUniqueInput;
596
+ update: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedUpdateWithoutCreatedByInput>;
597
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedCreateWithoutCreatedByInput>;
598
+ };
599
+ export type OperationFieldRefUpdateWithWhereUniqueWithoutCreatedByInput = {
600
+ where: Prisma.OperationFieldRefWhereUniqueInput;
601
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateWithoutCreatedByInput, Prisma.OperationFieldRefUncheckedUpdateWithoutCreatedByInput>;
602
+ };
603
+ export type OperationFieldRefUpdateManyWithWhereWithoutCreatedByInput = {
604
+ where: Prisma.OperationFieldRefScalarWhereInput;
605
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateManyMutationInput, Prisma.OperationFieldRefUncheckedUpdateManyWithoutCreatedByInput>;
606
+ };
607
+ export type OperationFieldRefCreateManyOperationInput = {
608
+ id?: number;
609
+ seqNo: number;
610
+ title: string;
611
+ sourceStepId: number;
612
+ createdAt?: Date | string;
613
+ createdById: number;
614
+ };
615
+ export type OperationFieldRefUpdateWithoutOperationInput = {
616
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
617
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
618
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
619
+ sourceStep?: Prisma.StepUpdateOneRequiredWithoutFieldRefSourcesNestedInput;
620
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRefsCreatedNestedInput;
621
+ };
622
+ export type OperationFieldRefUncheckedUpdateWithoutOperationInput = {
623
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
624
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
625
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
626
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
627
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
628
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
629
+ };
630
+ export type OperationFieldRefUncheckedUpdateManyWithoutOperationInput = {
631
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
632
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
633
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
634
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
635
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
636
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
637
+ };
638
+ export type OperationFieldRefCreateManySourceStepInput = {
639
+ id?: number;
640
+ operationId: number;
641
+ seqNo: number;
642
+ title: string;
643
+ createdAt?: Date | string;
644
+ createdById: number;
645
+ };
646
+ export type OperationFieldRefUpdateWithoutSourceStepInput = {
647
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
648
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
649
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
650
+ operation?: Prisma.OperationUpdateOneRequiredWithoutFieldRefsNestedInput;
651
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldRefsCreatedNestedInput;
652
+ };
653
+ export type OperationFieldRefUncheckedUpdateWithoutSourceStepInput = {
654
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
655
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
656
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
657
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
658
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
659
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
660
+ };
661
+ export type OperationFieldRefUncheckedUpdateManyWithoutSourceStepInput = {
662
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
663
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
664
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
665
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
666
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
667
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
668
+ };
669
+ export type OperationFieldRefCreateManyCreatedByInput = {
670
+ id?: number;
671
+ operationId: number;
672
+ seqNo: number;
673
+ title: string;
674
+ sourceStepId: number;
675
+ createdAt?: Date | string;
676
+ };
677
+ export type OperationFieldRefUpdateWithoutCreatedByInput = {
678
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
679
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
680
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
681
+ operation?: Prisma.OperationUpdateOneRequiredWithoutFieldRefsNestedInput;
682
+ sourceStep?: Prisma.StepUpdateOneRequiredWithoutFieldRefSourcesNestedInput;
683
+ };
684
+ export type OperationFieldRefUncheckedUpdateWithoutCreatedByInput = {
685
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
686
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
687
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
688
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
689
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
690
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
691
+ };
692
+ export type OperationFieldRefUncheckedUpdateManyWithoutCreatedByInput = {
693
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
694
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
695
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
696
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
697
+ sourceStepId?: Prisma.IntFieldUpdateOperationsInput | number;
698
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
699
+ };
700
+ export type OperationFieldRefSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
701
+ id?: boolean;
702
+ operationId?: boolean;
703
+ seqNo?: boolean;
704
+ title?: boolean;
705
+ sourceStepId?: boolean;
706
+ createdAt?: boolean;
707
+ createdById?: boolean;
708
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
709
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
710
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
711
+ }, ExtArgs["result"]["operationFieldRef"]>;
712
+ export type OperationFieldRefSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
713
+ id?: boolean;
714
+ operationId?: boolean;
715
+ seqNo?: boolean;
716
+ title?: boolean;
717
+ sourceStepId?: boolean;
718
+ createdAt?: boolean;
719
+ createdById?: boolean;
720
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
721
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
722
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
723
+ }, ExtArgs["result"]["operationFieldRef"]>;
724
+ export type OperationFieldRefSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
725
+ id?: boolean;
726
+ operationId?: boolean;
727
+ seqNo?: boolean;
728
+ title?: boolean;
729
+ sourceStepId?: boolean;
730
+ createdAt?: boolean;
731
+ createdById?: boolean;
732
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
733
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
734
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
735
+ }, ExtArgs["result"]["operationFieldRef"]>;
736
+ export type OperationFieldRefSelectScalar = {
737
+ id?: boolean;
738
+ operationId?: boolean;
739
+ seqNo?: boolean;
740
+ title?: boolean;
741
+ sourceStepId?: boolean;
742
+ createdAt?: boolean;
743
+ createdById?: boolean;
744
+ };
745
+ export type OperationFieldRefOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "operationId" | "seqNo" | "title" | "sourceStepId" | "createdAt" | "createdById", ExtArgs["result"]["operationFieldRef"]>;
746
+ export type OperationFieldRefInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
747
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
748
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
749
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
750
+ };
751
+ export type OperationFieldRefIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
752
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
753
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
754
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
755
+ };
756
+ export type OperationFieldRefIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
757
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
758
+ sourceStep?: boolean | Prisma.StepDefaultArgs<ExtArgs>;
759
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
760
+ };
761
+ export type $OperationFieldRefPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
+ name: "OperationFieldRef";
763
+ objects: {
764
+ operation: Prisma.$OperationPayload<ExtArgs>;
765
+ sourceStep: Prisma.$StepPayload<ExtArgs>;
766
+ createdBy: Prisma.$UserPayload<ExtArgs>;
767
+ };
768
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
769
+ id: number;
770
+ operationId: number;
771
+ seqNo: number;
772
+ title: string;
773
+ sourceStepId: number;
774
+ createdAt: Date;
775
+ createdById: number;
776
+ }, ExtArgs["result"]["operationFieldRef"]>;
777
+ composites: {};
778
+ };
779
+ export type OperationFieldRefGetPayload<S extends boolean | null | undefined | OperationFieldRefDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload, S>;
780
+ export type OperationFieldRefCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OperationFieldRefFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
781
+ select?: OperationFieldRefCountAggregateInputType | true;
782
+ };
783
+ export interface OperationFieldRefDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
784
+ [K: symbol]: {
785
+ types: Prisma.TypeMap<ExtArgs>['model']['OperationFieldRef'];
786
+ meta: {
787
+ name: 'OperationFieldRef';
788
+ };
789
+ };
790
+ /**
791
+ * Find zero or one OperationFieldRef that matches the filter.
792
+ * @param {OperationFieldRefFindUniqueArgs} args - Arguments to find a OperationFieldRef
793
+ * @example
794
+ * // Get one OperationFieldRef
795
+ * const operationFieldRef = await prisma.operationFieldRef.findUnique({
796
+ * where: {
797
+ * // ... provide filter here
798
+ * }
799
+ * })
800
+ */
801
+ findUnique<T extends OperationFieldRefFindUniqueArgs>(args: Prisma.SelectSubset<T, OperationFieldRefFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
802
+ /**
803
+ * Find one OperationFieldRef that matches the filter or throw an error with `error.code='P2025'`
804
+ * if no matches were found.
805
+ * @param {OperationFieldRefFindUniqueOrThrowArgs} args - Arguments to find a OperationFieldRef
806
+ * @example
807
+ * // Get one OperationFieldRef
808
+ * const operationFieldRef = await prisma.operationFieldRef.findUniqueOrThrow({
809
+ * where: {
810
+ * // ... provide filter here
811
+ * }
812
+ * })
813
+ */
814
+ findUniqueOrThrow<T extends OperationFieldRefFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OperationFieldRefFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
815
+ /**
816
+ * Find the first OperationFieldRef that matches the filter.
817
+ * Note, that providing `undefined` is treated as the value not being there.
818
+ * Read more here: https://pris.ly/d/null-undefined
819
+ * @param {OperationFieldRefFindFirstArgs} args - Arguments to find a OperationFieldRef
820
+ * @example
821
+ * // Get one OperationFieldRef
822
+ * const operationFieldRef = await prisma.operationFieldRef.findFirst({
823
+ * where: {
824
+ * // ... provide filter here
825
+ * }
826
+ * })
827
+ */
828
+ findFirst<T extends OperationFieldRefFindFirstArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefFindFirstArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
829
+ /**
830
+ * Find the first OperationFieldRef that matches the filter or
831
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
832
+ * Note, that providing `undefined` is treated as the value not being there.
833
+ * Read more here: https://pris.ly/d/null-undefined
834
+ * @param {OperationFieldRefFindFirstOrThrowArgs} args - Arguments to find a OperationFieldRef
835
+ * @example
836
+ * // Get one OperationFieldRef
837
+ * const operationFieldRef = await prisma.operationFieldRef.findFirstOrThrow({
838
+ * where: {
839
+ * // ... provide filter here
840
+ * }
841
+ * })
842
+ */
843
+ findFirstOrThrow<T extends OperationFieldRefFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
844
+ /**
845
+ * Find zero or more OperationFieldRefs that matches the filter.
846
+ * Note, that providing `undefined` is treated as the value not being there.
847
+ * Read more here: https://pris.ly/d/null-undefined
848
+ * @param {OperationFieldRefFindManyArgs} args - Arguments to filter and select certain fields only.
849
+ * @example
850
+ * // Get all OperationFieldRefs
851
+ * const operationFieldRefs = await prisma.operationFieldRef.findMany()
852
+ *
853
+ * // Get first 10 OperationFieldRefs
854
+ * const operationFieldRefs = await prisma.operationFieldRef.findMany({ take: 10 })
855
+ *
856
+ * // Only select the `id`
857
+ * const operationFieldRefWithIdOnly = await prisma.operationFieldRef.findMany({ select: { id: true } })
858
+ *
859
+ */
860
+ findMany<T extends OperationFieldRefFindManyArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
861
+ /**
862
+ * Create a OperationFieldRef.
863
+ * @param {OperationFieldRefCreateArgs} args - Arguments to create a OperationFieldRef.
864
+ * @example
865
+ * // Create one OperationFieldRef
866
+ * const OperationFieldRef = await prisma.operationFieldRef.create({
867
+ * data: {
868
+ * // ... data to create a OperationFieldRef
869
+ * }
870
+ * })
871
+ *
872
+ */
873
+ create<T extends OperationFieldRefCreateArgs>(args: Prisma.SelectSubset<T, OperationFieldRefCreateArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
874
+ /**
875
+ * Create many OperationFieldRefs.
876
+ * @param {OperationFieldRefCreateManyArgs} args - Arguments to create many OperationFieldRefs.
877
+ * @example
878
+ * // Create many OperationFieldRefs
879
+ * const operationFieldRef = await prisma.operationFieldRef.createMany({
880
+ * data: [
881
+ * // ... provide data here
882
+ * ]
883
+ * })
884
+ *
885
+ */
886
+ createMany<T extends OperationFieldRefCreateManyArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
887
+ /**
888
+ * Create many OperationFieldRefs and returns the data saved in the database.
889
+ * @param {OperationFieldRefCreateManyAndReturnArgs} args - Arguments to create many OperationFieldRefs.
890
+ * @example
891
+ * // Create many OperationFieldRefs
892
+ * const operationFieldRef = await prisma.operationFieldRef.createManyAndReturn({
893
+ * data: [
894
+ * // ... provide data here
895
+ * ]
896
+ * })
897
+ *
898
+ * // Create many OperationFieldRefs and only return the `id`
899
+ * const operationFieldRefWithIdOnly = await prisma.operationFieldRef.createManyAndReturn({
900
+ * select: { id: true },
901
+ * data: [
902
+ * // ... provide data here
903
+ * ]
904
+ * })
905
+ * Note, that providing `undefined` is treated as the value not being there.
906
+ * Read more here: https://pris.ly/d/null-undefined
907
+ *
908
+ */
909
+ createManyAndReturn<T extends OperationFieldRefCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
910
+ /**
911
+ * Delete a OperationFieldRef.
912
+ * @param {OperationFieldRefDeleteArgs} args - Arguments to delete one OperationFieldRef.
913
+ * @example
914
+ * // Delete one OperationFieldRef
915
+ * const OperationFieldRef = await prisma.operationFieldRef.delete({
916
+ * where: {
917
+ * // ... filter to delete one OperationFieldRef
918
+ * }
919
+ * })
920
+ *
921
+ */
922
+ delete<T extends OperationFieldRefDeleteArgs>(args: Prisma.SelectSubset<T, OperationFieldRefDeleteArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
923
+ /**
924
+ * Update one OperationFieldRef.
925
+ * @param {OperationFieldRefUpdateArgs} args - Arguments to update one OperationFieldRef.
926
+ * @example
927
+ * // Update one OperationFieldRef
928
+ * const operationFieldRef = await prisma.operationFieldRef.update({
929
+ * where: {
930
+ * // ... provide filter here
931
+ * },
932
+ * data: {
933
+ * // ... provide data here
934
+ * }
935
+ * })
936
+ *
937
+ */
938
+ update<T extends OperationFieldRefUpdateArgs>(args: Prisma.SelectSubset<T, OperationFieldRefUpdateArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
939
+ /**
940
+ * Delete zero or more OperationFieldRefs.
941
+ * @param {OperationFieldRefDeleteManyArgs} args - Arguments to filter OperationFieldRefs to delete.
942
+ * @example
943
+ * // Delete a few OperationFieldRefs
944
+ * const { count } = await prisma.operationFieldRef.deleteMany({
945
+ * where: {
946
+ * // ... provide filter here
947
+ * }
948
+ * })
949
+ *
950
+ */
951
+ deleteMany<T extends OperationFieldRefDeleteManyArgs>(args?: Prisma.SelectSubset<T, OperationFieldRefDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
952
+ /**
953
+ * Update zero or more OperationFieldRefs.
954
+ * Note, that providing `undefined` is treated as the value not being there.
955
+ * Read more here: https://pris.ly/d/null-undefined
956
+ * @param {OperationFieldRefUpdateManyArgs} args - Arguments to update one or more rows.
957
+ * @example
958
+ * // Update many OperationFieldRefs
959
+ * const operationFieldRef = await prisma.operationFieldRef.updateMany({
960
+ * where: {
961
+ * // ... provide filter here
962
+ * },
963
+ * data: {
964
+ * // ... provide data here
965
+ * }
966
+ * })
967
+ *
968
+ */
969
+ updateMany<T extends OperationFieldRefUpdateManyArgs>(args: Prisma.SelectSubset<T, OperationFieldRefUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
970
+ /**
971
+ * Update zero or more OperationFieldRefs and returns the data updated in the database.
972
+ * @param {OperationFieldRefUpdateManyAndReturnArgs} args - Arguments to update many OperationFieldRefs.
973
+ * @example
974
+ * // Update many OperationFieldRefs
975
+ * const operationFieldRef = await prisma.operationFieldRef.updateManyAndReturn({
976
+ * where: {
977
+ * // ... provide filter here
978
+ * },
979
+ * data: [
980
+ * // ... provide data here
981
+ * ]
982
+ * })
983
+ *
984
+ * // Update zero or more OperationFieldRefs and only return the `id`
985
+ * const operationFieldRefWithIdOnly = await prisma.operationFieldRef.updateManyAndReturn({
986
+ * select: { id: true },
987
+ * where: {
988
+ * // ... provide filter here
989
+ * },
990
+ * data: [
991
+ * // ... provide data here
992
+ * ]
993
+ * })
994
+ * Note, that providing `undefined` is treated as the value not being there.
995
+ * Read more here: https://pris.ly/d/null-undefined
996
+ *
997
+ */
998
+ updateManyAndReturn<T extends OperationFieldRefUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OperationFieldRefUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
999
+ /**
1000
+ * Create or update one OperationFieldRef.
1001
+ * @param {OperationFieldRefUpsertArgs} args - Arguments to update or create a OperationFieldRef.
1002
+ * @example
1003
+ * // Update or create a OperationFieldRef
1004
+ * const operationFieldRef = await prisma.operationFieldRef.upsert({
1005
+ * create: {
1006
+ * // ... data to create a OperationFieldRef
1007
+ * },
1008
+ * update: {
1009
+ * // ... in case it already exists, update
1010
+ * },
1011
+ * where: {
1012
+ * // ... the filter for the OperationFieldRef we want to update
1013
+ * }
1014
+ * })
1015
+ */
1016
+ upsert<T extends OperationFieldRefUpsertArgs>(args: Prisma.SelectSubset<T, OperationFieldRefUpsertArgs<ExtArgs>>): Prisma.Prisma__OperationFieldRefClient<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1017
+ /**
1018
+ * Count the number of OperationFieldRefs.
1019
+ * Note, that providing `undefined` is treated as the value not being there.
1020
+ * Read more here: https://pris.ly/d/null-undefined
1021
+ * @param {OperationFieldRefCountArgs} args - Arguments to filter OperationFieldRefs to count.
1022
+ * @example
1023
+ * // Count the number of OperationFieldRefs
1024
+ * const count = await prisma.operationFieldRef.count({
1025
+ * where: {
1026
+ * // ... the filter for the OperationFieldRefs we want to count
1027
+ * }
1028
+ * })
1029
+ **/
1030
+ count<T extends OperationFieldRefCountArgs>(args?: Prisma.Subset<T, OperationFieldRefCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OperationFieldRefCountAggregateOutputType> : number>;
1031
+ /**
1032
+ * Allows you to perform aggregations operations on a OperationFieldRef.
1033
+ * Note, that providing `undefined` is treated as the value not being there.
1034
+ * Read more here: https://pris.ly/d/null-undefined
1035
+ * @param {OperationFieldRefAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1036
+ * @example
1037
+ * // Ordered by age ascending
1038
+ * // Where email contains prisma.io
1039
+ * // Limited to the 10 users
1040
+ * const aggregations = await prisma.user.aggregate({
1041
+ * _avg: {
1042
+ * age: true,
1043
+ * },
1044
+ * where: {
1045
+ * email: {
1046
+ * contains: "prisma.io",
1047
+ * },
1048
+ * },
1049
+ * orderBy: {
1050
+ * age: "asc",
1051
+ * },
1052
+ * take: 10,
1053
+ * })
1054
+ **/
1055
+ aggregate<T extends OperationFieldRefAggregateArgs>(args: Prisma.Subset<T, OperationFieldRefAggregateArgs>): Prisma.PrismaPromise<GetOperationFieldRefAggregateType<T>>;
1056
+ /**
1057
+ * Group by OperationFieldRef.
1058
+ * Note, that providing `undefined` is treated as the value not being there.
1059
+ * Read more here: https://pris.ly/d/null-undefined
1060
+ * @param {OperationFieldRefGroupByArgs} args - Group by arguments.
1061
+ * @example
1062
+ * // Group by city, order by createdAt, get count
1063
+ * const result = await prisma.user.groupBy({
1064
+ * by: ['city', 'createdAt'],
1065
+ * orderBy: {
1066
+ * createdAt: true
1067
+ * },
1068
+ * _count: {
1069
+ * _all: true
1070
+ * },
1071
+ * })
1072
+ *
1073
+ **/
1074
+ groupBy<T extends OperationFieldRefGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1075
+ orderBy: OperationFieldRefGroupByArgs['orderBy'];
1076
+ } : {
1077
+ orderBy?: OperationFieldRefGroupByArgs['orderBy'];
1078
+ }, 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 ? {
1079
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1080
+ Error,
1081
+ 'Field ',
1082
+ P,
1083
+ ` in "having" needs to be provided in "by"`
1084
+ ];
1085
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1086
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1087
+ }[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 ? {} : {
1088
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1089
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1090
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1091
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, OperationFieldRefGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOperationFieldRefGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1092
+ /**
1093
+ * Fields of the OperationFieldRef model
1094
+ */
1095
+ readonly fields: OperationFieldRefFieldRefs;
1096
+ }
1097
+ /**
1098
+ * The delegate class that acts as a "Promise-like" for OperationFieldRef.
1099
+ * Why is this prefixed with `Prisma__`?
1100
+ * Because we want to prevent naming conflicts as mentioned in
1101
+ * https://github.com/prisma/prisma-client-js/issues/707
1102
+ */
1103
+ export interface Prisma__OperationFieldRefClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1104
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1105
+ 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>;
1106
+ sourceStep<T extends Prisma.StepDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StepDefaultArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1107
+ 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>;
1108
+ /**
1109
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1110
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1111
+ * @param onrejected The callback to execute when the Promise is rejected.
1112
+ * @returns A Promise for the completion of which ever callback is executed.
1113
+ */
1114
+ 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>;
1115
+ /**
1116
+ * Attaches a callback for only the rejection of the Promise.
1117
+ * @param onrejected The callback to execute when the Promise is rejected.
1118
+ * @returns A Promise for the completion of the callback.
1119
+ */
1120
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1121
+ /**
1122
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1123
+ * resolved value cannot be modified from the callback.
1124
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1125
+ * @returns A Promise for the completion of the callback.
1126
+ */
1127
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1128
+ }
1129
+ /**
1130
+ * Fields of the OperationFieldRef model
1131
+ */
1132
+ export interface OperationFieldRefFieldRefs {
1133
+ readonly id: Prisma.FieldRef<"OperationFieldRef", 'Int'>;
1134
+ readonly operationId: Prisma.FieldRef<"OperationFieldRef", 'Int'>;
1135
+ readonly seqNo: Prisma.FieldRef<"OperationFieldRef", 'Int'>;
1136
+ readonly title: Prisma.FieldRef<"OperationFieldRef", 'String'>;
1137
+ readonly sourceStepId: Prisma.FieldRef<"OperationFieldRef", 'Int'>;
1138
+ readonly createdAt: Prisma.FieldRef<"OperationFieldRef", 'DateTime'>;
1139
+ readonly createdById: Prisma.FieldRef<"OperationFieldRef", 'Int'>;
1140
+ }
1141
+ /**
1142
+ * OperationFieldRef findUnique
1143
+ */
1144
+ export type OperationFieldRefFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
+ /**
1146
+ * Select specific fields to fetch from the OperationFieldRef
1147
+ */
1148
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1149
+ /**
1150
+ * Omit specific fields from the OperationFieldRef
1151
+ */
1152
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1153
+ /**
1154
+ * Choose, which related nodes to fetch as well
1155
+ */
1156
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1157
+ /**
1158
+ * Filter, which OperationFieldRef to fetch.
1159
+ */
1160
+ where: Prisma.OperationFieldRefWhereUniqueInput;
1161
+ };
1162
+ /**
1163
+ * OperationFieldRef findUniqueOrThrow
1164
+ */
1165
+ export type OperationFieldRefFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1166
+ /**
1167
+ * Select specific fields to fetch from the OperationFieldRef
1168
+ */
1169
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1170
+ /**
1171
+ * Omit specific fields from the OperationFieldRef
1172
+ */
1173
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1174
+ /**
1175
+ * Choose, which related nodes to fetch as well
1176
+ */
1177
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1178
+ /**
1179
+ * Filter, which OperationFieldRef to fetch.
1180
+ */
1181
+ where: Prisma.OperationFieldRefWhereUniqueInput;
1182
+ };
1183
+ /**
1184
+ * OperationFieldRef findFirst
1185
+ */
1186
+ export type OperationFieldRefFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1187
+ /**
1188
+ * Select specific fields to fetch from the OperationFieldRef
1189
+ */
1190
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1191
+ /**
1192
+ * Omit specific fields from the OperationFieldRef
1193
+ */
1194
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1195
+ /**
1196
+ * Choose, which related nodes to fetch as well
1197
+ */
1198
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1199
+ /**
1200
+ * Filter, which OperationFieldRef to fetch.
1201
+ */
1202
+ where?: Prisma.OperationFieldRefWhereInput;
1203
+ /**
1204
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1205
+ *
1206
+ * Determine the order of OperationFieldRefs to fetch.
1207
+ */
1208
+ orderBy?: Prisma.OperationFieldRefOrderByWithRelationInput | Prisma.OperationFieldRefOrderByWithRelationInput[];
1209
+ /**
1210
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1211
+ *
1212
+ * Sets the position for searching for OperationFieldRefs.
1213
+ */
1214
+ cursor?: Prisma.OperationFieldRefWhereUniqueInput;
1215
+ /**
1216
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1217
+ *
1218
+ * Take `±n` OperationFieldRefs from the position of the cursor.
1219
+ */
1220
+ take?: number;
1221
+ /**
1222
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1223
+ *
1224
+ * Skip the first `n` OperationFieldRefs.
1225
+ */
1226
+ skip?: number;
1227
+ /**
1228
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1229
+ *
1230
+ * Filter by unique combinations of OperationFieldRefs.
1231
+ */
1232
+ distinct?: Prisma.OperationFieldRefScalarFieldEnum | Prisma.OperationFieldRefScalarFieldEnum[];
1233
+ };
1234
+ /**
1235
+ * OperationFieldRef findFirstOrThrow
1236
+ */
1237
+ export type OperationFieldRefFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1238
+ /**
1239
+ * Select specific fields to fetch from the OperationFieldRef
1240
+ */
1241
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1242
+ /**
1243
+ * Omit specific fields from the OperationFieldRef
1244
+ */
1245
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1246
+ /**
1247
+ * Choose, which related nodes to fetch as well
1248
+ */
1249
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1250
+ /**
1251
+ * Filter, which OperationFieldRef to fetch.
1252
+ */
1253
+ where?: Prisma.OperationFieldRefWhereInput;
1254
+ /**
1255
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1256
+ *
1257
+ * Determine the order of OperationFieldRefs to fetch.
1258
+ */
1259
+ orderBy?: Prisma.OperationFieldRefOrderByWithRelationInput | Prisma.OperationFieldRefOrderByWithRelationInput[];
1260
+ /**
1261
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1262
+ *
1263
+ * Sets the position for searching for OperationFieldRefs.
1264
+ */
1265
+ cursor?: Prisma.OperationFieldRefWhereUniqueInput;
1266
+ /**
1267
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1268
+ *
1269
+ * Take `±n` OperationFieldRefs from the position of the cursor.
1270
+ */
1271
+ take?: number;
1272
+ /**
1273
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1274
+ *
1275
+ * Skip the first `n` OperationFieldRefs.
1276
+ */
1277
+ skip?: number;
1278
+ /**
1279
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1280
+ *
1281
+ * Filter by unique combinations of OperationFieldRefs.
1282
+ */
1283
+ distinct?: Prisma.OperationFieldRefScalarFieldEnum | Prisma.OperationFieldRefScalarFieldEnum[];
1284
+ };
1285
+ /**
1286
+ * OperationFieldRef findMany
1287
+ */
1288
+ export type OperationFieldRefFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ /**
1290
+ * Select specific fields to fetch from the OperationFieldRef
1291
+ */
1292
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1293
+ /**
1294
+ * Omit specific fields from the OperationFieldRef
1295
+ */
1296
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1297
+ /**
1298
+ * Choose, which related nodes to fetch as well
1299
+ */
1300
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1301
+ /**
1302
+ * Filter, which OperationFieldRefs to fetch.
1303
+ */
1304
+ where?: Prisma.OperationFieldRefWhereInput;
1305
+ /**
1306
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1307
+ *
1308
+ * Determine the order of OperationFieldRefs to fetch.
1309
+ */
1310
+ orderBy?: Prisma.OperationFieldRefOrderByWithRelationInput | Prisma.OperationFieldRefOrderByWithRelationInput[];
1311
+ /**
1312
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1313
+ *
1314
+ * Sets the position for listing OperationFieldRefs.
1315
+ */
1316
+ cursor?: Prisma.OperationFieldRefWhereUniqueInput;
1317
+ /**
1318
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1319
+ *
1320
+ * Take `±n` OperationFieldRefs from the position of the cursor.
1321
+ */
1322
+ take?: number;
1323
+ /**
1324
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1325
+ *
1326
+ * Skip the first `n` OperationFieldRefs.
1327
+ */
1328
+ skip?: number;
1329
+ /**
1330
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1331
+ *
1332
+ * Filter by unique combinations of OperationFieldRefs.
1333
+ */
1334
+ distinct?: Prisma.OperationFieldRefScalarFieldEnum | Prisma.OperationFieldRefScalarFieldEnum[];
1335
+ };
1336
+ /**
1337
+ * OperationFieldRef create
1338
+ */
1339
+ export type OperationFieldRefCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1340
+ /**
1341
+ * Select specific fields to fetch from the OperationFieldRef
1342
+ */
1343
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1344
+ /**
1345
+ * Omit specific fields from the OperationFieldRef
1346
+ */
1347
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1348
+ /**
1349
+ * Choose, which related nodes to fetch as well
1350
+ */
1351
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1352
+ /**
1353
+ * The data needed to create a OperationFieldRef.
1354
+ */
1355
+ data: Prisma.XOR<Prisma.OperationFieldRefCreateInput, Prisma.OperationFieldRefUncheckedCreateInput>;
1356
+ };
1357
+ /**
1358
+ * OperationFieldRef createMany
1359
+ */
1360
+ export type OperationFieldRefCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1361
+ /**
1362
+ * The data used to create many OperationFieldRefs.
1363
+ */
1364
+ data: Prisma.OperationFieldRefCreateManyInput | Prisma.OperationFieldRefCreateManyInput[];
1365
+ };
1366
+ /**
1367
+ * OperationFieldRef createManyAndReturn
1368
+ */
1369
+ export type OperationFieldRefCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1370
+ /**
1371
+ * Select specific fields to fetch from the OperationFieldRef
1372
+ */
1373
+ select?: Prisma.OperationFieldRefSelectCreateManyAndReturn<ExtArgs> | null;
1374
+ /**
1375
+ * Omit specific fields from the OperationFieldRef
1376
+ */
1377
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1378
+ /**
1379
+ * The data used to create many OperationFieldRefs.
1380
+ */
1381
+ data: Prisma.OperationFieldRefCreateManyInput | Prisma.OperationFieldRefCreateManyInput[];
1382
+ /**
1383
+ * Choose, which related nodes to fetch as well
1384
+ */
1385
+ include?: Prisma.OperationFieldRefIncludeCreateManyAndReturn<ExtArgs> | null;
1386
+ };
1387
+ /**
1388
+ * OperationFieldRef update
1389
+ */
1390
+ export type OperationFieldRefUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1391
+ /**
1392
+ * Select specific fields to fetch from the OperationFieldRef
1393
+ */
1394
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1395
+ /**
1396
+ * Omit specific fields from the OperationFieldRef
1397
+ */
1398
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1399
+ /**
1400
+ * Choose, which related nodes to fetch as well
1401
+ */
1402
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1403
+ /**
1404
+ * The data needed to update a OperationFieldRef.
1405
+ */
1406
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateInput, Prisma.OperationFieldRefUncheckedUpdateInput>;
1407
+ /**
1408
+ * Choose, which OperationFieldRef to update.
1409
+ */
1410
+ where: Prisma.OperationFieldRefWhereUniqueInput;
1411
+ };
1412
+ /**
1413
+ * OperationFieldRef updateMany
1414
+ */
1415
+ export type OperationFieldRefUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * The data used to update OperationFieldRefs.
1418
+ */
1419
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateManyMutationInput, Prisma.OperationFieldRefUncheckedUpdateManyInput>;
1420
+ /**
1421
+ * Filter which OperationFieldRefs to update
1422
+ */
1423
+ where?: Prisma.OperationFieldRefWhereInput;
1424
+ /**
1425
+ * Limit how many OperationFieldRefs to update.
1426
+ */
1427
+ limit?: number;
1428
+ };
1429
+ /**
1430
+ * OperationFieldRef updateManyAndReturn
1431
+ */
1432
+ export type OperationFieldRefUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1433
+ /**
1434
+ * Select specific fields to fetch from the OperationFieldRef
1435
+ */
1436
+ select?: Prisma.OperationFieldRefSelectUpdateManyAndReturn<ExtArgs> | null;
1437
+ /**
1438
+ * Omit specific fields from the OperationFieldRef
1439
+ */
1440
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1441
+ /**
1442
+ * The data used to update OperationFieldRefs.
1443
+ */
1444
+ data: Prisma.XOR<Prisma.OperationFieldRefUpdateManyMutationInput, Prisma.OperationFieldRefUncheckedUpdateManyInput>;
1445
+ /**
1446
+ * Filter which OperationFieldRefs to update
1447
+ */
1448
+ where?: Prisma.OperationFieldRefWhereInput;
1449
+ /**
1450
+ * Limit how many OperationFieldRefs to update.
1451
+ */
1452
+ limit?: number;
1453
+ /**
1454
+ * Choose, which related nodes to fetch as well
1455
+ */
1456
+ include?: Prisma.OperationFieldRefIncludeUpdateManyAndReturn<ExtArgs> | null;
1457
+ };
1458
+ /**
1459
+ * OperationFieldRef upsert
1460
+ */
1461
+ export type OperationFieldRefUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1462
+ /**
1463
+ * Select specific fields to fetch from the OperationFieldRef
1464
+ */
1465
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1466
+ /**
1467
+ * Omit specific fields from the OperationFieldRef
1468
+ */
1469
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1470
+ /**
1471
+ * Choose, which related nodes to fetch as well
1472
+ */
1473
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1474
+ /**
1475
+ * The filter to search for the OperationFieldRef to update in case it exists.
1476
+ */
1477
+ where: Prisma.OperationFieldRefWhereUniqueInput;
1478
+ /**
1479
+ * In case the OperationFieldRef found by the `where` argument doesn't exist, create a new OperationFieldRef with this data.
1480
+ */
1481
+ create: Prisma.XOR<Prisma.OperationFieldRefCreateInput, Prisma.OperationFieldRefUncheckedCreateInput>;
1482
+ /**
1483
+ * In case the OperationFieldRef was found with the provided `where` argument, update it with this data.
1484
+ */
1485
+ update: Prisma.XOR<Prisma.OperationFieldRefUpdateInput, Prisma.OperationFieldRefUncheckedUpdateInput>;
1486
+ };
1487
+ /**
1488
+ * OperationFieldRef delete
1489
+ */
1490
+ export type OperationFieldRefDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
+ /**
1492
+ * Select specific fields to fetch from the OperationFieldRef
1493
+ */
1494
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1495
+ /**
1496
+ * Omit specific fields from the OperationFieldRef
1497
+ */
1498
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1499
+ /**
1500
+ * Choose, which related nodes to fetch as well
1501
+ */
1502
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1503
+ /**
1504
+ * Filter which OperationFieldRef to delete.
1505
+ */
1506
+ where: Prisma.OperationFieldRefWhereUniqueInput;
1507
+ };
1508
+ /**
1509
+ * OperationFieldRef deleteMany
1510
+ */
1511
+ export type OperationFieldRefDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1512
+ /**
1513
+ * Filter which OperationFieldRefs to delete
1514
+ */
1515
+ where?: Prisma.OperationFieldRefWhereInput;
1516
+ /**
1517
+ * Limit how many OperationFieldRefs to delete.
1518
+ */
1519
+ limit?: number;
1520
+ };
1521
+ /**
1522
+ * OperationFieldRef without action
1523
+ */
1524
+ export type OperationFieldRefDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1525
+ /**
1526
+ * Select specific fields to fetch from the OperationFieldRef
1527
+ */
1528
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
1529
+ /**
1530
+ * Omit specific fields from the OperationFieldRef
1531
+ */
1532
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
1533
+ /**
1534
+ * Choose, which related nodes to fetch as well
1535
+ */
1536
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
1537
+ };
1538
+ export {};
1539
+ //# sourceMappingURL=OperationFieldRef.d.ts.map