@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,1434 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model OperationDependency
5
+ *
6
+ */
7
+ export type OperationDependencyModel = runtime.Types.Result.DefaultSelection<Prisma.$OperationDependencyPayload>;
8
+ export type AggregateOperationDependency = {
9
+ _count: OperationDependencyCountAggregateOutputType | null;
10
+ _avg: OperationDependencyAvgAggregateOutputType | null;
11
+ _sum: OperationDependencySumAggregateOutputType | null;
12
+ _min: OperationDependencyMinAggregateOutputType | null;
13
+ _max: OperationDependencyMaxAggregateOutputType | null;
14
+ };
15
+ export type OperationDependencyAvgAggregateOutputType = {
16
+ id: number | null;
17
+ successorId: number | null;
18
+ predecessorId: number | null;
19
+ createdById: number | null;
20
+ };
21
+ export type OperationDependencySumAggregateOutputType = {
22
+ id: number | null;
23
+ successorId: number | null;
24
+ predecessorId: number | null;
25
+ createdById: number | null;
26
+ };
27
+ export type OperationDependencyMinAggregateOutputType = {
28
+ id: number | null;
29
+ successorId: number | null;
30
+ predecessorId: number | null;
31
+ createdAt: Date | null;
32
+ createdById: number | null;
33
+ };
34
+ export type OperationDependencyMaxAggregateOutputType = {
35
+ id: number | null;
36
+ successorId: number | null;
37
+ predecessorId: number | null;
38
+ createdAt: Date | null;
39
+ createdById: number | null;
40
+ };
41
+ export type OperationDependencyCountAggregateOutputType = {
42
+ id: number;
43
+ successorId: number;
44
+ predecessorId: number;
45
+ createdAt: number;
46
+ createdById: number;
47
+ _all: number;
48
+ };
49
+ export type OperationDependencyAvgAggregateInputType = {
50
+ id?: true;
51
+ successorId?: true;
52
+ predecessorId?: true;
53
+ createdById?: true;
54
+ };
55
+ export type OperationDependencySumAggregateInputType = {
56
+ id?: true;
57
+ successorId?: true;
58
+ predecessorId?: true;
59
+ createdById?: true;
60
+ };
61
+ export type OperationDependencyMinAggregateInputType = {
62
+ id?: true;
63
+ successorId?: true;
64
+ predecessorId?: true;
65
+ createdAt?: true;
66
+ createdById?: true;
67
+ };
68
+ export type OperationDependencyMaxAggregateInputType = {
69
+ id?: true;
70
+ successorId?: true;
71
+ predecessorId?: true;
72
+ createdAt?: true;
73
+ createdById?: true;
74
+ };
75
+ export type OperationDependencyCountAggregateInputType = {
76
+ id?: true;
77
+ successorId?: true;
78
+ predecessorId?: true;
79
+ createdAt?: true;
80
+ createdById?: true;
81
+ _all?: true;
82
+ };
83
+ export type OperationDependencyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
84
+ /**
85
+ * Filter which OperationDependency to aggregate.
86
+ */
87
+ where?: Prisma.OperationDependencyWhereInput;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
90
+ *
91
+ * Determine the order of OperationDependencies to fetch.
92
+ */
93
+ orderBy?: Prisma.OperationDependencyOrderByWithRelationInput | Prisma.OperationDependencyOrderByWithRelationInput[];
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
96
+ *
97
+ * Sets the start position
98
+ */
99
+ cursor?: Prisma.OperationDependencyWhereUniqueInput;
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
102
+ *
103
+ * Take `±n` OperationDependencies from the position of the cursor.
104
+ */
105
+ take?: number;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
108
+ *
109
+ * Skip the first `n` OperationDependencies.
110
+ */
111
+ skip?: number;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114
+ *
115
+ * Count returned OperationDependencies
116
+ **/
117
+ _count?: true | OperationDependencyCountAggregateInputType;
118
+ /**
119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
+ *
121
+ * Select which fields to average
122
+ **/
123
+ _avg?: OperationDependencyAvgAggregateInputType;
124
+ /**
125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
+ *
127
+ * Select which fields to sum
128
+ **/
129
+ _sum?: OperationDependencySumAggregateInputType;
130
+ /**
131
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
132
+ *
133
+ * Select which fields to find the minimum value
134
+ **/
135
+ _min?: OperationDependencyMinAggregateInputType;
136
+ /**
137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
138
+ *
139
+ * Select which fields to find the maximum value
140
+ **/
141
+ _max?: OperationDependencyMaxAggregateInputType;
142
+ };
143
+ export type GetOperationDependencyAggregateType<T extends OperationDependencyAggregateArgs> = {
144
+ [P in keyof T & keyof AggregateOperationDependency]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOperationDependency[P]> : Prisma.GetScalarType<T[P], AggregateOperationDependency[P]>;
145
+ };
146
+ export type OperationDependencyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
147
+ where?: Prisma.OperationDependencyWhereInput;
148
+ orderBy?: Prisma.OperationDependencyOrderByWithAggregationInput | Prisma.OperationDependencyOrderByWithAggregationInput[];
149
+ by: Prisma.OperationDependencyScalarFieldEnum[] | Prisma.OperationDependencyScalarFieldEnum;
150
+ having?: Prisma.OperationDependencyScalarWhereWithAggregatesInput;
151
+ take?: number;
152
+ skip?: number;
153
+ _count?: OperationDependencyCountAggregateInputType | true;
154
+ _avg?: OperationDependencyAvgAggregateInputType;
155
+ _sum?: OperationDependencySumAggregateInputType;
156
+ _min?: OperationDependencyMinAggregateInputType;
157
+ _max?: OperationDependencyMaxAggregateInputType;
158
+ };
159
+ export type OperationDependencyGroupByOutputType = {
160
+ id: number;
161
+ successorId: number;
162
+ predecessorId: number;
163
+ createdAt: Date;
164
+ createdById: number;
165
+ _count: OperationDependencyCountAggregateOutputType | null;
166
+ _avg: OperationDependencyAvgAggregateOutputType | null;
167
+ _sum: OperationDependencySumAggregateOutputType | null;
168
+ _min: OperationDependencyMinAggregateOutputType | null;
169
+ _max: OperationDependencyMaxAggregateOutputType | null;
170
+ };
171
+ type GetOperationDependencyGroupByPayload<T extends OperationDependencyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OperationDependencyGroupByOutputType, T['by']> & {
172
+ [P in ((keyof T) & (keyof OperationDependencyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OperationDependencyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OperationDependencyGroupByOutputType[P]>;
173
+ }>>;
174
+ export type OperationDependencyWhereInput = {
175
+ AND?: Prisma.OperationDependencyWhereInput | Prisma.OperationDependencyWhereInput[];
176
+ OR?: Prisma.OperationDependencyWhereInput[];
177
+ NOT?: Prisma.OperationDependencyWhereInput | Prisma.OperationDependencyWhereInput[];
178
+ id?: Prisma.IntFilter<"OperationDependency"> | number;
179
+ successorId?: Prisma.IntFilter<"OperationDependency"> | number;
180
+ predecessorId?: Prisma.IntFilter<"OperationDependency"> | number;
181
+ createdAt?: Prisma.DateTimeFilter<"OperationDependency"> | Date | string;
182
+ createdById?: Prisma.IntFilter<"OperationDependency"> | number;
183
+ successor?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
184
+ predecessor?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
185
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
186
+ };
187
+ export type OperationDependencyOrderByWithRelationInput = {
188
+ id?: Prisma.SortOrder;
189
+ successorId?: Prisma.SortOrder;
190
+ predecessorId?: Prisma.SortOrder;
191
+ createdAt?: Prisma.SortOrder;
192
+ createdById?: Prisma.SortOrder;
193
+ successor?: Prisma.OperationOrderByWithRelationInput;
194
+ predecessor?: Prisma.OperationOrderByWithRelationInput;
195
+ createdBy?: Prisma.UserOrderByWithRelationInput;
196
+ };
197
+ export type OperationDependencyWhereUniqueInput = Prisma.AtLeast<{
198
+ id?: number;
199
+ successorId_predecessorId?: Prisma.OperationDependencySuccessorIdPredecessorIdCompoundUniqueInput;
200
+ AND?: Prisma.OperationDependencyWhereInput | Prisma.OperationDependencyWhereInput[];
201
+ OR?: Prisma.OperationDependencyWhereInput[];
202
+ NOT?: Prisma.OperationDependencyWhereInput | Prisma.OperationDependencyWhereInput[];
203
+ successorId?: Prisma.IntFilter<"OperationDependency"> | number;
204
+ predecessorId?: Prisma.IntFilter<"OperationDependency"> | number;
205
+ createdAt?: Prisma.DateTimeFilter<"OperationDependency"> | Date | string;
206
+ createdById?: Prisma.IntFilter<"OperationDependency"> | number;
207
+ successor?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
208
+ predecessor?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
209
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
210
+ }, "id" | "successorId_predecessorId">;
211
+ export type OperationDependencyOrderByWithAggregationInput = {
212
+ id?: Prisma.SortOrder;
213
+ successorId?: Prisma.SortOrder;
214
+ predecessorId?: Prisma.SortOrder;
215
+ createdAt?: Prisma.SortOrder;
216
+ createdById?: Prisma.SortOrder;
217
+ _count?: Prisma.OperationDependencyCountOrderByAggregateInput;
218
+ _avg?: Prisma.OperationDependencyAvgOrderByAggregateInput;
219
+ _max?: Prisma.OperationDependencyMaxOrderByAggregateInput;
220
+ _min?: Prisma.OperationDependencyMinOrderByAggregateInput;
221
+ _sum?: Prisma.OperationDependencySumOrderByAggregateInput;
222
+ };
223
+ export type OperationDependencyScalarWhereWithAggregatesInput = {
224
+ AND?: Prisma.OperationDependencyScalarWhereWithAggregatesInput | Prisma.OperationDependencyScalarWhereWithAggregatesInput[];
225
+ OR?: Prisma.OperationDependencyScalarWhereWithAggregatesInput[];
226
+ NOT?: Prisma.OperationDependencyScalarWhereWithAggregatesInput | Prisma.OperationDependencyScalarWhereWithAggregatesInput[];
227
+ id?: Prisma.IntWithAggregatesFilter<"OperationDependency"> | number;
228
+ successorId?: Prisma.IntWithAggregatesFilter<"OperationDependency"> | number;
229
+ predecessorId?: Prisma.IntWithAggregatesFilter<"OperationDependency"> | number;
230
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"OperationDependency"> | Date | string;
231
+ createdById?: Prisma.IntWithAggregatesFilter<"OperationDependency"> | number;
232
+ };
233
+ export type OperationDependencyCreateInput = {
234
+ createdAt?: Date | string;
235
+ successor: Prisma.OperationCreateNestedOneWithoutPredecessorsInput;
236
+ predecessor: Prisma.OperationCreateNestedOneWithoutSuccessorsInput;
237
+ createdBy: Prisma.UserCreateNestedOneWithoutOpDepsCreatedInput;
238
+ };
239
+ export type OperationDependencyUncheckedCreateInput = {
240
+ id?: number;
241
+ successorId: number;
242
+ predecessorId: number;
243
+ createdAt?: Date | string;
244
+ createdById: number;
245
+ };
246
+ export type OperationDependencyUpdateInput = {
247
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
248
+ successor?: Prisma.OperationUpdateOneRequiredWithoutPredecessorsNestedInput;
249
+ predecessor?: Prisma.OperationUpdateOneRequiredWithoutSuccessorsNestedInput;
250
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutOpDepsCreatedNestedInput;
251
+ };
252
+ export type OperationDependencyUncheckedUpdateInput = {
253
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
254
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
255
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
256
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
257
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
258
+ };
259
+ export type OperationDependencyCreateManyInput = {
260
+ id?: number;
261
+ successorId: number;
262
+ predecessorId: number;
263
+ createdAt?: Date | string;
264
+ createdById: number;
265
+ };
266
+ export type OperationDependencyUpdateManyMutationInput = {
267
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
268
+ };
269
+ export type OperationDependencyUncheckedUpdateManyInput = {
270
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
271
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
272
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
273
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
274
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
275
+ };
276
+ export type OperationDependencyListRelationFilter = {
277
+ every?: Prisma.OperationDependencyWhereInput;
278
+ some?: Prisma.OperationDependencyWhereInput;
279
+ none?: Prisma.OperationDependencyWhereInput;
280
+ };
281
+ export type OperationDependencyOrderByRelationAggregateInput = {
282
+ _count?: Prisma.SortOrder;
283
+ };
284
+ export type OperationDependencySuccessorIdPredecessorIdCompoundUniqueInput = {
285
+ successorId: number;
286
+ predecessorId: number;
287
+ };
288
+ export type OperationDependencyCountOrderByAggregateInput = {
289
+ id?: Prisma.SortOrder;
290
+ successorId?: Prisma.SortOrder;
291
+ predecessorId?: Prisma.SortOrder;
292
+ createdAt?: Prisma.SortOrder;
293
+ createdById?: Prisma.SortOrder;
294
+ };
295
+ export type OperationDependencyAvgOrderByAggregateInput = {
296
+ id?: Prisma.SortOrder;
297
+ successorId?: Prisma.SortOrder;
298
+ predecessorId?: Prisma.SortOrder;
299
+ createdById?: Prisma.SortOrder;
300
+ };
301
+ export type OperationDependencyMaxOrderByAggregateInput = {
302
+ id?: Prisma.SortOrder;
303
+ successorId?: Prisma.SortOrder;
304
+ predecessorId?: Prisma.SortOrder;
305
+ createdAt?: Prisma.SortOrder;
306
+ createdById?: Prisma.SortOrder;
307
+ };
308
+ export type OperationDependencyMinOrderByAggregateInput = {
309
+ id?: Prisma.SortOrder;
310
+ successorId?: Prisma.SortOrder;
311
+ predecessorId?: Prisma.SortOrder;
312
+ createdAt?: Prisma.SortOrder;
313
+ createdById?: Prisma.SortOrder;
314
+ };
315
+ export type OperationDependencySumOrderByAggregateInput = {
316
+ id?: Prisma.SortOrder;
317
+ successorId?: Prisma.SortOrder;
318
+ predecessorId?: Prisma.SortOrder;
319
+ createdById?: Prisma.SortOrder;
320
+ };
321
+ export type OperationDependencyCreateNestedManyWithoutSuccessorInput = {
322
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput> | Prisma.OperationDependencyCreateWithoutSuccessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput[];
323
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput | Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput[];
324
+ createMany?: Prisma.OperationDependencyCreateManySuccessorInputEnvelope;
325
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
326
+ };
327
+ export type OperationDependencyCreateNestedManyWithoutPredecessorInput = {
328
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput> | Prisma.OperationDependencyCreateWithoutPredecessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput[];
329
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput | Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput[];
330
+ createMany?: Prisma.OperationDependencyCreateManyPredecessorInputEnvelope;
331
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
332
+ };
333
+ export type OperationDependencyUncheckedCreateNestedManyWithoutSuccessorInput = {
334
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput> | Prisma.OperationDependencyCreateWithoutSuccessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput[];
335
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput | Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput[];
336
+ createMany?: Prisma.OperationDependencyCreateManySuccessorInputEnvelope;
337
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
338
+ };
339
+ export type OperationDependencyUncheckedCreateNestedManyWithoutPredecessorInput = {
340
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput> | Prisma.OperationDependencyCreateWithoutPredecessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput[];
341
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput | Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput[];
342
+ createMany?: Prisma.OperationDependencyCreateManyPredecessorInputEnvelope;
343
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
344
+ };
345
+ export type OperationDependencyUpdateManyWithoutSuccessorNestedInput = {
346
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput> | Prisma.OperationDependencyCreateWithoutSuccessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput[];
347
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput | Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput[];
348
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutSuccessorInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutSuccessorInput[];
349
+ createMany?: Prisma.OperationDependencyCreateManySuccessorInputEnvelope;
350
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
351
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
352
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
353
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
354
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutSuccessorInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutSuccessorInput[];
355
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutSuccessorInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutSuccessorInput[];
356
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
357
+ };
358
+ export type OperationDependencyUpdateManyWithoutPredecessorNestedInput = {
359
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput> | Prisma.OperationDependencyCreateWithoutPredecessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput[];
360
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput | Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput[];
361
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutPredecessorInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutPredecessorInput[];
362
+ createMany?: Prisma.OperationDependencyCreateManyPredecessorInputEnvelope;
363
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
364
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
365
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
366
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
367
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutPredecessorInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutPredecessorInput[];
368
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutPredecessorInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutPredecessorInput[];
369
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
370
+ };
371
+ export type OperationDependencyUncheckedUpdateManyWithoutSuccessorNestedInput = {
372
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput> | Prisma.OperationDependencyCreateWithoutSuccessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput[];
373
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput | Prisma.OperationDependencyCreateOrConnectWithoutSuccessorInput[];
374
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutSuccessorInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutSuccessorInput[];
375
+ createMany?: Prisma.OperationDependencyCreateManySuccessorInputEnvelope;
376
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
377
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
378
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
379
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
380
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutSuccessorInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutSuccessorInput[];
381
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutSuccessorInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutSuccessorInput[];
382
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
383
+ };
384
+ export type OperationDependencyUncheckedUpdateManyWithoutPredecessorNestedInput = {
385
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput> | Prisma.OperationDependencyCreateWithoutPredecessorInput[] | Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput[];
386
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput | Prisma.OperationDependencyCreateOrConnectWithoutPredecessorInput[];
387
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutPredecessorInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutPredecessorInput[];
388
+ createMany?: Prisma.OperationDependencyCreateManyPredecessorInputEnvelope;
389
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
390
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
391
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
392
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
393
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutPredecessorInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutPredecessorInput[];
394
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutPredecessorInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutPredecessorInput[];
395
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
396
+ };
397
+ export type OperationDependencyCreateNestedManyWithoutCreatedByInput = {
398
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput> | Prisma.OperationDependencyCreateWithoutCreatedByInput[] | Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput[];
399
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput | Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput[];
400
+ createMany?: Prisma.OperationDependencyCreateManyCreatedByInputEnvelope;
401
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
402
+ };
403
+ export type OperationDependencyUncheckedCreateNestedManyWithoutCreatedByInput = {
404
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput> | Prisma.OperationDependencyCreateWithoutCreatedByInput[] | Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput[];
405
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput | Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput[];
406
+ createMany?: Prisma.OperationDependencyCreateManyCreatedByInputEnvelope;
407
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
408
+ };
409
+ export type OperationDependencyUpdateManyWithoutCreatedByNestedInput = {
410
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput> | Prisma.OperationDependencyCreateWithoutCreatedByInput[] | Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput[];
411
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput | Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput[];
412
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutCreatedByInput[];
413
+ createMany?: Prisma.OperationDependencyCreateManyCreatedByInputEnvelope;
414
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
415
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
416
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
417
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
418
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutCreatedByInput[];
419
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutCreatedByInput[];
420
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
421
+ };
422
+ export type OperationDependencyUncheckedUpdateManyWithoutCreatedByNestedInput = {
423
+ create?: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput> | Prisma.OperationDependencyCreateWithoutCreatedByInput[] | Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput[];
424
+ connectOrCreate?: Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput | Prisma.OperationDependencyCreateOrConnectWithoutCreatedByInput[];
425
+ upsert?: Prisma.OperationDependencyUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationDependencyUpsertWithWhereUniqueWithoutCreatedByInput[];
426
+ createMany?: Prisma.OperationDependencyCreateManyCreatedByInputEnvelope;
427
+ set?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
428
+ disconnect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
429
+ delete?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
430
+ connect?: Prisma.OperationDependencyWhereUniqueInput | Prisma.OperationDependencyWhereUniqueInput[];
431
+ update?: Prisma.OperationDependencyUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationDependencyUpdateWithWhereUniqueWithoutCreatedByInput[];
432
+ updateMany?: Prisma.OperationDependencyUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationDependencyUpdateManyWithWhereWithoutCreatedByInput[];
433
+ deleteMany?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
434
+ };
435
+ export type OperationDependencyCreateWithoutSuccessorInput = {
436
+ createdAt?: Date | string;
437
+ predecessor: Prisma.OperationCreateNestedOneWithoutSuccessorsInput;
438
+ createdBy: Prisma.UserCreateNestedOneWithoutOpDepsCreatedInput;
439
+ };
440
+ export type OperationDependencyUncheckedCreateWithoutSuccessorInput = {
441
+ id?: number;
442
+ predecessorId: number;
443
+ createdAt?: Date | string;
444
+ createdById: number;
445
+ };
446
+ export type OperationDependencyCreateOrConnectWithoutSuccessorInput = {
447
+ where: Prisma.OperationDependencyWhereUniqueInput;
448
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput>;
449
+ };
450
+ export type OperationDependencyCreateManySuccessorInputEnvelope = {
451
+ data: Prisma.OperationDependencyCreateManySuccessorInput | Prisma.OperationDependencyCreateManySuccessorInput[];
452
+ };
453
+ export type OperationDependencyCreateWithoutPredecessorInput = {
454
+ createdAt?: Date | string;
455
+ successor: Prisma.OperationCreateNestedOneWithoutPredecessorsInput;
456
+ createdBy: Prisma.UserCreateNestedOneWithoutOpDepsCreatedInput;
457
+ };
458
+ export type OperationDependencyUncheckedCreateWithoutPredecessorInput = {
459
+ id?: number;
460
+ successorId: number;
461
+ createdAt?: Date | string;
462
+ createdById: number;
463
+ };
464
+ export type OperationDependencyCreateOrConnectWithoutPredecessorInput = {
465
+ where: Prisma.OperationDependencyWhereUniqueInput;
466
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput>;
467
+ };
468
+ export type OperationDependencyCreateManyPredecessorInputEnvelope = {
469
+ data: Prisma.OperationDependencyCreateManyPredecessorInput | Prisma.OperationDependencyCreateManyPredecessorInput[];
470
+ };
471
+ export type OperationDependencyUpsertWithWhereUniqueWithoutSuccessorInput = {
472
+ where: Prisma.OperationDependencyWhereUniqueInput;
473
+ update: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedUpdateWithoutSuccessorInput>;
474
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedCreateWithoutSuccessorInput>;
475
+ };
476
+ export type OperationDependencyUpdateWithWhereUniqueWithoutSuccessorInput = {
477
+ where: Prisma.OperationDependencyWhereUniqueInput;
478
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutSuccessorInput, Prisma.OperationDependencyUncheckedUpdateWithoutSuccessorInput>;
479
+ };
480
+ export type OperationDependencyUpdateManyWithWhereWithoutSuccessorInput = {
481
+ where: Prisma.OperationDependencyScalarWhereInput;
482
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateManyMutationInput, Prisma.OperationDependencyUncheckedUpdateManyWithoutSuccessorInput>;
483
+ };
484
+ export type OperationDependencyScalarWhereInput = {
485
+ AND?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
486
+ OR?: Prisma.OperationDependencyScalarWhereInput[];
487
+ NOT?: Prisma.OperationDependencyScalarWhereInput | Prisma.OperationDependencyScalarWhereInput[];
488
+ id?: Prisma.IntFilter<"OperationDependency"> | number;
489
+ successorId?: Prisma.IntFilter<"OperationDependency"> | number;
490
+ predecessorId?: Prisma.IntFilter<"OperationDependency"> | number;
491
+ createdAt?: Prisma.DateTimeFilter<"OperationDependency"> | Date | string;
492
+ createdById?: Prisma.IntFilter<"OperationDependency"> | number;
493
+ };
494
+ export type OperationDependencyUpsertWithWhereUniqueWithoutPredecessorInput = {
495
+ where: Prisma.OperationDependencyWhereUniqueInput;
496
+ update: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedUpdateWithoutPredecessorInput>;
497
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedCreateWithoutPredecessorInput>;
498
+ };
499
+ export type OperationDependencyUpdateWithWhereUniqueWithoutPredecessorInput = {
500
+ where: Prisma.OperationDependencyWhereUniqueInput;
501
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutPredecessorInput, Prisma.OperationDependencyUncheckedUpdateWithoutPredecessorInput>;
502
+ };
503
+ export type OperationDependencyUpdateManyWithWhereWithoutPredecessorInput = {
504
+ where: Prisma.OperationDependencyScalarWhereInput;
505
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateManyMutationInput, Prisma.OperationDependencyUncheckedUpdateManyWithoutPredecessorInput>;
506
+ };
507
+ export type OperationDependencyCreateWithoutCreatedByInput = {
508
+ createdAt?: Date | string;
509
+ successor: Prisma.OperationCreateNestedOneWithoutPredecessorsInput;
510
+ predecessor: Prisma.OperationCreateNestedOneWithoutSuccessorsInput;
511
+ };
512
+ export type OperationDependencyUncheckedCreateWithoutCreatedByInput = {
513
+ id?: number;
514
+ successorId: number;
515
+ predecessorId: number;
516
+ createdAt?: Date | string;
517
+ };
518
+ export type OperationDependencyCreateOrConnectWithoutCreatedByInput = {
519
+ where: Prisma.OperationDependencyWhereUniqueInput;
520
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput>;
521
+ };
522
+ export type OperationDependencyCreateManyCreatedByInputEnvelope = {
523
+ data: Prisma.OperationDependencyCreateManyCreatedByInput | Prisma.OperationDependencyCreateManyCreatedByInput[];
524
+ };
525
+ export type OperationDependencyUpsertWithWhereUniqueWithoutCreatedByInput = {
526
+ where: Prisma.OperationDependencyWhereUniqueInput;
527
+ update: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedUpdateWithoutCreatedByInput>;
528
+ create: Prisma.XOR<Prisma.OperationDependencyCreateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedCreateWithoutCreatedByInput>;
529
+ };
530
+ export type OperationDependencyUpdateWithWhereUniqueWithoutCreatedByInput = {
531
+ where: Prisma.OperationDependencyWhereUniqueInput;
532
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateWithoutCreatedByInput, Prisma.OperationDependencyUncheckedUpdateWithoutCreatedByInput>;
533
+ };
534
+ export type OperationDependencyUpdateManyWithWhereWithoutCreatedByInput = {
535
+ where: Prisma.OperationDependencyScalarWhereInput;
536
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateManyMutationInput, Prisma.OperationDependencyUncheckedUpdateManyWithoutCreatedByInput>;
537
+ };
538
+ export type OperationDependencyCreateManySuccessorInput = {
539
+ id?: number;
540
+ predecessorId: number;
541
+ createdAt?: Date | string;
542
+ createdById: number;
543
+ };
544
+ export type OperationDependencyCreateManyPredecessorInput = {
545
+ id?: number;
546
+ successorId: number;
547
+ createdAt?: Date | string;
548
+ createdById: number;
549
+ };
550
+ export type OperationDependencyUpdateWithoutSuccessorInput = {
551
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
552
+ predecessor?: Prisma.OperationUpdateOneRequiredWithoutSuccessorsNestedInput;
553
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutOpDepsCreatedNestedInput;
554
+ };
555
+ export type OperationDependencyUncheckedUpdateWithoutSuccessorInput = {
556
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
557
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
558
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
559
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
560
+ };
561
+ export type OperationDependencyUncheckedUpdateManyWithoutSuccessorInput = {
562
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
563
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
564
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
565
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
566
+ };
567
+ export type OperationDependencyUpdateWithoutPredecessorInput = {
568
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
569
+ successor?: Prisma.OperationUpdateOneRequiredWithoutPredecessorsNestedInput;
570
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutOpDepsCreatedNestedInput;
571
+ };
572
+ export type OperationDependencyUncheckedUpdateWithoutPredecessorInput = {
573
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
574
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
575
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
576
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
577
+ };
578
+ export type OperationDependencyUncheckedUpdateManyWithoutPredecessorInput = {
579
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
580
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
581
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
582
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
583
+ };
584
+ export type OperationDependencyCreateManyCreatedByInput = {
585
+ id?: number;
586
+ successorId: number;
587
+ predecessorId: number;
588
+ createdAt?: Date | string;
589
+ };
590
+ export type OperationDependencyUpdateWithoutCreatedByInput = {
591
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
592
+ successor?: Prisma.OperationUpdateOneRequiredWithoutPredecessorsNestedInput;
593
+ predecessor?: Prisma.OperationUpdateOneRequiredWithoutSuccessorsNestedInput;
594
+ };
595
+ export type OperationDependencyUncheckedUpdateWithoutCreatedByInput = {
596
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
597
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
598
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
599
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
600
+ };
601
+ export type OperationDependencyUncheckedUpdateManyWithoutCreatedByInput = {
602
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
603
+ successorId?: Prisma.IntFieldUpdateOperationsInput | number;
604
+ predecessorId?: Prisma.IntFieldUpdateOperationsInput | number;
605
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
606
+ };
607
+ export type OperationDependencySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
608
+ id?: boolean;
609
+ successorId?: boolean;
610
+ predecessorId?: boolean;
611
+ createdAt?: boolean;
612
+ createdById?: boolean;
613
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
614
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
615
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
616
+ }, ExtArgs["result"]["operationDependency"]>;
617
+ export type OperationDependencySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
618
+ id?: boolean;
619
+ successorId?: boolean;
620
+ predecessorId?: boolean;
621
+ createdAt?: boolean;
622
+ createdById?: boolean;
623
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
624
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
625
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
626
+ }, ExtArgs["result"]["operationDependency"]>;
627
+ export type OperationDependencySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
628
+ id?: boolean;
629
+ successorId?: boolean;
630
+ predecessorId?: boolean;
631
+ createdAt?: boolean;
632
+ createdById?: boolean;
633
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
634
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
635
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
636
+ }, ExtArgs["result"]["operationDependency"]>;
637
+ export type OperationDependencySelectScalar = {
638
+ id?: boolean;
639
+ successorId?: boolean;
640
+ predecessorId?: boolean;
641
+ createdAt?: boolean;
642
+ createdById?: boolean;
643
+ };
644
+ export type OperationDependencyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "successorId" | "predecessorId" | "createdAt" | "createdById", ExtArgs["result"]["operationDependency"]>;
645
+ export type OperationDependencyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
647
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
648
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
649
+ };
650
+ export type OperationDependencyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
651
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
652
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
653
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
654
+ };
655
+ export type OperationDependencyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
656
+ successor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
657
+ predecessor?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
658
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
659
+ };
660
+ export type $OperationDependencyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
661
+ name: "OperationDependency";
662
+ objects: {
663
+ successor: Prisma.$OperationPayload<ExtArgs>;
664
+ predecessor: Prisma.$OperationPayload<ExtArgs>;
665
+ createdBy: Prisma.$UserPayload<ExtArgs>;
666
+ };
667
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
668
+ id: number;
669
+ successorId: number;
670
+ predecessorId: number;
671
+ createdAt: Date;
672
+ createdById: number;
673
+ }, ExtArgs["result"]["operationDependency"]>;
674
+ composites: {};
675
+ };
676
+ export type OperationDependencyGetPayload<S extends boolean | null | undefined | OperationDependencyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload, S>;
677
+ export type OperationDependencyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OperationDependencyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
678
+ select?: OperationDependencyCountAggregateInputType | true;
679
+ };
680
+ export interface OperationDependencyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
681
+ [K: symbol]: {
682
+ types: Prisma.TypeMap<ExtArgs>['model']['OperationDependency'];
683
+ meta: {
684
+ name: 'OperationDependency';
685
+ };
686
+ };
687
+ /**
688
+ * Find zero or one OperationDependency that matches the filter.
689
+ * @param {OperationDependencyFindUniqueArgs} args - Arguments to find a OperationDependency
690
+ * @example
691
+ * // Get one OperationDependency
692
+ * const operationDependency = await prisma.operationDependency.findUnique({
693
+ * where: {
694
+ * // ... provide filter here
695
+ * }
696
+ * })
697
+ */
698
+ findUnique<T extends OperationDependencyFindUniqueArgs>(args: Prisma.SelectSubset<T, OperationDependencyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
699
+ /**
700
+ * Find one OperationDependency that matches the filter or throw an error with `error.code='P2025'`
701
+ * if no matches were found.
702
+ * @param {OperationDependencyFindUniqueOrThrowArgs} args - Arguments to find a OperationDependency
703
+ * @example
704
+ * // Get one OperationDependency
705
+ * const operationDependency = await prisma.operationDependency.findUniqueOrThrow({
706
+ * where: {
707
+ * // ... provide filter here
708
+ * }
709
+ * })
710
+ */
711
+ findUniqueOrThrow<T extends OperationDependencyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OperationDependencyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
712
+ /**
713
+ * Find the first OperationDependency that matches the filter.
714
+ * Note, that providing `undefined` is treated as the value not being there.
715
+ * Read more here: https://pris.ly/d/null-undefined
716
+ * @param {OperationDependencyFindFirstArgs} args - Arguments to find a OperationDependency
717
+ * @example
718
+ * // Get one OperationDependency
719
+ * const operationDependency = await prisma.operationDependency.findFirst({
720
+ * where: {
721
+ * // ... provide filter here
722
+ * }
723
+ * })
724
+ */
725
+ findFirst<T extends OperationDependencyFindFirstArgs>(args?: Prisma.SelectSubset<T, OperationDependencyFindFirstArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
726
+ /**
727
+ * Find the first OperationDependency that matches the filter or
728
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
729
+ * Note, that providing `undefined` is treated as the value not being there.
730
+ * Read more here: https://pris.ly/d/null-undefined
731
+ * @param {OperationDependencyFindFirstOrThrowArgs} args - Arguments to find a OperationDependency
732
+ * @example
733
+ * // Get one OperationDependency
734
+ * const operationDependency = await prisma.operationDependency.findFirstOrThrow({
735
+ * where: {
736
+ * // ... provide filter here
737
+ * }
738
+ * })
739
+ */
740
+ findFirstOrThrow<T extends OperationDependencyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OperationDependencyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
741
+ /**
742
+ * Find zero or more OperationDependencies that matches the filter.
743
+ * Note, that providing `undefined` is treated as the value not being there.
744
+ * Read more here: https://pris.ly/d/null-undefined
745
+ * @param {OperationDependencyFindManyArgs} args - Arguments to filter and select certain fields only.
746
+ * @example
747
+ * // Get all OperationDependencies
748
+ * const operationDependencies = await prisma.operationDependency.findMany()
749
+ *
750
+ * // Get first 10 OperationDependencies
751
+ * const operationDependencies = await prisma.operationDependency.findMany({ take: 10 })
752
+ *
753
+ * // Only select the `id`
754
+ * const operationDependencyWithIdOnly = await prisma.operationDependency.findMany({ select: { id: true } })
755
+ *
756
+ */
757
+ findMany<T extends OperationDependencyFindManyArgs>(args?: Prisma.SelectSubset<T, OperationDependencyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
758
+ /**
759
+ * Create a OperationDependency.
760
+ * @param {OperationDependencyCreateArgs} args - Arguments to create a OperationDependency.
761
+ * @example
762
+ * // Create one OperationDependency
763
+ * const OperationDependency = await prisma.operationDependency.create({
764
+ * data: {
765
+ * // ... data to create a OperationDependency
766
+ * }
767
+ * })
768
+ *
769
+ */
770
+ create<T extends OperationDependencyCreateArgs>(args: Prisma.SelectSubset<T, OperationDependencyCreateArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
771
+ /**
772
+ * Create many OperationDependencies.
773
+ * @param {OperationDependencyCreateManyArgs} args - Arguments to create many OperationDependencies.
774
+ * @example
775
+ * // Create many OperationDependencies
776
+ * const operationDependency = await prisma.operationDependency.createMany({
777
+ * data: [
778
+ * // ... provide data here
779
+ * ]
780
+ * })
781
+ *
782
+ */
783
+ createMany<T extends OperationDependencyCreateManyArgs>(args?: Prisma.SelectSubset<T, OperationDependencyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
784
+ /**
785
+ * Create many OperationDependencies and returns the data saved in the database.
786
+ * @param {OperationDependencyCreateManyAndReturnArgs} args - Arguments to create many OperationDependencies.
787
+ * @example
788
+ * // Create many OperationDependencies
789
+ * const operationDependency = await prisma.operationDependency.createManyAndReturn({
790
+ * data: [
791
+ * // ... provide data here
792
+ * ]
793
+ * })
794
+ *
795
+ * // Create many OperationDependencies and only return the `id`
796
+ * const operationDependencyWithIdOnly = await prisma.operationDependency.createManyAndReturn({
797
+ * select: { id: true },
798
+ * data: [
799
+ * // ... provide data here
800
+ * ]
801
+ * })
802
+ * Note, that providing `undefined` is treated as the value not being there.
803
+ * Read more here: https://pris.ly/d/null-undefined
804
+ *
805
+ */
806
+ createManyAndReturn<T extends OperationDependencyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OperationDependencyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
807
+ /**
808
+ * Delete a OperationDependency.
809
+ * @param {OperationDependencyDeleteArgs} args - Arguments to delete one OperationDependency.
810
+ * @example
811
+ * // Delete one OperationDependency
812
+ * const OperationDependency = await prisma.operationDependency.delete({
813
+ * where: {
814
+ * // ... filter to delete one OperationDependency
815
+ * }
816
+ * })
817
+ *
818
+ */
819
+ delete<T extends OperationDependencyDeleteArgs>(args: Prisma.SelectSubset<T, OperationDependencyDeleteArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
820
+ /**
821
+ * Update one OperationDependency.
822
+ * @param {OperationDependencyUpdateArgs} args - Arguments to update one OperationDependency.
823
+ * @example
824
+ * // Update one OperationDependency
825
+ * const operationDependency = await prisma.operationDependency.update({
826
+ * where: {
827
+ * // ... provide filter here
828
+ * },
829
+ * data: {
830
+ * // ... provide data here
831
+ * }
832
+ * })
833
+ *
834
+ */
835
+ update<T extends OperationDependencyUpdateArgs>(args: Prisma.SelectSubset<T, OperationDependencyUpdateArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
836
+ /**
837
+ * Delete zero or more OperationDependencies.
838
+ * @param {OperationDependencyDeleteManyArgs} args - Arguments to filter OperationDependencies to delete.
839
+ * @example
840
+ * // Delete a few OperationDependencies
841
+ * const { count } = await prisma.operationDependency.deleteMany({
842
+ * where: {
843
+ * // ... provide filter here
844
+ * }
845
+ * })
846
+ *
847
+ */
848
+ deleteMany<T extends OperationDependencyDeleteManyArgs>(args?: Prisma.SelectSubset<T, OperationDependencyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
849
+ /**
850
+ * Update zero or more OperationDependencies.
851
+ * Note, that providing `undefined` is treated as the value not being there.
852
+ * Read more here: https://pris.ly/d/null-undefined
853
+ * @param {OperationDependencyUpdateManyArgs} args - Arguments to update one or more rows.
854
+ * @example
855
+ * // Update many OperationDependencies
856
+ * const operationDependency = await prisma.operationDependency.updateMany({
857
+ * where: {
858
+ * // ... provide filter here
859
+ * },
860
+ * data: {
861
+ * // ... provide data here
862
+ * }
863
+ * })
864
+ *
865
+ */
866
+ updateMany<T extends OperationDependencyUpdateManyArgs>(args: Prisma.SelectSubset<T, OperationDependencyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
867
+ /**
868
+ * Update zero or more OperationDependencies and returns the data updated in the database.
869
+ * @param {OperationDependencyUpdateManyAndReturnArgs} args - Arguments to update many OperationDependencies.
870
+ * @example
871
+ * // Update many OperationDependencies
872
+ * const operationDependency = await prisma.operationDependency.updateManyAndReturn({
873
+ * where: {
874
+ * // ... provide filter here
875
+ * },
876
+ * data: [
877
+ * // ... provide data here
878
+ * ]
879
+ * })
880
+ *
881
+ * // Update zero or more OperationDependencies and only return the `id`
882
+ * const operationDependencyWithIdOnly = await prisma.operationDependency.updateManyAndReturn({
883
+ * select: { id: true },
884
+ * where: {
885
+ * // ... provide filter here
886
+ * },
887
+ * data: [
888
+ * // ... provide data here
889
+ * ]
890
+ * })
891
+ * Note, that providing `undefined` is treated as the value not being there.
892
+ * Read more here: https://pris.ly/d/null-undefined
893
+ *
894
+ */
895
+ updateManyAndReturn<T extends OperationDependencyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OperationDependencyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
896
+ /**
897
+ * Create or update one OperationDependency.
898
+ * @param {OperationDependencyUpsertArgs} args - Arguments to update or create a OperationDependency.
899
+ * @example
900
+ * // Update or create a OperationDependency
901
+ * const operationDependency = await prisma.operationDependency.upsert({
902
+ * create: {
903
+ * // ... data to create a OperationDependency
904
+ * },
905
+ * update: {
906
+ * // ... in case it already exists, update
907
+ * },
908
+ * where: {
909
+ * // ... the filter for the OperationDependency we want to update
910
+ * }
911
+ * })
912
+ */
913
+ upsert<T extends OperationDependencyUpsertArgs>(args: Prisma.SelectSubset<T, OperationDependencyUpsertArgs<ExtArgs>>): Prisma.Prisma__OperationDependencyClient<runtime.Types.Result.GetResult<Prisma.$OperationDependencyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
914
+ /**
915
+ * Count the number of OperationDependencies.
916
+ * Note, that providing `undefined` is treated as the value not being there.
917
+ * Read more here: https://pris.ly/d/null-undefined
918
+ * @param {OperationDependencyCountArgs} args - Arguments to filter OperationDependencies to count.
919
+ * @example
920
+ * // Count the number of OperationDependencies
921
+ * const count = await prisma.operationDependency.count({
922
+ * where: {
923
+ * // ... the filter for the OperationDependencies we want to count
924
+ * }
925
+ * })
926
+ **/
927
+ count<T extends OperationDependencyCountArgs>(args?: Prisma.Subset<T, OperationDependencyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OperationDependencyCountAggregateOutputType> : number>;
928
+ /**
929
+ * Allows you to perform aggregations operations on a OperationDependency.
930
+ * Note, that providing `undefined` is treated as the value not being there.
931
+ * Read more here: https://pris.ly/d/null-undefined
932
+ * @param {OperationDependencyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
933
+ * @example
934
+ * // Ordered by age ascending
935
+ * // Where email contains prisma.io
936
+ * // Limited to the 10 users
937
+ * const aggregations = await prisma.user.aggregate({
938
+ * _avg: {
939
+ * age: true,
940
+ * },
941
+ * where: {
942
+ * email: {
943
+ * contains: "prisma.io",
944
+ * },
945
+ * },
946
+ * orderBy: {
947
+ * age: "asc",
948
+ * },
949
+ * take: 10,
950
+ * })
951
+ **/
952
+ aggregate<T extends OperationDependencyAggregateArgs>(args: Prisma.Subset<T, OperationDependencyAggregateArgs>): Prisma.PrismaPromise<GetOperationDependencyAggregateType<T>>;
953
+ /**
954
+ * Group by OperationDependency.
955
+ * Note, that providing `undefined` is treated as the value not being there.
956
+ * Read more here: https://pris.ly/d/null-undefined
957
+ * @param {OperationDependencyGroupByArgs} args - Group by arguments.
958
+ * @example
959
+ * // Group by city, order by createdAt, get count
960
+ * const result = await prisma.user.groupBy({
961
+ * by: ['city', 'createdAt'],
962
+ * orderBy: {
963
+ * createdAt: true
964
+ * },
965
+ * _count: {
966
+ * _all: true
967
+ * },
968
+ * })
969
+ *
970
+ **/
971
+ groupBy<T extends OperationDependencyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
972
+ orderBy: OperationDependencyGroupByArgs['orderBy'];
973
+ } : {
974
+ orderBy?: OperationDependencyGroupByArgs['orderBy'];
975
+ }, 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 ? {
976
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
977
+ Error,
978
+ 'Field ',
979
+ P,
980
+ ` in "having" needs to be provided in "by"`
981
+ ];
982
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
983
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
984
+ }[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 ? {} : {
985
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
986
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
987
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
988
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, OperationDependencyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOperationDependencyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
989
+ /**
990
+ * Fields of the OperationDependency model
991
+ */
992
+ readonly fields: OperationDependencyFieldRefs;
993
+ }
994
+ /**
995
+ * The delegate class that acts as a "Promise-like" for OperationDependency.
996
+ * Why is this prefixed with `Prisma__`?
997
+ * Because we want to prevent naming conflicts as mentioned in
998
+ * https://github.com/prisma/prisma-client-js/issues/707
999
+ */
1000
+ export interface Prisma__OperationDependencyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1001
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1002
+ successor<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>;
1003
+ predecessor<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>;
1004
+ 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>;
1005
+ /**
1006
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1007
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1008
+ * @param onrejected The callback to execute when the Promise is rejected.
1009
+ * @returns A Promise for the completion of which ever callback is executed.
1010
+ */
1011
+ 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>;
1012
+ /**
1013
+ * Attaches a callback for only the rejection of the Promise.
1014
+ * @param onrejected The callback to execute when the Promise is rejected.
1015
+ * @returns A Promise for the completion of the callback.
1016
+ */
1017
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1018
+ /**
1019
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1020
+ * resolved value cannot be modified from the callback.
1021
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1022
+ * @returns A Promise for the completion of the callback.
1023
+ */
1024
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1025
+ }
1026
+ /**
1027
+ * Fields of the OperationDependency model
1028
+ */
1029
+ export interface OperationDependencyFieldRefs {
1030
+ readonly id: Prisma.FieldRef<"OperationDependency", 'Int'>;
1031
+ readonly successorId: Prisma.FieldRef<"OperationDependency", 'Int'>;
1032
+ readonly predecessorId: Prisma.FieldRef<"OperationDependency", 'Int'>;
1033
+ readonly createdAt: Prisma.FieldRef<"OperationDependency", 'DateTime'>;
1034
+ readonly createdById: Prisma.FieldRef<"OperationDependency", 'Int'>;
1035
+ }
1036
+ /**
1037
+ * OperationDependency findUnique
1038
+ */
1039
+ export type OperationDependencyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1040
+ /**
1041
+ * Select specific fields to fetch from the OperationDependency
1042
+ */
1043
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1044
+ /**
1045
+ * Omit specific fields from the OperationDependency
1046
+ */
1047
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1048
+ /**
1049
+ * Choose, which related nodes to fetch as well
1050
+ */
1051
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1052
+ /**
1053
+ * Filter, which OperationDependency to fetch.
1054
+ */
1055
+ where: Prisma.OperationDependencyWhereUniqueInput;
1056
+ };
1057
+ /**
1058
+ * OperationDependency findUniqueOrThrow
1059
+ */
1060
+ export type OperationDependencyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1061
+ /**
1062
+ * Select specific fields to fetch from the OperationDependency
1063
+ */
1064
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1065
+ /**
1066
+ * Omit specific fields from the OperationDependency
1067
+ */
1068
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1069
+ /**
1070
+ * Choose, which related nodes to fetch as well
1071
+ */
1072
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1073
+ /**
1074
+ * Filter, which OperationDependency to fetch.
1075
+ */
1076
+ where: Prisma.OperationDependencyWhereUniqueInput;
1077
+ };
1078
+ /**
1079
+ * OperationDependency findFirst
1080
+ */
1081
+ export type OperationDependencyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1082
+ /**
1083
+ * Select specific fields to fetch from the OperationDependency
1084
+ */
1085
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1086
+ /**
1087
+ * Omit specific fields from the OperationDependency
1088
+ */
1089
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1090
+ /**
1091
+ * Choose, which related nodes to fetch as well
1092
+ */
1093
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1094
+ /**
1095
+ * Filter, which OperationDependency to fetch.
1096
+ */
1097
+ where?: Prisma.OperationDependencyWhereInput;
1098
+ /**
1099
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1100
+ *
1101
+ * Determine the order of OperationDependencies to fetch.
1102
+ */
1103
+ orderBy?: Prisma.OperationDependencyOrderByWithRelationInput | Prisma.OperationDependencyOrderByWithRelationInput[];
1104
+ /**
1105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1106
+ *
1107
+ * Sets the position for searching for OperationDependencies.
1108
+ */
1109
+ cursor?: Prisma.OperationDependencyWhereUniqueInput;
1110
+ /**
1111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1112
+ *
1113
+ * Take `±n` OperationDependencies from the position of the cursor.
1114
+ */
1115
+ take?: number;
1116
+ /**
1117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1118
+ *
1119
+ * Skip the first `n` OperationDependencies.
1120
+ */
1121
+ skip?: number;
1122
+ /**
1123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1124
+ *
1125
+ * Filter by unique combinations of OperationDependencies.
1126
+ */
1127
+ distinct?: Prisma.OperationDependencyScalarFieldEnum | Prisma.OperationDependencyScalarFieldEnum[];
1128
+ };
1129
+ /**
1130
+ * OperationDependency findFirstOrThrow
1131
+ */
1132
+ export type OperationDependencyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1133
+ /**
1134
+ * Select specific fields to fetch from the OperationDependency
1135
+ */
1136
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1137
+ /**
1138
+ * Omit specific fields from the OperationDependency
1139
+ */
1140
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1141
+ /**
1142
+ * Choose, which related nodes to fetch as well
1143
+ */
1144
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1145
+ /**
1146
+ * Filter, which OperationDependency to fetch.
1147
+ */
1148
+ where?: Prisma.OperationDependencyWhereInput;
1149
+ /**
1150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1151
+ *
1152
+ * Determine the order of OperationDependencies to fetch.
1153
+ */
1154
+ orderBy?: Prisma.OperationDependencyOrderByWithRelationInput | Prisma.OperationDependencyOrderByWithRelationInput[];
1155
+ /**
1156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1157
+ *
1158
+ * Sets the position for searching for OperationDependencies.
1159
+ */
1160
+ cursor?: Prisma.OperationDependencyWhereUniqueInput;
1161
+ /**
1162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1163
+ *
1164
+ * Take `±n` OperationDependencies from the position of the cursor.
1165
+ */
1166
+ take?: number;
1167
+ /**
1168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1169
+ *
1170
+ * Skip the first `n` OperationDependencies.
1171
+ */
1172
+ skip?: number;
1173
+ /**
1174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1175
+ *
1176
+ * Filter by unique combinations of OperationDependencies.
1177
+ */
1178
+ distinct?: Prisma.OperationDependencyScalarFieldEnum | Prisma.OperationDependencyScalarFieldEnum[];
1179
+ };
1180
+ /**
1181
+ * OperationDependency findMany
1182
+ */
1183
+ export type OperationDependencyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1184
+ /**
1185
+ * Select specific fields to fetch from the OperationDependency
1186
+ */
1187
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1188
+ /**
1189
+ * Omit specific fields from the OperationDependency
1190
+ */
1191
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1192
+ /**
1193
+ * Choose, which related nodes to fetch as well
1194
+ */
1195
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1196
+ /**
1197
+ * Filter, which OperationDependencies to fetch.
1198
+ */
1199
+ where?: Prisma.OperationDependencyWhereInput;
1200
+ /**
1201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1202
+ *
1203
+ * Determine the order of OperationDependencies to fetch.
1204
+ */
1205
+ orderBy?: Prisma.OperationDependencyOrderByWithRelationInput | Prisma.OperationDependencyOrderByWithRelationInput[];
1206
+ /**
1207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1208
+ *
1209
+ * Sets the position for listing OperationDependencies.
1210
+ */
1211
+ cursor?: Prisma.OperationDependencyWhereUniqueInput;
1212
+ /**
1213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1214
+ *
1215
+ * Take `±n` OperationDependencies from the position of the cursor.
1216
+ */
1217
+ take?: number;
1218
+ /**
1219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1220
+ *
1221
+ * Skip the first `n` OperationDependencies.
1222
+ */
1223
+ skip?: number;
1224
+ /**
1225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1226
+ *
1227
+ * Filter by unique combinations of OperationDependencies.
1228
+ */
1229
+ distinct?: Prisma.OperationDependencyScalarFieldEnum | Prisma.OperationDependencyScalarFieldEnum[];
1230
+ };
1231
+ /**
1232
+ * OperationDependency create
1233
+ */
1234
+ export type OperationDependencyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1235
+ /**
1236
+ * Select specific fields to fetch from the OperationDependency
1237
+ */
1238
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1239
+ /**
1240
+ * Omit specific fields from the OperationDependency
1241
+ */
1242
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1243
+ /**
1244
+ * Choose, which related nodes to fetch as well
1245
+ */
1246
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1247
+ /**
1248
+ * The data needed to create a OperationDependency.
1249
+ */
1250
+ data: Prisma.XOR<Prisma.OperationDependencyCreateInput, Prisma.OperationDependencyUncheckedCreateInput>;
1251
+ };
1252
+ /**
1253
+ * OperationDependency createMany
1254
+ */
1255
+ export type OperationDependencyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1256
+ /**
1257
+ * The data used to create many OperationDependencies.
1258
+ */
1259
+ data: Prisma.OperationDependencyCreateManyInput | Prisma.OperationDependencyCreateManyInput[];
1260
+ };
1261
+ /**
1262
+ * OperationDependency createManyAndReturn
1263
+ */
1264
+ export type OperationDependencyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1265
+ /**
1266
+ * Select specific fields to fetch from the OperationDependency
1267
+ */
1268
+ select?: Prisma.OperationDependencySelectCreateManyAndReturn<ExtArgs> | null;
1269
+ /**
1270
+ * Omit specific fields from the OperationDependency
1271
+ */
1272
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1273
+ /**
1274
+ * The data used to create many OperationDependencies.
1275
+ */
1276
+ data: Prisma.OperationDependencyCreateManyInput | Prisma.OperationDependencyCreateManyInput[];
1277
+ /**
1278
+ * Choose, which related nodes to fetch as well
1279
+ */
1280
+ include?: Prisma.OperationDependencyIncludeCreateManyAndReturn<ExtArgs> | null;
1281
+ };
1282
+ /**
1283
+ * OperationDependency update
1284
+ */
1285
+ export type OperationDependencyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1286
+ /**
1287
+ * Select specific fields to fetch from the OperationDependency
1288
+ */
1289
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1290
+ /**
1291
+ * Omit specific fields from the OperationDependency
1292
+ */
1293
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1294
+ /**
1295
+ * Choose, which related nodes to fetch as well
1296
+ */
1297
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1298
+ /**
1299
+ * The data needed to update a OperationDependency.
1300
+ */
1301
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateInput, Prisma.OperationDependencyUncheckedUpdateInput>;
1302
+ /**
1303
+ * Choose, which OperationDependency to update.
1304
+ */
1305
+ where: Prisma.OperationDependencyWhereUniqueInput;
1306
+ };
1307
+ /**
1308
+ * OperationDependency updateMany
1309
+ */
1310
+ export type OperationDependencyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1311
+ /**
1312
+ * The data used to update OperationDependencies.
1313
+ */
1314
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateManyMutationInput, Prisma.OperationDependencyUncheckedUpdateManyInput>;
1315
+ /**
1316
+ * Filter which OperationDependencies to update
1317
+ */
1318
+ where?: Prisma.OperationDependencyWhereInput;
1319
+ /**
1320
+ * Limit how many OperationDependencies to update.
1321
+ */
1322
+ limit?: number;
1323
+ };
1324
+ /**
1325
+ * OperationDependency updateManyAndReturn
1326
+ */
1327
+ export type OperationDependencyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
+ /**
1329
+ * Select specific fields to fetch from the OperationDependency
1330
+ */
1331
+ select?: Prisma.OperationDependencySelectUpdateManyAndReturn<ExtArgs> | null;
1332
+ /**
1333
+ * Omit specific fields from the OperationDependency
1334
+ */
1335
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1336
+ /**
1337
+ * The data used to update OperationDependencies.
1338
+ */
1339
+ data: Prisma.XOR<Prisma.OperationDependencyUpdateManyMutationInput, Prisma.OperationDependencyUncheckedUpdateManyInput>;
1340
+ /**
1341
+ * Filter which OperationDependencies to update
1342
+ */
1343
+ where?: Prisma.OperationDependencyWhereInput;
1344
+ /**
1345
+ * Limit how many OperationDependencies to update.
1346
+ */
1347
+ limit?: number;
1348
+ /**
1349
+ * Choose, which related nodes to fetch as well
1350
+ */
1351
+ include?: Prisma.OperationDependencyIncludeUpdateManyAndReturn<ExtArgs> | null;
1352
+ };
1353
+ /**
1354
+ * OperationDependency upsert
1355
+ */
1356
+ export type OperationDependencyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1357
+ /**
1358
+ * Select specific fields to fetch from the OperationDependency
1359
+ */
1360
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1361
+ /**
1362
+ * Omit specific fields from the OperationDependency
1363
+ */
1364
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1365
+ /**
1366
+ * Choose, which related nodes to fetch as well
1367
+ */
1368
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1369
+ /**
1370
+ * The filter to search for the OperationDependency to update in case it exists.
1371
+ */
1372
+ where: Prisma.OperationDependencyWhereUniqueInput;
1373
+ /**
1374
+ * In case the OperationDependency found by the `where` argument doesn't exist, create a new OperationDependency with this data.
1375
+ */
1376
+ create: Prisma.XOR<Prisma.OperationDependencyCreateInput, Prisma.OperationDependencyUncheckedCreateInput>;
1377
+ /**
1378
+ * In case the OperationDependency was found with the provided `where` argument, update it with this data.
1379
+ */
1380
+ update: Prisma.XOR<Prisma.OperationDependencyUpdateInput, Prisma.OperationDependencyUncheckedUpdateInput>;
1381
+ };
1382
+ /**
1383
+ * OperationDependency delete
1384
+ */
1385
+ export type OperationDependencyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1386
+ /**
1387
+ * Select specific fields to fetch from the OperationDependency
1388
+ */
1389
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1390
+ /**
1391
+ * Omit specific fields from the OperationDependency
1392
+ */
1393
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1394
+ /**
1395
+ * Choose, which related nodes to fetch as well
1396
+ */
1397
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1398
+ /**
1399
+ * Filter which OperationDependency to delete.
1400
+ */
1401
+ where: Prisma.OperationDependencyWhereUniqueInput;
1402
+ };
1403
+ /**
1404
+ * OperationDependency deleteMany
1405
+ */
1406
+ export type OperationDependencyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1407
+ /**
1408
+ * Filter which OperationDependencies to delete
1409
+ */
1410
+ where?: Prisma.OperationDependencyWhereInput;
1411
+ /**
1412
+ * Limit how many OperationDependencies to delete.
1413
+ */
1414
+ limit?: number;
1415
+ };
1416
+ /**
1417
+ * OperationDependency without action
1418
+ */
1419
+ export type OperationDependencyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1420
+ /**
1421
+ * Select specific fields to fetch from the OperationDependency
1422
+ */
1423
+ select?: Prisma.OperationDependencySelect<ExtArgs> | null;
1424
+ /**
1425
+ * Omit specific fields from the OperationDependency
1426
+ */
1427
+ omit?: Prisma.OperationDependencyOmit<ExtArgs> | null;
1428
+ /**
1429
+ * Choose, which related nodes to fetch as well
1430
+ */
1431
+ include?: Prisma.OperationDependencyInclude<ExtArgs> | null;
1432
+ };
1433
+ export {};
1434
+ //# sourceMappingURL=OperationDependency.d.ts.map